From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9721 invoked by alias); 26 Nov 2013 09:48:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 6444 invoked by uid 48); 26 Nov 2013 09:46:57 -0000 From: "adam at aphirst dot karoo.co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59298] New: ICE when initialising PARAMETER array of derived-type (containing an array) using array constructor Date: Tue, 26 Nov 2013 09:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adam at aphirst dot karoo.co.uk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-11/txt/msg02651.txt.bz2 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 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)