re PR tree-optimization/21001 (VRP is weak when the tested variable in a COND_EXPR...
authorKazu Hirata <kazu@cs.umass.edu>
Mon, 18 Apr 2005 06:10:45 +0000 (06:10 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 18 Apr 2005 06:10:45 +0000 (06:10 +0000)
commit0d21c2a2fe90663ddb7bbfa346107a0706a705c1
treeb2c04268556badfb5c3d2e0861a24fa807938af7
parent0ec7a4d1ee0d222e200bbb9a8cb691a4247a98e9
re PR tree-optimization/21001 (VRP is weak when the tested variable in a COND_EXPR is used only in the COND_EXPR.)

gcc/
PR tree-optimization/21001
* tree-optimize.c (init_tree_optimization_passes): Move the
first pass_forwprop immediately before pass_vrp.

testsuite/
PR tree-optimization/21001
* gcc.dg/tree-ssa/pr21001.c: New.

From-SVN: r98309
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr21001.c [new file with mode: 0644]
gcc/tree-optimize.c