1 /* PR optimization/12640
3 We used to get into an infinite loop while trying to
4 figure out `strlen (resultString)'. This showed up as
5 a stack overflow while compiling tk. */
7 /* { dg-do compile } */
8 /* { dg-options "-O1" } */
10 extern __SIZE_TYPE__ strlen (const char *);
15 SendEventProc (char *resultString)
29 i = strlen (resultString) + 1;