20031015-1.c

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

C
19
字号
/* With tree-ssa, gcc.dg/20000724-1.c failed because we missed   a VOP of x in the asm statement.  *//* { dg-do compile } *//* { dg-options "-O1 -fdump-tree-salias-vops" } */struct s { int a; };intmain(void){  struct s x = { 0 };  asm volatile ("" : : "r" (&x) : "memory");  return 0;}/* The VDEF comes from the initial assignment and the asm.  *//* { dg-final { scan-tree-dump-times "DEF" 2 "salias" } } *//* { dg-final { cleanup-tree-dump "salias" } } */

⌨️ 快捷键说明

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