]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/strlenopt-27.c
2 /* { dg-options "-O2 -fdump-tree-strlen" } */
6 __attribute__((noinline
, noclone
)) size_t
10 return strlen (p
+ 2); // This strlen should be optimized into 4.
22 /* { dg-final { scan-tree-dump-times "strlen \\(" 0 "strlen" } } */