1 /* { dg-do compile } */
2 /* { dg-options "-fstack-protector -O3" } */
3 
4 /* PR78695: This code used to ICE in rs6000.c:find_alignment_op because
5    the stack protector address definition isn't associated with an insn.  */
6 
7 void *a();
b()8 long b() {
9   char c[1];
10   char *d = a(), *e = c;
11   long f = e ? b(e) : 0;
12   if (f > 54)
13     f = 1;
14   while (f--)
15     *d++ = *e++;
16 }
17