re PR rtl-optimization/34132 (ICE: internal consistency failure (invalid rtl sharing...
commit05969da4c37b0c4120a5ac7b7a803f3f98f972af
authorJakub Jelinek <jakub@redhat.com>
Sun, 18 Nov 2007 19:22:35 +0000 (18 20:22 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 18 Nov 2007 19:22:35 +0000 (18 20:22 +0100)
tree03f1b2b6d8ba6423f0fa37f78cc5e084bee87a35
parent33727b5ecb2653eaa3688a4e9102cb454c1ff6a2
re PR rtl-optimization/34132 (ICE: internal consistency failure (invalid rtl sharing found in the insn))

PR rtl-optimization/34132
* gcse.c (try_replace_reg): Avoid rtx sharing between REG_EQUAL note
and insn.

* gcc.c-torture/compile/20071118-1.c: New test.

From-SVN: r130275
gcc/ChangeLog
gcc/gcse.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20071118-1.c [new file with mode: 0644]