public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "damian at sourceryinstitute dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/55824] [OOP] ICE with ALLOCATE and SOURCE= TRANSPOSE/RESHAPE Date: Tue, 30 Jun 2015 00:23:00 -0000 [thread overview] Message-ID: <bug-55824-4-JspNHUuXLQ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-55824-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55824 Damian Rouson <damian at sourceryinstitute dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |damian at sourceryinstitute dot or | |g --- Comment #4 from Damian Rouson <damian at sourceryinstitute dot org> --- I'm guessing the code below is another manifestation of the this bug: $ cat ice-on-pack-unlimited-polymorphic.f90 contains subroutine array_to_vector(array) class(*), allocatable :: vector(:),array(:,:) allocate(vector,source=pack(array,.true.)) end subroutine end $ gfortran ice-on-pack-unlimited-polymorphic.f90 ice-on-pack-unlimited-polymorphic.f90:4:0: allocate(vector,source=pack(array,.true.)) 1 internal compiler error: Segmentation fault: 11 ice-on-pack-unlimited-polymorphic.f90:4:0: internal compiler error: Abort trap: 6 gfortran: internal compiler error: Abort trap: 6 (program f951) Please submit a full bug report, with preprocessed source if appropriate. See <https://trac.macports.org/newticket> for instructions. $ gfortran --version GNU Fortran (MacPorts gcc6 6-20150621_0) 6.0.0 20150621 (experimental) ... $ sudo port select --set gcc mp-gcc5 Selecting 'mp-gcc5' for 'gcc' succeeded. 'mp-gcc5' is now active. $ gfortran ice-on-pack-unlimited-polymorphic.f90 ice-on-pack-unlimited-polymorphic.f90:4:13: allocate(vector,source=pack(array,.true.)) 1 Error: Array specification required in ALLOCATE statement at (1)
next prev parent reply other threads:[~2015-06-30 0:23 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-12-28 16:50 [Bug fortran/55824] New: " burnus at gcc dot gnu.org 2012-12-28 23:34 ` [Bug fortran/55824] " burnus at gcc dot gnu.org 2012-12-29 10:13 ` burnus at gcc dot gnu.org 2013-01-08 12:37 ` dominiq at lps dot ens.fr 2015-06-30 0:23 ` damian at sourceryinstitute dot org [this message] 2015-06-30 0:24 ` damian at sourceryinstitute dot org 2015-10-29 12:32 ` dominiq at lps dot ens.fr 2021-12-17 21:58 ` pinskia at gcc dot gnu.org 2023-11-29 10:47 ` pault 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-55824-4-JspNHUuXLQ@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).