public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "adam at aphirst dot karoo.co.uk" <gcc-bugzilla@gcc.gnu.org> 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 [thread overview] Message-ID: <bug-59298-4@http.gcc.gnu.org/bugzilla/> (raw) 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)
next reply other threads:[~2013-11-26 9:48 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-11-26 9:48 adam at aphirst dot karoo.co.uk [this message] 2013-11-26 10:00 ` [Bug fortran/59298] " adam at aphirst dot karoo.co.uk 2013-11-26 10:44 ` dominiq at lps dot ens.fr 2014-01-03 11:39 ` janus at gcc dot gnu.org 2014-01-03 11:47 ` janus at gcc dot gnu.org 2014-11-12 13:09 ` adam at aphirst dot karoo.co.uk 2021-11-26 22:32 ` anlauf at gcc dot gnu.org 2023-09-25 17:05 ` anlauf at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-59298-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).