loadpre19.c

来自「用于进行gcc测试」· C语言 代码 · 共 17 行

C
17
字号
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-pre-stats" } */typedef int type[2];int main(type *a, int argc){  int d, e;    /* Should be able to eliminate the second load of *a along the main path. */  d = (*a)[argc];  if (!d)      argc++;  e = (*a)[argc];  return e;}/* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "pre"  } } *//* { dg-final { cleanup-tree-dump "pre" } } */

⌨️ 快捷键说明

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