Debian Codegraph @

gcc/testsuite/gcc.target/arc/lra-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-Os -w -mlra" } */
3
4 /* ap is replaced with an address like base+offset by lra,
5 where offset is larger than s9, resulting into an ICE. */
6
7 typedef struct { char a[500]; } b;
8 int c;
9 struct d {
10 short e;
11 b f;
12 };
13
14 int q (struct d);
15
16 struct d g(int h, int i, int j, int k, char l, int m, int n, char *p) {
17 again:;
18 struct d o;
19 *p = c = ({ q(o); });
20 goto again;
21 }