Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git] / gcc / testsuite / gcc.dg / pr50604.c
blob1ab465a1095811286b7e343af1037054d233a6af
1 /* PR tree-optimization/50604 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 #include "strlenopt.h"
7 typedef char T;
8 extern const T s[];
10 void
11 foo (T *x)
13 char *r = malloc (strlen (x));
14 strcpy (r, s);
15 strcat (r, x);
16 strcat (r, "/");
19 const T s[] = "abcdefghijklmnopq";