re PR target/79430 (action of statement incorrectly optimised away)
authorJakub Jelinek <jakub@redhat.com>
Mon, 1 May 2017 09:50:59 +0000 (11:50 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 1 May 2017 09:50:59 +0000 (11:50 +0200)
commit30776a1468d25d156c02b2484d5ad7578f829d2e
tree8b474243cad264fb5c3c25797a360bfb208f12b8
parentf16b9dc289af11bc64e8ae27a6723f2f82ca2cc5
re PR target/79430 (action of statement incorrectly optimised away)

PR target/79430
* rtlanal.c (reg_set_p): If reg is a stack_pointer_rtx, also
check for stack push/pop autoinc.
* config/i386/i386.c (ix86_agi_dependent): Return false
if the only reason why modified_in_p returned true is that
addr is SP based and set_insn is a push or pop.

From-SVN: r247429
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/rtlanal.c