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

            Bug ID: 113488
           Summary: [14 Regression] ICE in add_AT_die_ref with LTO
           Product: gcc
           Version: 13.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

nodejs18/nodejs20 and libreoffice (the last one s390x only) ICE with GCC 14 and
LTO
with
./cc1plus -fpreprocessed /tmp/v8_turboshaft.late-optimization-phase.ii -quiet
-g1 -O3 -std=gnu++17 -fPIC -flto=4 -fuse-linker-plugin -ffat-lto-objects -o
/tmp/v8_turboshaft.late-optimization-phase.s; ./xg++ -B ./ -shared -nostdlib
-flto=4 -fuse-linker-plugin -ffat-lto-objects -o /tmp/libnode.so.115
-Wl,-soname=libnode.so.115 /tmp/v8_turboshaft.late-optimization-phase.s
/tmp/v8_turboshaft.late-optimization-phase.ii: In member function
‘ReduceTrapIf’:
/tmp/v8_turboshaft.late-optimization-phase.ii:129252: internal compiler error:
in add_AT_die_ref, at dwarf2out.cc:4913
129252 |   }
0x73bcc5 add_AT_die_ref
        ../../gcc/dwarf2out.cc:4913
0x73bcc5 add_AT_external_die_ref
        ../../gcc/dwarf2out.cc:6084
0x73bcc5 add_abstract_origin_attribute
        ../../gcc/dwarf2out.cc:21990
0xf4529d gen_label_die
        ../../gcc/dwarf2out.cc:24831
0xf4529d gen_decl_die
        ../../gcc/dwarf2out.cc:27137
0xf626df decls_for_scope
        ../../gcc/dwarf2out.cc:26669
0xf3fd02 gen_subprogram_die
        ../../gcc/dwarf2out.cc:24167
0xf448da gen_decl_die
        ../../gcc/dwarf2out.cc:27106
0xf45aeb dwarf2out_decl
        ../../gcc/dwarf2out.cc:27687
0xf45f3e dwarf2out_function_decl
        ../../gcc/dwarf2out.cc:27702
0xfd5326 rest_of_handle_final
        ../../gcc/final.cc:4273
0xfd5326 execute
        ../../gcc/final.cc:4317
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to