loop-2.c

来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 24 行

C
24
字号
/* PR optimization/10171 *//* Bug: unroll_loop misoptimized the function so that we got   0 iterations of the loop rather than the correct 1.  *//* { dg-do run } */extern void abort (void);extern void exit (int);__inline__ int tag() { return 0; }void f ();int main() {  int i;  for (i = 0; i < (tag() ? 2 : 1); i++)    f();  abort ();}void f (){  exit (0);}

⌨️ 快捷键说明

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