https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91324
Bug ID: 91324 Summary: tree check: expected type_decl, have ggc_freed in debug_flush_symbol_queue, at dbxout.c:1481 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa2.0w-hp-hpux11.11 Target: hppa2.0w-hp-hpux11.11 Build: hppa2.0w-hp-hpux11.11 In stage3: /test/gnu/gcc/objdir/./prev-gcc/xgcc -B/test/gnu/gcc/objdir/./prev-gcc/ -B/opt/g nu/gcc/gcc-10/hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-10/hppa2.0w-hp-hpux1 1.11/bin/ -B/opt/gnu/gcc/gcc-10/hppa2.0w-hp-hpux11.11/lib/ -isystem /opt/gnu/gcc /gcc-10/hppa2.0w-hp-hpux11.11/include -isystem /opt/gnu/gcc/gcc-10/hppa2.0w-hp-h pux11.11/sys-include -fchecking=1 -c -g -O2 -fchecking=1 -mdisable-indexing -g natpg -gnata -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc/gcc/ad a -I../../gcc/gcc/ada/gcc-interface -Iada/libgnat -I../../gcc/gcc/ada/libgnat .. /../gcc/gcc/ada/exp_fixd.adb -o ada/exp_fixd.o +===========================GNAT BUG DETECTED==============================+ | 10.0.0 20190731 (experimental) [trunk revision 273939] (hppa2.0w-hp-hpux11.11) GCC error:| | tree check: expected type_decl, have ggc_freed in | | debug_flush_symbol_queue, at dbxout.c:1481 | | Error detected around ../../gcc/gcc/ada/exp_dist.adb:11185:11 | | Please submit a bug report; see https://gcc.gnu.org/bugs/ . | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact command that you entered. | | Also include sources listed below. | +==========================================================================+ Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. Consider also -gnatd.n switch (see debug.adb). ../../gcc/gcc/ada/libgnat/system.ads ../../gcc/gcc/ada/exp_dist.adb ../../gcc/gcc/ada/exp_dist.ads ../../gcc/gcc/ada/namet.ads ../../gcc/gcc/ada/alloc.ads ../../gcc/gcc/ada/hostparm.ads ../../gcc/gcc/ada/types.ads ../../gcc/gcc/ada/libgnat/unchconv.ads ../../gcc/gcc/ada/libgnat/unchdeal.ads ../../gcc/gcc/ada/table.ads ada/snames.ads ../../gcc/gcc/ada/atree.ads ../../gcc/gcc/ada/sinfo.ads ../../gcc/gcc/ada/uintp.ads ../../gcc/gcc/ada/urealp.ads ../../gcc/gcc/ada/einfo.ads ../../gcc/gcc/ada/elists.ads ../../gcc/gcc/ada/exp_atag.ads ../../gcc/gcc/ada/exp_strm.ads ../../gcc/gcc/ada/exp_tss.ads ../../gcc/gcc/ada/exp_util.ads ../../gcc/gcc/ada/rtsfind.ads ../../gcc/gcc/ada/lib.ads ../../gcc/gcc/ada/nlists.ads ada/nmake.ads ../../gcc/gcc/ada/opt.ads ../../gcc/gcc/ada/libgnat/s-string.ads ../../gcc/gcc/ada/libgnat/ada.ads ../../gcc/gcc/ada/libgnat/a-uncdea.ads ../../gcc/gcc/ada/libgnat/s-wchcon.ads ../../gcc/gcc/ada/sem.ads ../../gcc/gcc/ada/sem_aux.ads ../../gcc/gcc/ada/sem_cat.ads ../../gcc/gcc/ada/sem_ch3.ads ../../gcc/gcc/ada/sem_ch8.ads ../../gcc/gcc/ada/sem_ch12.ads ../../gcc/gcc/ada/inline.ads ../../gcc/gcc/ada/warnsw.ads ../../gcc/gcc/ada/sem_dist.ads ../../gcc/gcc/ada/sem_eval.ads ../../gcc/gcc/ada/sem_util.ads ../../gcc/gcc/ada/stand.ads ../../gcc/gcc/ada/stringt.ads ../../gcc/gcc/ada/tbuild.ads ../../gcc/gcc/ada/ttypes.ads ../../gcc/gcc/ada/get_targ.ads ../../gcc/gcc/ada/set_targ.ads ../../gcc/gcc/ada/libgnat/gnat.ads ../../gcc/gcc/ada/libgnat/g-htable.ads ../../gcc/gcc/ada/libgnat/s-htable.ads ../../gcc/gcc/ada/libgnat/s-exctab.ads ../../gcc/gcc/ada/libgnat/s-stalib.ads ../../gcc/gcc/ada/libgnat/a-unccon.ads ../../gcc/gcc/ada/libgnat/s-unstyp.ads ../../gcc/gcc/ada/libgnat/s-conca2.ads ../../gcc/gcc/ada/libgnat/s-assert.ads ../../gcc/gcc/ada/libgnat/s-secsta.ads ../../gcc/gcc/ada/libgnat/s-parame.ads ../../gcc/gcc/ada/libgnat/s-stoele.ads ../../gcc/gcc/ada/libgnat/s-htable.adb ../../gcc/gcc/ada/libgnat/s-strhas.ads raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:407 mkdir -p ada/ /test/gnu/gcc/objdir/./prev-gcc/xgcc -B/test/gnu/gcc/objdir/./prev-gcc/ -B/opt/gnu/gcc/gcc-10/hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-10/hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-10/hppa2.0w-hp-hpux11.11/lib/ -isystem /opt/gnu/gcc/gcc-10/hppa2.0w-hp-hpux11.11/include -isystem /opt/gnu/gcc/gcc-10/hppa2.0w-hp-hpux11.11/sys-include -fchecking=1 -c -g -O2 -fchecking=1 -mdisable-indexing -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc/gcc/ada -I../../gcc/gcc/ada/gcc-interface -Iada/libgnat -I../../gcc/gcc/ada/libgnat ../../gcc/gcc/ada/exp_imgv.adb -o ada/exp_imgv.o ../../gcc/gcc/ada/gcc-interface/Make-lang.in:139: recipe for target 'ada/exp_dist.o' failed make[3]: *** [ada/exp_dist.o] Error 1