https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96471
Bug ID: 96471
Summary: ICE: fortran+gnat: build_abbrev_table, at dwarf2out.c:
-g -fdebug-types-section
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: jan.kratochvil at redhat dot com
Target Milestone: ---
2ac7fe2769890fe4c146da9cfa6d0eabb185d7db = 2020-08-03
gfortran -O2 -g -fdebug-types-section -fallow-argument-mismatch -fopenmp -c 1.F
-o 1.o
internal compiler error: in build_abbrev_table, at dwarf2out.c:9086
0x641d76 build_abbrev_table
../../gccgitclean/gcc/dwarf2out.c:9086
0xa63da7 build_abbrev_table
../../gccgitclean/gcc/dwarf2out.c:9143
0xa63da7 build_abbrev_table
../../gccgitclean/gcc/dwarf2out.c:9143
0xa64233 output_comdat_type_unit
../../gccgitclean/gcc/dwarf2out.c:11277
0xa8f19e dwarf2out_finish
../../gccgitclean/gcc/dwarf2out.c:31567
gcc -c -g -fdebug-types-section gnatcoll-storage_pools-alignment.adb
+===========================GNAT BUG DETECTED==============================+
| 11.0.0 20200803 (experimental) (x86_64-pc-linux-gnu) GCC error: |
| in build_abbrev_table, at dwarf2out.c:9086 |
| Error detected around
/quad/home/jkratoch/redhat/gccgitclean-root/lib/gcc/x86_64-pc-linux-gnu/11.0.0/adainclude/s-stoele.adb:70:31|
...
raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:407
Possibly a duplicate of:
lto1: internal compiler error: in build_abbrev_table, at dwarf2out.c:7478
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58528
ICE: in build_abbrev_table, at dwarf2out.c:10477 with -g
-feliminate-dwarf2-dups
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47361