20040624-1.c
来自「linux下编程用 编译软件」· C语言 代码 · 共 22 行
C
22 行
/* { dg-do compile } *//* { dg-options "-O1 -fdump-tree-dom1" } */ void bar1 (void);void bar2 (void);voidfoo (unsigned int a, unsigned int b){ if (a >= b) bar1 (); else if (a <= b) bar2 ();}/* The second conditional is redundant since we know it must be true (to reach the second condition we know a < b via the first conditional. *//* { dg-final { scan-tree-dump-times "if " 1 "dom1" } } *//* { dg-final { cleanup-tree-dump "dom1" } } */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?