OSDN Git Service

PR inline-asm/39543
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Apr 2009 18:56:14 +0000 (18:56 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Apr 2009 18:56:14 +0000 (18:56 +0000)
commitabe2d6dd80e07fc55a69dd3da361d78436222044
tree88e469cfb5350bf8f7f8f1d7c548232a4a4050f4
parenta1d07e97417fb905496f727f3a78b89e2eaf6397
PR inline-asm/39543
* fwprop.c (forward_propagate_asm): New function.
(forward_propagate_and_simplify): Propagate also into __asm, if it
doesn't increase the number of referenced registers.

* gcc.target/i386/pr39543-1.c: New test.
* gcc.target/i386/pr39543-2.c: New test.
* gcc.target/i386/pr39543-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146813 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fwprop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr39543-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr39543-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr39543-3.c [new file with mode: 0644]