S/390: Allow immediates in loc expander
[official-gcc.git] / gcc / testsuite / gcc.dg / pr78775.c
blob120c252c99ee128be05ff3d660c0bc91e5707bf6
1 /* PR c/78775 - [7 Regression] ICE in maybe_warn_alloc_args_overflow
2 { dg-do compile }
3 { dg-options "-O2" } */
5 int a, b, *c;
7 int main (void)
9 unsigned long d = 0;
10 while (1)
12 switch (b)
13 case 'S':
14 d = a;
15 c = __builtin_malloc (d);
18 return 0;