public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/66193] New: ICE for initialisation of some non-zero-sized arrays
@ 2015-05-18 14:34 gerhard.steinmetz.fortran@t-online.de
  2015-05-18 14:36 ` [Bug fortran/66193] " gerhard.steinmetz.fortran@t-online.de
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: gerhard.steinmetz.fortran@t-online.de @ 2015-05-18 14:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66193
           Summary: ICE for initialisation of some non-zero-sized arrays
           Product: gcc
           Version: 5.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fortran@t-online.de
  Target Milestone: ---

This initialisation of an array (NOT zero sized, NOT a parameter)
   program p
      real :: z(2)
      z = 1 + [real :: 1, 2]
   end

yields (with gfortran 5.1.1 on SUSE Linux 13.2, 64 bit)
f951: internal compiler error: Segmentation fault


This variation ...
   program p
      real :: z(2) = 1 + [real :: 1, 2]
   end

or with an additional parameter attribute ...
   program p
      real, parameter :: z(2) = 1 + [real :: 1, 2]
   end

yields the same error message as above.
Kind regards.


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-02-20 19:29 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-18 14:34 [Bug fortran/66193] New: ICE for initialisation of some non-zero-sized arrays gerhard.steinmetz.fortran@t-online.de
2015-05-18 14:36 ` [Bug fortran/66193] " gerhard.steinmetz.fortran@t-online.de
2015-05-18 15:10 ` tkoenig at gcc dot gnu.org
2015-05-18 17:25 ` gerhard.steinmetz.fortran@t-online.de
2015-05-18 17:58 ` kargl at gcc dot gnu.org
2015-05-19 18:24 ` tkoenig at gcc dot gnu.org
2015-05-19 18:31 ` tkoenig at gcc dot gnu.org
2015-05-19 20:03 ` sgk at troutmask dot apl.washington.edu
2015-05-19 20:14 ` tkoenig at gcc dot gnu.org
2015-05-19 20:37 ` tkoenig at gcc dot gnu.org
2015-05-20  9:00 ` gerhard.steinmetz.fortran@t-online.de
2015-06-09 14:36 ` gerhard.steinmetz.fortran@t-online.de
2015-06-09 14:38 ` gerhard.steinmetz.fortran@t-online.de
2015-06-09 14:39 ` gerhard.steinmetz.fortran@t-online.de
2015-06-09 14:40 ` gerhard.steinmetz.fortran@t-online.de
2015-06-10 16:15 ` gerhard.steinmetz.fortran@t-online.de
2022-02-03 22:03 ` anlauf at gcc dot gnu.org
2022-02-06 21:14 ` anlauf at gcc dot gnu.org
2022-02-09 21:16 ` cvs-commit at gcc dot gnu.org
2022-02-20 19:27 ` cvs-commit at gcc dot gnu.org
2022-02-20 19:29 ` anlauf at gcc dot gnu.org

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).