pr19633.c

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

C
27
字号
/* { dg-do compile } *//* { dg-options "-O1 -fdump-tree-ssa-vops" } */struct S{  int w, x, y, z;};struct T{  int r;  struct S s;};void bar (struct S, int);voidfoo (int a, struct T b){  struct S x;  struct S *c = &x;  if (a)    c = &b.s;  bar (*c, a);}/* Make sure that .GLOBAL_VAR is not created when there are no   clobbering calls.  *//* { dg-final { scan-tree-dump-times "GLOBAL_VAR" 0 "ssa"} } *//* { dg-final { cleanup-tree-dump "ssa" } } */

⌨️ 快捷键说明

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