20040210-1.c
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 33 行
C
33 行
/* { dg-do compile } *//* { dg-options "-O1 -fdump-tree-phiopt1-details" } */ void abort(void);void exit(int);int x, y;static voidinit_xy(void){ x = 3; y = 2;}voidtest4(void){ init_xy(); if ((x < y ? x++ : y++) != 2) abort ();}intmain(){ test4 (); exit (0);}/* Should have no more than two ifs left after straightening. *//* { dg-final { scan-tree-dump-times "if " 2 "phiopt1"} } */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?