opt-1.c
来自「用于进行gcc测试」· C语言 代码 · 共 31 行
C
31 行
/* { dg-do compile } *//* { dg-options "-O2 -fPIC" } *//* { dg-options "-O2 -fPIC -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } *//* { dg-require-effective-target tls_native } *//* { dg-require-effective-target fpic } */extern __thread int thr;static int x;static voidbar (void){ x = 1;}static void#ifdef __i386____attribute__ ((regparm (3)))#endiffoo (const char *x, void *y, int *z){ bar ();}voidtest (const char *x, void *y){ foo (x, y, &thr);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?