20030703-1.c
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 22 行
C
22 行
/* { dg-do compile } *//* { dg-options "-O1 -fdump-tree-dom3" } */ extern void abort (void);extern int blah[];foo(int index){ if (blah [(unsigned int)index] != 0) abort (); if (blah [(unsigned int)index] != 0) abort ();}/* There should be precisely one load of blah. If there is more than one, then the dominator optimizations failed. *//* { dg-final { scan-tree-dump-times "blah" 1 "dom3"} } */ /* There should be exactly one IF conditional. *//* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?