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

            Bug ID: 64932
           Summary: [5.0] ICE on module end, gfc_conv_descriptor_data_get
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: shapero at uw dot edu

Created attachment 34661
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34661&action=edit
internal compiler error backtrace

I have some Fortran 2003 code, hosted here:

https://github.com/danshapero/sigma

It builds and passes all tests on gfortran-4.7.2 and 4.8.2 on Intel 32, AMD64
and ARM with Linux, and Intel/OSX.

I'm attempting to build it with gfortran-5.0, because co-arrays :D.
Unfortunately, I'm getting an internal compiler error. GCC was configured with

../configure --prefix=/home/daniel/programs/gcc --enable-languages=c,fortran
--enable-checking=release --disable-bootstrap
--disable-build-poststage1-with-cxx --disable-libstdcxx-pch --disable-multilib

in accordance with the suggestions from
https://gcc.gnu.org/wiki/GFortranBinaries#FromSource. The GCC test suite
passes, and I've compiled some simple programs to verify that gfortran-5.0
works.

The backtrace is long; I've attached it as a text file. The library is built
with the usual

mkdir build
cd build
FC=gfortran-5.0 CC=gcc-5.0 cmake ..
make

The error also occurs when I do a debug build that includes -Wall -Wextra.

I can attempt to make a reduced test case for this, but I'm a bit out of my
depth here. Thanks for reading!

Reply via email to