📄 20040210-1.c
字号:
/* { dg-do compile } *//* { dg-options "-O1 -fdump-tree-phiopt1-details" } */ void abort(void);void exit(int);int x, y;static void __attribute__ ((noinline))init_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"} } *//* { dg-final { cleanup-tree-dump "phiopt1" } } */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -