1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-fre1-details" } */
12 struct b b
, *bptr
=&b
, *bptr2
=&b
;
22 for (int i
=0; i
<n
; i
++)
24 if (!__builtin_constant_p (bptr2
->a
[jj
].bar
== 0))
29 /* { dg-final { scan-tree-dump "Replaced __builtin_constant_p \\\(\[^)\]*\\\) with 1" "fre1" } } */