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

            Bug ID: 123000
           Summary: a681: error: location references block not in block
                    tree
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: algol68
          Assignee: algol68 at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For the Algol 68 source code file algol68/compile/snobol.a68
in the gcc testsuite, recent gcc trunk does this:

testsuite $ ~/gcc/results.a68/bin/ga68 -c -w -fstropping=upper
algol68/compile/snobol.a68
testsuite $ ~/gcc/results.a68/bin/ga68 -c -w -fstropping=upper -O1
algol68/compile/snobol.a68
testsuite $ ~/gcc/results.a68/bin/ga68 -c -w -fstropping=upper -fhardened
algol68/compile/snobol.a68
testsuite $ ~/gcc/results.a68/bin/ga68 -c -w -fstropping=upper -O1 -fhardened
algol68/compile/snobol.a68
In function ‘INTG’:
a681: error: location references block not in block tree
&"i"[0]
i_10 = .DEFERRED_INIT (4, 2, &"i"[0]);
during GIMPLE pass: ssa
a681: internal compiler error: verify_gimple failed

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 $

Reply via email to