Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr19736.c

raw
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. */
4
5 extern char *strcpy (char *, const char *);
6 void sdbout_one_type (char *p)
7 {
8 int i, t = 1;
9 char *q;
10 for (i = 0; i < 2; i++)
11 {
12 strcpy (p, "1");
13 p += sizeof ("1");
14 }
15 if (t)
16 q = "2";
17 else
18 q = "3";
19 strcpy (p, q);
20 }
21