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/35831] [F95] Shape mismatch check missing for dummy procedure argument
Date: Wed, 05 Oct 2011 20:07:00 -0000	[thread overview]
Message-ID: <bug-35831-4-zGG1zkbzZo@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-35831-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #15 from janus at gcc dot gnu.org 2011-10-05 20:06:33 UTC ---
(In reply to comment #14)
> Related ToDos:
> 1) check shape of dummy function results (in 'gfc_compare_interfaces')
> 2) check shape of function results when overriding TBPs (in
> 'gfc_check_typebound_override')

3) check string length of dummy function results (so far we only have a string
length check when overriding)


Test case (adapted from one of the IRs):



call caller(c1)

contains

  FUNCTION C1(N)
    CHARACTER(N) C1
  END FUNCTION C1

  SUBROUTINE CALLER(c2)
    INTERFACE
      FUNCTION C2(N)
    CHARACTER(2) C2
      END FUNCTION
    END INTERFACE
  end subroutine

end


  parent reply	other threads:[~2011-10-05 20:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-35831-4@http.gcc.gnu.org/bugzilla/>
2011-09-10 11:24 ` [Bug fortran/35831] Type-mismatch " janus at gcc dot gnu.org
2011-09-10 11:27 ` [Bug fortran/35831] [F95] Shape mismatch " janus at gcc dot gnu.org
2011-09-10 11:31 ` janus at gcc dot gnu.org
2011-09-11 10:09 ` janus at gcc dot gnu.org
2011-09-11 20:13 ` janus at gcc dot gnu.org
2011-09-11 20:50 ` janus at gcc dot gnu.org
2011-09-29 16:51 ` janus at gcc dot gnu.org
2011-10-03 19:53 ` janus at gcc dot gnu.org
2011-10-04 18:39 ` janus at gcc dot gnu.org
2011-10-04 18:53 ` janus at gcc dot gnu.org
2011-10-05 20:07 ` janus at gcc dot gnu.org [this message]
2012-08-06 20:36 ` janus at gcc dot gnu.org
2012-08-06 21:03 ` janus at gcc dot gnu.org
2013-12-10 21:41 ` janus at gcc dot gnu.org
2013-12-10 21:53 ` 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-35831-4-zGG1zkbzZo@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).