[Bug fortran/59298] New: ICE when initialising PARAMETER array of derived-type (containing an array) using array constructor
adam at aphirst dot karoo.co.uk
gcc-bugzilla@gcc.gnu.org
Tue Nov 26 09:48:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59298
Bug ID: 59298
Summary: ICE when initialising PARAMETER array of derived-type
(containing an array) using array constructor
Product: gcc
Version: 4.8.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: adam at aphirst dot karoo.co.uk
Created attachment 31294
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31294&action=edit
Minimal test case (thanks to gmarkall from #fortran for minimising further than
I originally had)
Defining a derived-type which contains an integer 2D array, and then attempting
to initialise a PARAMETER variable of an array of that type using an array
constructor causes an Internal Compiler Error.
== Options used to build test case: ==
gfortran -Wall -Wextra -std=f2008 -march=native -s -c "IBZ.f90" (in directory:
/home/adam/Documents)
f951: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
Compilation failed.
== GCC version and build options: ==
[adam@blaze ~]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/gcc-multilib/src/gcc-4.8.2/configure --prefix=/usr
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch
--enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl
--disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default
--enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu
--disable-install-libiberty --enable-multilib --disable-libssp --disable-werror
--enable-checking=release
Thread model: posix
gcc version 4.8.2 (GCC)
More information about the Gcc-bugs
mailing list