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

--- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Still present at at:

$ gfc15 -v
Using built-in specs.
COLLECT_GCC=/home/jerry/dev/usr15/bin/gfortran
COLLECT_LTO_WRAPPER=/home/jerry/dev/usr15/libexec/gcc/x86_64-pc-linux-gnu/15.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc15/configure --prefix=/home/jerry/dev/usr15
--enable-languages=c,c++,fortran --enable-libgomp --disable-bootstrap
--enable-valgrind-annotations
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 15.2.1 20250923 (GCC) 
$ gfc15 pr125021.f90 -c -fcoarray=lib
pr125021.f90:13:4:

   13 | n = buffer[i]%data(1)
      |    1
internal compiler error: in gfc_conv_component_ref, at
fortran/trans-expr.cc:2938
0x1e7813f internal_error(char const*, ...)
        ../../gcc15/gcc/diagnostic-global-context.cc:517

So this problem is farther back then I thought.

Reply via email to