URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [local.c] - Rev 12
Compare with Previous | Blame | View Log
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O2 -funit-at-a-time" } */ /* { dg-final { scan-assembler "magic\[^\\n\]*eax" { target ilp32 } } } */ /* { dg-final { scan-assembler "magic\[^\\n\]*edi" { target lp64 } } } */ /* Verify that local calling convention is used. */ static t(int) __attribute__ ((noinline)); m() { t(1); } static t(int a) { asm("magic %0"::"g"(a)); }