[phc-internals] [phc] r3387 committed - Fix gettimeofday.php and sccp1.php, which had non-deterministic output...

phc at googlecode.com phc at googlecode.com
Wed Oct 13 10:29:29 IST 2010


Revision: 3387
Author: paul.biggar
Date: Wed Oct 13 02:28:26 2010
Log: Fix gettimeofday.php and sccp1.php, which had non-deterministic  
outputs.

http://code.google.com/p/phc/source/detail?r=3387

Modified:
  /trunk/test/expected_results/failure
  /trunk/test/expected_results/skipped
  /trunk/test/expected_results/success
  /trunk/test/expected_results/timeout
  /trunk/test/subjects/optimization/gettimeofday.php
  /trunk/test/subjects/optimization/sccp1.php

=======================================
--- /trunk/test/expected_results/failure	Mon Oct 11 10:31:17 2010
+++ /trunk/test/expected_results/failure	Wed Oct 13 02:28:26 2010
@@ -225,7 +225,6 @@
  Demi_eval_true: Failure test/subjects/codegen/indexing_non_arrays.php -  
Outputs dont match PHP outputs
  Demi_eval_true: Failure test/subjects/codegen/inherited_array_field.php -  
Outputs dont match PHP outputs
  Demi_eval_true: Failure test/subjects/codegen/isset_byte.php - Outputs  
dont match PHP outputs
-Demi_eval_true: Failure test/subjects/codegen/loop_separation1.php -  
Outputs dont match PHP outputs
  Demi_eval_true: Failure test/subjects/codegen/non_existant_function.php -  
Outputs dont match PHP outputs
  Demi_eval_true: Failure test/subjects/codegen/oop_inheritance1.php -  
Outputs dont match PHP outputs
  Demi_eval_true: Failure test/subjects/codegen/oop_method_def2.php -  
Outputs dont match PHP outputs
@@ -284,7 +283,6 @@
  InterpretCanonicalUnparsed: Failure test/subjects/codegen/target_rhs.php -  
Outputs dont match
  InterpretCanonicalUnparsed: Failure  
test/subjects/optimization/array_use.php - Outputs dont match
  InterpretCanonicalUnparsed: Failure  
test/subjects/optimization/may_defs.php - Outputs dont match
-InterpretCanonicalUnparsed: Failure test/subjects/optimization/sccp1.php -  
Outputs dont match
  InterpretCanonicalUnparsed: Failure test/subjects/parsing/functions.php -  
Outputs dont match
  InterpretCanonicalUnparsed: Failure  
test/subjects/parsing/scoped_function.php - Outputs dont match
  InterpretIncludes: Failure test/subjects/parsing/include_complex_once.php  
- Outputs dont match
@@ -522,6 +520,7 @@
  Refcounts: Failure test/subjects/optimization/ref_via_unknown.php -  
Outputs dont match PHP outputs
  Refcounts: Failure test/subjects/optimization/reference1.php - Outputs  
dont match PHP outputs
  Refcounts: Failure test/subjects/optimization/reference3.php - Outputs  
dont match PHP outputs
+Refcounts: Failure test/subjects/optimization/sccp1.php - Outputs dont  
match PHP outputs
  Refcounts: Failure test/subjects/optimization/sccp2.php - Outputs dont  
match PHP outputs
  Refcounts: Failure test/subjects/optimization/scti_integer.php - Outputs  
dont match PHP outputs
  Refcounts: Failure test/subjects/optimization/simple2.php - Outputs dont  
match PHP outputs
@@ -594,7 +593,6 @@
  cb_ast: Failure test/subjects/codegen/target_rhs.php - Every pass fails
  cb_ast: Failure test/subjects/optimization/array_use.php - Every pass fails
  cb_ast: Failure test/subjects/optimization/may_defs.php - Every pass fails
-cb_ast: Failure test/subjects/optimization/sccp1.php - Latest pass fails
  cb_ast: Failure test/subjects/parsing/functions.php - Every pass fails
  cb_ast: Failure test/subjects/parsing/line_and_co.php - Every pass fails
  cb_ast: Failure test/subjects/parsing/scoped_function.php - Every pass  
fails
@@ -603,4 +601,3 @@
  cb_mir: Failure test/subjects/parsing/casts.php - Latest pass fails
  cb_mir: Failure test/subjects/reduced/0050.php - Latest pass fails
  cb_mir: Failure test/subjects/reduced/0056.php - Latest pass fails
-cb_sua: Failure test/subjects/optimization/gettimeofday.php - Every pass  
fails
=======================================
--- /trunk/test/expected_results/skipped	Mon Oct 11 10:31:17 2010
+++ /trunk/test/expected_results/skipped	Wed Oct 13 02:28:26 2010
@@ -163,13 +163,11 @@
  BasicFastOptAnalyseTest: Skipped  
test/subjects/optimization/concat_null.php - Test failed dependency
  BasicFastOptAnalyseTest: Skipped  
test/subjects/optimization/dce_foreach1.php - Test failed dependency
  BasicFastOptAnalyseTest: Skipped test/subjects/optimization/decrement.php  
- Test failed dependency
-BasicFastOptAnalyseTest: Skipped  
test/subjects/optimization/gettimeofday.php - Test failed dependency
  BasicFastOptAnalyseTest: Skipped  
test/subjects/optimization/indirect_string.php - Test failed dependency
  BasicFastOptAnalyseTest: Skipped test/subjects/optimization/may_defs.php -  
Test failed dependency
  BasicFastOptAnalyseTest: Skipped  
test/subjects/optimization/obj_simple_get.php - Test failed dependency
  BasicFastOptAnalyseTest: Skipped  
test/subjects/optimization/object_casting.php - Test failed dependency
  BasicFastOptAnalyseTest: Skipped test/subjects/optimization/reference2.php  
- Test failed dependency
-BasicFastOptAnalyseTest: Skipped test/subjects/optimization/sccp1.php -  
Test failed dependency
  BasicFastOptAnalyseTest: Skipped  
test/subjects/optimization/side_effecting_echo.php - Test failed dependency
  BasicFastOptAnalyseTest: Skipped  
test/subjects/optimization/string_handler.php - Test failed dependency
  BasicFastOptAnalyseTest: Skipped  
test/subjects/optimization/unknown_everything.php - Test failed dependency
@@ -411,7 +409,6 @@
  BasicFastOptimizeTest: Skipped test/subjects/optimization/concat_null.php  
- Test failed dependency
  BasicFastOptimizeTest: Skipped test/subjects/optimization/dce_foreach1.php  
- Test failed dependency
  BasicFastOptimizeTest: Skipped test/subjects/optimization/decrement.php -  
Test failed dependency
-BasicFastOptimizeTest: Skipped test/subjects/optimization/gettimeofday.php  
- Test failed dependency
  BasicFastOptimizeTest: Skipped  
test/subjects/optimization/indirect_string.php - Test failed dependency
  BasicFastOptimizeTest: Skipped  
test/subjects/optimization/looping_defines.php - Test failed dependency
  BasicFastOptimizeTest: Skipped test/subjects/optimization/may_defs.php -  
Test failed dependency
@@ -419,7 +416,6 @@
  BasicFastOptimizeTest: Skipped  
test/subjects/optimization/object_casting.php - Test failed dependency
  BasicFastOptimizeTest: Skipped test/subjects/optimization/points_to.php -  
Test failed dependency
  BasicFastOptimizeTest: Skipped test/subjects/optimization/reference2.php -  
Test failed dependency
-BasicFastOptimizeTest: Skipped test/subjects/optimization/sccp1.php - Test  
failed dependency
  BasicFastOptimizeTest: Skipped  
test/subjects/optimization/side_effecting_echo.php - Test failed dependency
  BasicFastOptimizeTest: Skipped  
test/subjects/optimization/string_handler.php - Test failed dependency
  BasicFastOptimizeTest: Skipped  
test/subjects/optimization/unknown_everything.php - Test failed dependency
@@ -663,7 +659,6 @@
  BasicIgnoreOutputFastOptimizeTest: Skipped  
test/subjects/optimization/concat_null.php - Test failed dependency
  BasicIgnoreOutputFastOptimizeTest: Skipped  
test/subjects/optimization/dce_foreach1.php - Test failed dependency
  BasicIgnoreOutputFastOptimizeTest: Skipped  
test/subjects/optimization/decrement.php - Test failed dependency
-BasicIgnoreOutputFastOptimizeTest: Skipped  
test/subjects/optimization/gettimeofday.php - Test failed dependency
  BasicIgnoreOutputFastOptimizeTest: Skipped  
test/subjects/optimization/indirect_string.php - Test failed dependency
  BasicIgnoreOutputFastOptimizeTest: Skipped  
test/subjects/optimization/looping_defines.php - Test failed dependency
  BasicIgnoreOutputFastOptimizeTest: Skipped  
test/subjects/optimization/may_defs.php - Test failed dependency
@@ -671,7 +666,6 @@
  BasicIgnoreOutputFastOptimizeTest: Skipped  
test/subjects/optimization/object_casting.php - Test failed dependency
  BasicIgnoreOutputFastOptimizeTest: Skipped  
test/subjects/optimization/points_to.php - Test failed dependency
  BasicIgnoreOutputFastOptimizeTest: Skipped  
test/subjects/optimization/reference2.php - Test failed dependency
-BasicIgnoreOutputFastOptimizeTest: Skipped  
test/subjects/optimization/sccp1.php - Test failed dependency
  BasicIgnoreOutputFastOptimizeTest: Skipped  
test/subjects/optimization/side_effecting_echo.php - Test failed dependency
  BasicIgnoreOutputFastOptimizeTest: Skipped  
test/subjects/optimization/string_handler.php - Test failed dependency
  BasicIgnoreOutputFastOptimizeTest: Skipped  
test/subjects/optimization/unknown_everything.php - Test failed dependency
@@ -912,13 +906,11 @@
  BasicIgnoreOutputPreciseOptimizeTest: Skipped  
test/subjects/optimization/concat_null.php - Test failed dependency
  BasicIgnoreOutputPreciseOptimizeTest: Skipped  
test/subjects/optimization/dce_foreach1.php - Test failed dependency
  BasicIgnoreOutputPreciseOptimizeTest: Skipped  
test/subjects/optimization/decrement.php - Test failed dependency
-BasicIgnoreOutputPreciseOptimizeTest: Skipped  
test/subjects/optimization/gettimeofday.php - Test failed dependency
  BasicIgnoreOutputPreciseOptimizeTest: Skipped  
test/subjects/optimization/indirect_string.php - Test failed dependency
  BasicIgnoreOutputPreciseOptimizeTest: Skipped  
test/subjects/optimization/may_defs.php - Test failed dependency
  BasicIgnoreOutputPreciseOptimizeTest: Skipped  
test/subjects/optimization/obj_simple_get.php - Test failed dependency
  BasicIgnoreOutputPreciseOptimizeTest: Skipped  
test/subjects/optimization/object_casting.php - Test failed dependency
  BasicIgnoreOutputPreciseOptimizeTest: Skipped  
test/subjects/optimization/reference2.php - Test failed dependency
-BasicIgnoreOutputPreciseOptimizeTest: Skipped  
test/subjects/optimization/sccp1.php - Test failed dependency
  BasicIgnoreOutputPreciseOptimizeTest: Skipped  
test/subjects/optimization/side_effecting_echo.php - Test failed dependency
  BasicIgnoreOutputPreciseOptimizeTest: Skipped  
test/subjects/optimization/string_handler.php - Test failed dependency
  BasicIgnoreOutputPreciseOptimizeTest: Skipped  
test/subjects/optimization/unknown_everything.php - Test failed dependency
@@ -1158,12 +1150,10 @@
  BasicPreciseOptAnalyseTest: Skipped  
test/subjects/optimization/array_use.php - Test failed dependency
  BasicPreciseOptAnalyseTest: Skipped  
test/subjects/optimization/concat_null.php - Test failed dependency
  BasicPreciseOptAnalyseTest: Skipped  
test/subjects/optimization/dce_foreach1.php - Test failed dependency
-BasicPreciseOptAnalyseTest: Skipped  
test/subjects/optimization/gettimeofday.php - Test failed dependency
  BasicPreciseOptAnalyseTest: Skipped  
test/subjects/optimization/indirect_string.php - Test excepted
  BasicPreciseOptAnalyseTest: Skipped  
test/subjects/optimization/may_defs.php - Test failed dependency
  BasicPreciseOptAnalyseTest: Skipped  
test/subjects/optimization/object_casting.php - Test excepted
  BasicPreciseOptAnalyseTest: Skipped  
test/subjects/optimization/reference2.php - Test excepted
-BasicPreciseOptAnalyseTest: Skipped test/subjects/optimization/sccp1.php -  
Test failed dependency
  BasicPreciseOptAnalyseTest: Skipped  
test/subjects/optimization/string_handler.php - Test failed dependency
  BasicPreciseOptAnalyseTest: Skipped  
test/subjects/optimization/unknown_everything.php - Test excepted
  BasicPreciseOptAnalyseTest: Skipped test/subjects/parsing/brackets.php -  
Test excepted
@@ -1373,13 +1363,11 @@
  BasicPreciseOptimizeTest: Skipped  
test/subjects/optimization/concat_null.php - Test failed dependency
  BasicPreciseOptimizeTest: Skipped  
test/subjects/optimization/dce_foreach1.php - Test failed dependency
  BasicPreciseOptimizeTest: Skipped test/subjects/optimization/decrement.php  
- Test failed dependency
-BasicPreciseOptimizeTest: Skipped  
test/subjects/optimization/gettimeofday.php - Test failed dependency
  BasicPreciseOptimizeTest: Skipped  
test/subjects/optimization/indirect_string.php - Test failed dependency
  BasicPreciseOptimizeTest: Skipped test/subjects/optimization/may_defs.php  
- Test failed dependency
  BasicPreciseOptimizeTest: Skipped  
test/subjects/optimization/obj_simple_get.php - Test failed dependency
  BasicPreciseOptimizeTest: Skipped  
test/subjects/optimization/object_casting.php - Test failed dependency
  BasicPreciseOptimizeTest: Skipped  
test/subjects/optimization/reference2.php - Test failed dependency
-BasicPreciseOptimizeTest: Skipped test/subjects/optimization/sccp1.php -  
Test failed dependency
  BasicPreciseOptimizeTest: Skipped  
test/subjects/optimization/side_effecting_echo.php - Test failed dependency
  BasicPreciseOptimizeTest: Skipped  
test/subjects/optimization/string_handler.php - Test failed dependency
  BasicPreciseOptimizeTest: Skipped  
test/subjects/optimization/unknown_everything.php - Test failed dependency
@@ -1649,14 +1637,12 @@
  CompileOptimized: Skipped test/subjects/optimization/decrement.php - Test  
failed dependency
  CompileOptimized: Skipped test/subjects/optimization/define.php - Test  
failed dependency
  CompileOptimized: Skipped  
test/subjects/optimization/field_on_nonobjects.php - Test failed dependency
-CompileOptimized: Skipped test/subjects/optimization/gettimeofday.php -  
Test failed dependency
  CompileOptimized: Skipped test/subjects/optimization/indirect_string.php -  
Test failed dependency
  CompileOptimized: Skipped test/subjects/optimization/looping_defines.php -  
Test failed dependency
  CompileOptimized: Skipped test/subjects/optimization/may_defs.php - Test  
failed dependency
  CompileOptimized: Skipped test/subjects/optimization/obj_simple_get.php -  
Test failed dependency
  CompileOptimized: Skipped test/subjects/optimization/object_casting.php -  
Test failed dependency
  CompileOptimized: Skipped test/subjects/optimization/reference2.php - Test  
failed dependency
-CompileOptimized: Skipped test/subjects/optimization/sccp1.php - Test  
failed dependency
  CompileOptimized: Skipped  
test/subjects/optimization/side_effecting_echo.php - Test failed dependency
  CompileOptimized: Skipped  
test/subjects/optimization/static_value_constant.php - Test failed  
dependency
  CompileOptimized: Skipped test/subjects/optimization/string_handler.php -  
Test failed dependency
@@ -1808,9 +1794,7 @@
  CompiledVsInterpreted: Skipped test/subjects/optimization/array_use.php -  
Test failed dependency
  CompiledVsInterpreted: Skipped test/subjects/optimization/concat_null.php  
- Test failed dependency
  CompiledVsInterpreted: Skipped test/subjects/optimization/dce_foreach1.php  
- Test failed dependency
-CompiledVsInterpreted: Skipped test/subjects/optimization/gettimeofday.php  
- Test failed dependency
  CompiledVsInterpreted: Skipped test/subjects/optimization/may_defs.php -  
Test failed dependency
-CompiledVsInterpreted: Skipped test/subjects/optimization/sccp1.php - Test  
failed dependency
  CompiledVsInterpreted: Skipped  
test/subjects/optimization/string_handler.php - Test failed dependency
  CompiledVsInterpreted: Skipped test/subjects/parsing/allchars_inline.php -  
Test failed dependency
  CompiledVsInterpreted: Skipped  
test/subjects/parsing/allowed_offset_types.php - Test failed dependency
@@ -1945,12 +1929,10 @@
  Demi_eval_false: Skipped test/subjects/optimization/dce_foreach1.php -  
Test failed dependency
  Demi_eval_false: Skipped test/subjects/optimization/define.php - Test  
failed dependency
  Demi_eval_false: Skipped  
test/subjects/optimization/field_on_nonobjects.php - Test failed dependency
-Demi_eval_false: Skipped test/subjects/optimization/gettimeofday.php -  
Test failed dependency
  Demi_eval_false: Skipped test/subjects/optimization/looping_defines.php -  
Test failed dependency
  Demi_eval_false: Skipped test/subjects/optimization/may_defs.php - Test  
failed dependency
  Demi_eval_false: Skipped test/subjects/optimization/object_casting.php -  
Test failed dependency
  Demi_eval_false: Skipped test/subjects/optimization/reference2.php - Test  
failed dependency
-Demi_eval_false: Skipped test/subjects/optimization/sccp1.php - Test  
failed dependency
  Demi_eval_false: Skipped  
test/subjects/optimization/static_value_constant.php - Test failed  
dependency
  Demi_eval_false: Skipped test/subjects/optimization/string_handler.php -  
Test failed dependency
  Demi_eval_false: Skipped test/subjects/optimization/unknown_everything.php  
- Test failed dependency
@@ -2108,12 +2090,10 @@
  Demi_eval_true: Skipped test/subjects/optimization/dce_foreach1.php - Test  
failed dependency
  Demi_eval_true: Skipped test/subjects/optimization/define.php - Test  
failed dependency
  Demi_eval_true: Skipped test/subjects/optimization/field_on_nonobjects.php  
- Test failed dependency
-Demi_eval_true: Skipped test/subjects/optimization/gettimeofday.php - Test  
failed dependency
  Demi_eval_true: Skipped test/subjects/optimization/looping_defines.php -  
Test failed dependency
  Demi_eval_true: Skipped test/subjects/optimization/may_defs.php - Test  
failed dependency
  Demi_eval_true: Skipped test/subjects/optimization/object_casting.php -  
Test failed dependency
  Demi_eval_true: Skipped test/subjects/optimization/reference2.php - Test  
failed dependency
-Demi_eval_true: Skipped test/subjects/optimization/sccp1.php - Test failed  
dependency
  Demi_eval_true: Skipped  
test/subjects/optimization/static_value_constant.php - Test failed  
dependency
  Demi_eval_true: Skipped test/subjects/optimization/string_handler.php -  
Test failed dependency
  Demi_eval_true: Skipped test/subjects/optimization/unknown_everything.php  
- Test failed dependency
@@ -2219,9 +2199,7 @@
  Generate_C: Skipped test/subjects/optimization/array_use.php - Test failed  
dependency
  Generate_C: Skipped test/subjects/optimization/concat_null.php - Test  
failed dependency
  Generate_C: Skipped test/subjects/optimization/dce_foreach1.php - Test  
failed dependency
-Generate_C: Skipped test/subjects/optimization/gettimeofday.php - Test  
failed dependency
  Generate_C: Skipped test/subjects/optimization/may_defs.php - Test failed  
dependency
-Generate_C: Skipped test/subjects/optimization/sccp1.php - Test failed  
dependency
  Generate_C: Skipped test/subjects/optimization/string_handler.php - Test  
failed dependency
  Generate_C: Skipped test/subjects/parsing/allchars_inline.php - Test  
excepted
  Generate_C: Skipped test/subjects/parsing/capital_ticks.php - Test failed  
dependency
@@ -2291,9 +2269,7 @@
  HIR-to-MIR_dump: Skipped test/subjects/optimization/array_use.php - Test  
failed dependency
  HIR-to-MIR_dump: Skipped test/subjects/optimization/concat_null.php - Test  
failed dependency
  HIR-to-MIR_dump: Skipped test/subjects/optimization/dce_foreach1.php -  
Test failed dependency
-HIR-to-MIR_dump: Skipped test/subjects/optimization/gettimeofday.php -  
Test failed dependency
  HIR-to-MIR_dump: Skipped test/subjects/optimization/may_defs.php - Test  
failed dependency
-HIR-to-MIR_dump: Skipped test/subjects/optimization/sccp1.php - Test  
failed dependency
  HIR-to-MIR_dump: Skipped test/subjects/optimization/string_handler.php -  
Test failed dependency
  HIR-to-MIR_dump: Skipped test/subjects/parsing/capital_ticks.php - Test  
failed dependency
  HIR-to-MIR_dump: Skipped test/subjects/parsing/comments_declare.php - Test  
failed dependency
@@ -2431,9 +2407,7 @@
  InterpretIncludes: Skipped test/subjects/errors/try_catch_break.php - Test  
failed dependency
  InterpretIncludes: Skipped test/subjects/optimization/array_use.php - Test  
failed dependency
  InterpretIncludes: Skipped test/subjects/optimization/dce_foreach1.php -  
Test failed dependency
-InterpretIncludes: Skipped test/subjects/optimization/gettimeofday.php -  
Test failed dependency
  InterpretIncludes: Skipped test/subjects/optimization/may_defs.php - Test  
failed dependency
-InterpretIncludes: Skipped test/subjects/optimization/sccp1.php - Test  
failed dependency
  InterpretIncludes: Skipped test/subjects/parsing/functions.php - Test  
failed dependency
  InterpretIncludes: Skipped test/subjects/parsing/hash_bang1.php - Test  
excepted
  InterpretIncludes: Skipped test/subjects/parsing/line_and_co.php - Test  
failed dependency
@@ -2499,9 +2473,7 @@
  InterpretObfuscated: Skipped test/subjects/optimization/array_use.php -  
Test failed dependency
  InterpretObfuscated: Skipped test/subjects/optimization/concat_null.php -  
Test failed dependency
  InterpretObfuscated: Skipped test/subjects/optimization/dce_foreach1.php -  
Test failed dependency
-InterpretObfuscated: Skipped test/subjects/optimization/gettimeofday.php -  
Test failed dependency
  InterpretObfuscated: Skipped test/subjects/optimization/may_defs.php -  
Test failed dependency
-InterpretObfuscated: Skipped test/subjects/optimization/sccp1.php - Test  
failed dependency
  InterpretObfuscated: Skipped test/subjects/optimization/string_handler.php  
- Test failed dependency
  InterpretObfuscated: Skipped test/subjects/parsing/capital_ticks.php -  
Test failed dependency
  InterpretObfuscated: Skipped test/subjects/parsing/casts.php - Test failed  
dependency
@@ -2667,13 +2639,11 @@
  InterpretOptimized: Skipped test/subjects/optimization/concat_null.php -  
Test failed dependency
  InterpretOptimized: Skipped test/subjects/optimization/dce_foreach1.php -  
Test failed dependency
  InterpretOptimized: Skipped test/subjects/optimization/decrement.php -  
Test failed dependency
-InterpretOptimized: Skipped test/subjects/optimization/gettimeofday.php -  
Test failed dependency
  InterpretOptimized: Skipped test/subjects/optimization/indirect_string.php  
- Test failed dependency
  InterpretOptimized: Skipped test/subjects/optimization/may_defs.php - Test  
failed dependency
  InterpretOptimized: Skipped test/subjects/optimization/obj_simple_get.php  
- Test failed dependency
  InterpretOptimized: Skipped test/subjects/optimization/object_casting.php  
- Test failed dependency
  InterpretOptimized: Skipped test/subjects/optimization/reference2.php -  
Test failed dependency
-InterpretOptimized: Skipped test/subjects/optimization/sccp1.php - Test  
failed dependency
  InterpretOptimized: Skipped  
test/subjects/optimization/side_effecting_echo.php - Test failed dependency
  InterpretOptimized: Skipped test/subjects/optimization/string_handler.php  
- Test failed dependency
  InterpretOptimized: Skipped  
test/subjects/optimization/unknown_everything.php - Test failed dependency
@@ -3081,12 +3051,10 @@
  Refcounts: Skipped test/subjects/optimization/dce_foreach1.php - Test  
failed dependency
  Refcounts: Skipped test/subjects/optimization/define.php - Test failed  
dependency
  Refcounts: Skipped test/subjects/optimization/field_on_nonobjects.php -  
Test failed dependency
-Refcounts: Skipped test/subjects/optimization/gettimeofday.php - Test  
failed dependency
  Refcounts: Skipped test/subjects/optimization/looping_defines.php - Test  
failed dependency
  Refcounts: Skipped test/subjects/optimization/may_defs.php - Test failed  
dependency
  Refcounts: Skipped test/subjects/optimization/object_casting.php - Test  
failed dependency
  Refcounts: Skipped test/subjects/optimization/reference2.php - Test failed  
dependency
-Refcounts: Skipped test/subjects/optimization/sccp1.php - Test failed  
dependency
  Refcounts: Skipped test/subjects/optimization/static_value_constant.php -  
Test failed dependency
  Refcounts: Skipped test/subjects/optimization/string_handler.php - Test  
failed dependency
  Refcounts: Skipped test/subjects/optimization/unknown_everything.php -  
Test failed dependency
@@ -3334,9 +3302,7 @@
  cb_AST-to-HIR: Skipped test/subjects/errors/try_catch_break.php - Test  
failed dependency
  cb_AST-to-HIR: Skipped test/subjects/optimization/array_use.php - Test  
failed dependency
  cb_AST-to-HIR: Skipped test/subjects/optimization/dce_foreach1.php - Test  
failed dependency
-cb_AST-to-HIR: Skipped test/subjects/optimization/gettimeofday.php - Test  
failed dependency
  cb_AST-to-HIR: Skipped test/subjects/optimization/may_defs.php - Test  
failed dependency
-cb_AST-to-HIR: Skipped test/subjects/optimization/sccp1.php - Test failed  
dependency
  cb_AST-to-HIR: Skipped test/subjects/parsing/capital_ticks.php - Test  
excepted
  cb_AST-to-HIR: Skipped test/subjects/parsing/comments_declare.php - Test  
excepted
  cb_AST-to-HIR: Skipped test/subjects/parsing/functions.php - Test failed  
dependency
@@ -3452,9 +3418,7 @@
  cb_hir: Skipped test/subjects/optimization/array_use.php - Test failed  
dependency
  cb_hir: Skipped test/subjects/optimization/concat_null.php - Test failed  
dependency
  cb_hir: Skipped test/subjects/optimization/dce_foreach1.php - Test failed  
dependency
-cb_hir: Skipped test/subjects/optimization/gettimeofday.php - Test failed  
dependency
  cb_hir: Skipped test/subjects/optimization/may_defs.php - Test failed  
dependency
-cb_hir: Skipped test/subjects/optimization/sccp1.php - Test failed  
dependency
  cb_hir: Skipped test/subjects/optimization/string_handler.php - Test  
failed dependency
  cb_hir: Skipped test/subjects/parsing/capital_ticks.php - Test failed  
dependency
  cb_hir: Skipped test/subjects/parsing/comments_declare.php - Test failed  
dependency
@@ -3523,9 +3487,7 @@
  cb_mir: Skipped test/subjects/optimization/array_use.php - Test failed  
dependency
  cb_mir: Skipped test/subjects/optimization/concat_null.php - Test failed  
dependency
  cb_mir: Skipped test/subjects/optimization/dce_foreach1.php - Test failed  
dependency
-cb_mir: Skipped test/subjects/optimization/gettimeofday.php - Test failed  
dependency
  cb_mir: Skipped test/subjects/optimization/may_defs.php - Test failed  
dependency
-cb_mir: Skipped test/subjects/optimization/sccp1.php - Test failed  
dependency
  cb_mir: Skipped test/subjects/optimization/string_handler.php - Test  
failed dependency
  cb_mir: Skipped test/subjects/parsing/capital_ticks.php - Test failed  
dependency
  cb_mir: Skipped test/subjects/parsing/comments_declare.php - Test failed  
dependency
@@ -3592,7 +3554,6 @@
  cb_sua: Skipped test/subjects/optimization/array_use.php - Test failed  
dependency
  cb_sua: Skipped test/subjects/optimization/dce_foreach1.php - Test failed  
dependency
  cb_sua: Skipped test/subjects/optimization/may_defs.php - Test failed  
dependency
-cb_sua: Skipped test/subjects/optimization/sccp1.php - Test failed  
dependency
  cb_sua: Skipped test/subjects/parsing/functions.php - Test failed  
dependency
  cb_sua: Skipped test/subjects/parsing/line_and_co.php - Test failed  
dependency
  cb_sua: Skipped test/subjects/parsing/scoped_function.php - Test failed  
dependency
@@ -3657,9 +3618,7 @@
  mir_dump: Skipped test/subjects/optimization/array_use.php - Test failed  
dependency
  mir_dump: Skipped test/subjects/optimization/concat_null.php - Test failed  
dependency
  mir_dump: Skipped test/subjects/optimization/dce_foreach1.php - Test  
failed dependency
-mir_dump: Skipped test/subjects/optimization/gettimeofday.php - Test  
failed dependency
  mir_dump: Skipped test/subjects/optimization/may_defs.php - Test failed  
dependency
-mir_dump: Skipped test/subjects/optimization/sccp1.php - Test failed  
dependency
  mir_dump: Skipped test/subjects/optimization/string_handler.php - Test  
failed dependency
  mir_dump: Skipped test/subjects/parsing/capital_ticks.php - Test failed  
dependency
  mir_dump: Skipped test/subjects/parsing/casts.php - Test failed dependency
=======================================
--- /trunk/test/expected_results/success	Mon Oct 11 10:31:17 2010
+++ /trunk/test/expected_results/success	Wed Oct 13 02:28:26 2010
File is too large to display a diff.
=======================================
--- /trunk/test/expected_results/timeout	Mon Oct 11 10:31:17 2010
+++ /trunk/test/expected_results/timeout	Wed Oct 13 02:28:26 2010
@@ -128,6 +128,7 @@
  BasicIgnoreOutputPreciseOptimizeTest: Timeout  
test/subjects/parsing/variable_name.php
  BasicIgnoreOutputPreciseOptimizeTest: Timeout  
test/subjects/php_bugs/26396.php
  BasicPreciseOptAnalyseTest: Timeout test/subjects/bugs/bug0011.php
+BasicPreciseOptAnalyseTest: Timeout test/subjects/codegen/bench_ary2.php
  BasicPreciseOptAnalyseTest: Timeout  
test/subjects/codegen/bench_heapsort.php
  BasicPreciseOptAnalyseTest: Timeout test/subjects/codegen/bench_matrix.php
  BasicPreciseOptAnalyseTest: Timeout  
test/subjects/codegen/foreach_key_val.php
@@ -182,7 +183,6 @@
  CompileOptimized: Timeout test/subjects/codegen/masquarading_int_keys.php
  CompileOptimized: Timeout test/subjects/codegen/odd_breaks.php
  CompileOptimized: Timeout test/subjects/codegen/switch_functions.php
-CompileOptimized: Timeout  
test/subjects/optimization/var_var_and_unknown.php
  CompileOptimized: Timeout test/subjects/parsing/foreach.php
  CompileOptimized: Timeout  
test/subjects/parsing/foreach_with_complex_key.php
  CompileOptimized: Timeout test/subjects/parsing/literal_test.php
=======================================
--- /trunk/test/subjects/optimization/gettimeofday.php	Tue May 26 08:33:01  
2009
+++ /trunk/test/subjects/optimization/gettimeofday.php	Wed Oct 13 02:28:26  
2010
@@ -20,7 +20,7 @@

  	$output = ob_get_contents ();
  	ob_end_clean ();
-	$output = preg_replace ("/\d/", "x", $output);
+	$output = preg_replace ("/\d*/", "x", $output);

  	print ($output);

=======================================
--- /trunk/test/subjects/optimization/sccp1.php	Thu Jun 25 10:15:06 2009
+++ /trunk/test/subjects/optimization/sccp1.php	Wed Oct 13 02:28:26 2010
@@ -11,17 +11,25 @@
  		// Check propagation into bin_ops
  		// { phc-regex-output: /5 </ }
  		$const = 5;
-		if ($const < rand ())
-		{
-			print `ls`; // side-effecting
+		if ($const < rand())
+		{
+			print `echo 5`; // side-effecting
+		}
+		else
+		{
+			print `echo 5`; // side-effecting
  		}

  		// Check propagation into unary ops
  		// { phc-regex-output: !/\$const2/ }
  		$const2 = 6;
-		if (!$const2 && rand ())
-		{
-			print `ls`; // side-effecting
+		if (!$const2 && rand())
+		{
+			print `echo 5`; // side-effecting
+		}
+		else
+		{
+			print `echo 5`; // side-effecting
  		}


@@ -31,10 +39,10 @@
  		// Check that getrandmax is optimized out
  		// { phc-regex-output: !/getrandmax/ }

-		while (rand () > getrandmax() / 2)
+		while ($argv[3] > getrandmax() / 2)
  		{
  			$const3 = "string";
-			print `ls $const3`;
+			print `echo $const3`;
  		}




More information about the phc-internals mailing list