2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / arc / lra-1.c
blob27336d1a6afa853497ed36ace625127896ab5d7e
1 /* { dg-do compile } */
2 /* { dg-options "-Os -w -mlra" } */
4 /* ap is replaced with an address like base+offset by lra,
5 where offset is larger than s9, resulting into an ICE. */
7 typedef struct { char a[500] } b;
8 c;
9 struct d {
10 short e;
11 b f
12 } g(int h, int i, int j, int k, char l, int m, int n, char *p) {
13 again:;
14 struct d o;
15 *p = c = ({ q(o); });
16 goto again;