20030714-2.c

来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 41 行

C
41
字号
/* { dg-do compile } *//* APPLE LOCAL lno *//* { dg-options "-O1 -fdump-tree-dom3 -ftree-loop-optimize" } */   union tree_node;typedef union tree_node *tree;extern const char tree_code_type[];struct tree_common{  int code;  tree type;};struct tree_exp{  tree operands[1];};union tree_node{  struct tree_common common;  struct tree_exp exp;};longget_alias_set (t)     tree t;{  if (tree_code_type[t->common.code] != 't' && t->common.type == 0)    return 0;  if (tree_code_type[t->common.code] != 't')    {      while (t->exp.operands[0])        t = t->exp.operands[0];    }}/* There should be exactly three IF conditionals if we thread jumps   properly.  *//* { dg-final { scan-tree-dump-times "if " 3 "dom3"} } */ 

⌨️ 快捷键说明

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