public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/44529]  New: [F03] array allocation with SOURCE
@ 2010-06-13 20:52 janus at gcc dot gnu dot org
  2010-06-13 21:38 ` [Bug fortran/44529] " janus at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: janus at gcc dot gnu dot org @ 2010-06-13 20:52 UTC (permalink / raw)
  To: gcc-bugs

First example:


integer, allocatable :: a(:), b(:)
allocate (a, source = b)
end


This is rejected with

allocate (a, source = b)
          1
Error: Array specification required in ALLOCATE statement at (1)

although it is valid (cf. F08:C633).



Second example:


integer, allocatable :: a(:)
integer :: b(1:3)
allocate (a, source = b)
end


This results in an ICE.


-- 
           Summary: [F03] array allocation with SOURCE
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janus at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44529


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <bug-44529-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2013-07-25 12:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-13 20:52 [Bug fortran/44529] New: [F03] array allocation with SOURCE janus at gcc dot gnu dot org
2010-06-13 21:38 ` [Bug fortran/44529] " janus at gcc dot gnu dot org
2010-06-15  9:40 ` burnus at gcc dot gnu dot org
2010-08-29 18:06 ` burnus at gcc dot gnu dot org
     [not found] <bug-44529-4@http.gcc.gnu.org/bugzilla/>
2011-02-06 12:19 ` tkoenig at gcc dot gnu.org
2012-02-17  9:42 ` burnus at gcc dot gnu.org
2013-07-25 12:17 ` burnus 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).