20021006-1.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 28 行
C
28 行
/* PR target/7559 This testcase was miscompiled on x86-64 due to wrong access to the struct members. */extern void abort();struct A { long x;};struct R { struct A a, b;};struct R R = { {100}, {200}};void f(struct R r) { if (r.a.x != R.a.x || r.b.x != R.b.x) abort();}int main() { f(R); return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?