OSDN Git Service

2013-02-05 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Feb 2013 12:56:51 +0000 (12:56 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Feb 2013 12:56:51 +0000 (12:56 +0000)
commit381f516ffdebea297a88af76e6c3546e5abe967c
tree9f4549848900e737f3f8b9684addd1b556c028c8
parente1a38cebc528857eb7dfaee06fc0ba3c8e40c5d1
2013-02-05  Richard Biener  <rguenther@suse.de>

Backport from mainline
2012-12-10  Richard Biener  <rguenther@suse.de>

PR tree-optimization/55107
* tree-ssa-pre.c (struct pre_stats): Remove constified field.
(bitmap_set_replace_value): Add gcc_unreachable.
(do_regular_insertion): Re-write all_same handling.  Insert
an assignment instead of a PHI in this case.
(execute_pre): Do not record constified events.

* gcc.dg/torture/pr55107.c: New testcase.
* gcc.dg/tree-ssa/ssa-pre-5.c: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195755 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr55107.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-5.c
gcc/tree-ssa-pre.c