./:
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr19736.c
blob0b618b126975c69ec1bea7997df2d8dad6ad4e3e
1 /* We used to ICE because we had forgot to update the immediate_uses
2 information after foldding the last strcpy in Reduce PHI.
3 This was PR tree-opt/19763. */
5 extern char *strcpy (char *, const char *);
6 void sdbout_one_type (char *p)
8 int i, t = 1;
9 char *q;
10 for (i = 0; i < 2; i++)
12 strcpy (p, "1");
13 p += sizeof ("1");
15 if (t)
16 q = "2";
17 else
18 q = "3";
19 strcpy (p, q);