1 /* PR tree-optimization/66688 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fno-reorder-blocks -fcompare-debug" } */
4 /* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */
6 struct fdt_header
{ unsigned magic
; } *a
;
13 return __builtin_bswap32 (p1
);
17 fdt_set_magic (int p1
)
19 struct fdt_header
*b
= a
;
20 b
->magic
= __builtin_constant_p (p1
) ? : __fswab32 (p1
);
24 _fdt_sw_check_header ()
26 int c
= ((struct fdt_header
*) 1)->magic
;
35 if (_fdt_sw_check_header ())