i386.c (ix86_emit_restore_reg_using_pop): Prototype.
authorJeff Law <law@redhat.com>
Fri, 3 Nov 2017 20:30:53 +0000 (14:30 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 3 Nov 2017 20:30:53 +0000 (14:30 -0600)
commit61959ba10bd5595e6114712abcbce5bcea36c9bf
tree5d7009708107715c7e173685f7240730e6f53547
parent245f6de13d73c2d6c8be1b78f9e1e99e4510572c
i386.c (ix86_emit_restore_reg_using_pop): Prototype.

* config/i386/i386.c (ix86_emit_restore_reg_using_pop): Prototype.
(ix86_adjust_stack_and_probe_stack_clash): Use a push/pop sequence
to probe at the start of a noreturn function.

* gcc.target/i386/stack-check-12.c: New test.

From-SVN: r254396
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/stack-check-12.c [new file with mode: 0644]