]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/50769 (ICE: in phi_alternatives_equal, at tree-cfgcleanup...
authorTom de Vries <tom@codesourcery.com>
Wed, 19 Oct 2011 16:29:42 +0000 (16:29 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 19 Oct 2011 16:29:42 +0000 (16:29 +0000)
commit40f73edd0c35d53f57a1c05b1b4a59c4d7a70d60
treefd13fd8833fcb0ab3a3951b41ef2ec73e5cccbf5
parent87fb500b9377df6eddfc8efd0b5aa186e075951e
re PR tree-optimization/50769 (ICE: in phi_alternatives_equal, at tree-cfgcleanup.c:355 with -O2 -fno-delete-null-pointer-checks -fno-guess-branch-probability -fipa-pta)

2011-10-19  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/50769
* tree-ssa-tail-merge.c (replace_block_by): Calculate phi_vuse2
unconditionally.  Handle case that phi_vuse2 is not an SSA_NAME.  Add
dummy argument .MEM to phi when increasing number of arguments of phi by
redirecting edges to the block with phi.

From-SVN: r180197
gcc/ChangeLog
gcc/tree-ssa-tail-merge.c