1 /* This caused an ICE on s390x due to a reload bug handling 2 commutative constraints. */ 3 4 /* { dg-do compile } */ 5 /* { dg-options "-O1" } */ 6 7 struct line_map 8 { 9 unsigned start_location; 10 unsigned ordinary; 11 }; 12 unsigned 13 linemap_resolve_location (struct line_map **loc_map); 14 15 unsigned linemap_position_for_loc_and_offset(unsigned h,unsigned loc)16linemap_position_for_loc_and_offset (unsigned h, unsigned loc) 17 { 18 struct line_map *map = 0; 19 linemap_resolve_location (&map); 20 21 if (map->ordinary <= loc + map->start_location + map->ordinary) 22 __builtin_abort (); 23 24 if (h >= loc + map->start_location) 25 __builtin_abort (); 26 } 27