PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / pr66306.c
blob73903cb3b4305e339d3f0db0c36038578288ac8e
1 /* This caused an ICE on s390x due to a reload bug handling
2 commutative constraints. */
4 /* { dg-do compile } */
5 /* { dg-options "-O1" } */
7 struct line_map
9 unsigned start_location;
10 unsigned ordinary;
12 unsigned
13 linemap_resolve_location (struct line_map **loc_map);
15 unsigned
16 linemap_position_for_loc_and_offset (unsigned h, unsigned loc)
18 struct line_map *map = 0;
19 linemap_resolve_location (&map);
21 if (map->ordinary <= loc + map->start_location + map->ordinary)
22 __builtin_abort ();
24 if (h >= loc + map->start_location)
25 __builtin_abort ();