comparison gcc/testsuite/gcc.dg/strlenopt-30.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
58 char *t1 = __builtin_strstr (s, "hello"); 58 char *t1 = __builtin_strstr (s, "hello");
59 foo_f7 (t1); 59 foo_f7 (t1);
60 return (t1 == s); 60 return (t1 == s);
61 } 61 }
62 62
63 /* { dg-final { scan-tree-dump-times "__builtin_strncmp" 5 "strlen" } } */ 63 /* { dg-final { scan-tree-dump-times "__builtin_strncmp" 5 "strlen1" } } */