1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-strlen" } */
4 typedef struct { char s
[8]; int x
; } S
;
11 for (i
= 0; i
< max_i
; i
++)
12 result
+= __builtin_strcmp (s
->s
, "abc") != 0 ? 2 : 1;
16 /* { dg-final { scan-tree-dump-times "cmp_eq \\(" 1 "strlen" } } */