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

            Bug ID: 114043
           Summary: ICE: in write_symbol, at lto-streamer-out.cc:3015 with
                    -O -fstrict-enums -fprofile-generate -flto
                    --param=max-early-inliner-iterations=0
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu

Created attachment 57488
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57488&action=edit
auto-reduced testcase

Compiler output:
$ x86_64-pc-linux-gnu-gcc -O -fstrict-enums -fprofile-generate -flto
--param=max-early-inliner-iterations=0 script_tile.ii
during IPA pass: modref
script_tile.ii:31:1: internal compiler error: in write_symbol, at
lto-streamer-out.cc:3015
   31 | }
      | ^
0x8aa345 write_symbol
        /repo/gcc-trunk/gcc/lto-streamer-out.cc:3015
0x163b3c4 produce_symtab
        /repo/gcc-trunk/gcc/lto-streamer-out.cc:3115
0x163b3c4 produce_asm_for_decls()
        /repo/gcc-trunk/gcc/lto-streamer-out.cc:3373
0x16cd612 write_lto
        /repo/gcc-trunk/gcc/passes.cc:2782
0x16cd612 ipa_write_summaries_1
        /repo/gcc-trunk/gcc/passes.cc:2843
0x16cd612 ipa_write_summaries()
        /repo/gcc-trunk/gcc/passes.cc:2899
0x12ccbf2 ipa_passes
        /repo/gcc-trunk/gcc/cgraphunit.cc:2262
0x12ccbf2 symbol_table::compile()
        /repo/gcc-trunk/gcc/cgraphunit.cc:2335
0x12cf3c7 symbol_table::compile()
        /repo/gcc-trunk/gcc/cgraphunit.cc:2315
0x12cf3c7 symbol_table::finalize_compilation_unit()
        /repo/gcc-trunk/gcc/cgraphunit.cc:2587
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