[Bug c/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Wed Jun 15 08:29:34 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105988

G. Steinmetz <gscfq@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Target|                            |x86_64-pc-linux-gnu

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

Starts with r6 and file gcc.dg/torture/pr56034.c, etc. :
(starts with r7 without option -fno-tree-dce)


$ gcc-13-20220612 -c pr56034.c -O2 -da -fmodulo-sched -fno-tree-dce
during RTL pass: sms
dump file: pr56034.c.297r.sms
pr56034.c: In function 'f':
pr56034.c:19:1: internal compiler error: in linemap_ordinary_map_lookup, at
libcpp/line-map.cc:1064
   19 | }
      | ^
0x1eb9ca4 linemap_ordinary_map_lookup
        ../../libcpp/line-map.cc:1064
0x1ebb07d linemap_macro_loc_to_exp_point
        ../../libcpp/line-map.cc:1561
0x1e93586 expand_location_1
        ../../gcc/input.cc:243
0x1e950df expand_location(unsigned int)
        ../../gcc/input.cc:956
0x9b3b4b insn_location(rtx_insn const*)
        ../../gcc/emit-rtl.cc:6558
0x1d09e6a dump_insn_location
        ../../gcc/modulo-sched.cc:1250
0x1d0dc02 sms_schedule
        ../../gcc/modulo-sched.cc:1418
0x1d1056f execute
        ../../gcc/modulo-sched.cc:3358


More information about the Gcc-bugs mailing list