Debian Codegraph @

gcc/testsuite/g++.dg/lto/pr121831_0.C

raw
1 /* PR middle-end/121831 */
2 /* { dg-lto-do run } */
3 /* { dg-lto-options { { -O2 -flto } } } */
4
5 struct S { unsigned char s[256]; };
6 S a;
7 extern const S b[1];
8 struct T { unsigned char t[2048]; };
9 T c;
10 extern const T d[1];
11
12 __attribute__((noipa)) void
13 foo ()
14 {
15 a = b[0];
16 c = d[0];
17 }