builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr49235.c
blobf1e589f75580c2156d4421f1545ae45bcd11fdba
1 /* PR rtl-optimization/49235 */
2 /* { dg-do compile { target { int32plus } } } */
3 /* { dg-options "-O -fno-delete-null-pointer-checks -fno-tree-scev-cprop -ftree-vectorize -fno-vect-cost-model -w" } */
5 void
6 foo (void)
8 unsigned i;
9 unsigned *p = 0;
10 for (i = 0; i < 4; ++i)
11 *p++ = 0;
12 for (i = 0; i < 4; ++i)
13 *p++ = 0;
16 void
17 bar (void)
19 unsigned i;
20 unsigned *p = (unsigned *) (__UINTPTR_TYPE__) 0x12340000;
21 for (i = 0; i < 4; ++i)
22 *p++ = 0;
23 for (i = 0; i < 4; ++i)
24 *p++ = 0;