local.c

来自「用于进行gcc测试」· C语言 代码 · 共 16 行

C
16
字号
/* { dg-do compile } *//* { 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));}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?