[Bug tree-optimization/50763] [4.7 Regression] ICE: verify_gimple failed: missing PHI def with -ftree-tail-merge
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 24 12:07:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50763
--- Comment #12 from vries at gcc dot gnu.org 2011-10-24 12:06:19 UTC ---
Created attachment 25590
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25590
proposed patch for problem reported in comment 10
2011-10-24 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/50763
* tree-ssa-tail-merge.c (replace_block_by): Update vops if phi_vuse1 or
phi_vuse2 is NULL_TREE only if bb1 dominates or is dominated by bb2.
* gcc.dg/pr50763-2.c: New test.
More information about the Gcc-bugs
mailing list