re PR target/20322 (Miscompilation of libcpp/expr.c at -O2+)
authorJakub Jelinek <jakub@redhat.com>
Thu, 10 Mar 2005 21:26:12 +0000 (22:26 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 10 Mar 2005 21:26:12 +0000 (22:26 +0100)
commit985f2d8fa38d5c97b7f28208f0a571a568622039
tree9cfc0de0e97b1d9ecbd24b272c39d0c35a91f478
parentcf379ac0a68c591dfe755cea2dd48e6517f5cfb3
re PR target/20322 (Miscompilation of libcpp/expr.c at -O2+)

PR target/20322
* combine.c (try_combine): If recog_for_combine added CLOBBERs
to NEWI2PAT, fail to combine if they are used by NEWPAT.

* gcc.dg/20050307-1.c: New test.

From-SVN: r96260
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20050307-1.c [new file with mode: 0644]