This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/49590] ENTRY: Reject combining USE associated variable with RESULT variable
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 30 Jun 2011 15:10:48 +0000
- Subject: [Bug fortran/49590] ENTRY: Reject combining USE associated variable with RESULT variable
- Auto-submitted: auto-generated
- References: <bug-49590-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49590
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #1 from kargl at gcc dot gnu.org 2011-06-30 15:10:15 UTC ---
I believe that it is the other addendum that makes the
code invalid.
Append new statement to 12.6.2.6p8 [310:20],
"A name that appears as a <result-name> in an ENTRY statement
shall not appear in any executable statement that precedes the
first RESULT clause with that name."
The part you quote concerns "statement functions". There are
no statement functions in your example.