⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 alias-16.c

📁 用于进行gcc测试
💻 C
字号:
/* { dg-do run } *//* { dg-options "-O --param max-aliased-vops=1" } *//* Compile with -O --param max-aliased-vops=1.  This partitions all   the initial SFTs for 'm' which was causing the operand scanner to   miss adding the right SFTs to p->b[2].  */extern void abort (void);struct X {    int a;    struct Y {	int b[4];    } b;    struct Y c;} m;struct X n;foo (int i){  struct Y *p = (i > 10) ? &m.b : &n.c;  p->b[2] = 10;  m.b.b[3] = 6;  n.c.b[2] = 3;  return p->b[2] + n.c.b[2] + m.b.b[3];}main(){  if (foo (3) != 12)    abort ();  return 0;}

⌨️ 快捷键说明

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