OSDN Git Service

PR bootstrap/51796
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Jan 2012 22:59:12 +0000 (22:59 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Jan 2012 22:59:12 +0000 (22:59 +0000)
commit45152a7bc5439728859243f827c16cd945a8f24e
treefbdc23d46078139f7cb8428d4b8b9ecfefb8f37b
parent113ef6a57c667f753f49e495b19fc4c664b48479
PR bootstrap/51796
* combine.c (distribute_notes): If i3 is a noreturn call,
allow old_size to be equal to args_size and make sure the
noreturn call gets REG_ARGS_SIZE note.
* expr.c (fixup_args_size_notes): Put REG_ARGS_SIZE notes
on noreturn calls even when the delta is 0.

* gcc.dg/pr51796.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183111 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/combine.c
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr51796.c [new file with mode: 0644]