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 c;
9 struct d {
10   short e;
11   b f
g(int h,int i,int j,int k,char l,int m,int n,char * p)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;
17 }
18