Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr24600.c
blob62bb7cad60012cebb8729bbb8f8567d79e7c4f97
1 /* This used to ICE on s390 due to a old-loop bug. */
3 /* { dg-do compile } */
4 /* { dg-options "-O2" } */
6 char *strcpy (char *dest, const char *src);
8 void test (char *Line, int len)
10 int z;
12 for (z = 1; z <= len; z++)
13 if (Line[z - 1])
14 strcpy (Line + z + 1, Line);