📄 struct-1.c
字号:
/* This testcase ICEd on IA-32 because the backend was inconsistent whether to allow addends for @dtpoff relocs or not. *//* { dg-do compile } *//* { dg-options "-O2 -fpic" } */struct S { int s0, s1, s2, s3;};static __thread struct S x;extern void abort (void);extern void exit (int);voidfoo (struct S *s){ s->s2 = 231;}voidbar (void){ if (x.s0 == 231 || x.s2 != 231) abort ();}intmain (){ foo (&x); bar (); exit (0);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -