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

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #7)
> It seems that this breaks debug-types-sections w/o LTO as well now.
> ./xgcc -B ./ -O2 -g ~/tramp3d-v44.ii -fdebug-types-section
> /aux/hubicka/tramp3d-v4b.cpp:56088:1: internal compiler error: in
> build_abbrev_table, at dwarf2out.c:9061
> 56088 | }
>       | ^
> 0x720707 build_abbrev_table
>         ../../gcc/dwarf2out.c:9061
> 0xc3dee7 build_abbrev_table
>         ../../gcc/dwarf2out.c:9112
> 0xc40e7b output_comdat_type_unit
>         ../../gcc/dwarf2out.c:11237
> 0xc6678d dwarf2out_finish
>         ../../gcc/dwarf2out.c:31496
> Please submit a full bug report,
> with preprocessed source if appropriate.
> Please include the complete backtrace with any bug report.
> See <https://gcc.gnu.org/bugs/> for instructions.

Confirmed with just -g -fdebug-types-section -fpermissive - it's easy to
remove the assert but I hope to get a testcase for the testsuite...

Reply via email to