public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/16136] New: Conflicting attributes ALLOCATABLE, DUMMY
@ 2004-06-22 11:01 lei at il dot ibm dot com
2004-06-22 11:27 ` [Bug fortran/16136] " pbrook at gcc dot gnu dot org
2005-03-22 4:15 ` [Bug fortran/16136] Conflicting attributes ALLOCATABLE, DUMMY (F2003) pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: lei at il dot ibm dot com @ 2004-06-22 11:01 UTC (permalink / raw)
To: gcc-bugs
subroutine foo(x)
integer, allocatable :: x(:)
end
----------------------
integer, allocatable :: x(:)
1
Error: ALLOCATABLE attribute conflicts with DUMMY attribute at (1)
----------------------
Combining ALLOCATABLE and DUMMY attributes is okay, IMHO.
The Standard says (12.4.1.2, Actual arguments associated with
dummy data objects): "If a dummy argument is allocatable or a
pointer, the associated actual argument shall be polymorphic
[etc etc]".
IBM xlf compiler accepts this, too.
--
Summary: Conflicting attributes ALLOCATABLE, DUMMY
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lei at il dot ibm dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16136
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/16136] Conflicting attributes ALLOCATABLE, DUMMY
2004-06-22 11:01 [Bug fortran/16136] New: Conflicting attributes ALLOCATABLE, DUMMY lei at il dot ibm dot com
@ 2004-06-22 11:27 ` pbrook at gcc dot gnu dot org
2005-03-22 4:15 ` [Bug fortran/16136] Conflicting attributes ALLOCATABLE, DUMMY (F2003) pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2004-06-22 11:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pbrook at gcc dot gnu dot org 2004-06-22 11:27 -------
This is a F2003 extension.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-06-22 11:27:14
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16136
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/16136] Conflicting attributes ALLOCATABLE, DUMMY (F2003)
2004-06-22 11:01 [Bug fortran/16136] New: Conflicting attributes ALLOCATABLE, DUMMY lei at il dot ibm dot com
2004-06-22 11:27 ` [Bug fortran/16136] " pbrook at gcc dot gnu dot org
@ 2005-03-22 4:15 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-22 4:15 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |20585
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16136
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-03-22 4:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-22 11:01 [Bug fortran/16136] New: Conflicting attributes ALLOCATABLE, DUMMY lei at il dot ibm dot com
2004-06-22 11:27 ` [Bug fortran/16136] " pbrook at gcc dot gnu dot org
2005-03-22 4:15 ` [Bug fortran/16136] Conflicting attributes ALLOCATABLE, DUMMY (F2003) pinskia at gcc dot gnu dot 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).