public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/50073] gfortran must not accept function name when result name is present
Date: Sun, 14 Aug 2011 09:40:00 -0000	[thread overview]
Message-ID: <bug-50073-4-wXXfPDmVGE@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-50073-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from janus at gcc dot gnu.org 2011-08-14 09:37:28 UTC ---
Author: janus
Date: Sun Aug 14 09:37:25 2011
New Revision: 177745

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177745
Log:
2011-08-14  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/50073
    * decl.c (check_function_name): New function, separated off from
    'variable_decl' and slightly extended.
    (variable_decl,attr_decl1): Call it.


2011-08-14  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/50073
    * gfortran.dg/func_result_7.f90: New.

Added:
    trunk/gcc/testsuite/gfortran.dg/func_result_7.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2011-08-14  9:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-13  8:54 [Bug fortran/50073] New: " zeccav at gmail dot com
2011-08-13 13:08 ` [Bug fortran/50073] " janus at gcc dot gnu.org
2011-08-13 15:24 ` janus at gcc dot gnu.org
2011-08-14  9:40 ` janus at gcc dot gnu.org [this message]
2011-08-14  9:44 ` janus 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-50073-4-wXXfPDmVGE@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: link
Be 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).