Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / cmp-mem-const-6.c
blobd9046af79eb6114cda189ae3d71d3c27fb6ad3a7
1 /* { dg-do compile { target { lp64 && { ! sparc*-*-* } } } } */
2 /* Excluding sparc since there a prior optimization already reduced the
3 constant, i.e., nothing left for us. */
4 /* { dg-options "-O2 -fdump-rtl-combine-details" } */
5 /* { dg-final { scan-rtl-dump "narrow comparison from mode .I to SI" "combine" } } */
7 typedef __UINT64_TYPE__ uint64_t;
9 int
10 ge_4bytes_a (uint64_t *x)
12 return *x > 0x4000cfffffffffff;
15 int
16 ge_4bytes_b (uint64_t *x)
18 return *x >= 0x4000d00000000000;