1 /* { dg-do compile } */
2 /* { dg-options "-O2 -w -fdump-tree-dom2-details" } */
6 typedef struct string_s
{
7 unsigned long size
, alloc
;
11 # define M_ASSUME(x) \
12 (! __builtin_constant_p (!!(x) || !(x)) || (x) ? \
13 (void) 0 : __builtin_unreachable())
17 M_ASSUME(strlen(s
->ptr
) == s
->size
);
21 /* { dg-final { scan-assembler-not "strlen" } } */