1 /* { dg-do compile } */
2 /* { dg-require-profiling "-fprofile-generate" } */
3 /* { dg-additional-options "-fprofile-generate" } */
5 extern int isspace (int);
7 int foo(const char *txt
, char *buf
)
12 for (s
=txt
, d
=buf
; *s
; )
14 if (*s
=='/' && *(s
+1)=='/') {
17 while (*s
&& *s
!='\r' && *s
!='\n')
23 while (*s
&& *s
!='\r' && *s
!='\n' && *s
!='"')
30 if (*s
&& !isspace(*s
))
43 /* { dg-final { scan-tree-dump "base object not addressable" "slp1" } } */
44 /* { dg-final { scan-tree-dump-not "MEM\[^\r\n\]*__gcov\[^\r\n\]* = vect_cst" "slp1" } } */