20021029-1.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 17 行
C
17 行
/* Test whether difference of local labels doesn't force variables into writable sections. *//* { dg-do compile } *//* { dg-options "-O2 -fpic" } *//* { dg-final { scan-assembler-not ".data.rel.ro.local" } } */int foo (int a){ static const int ar[] = { &&l1 - &&l1, &&l2 - &&l1 }; void *p = &&l1 + ar[a]; goto *p; l1: return 1; l2: return 2;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?