1 /* PR tree-optimization/66688 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fno-reorder-blocks -fcompare-debug" } */
5 struct fdt_header
{ unsigned magic
; } *a
;
12 return __builtin_bswap32 (p1
);
16 fdt_set_magic (int p1
)
18 struct fdt_header
*b
= a
;
19 b
->magic
= __builtin_constant_p (p1
) ? : __fswab32 (p1
);
23 _fdt_sw_check_header ()
25 int c
= ((struct fdt_header
*) 1)->magic
;
34 if (_fdt_sw_check_header ())