This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PR 46226] asm goto may leave stack pointer invalid


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]