S/390: Allow immediates in loc expander
[official-gcc.git] / gcc / testsuite / gcc.dg / pr38932.c
blob4dfaffc777af3989eab8de2cd3b8a8bd6d2a3a13
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 /* This variable needed only to exercise FRE instead of CCP. */
5 unsigned char g;
7 extern void abort();
9 void f (long long int p)
11 g = 255;
12 if (p >= (-9223372036854775807LL - 1) - (signed char) g)
13 p = 1;
15 if (p)
16 abort ();