20031106-6.c

来自「用于进行gcc测试」· C语言 代码 · 共 30 行

C
30
字号
/* { dg-do compile } */ /* { dg-options "-O1 -fno-tree-sra -fdump-tree-optimized" } */extern void link_error (void);/* Check for copyprop on structs.  */struct s{  char d;  int a, b;  double m;};struct s foo (struct s r){  struct s temp_struct1;  struct s temp_struct2;  struct s temp_struct3;  temp_struct1 = r;  temp_struct2 = temp_struct1;  temp_struct3 = temp_struct2;  return temp_struct3;}/* There should be no references to any of "temp_struct*"   temporaries.  *//* { dg-final { scan-tree-dump-times "temp_struct" 0 "optimized" { xfail *-*-* } } } *//* { dg-final { cleanup-tree-dump "optimized" } } */

⌨️ 快捷键说明

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