pr20913.c

来自「linux下编程用 编译软件」· C语言 代码 · 共 35 行

C
35
字号
/* PR tree-optimization/20913   COPY-PROP did not fold COND_EXPR, blocking some copy propagation   opportunities.  *//* { dg-do link } *//* { dg-options "-O2 -fno-tree-dominator-opts" } */intfoo (int a, int b, int c, int d){  int x, y;  b = a;  if (a == b)    x = c;  else    {      link_error ();      x = d;    }  if (x == c)    return a;  else    {      link_error ();      return b;    }}main(){  foo (1, 2, 3, 4);}

⌨️ 快捷键说明

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