Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / tree-ssa / pr21584-2.C
blob6246e8d4cbb364cd442bb8e8205805feb534575c
1 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src);
3 extern char *foo (void);
4 extern void *malloc(__SIZE_TYPE__) __attribute__((malloc));
6 char v[100];
8 void baz()
10   char *vec;
11   char buf[512];
13   char *p = buf;
14   while (v[(*p)])
15     p++;
17   if (*p != '#' && (p = foo()) != 0) {
18     strcpy ((char*)malloc(10), p);
19   }