This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PR 46226] asm goto may leave stack pointer invalid
- From: Richard Henderson <rth at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 29 Oct 2010 10:14:54 -0700
- Subject: Re: [PR 46226] asm goto may leave stack pointer invalid
- References: <4CCAFF7E.5080807@redhat.com>
On 10/29/2010 10:08 AM, Richard Henderson wrote:
> An asm goto is a jump instruction, therefore we must ensure a
> consistent stack wrt pending adjustments beforehand.
>
> Tested on i486 and x86_64-linux, committed to 4.5 and head.
Arg! -ENOCOFFEE. I put the testcase in the wrong directory.
It should have been x86-specific, since it does use a "jmp"
insn in the asm goto.
I've moved it from gcc.dg/ to gcc.target/i386/.
r~