20020201-2.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 31 行

C
31
字号
/* This testcase caused ICE because gcc was not able to add instructions   on edge from ENTRY block successor to itself.  *//* { dg-do compile } *//* { dg-options "-O3 -fssa" } */struct A { int a1; int a2; };struct B { long int b[32]; };extern int bar (struct B *, struct A *);intfoo (struct B x){  struct A a, b;  struct B c;  int d;  while (1)    {      a.a1 = 0;      a.a2 = 0;      b = a;      c = x;      d = bar (&c, &b);      if (d >= 0)        return d;    }  return 0;}

⌨️ 快捷键说明

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