1 /* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
2 /* { dg-options "-O2 -fdump-tree-strlen" } */
5 #include "strlenopt-31.c"
7 /* { dg-final { scan-tree-dump-times "stpcpy \\(" 1 "strlen1" } } */
8 /* { dg-final { scan-tree-dump-times "memcpy \\(" 2 "strlen1" } } */
9 /* { dg-final { scan-tree-dump-not "strlen \\(" "strlen1" } } */