re PR debug/47780 (-fcompare-debug failure with -O -fgcse -fgcse-las -fstack-protecto...
authorJakub Jelinek <jakub@redhat.com>
Fri, 18 Feb 2011 10:42:48 +0000 (11:42 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 18 Feb 2011 10:42:48 +0000 (11:42 +0100)
commitabfea58d53f78e426da355c0618a868056e30592
tree0da94db984ee09ac7a3462146c30bca3f5352b87
parent6e2062b00f9270676ded3f8bfe16273843f449d6
re PR debug/47780 (-fcompare-debug failure with -O -fgcse -fgcse-las -fstack-protector-all)

PR debug/47780
* cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to
avoid invalid rtx sharing.

* gcc.target/i386/pr47780.c: New test.

From-SVN: r170270
gcc/ChangeLog
gcc/cfgexpand.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr47780.c [new file with mode: 0644]