https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122984
Bug ID: 122984
Summary: ice in mark_base_types, at dwarf2out.cc:31114
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
I just tried to compile all the Algol 68 testsuite files
with a recent gcc trunk compiler:
I found:
testsuite $ ~/gcc/results.a68/bin/ga68 -c -w -fstropping=upper
./algol68/compile/upper-1.a68
testsuite $ ~/gcc/results.a68/bin/ga68 -c -w -fstropping=upper -O1
./algol68/compile/upper-1.a68
testsuite $ ~/gcc/results.a68/bin/ga68 -c -w -fstropping=upper -g -O1
./algol68/compile/upper-1.a68
a681: internal compiler error: in mark_base_types, at dwarf2out.cc:31114
0x1e86957 internal_error
/home/dcb42/gcc/working/gcc/../../trunk/gcc/diagnostic-global-context.cc:787
0x1e9019b fancy_abort
/home/dcb42/gcc/working/gcc/../../trunk/gcc/diagnostics/context.cc:1805
0x5d2a5f mark_base_types
/home/dcb42/gcc/working/gcc/../../trunk/gcc/dwarf2out.cc:31114
0x5cd4f8 resolve_addr
/home/dcb42/gcc/working/gcc/../../trunk/gcc/dwarf2out.cc:31911
The compiler is
testsuite $ ~/gcc/results.a68/bin/ga68 -v
Using built-in specs.
COLLECT_GCC=/home/dcb42/gcc/results.a68/bin/ga68
COLLECT_LTO_WRAPPER=/home/dcb42/gcc/results.a68/libexec/gcc/x86_64-pc-linux-gnu/16.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../trunk/configure --prefix=/home/dcb42/gcc/results.a68
--disable-bootstrap --disable-doc --disable-multilib
--with-build-config='bootstrap-asan bootstrap-ubsan'
--with-pkgversion=6ae7f781322d2813 --with-isl
--enable-checking=df,extra,fold,rtl,yes --enable-languages=algol68
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.0.0 20251201 (experimental) (6ae7f781322d2813)
ga68: fatal error: no input files
compilation terminated.
testsuite $