public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/47978] [OOP] Invalid INTENT in overriding TBP not detected
Date: Wed, 14 Sep 2011 13:37:00 -0000	[thread overview]
Message-ID: <bug-47978-4-sxDywzhFUO@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-47978-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-09-14 13:31:15 UTC ---
Janus,

I am worried about your fix as it seems to break at least the original tests of
pr41656 and pr41685:

pr41656.f90:68.13:

    procedure, pass(a) :: s_scal => s_coo_scal
             1
Error: Argument mismatch for the overriding procedure 's_scal' at (1): INTENT
mismatch in argument 'a'
pr41656.f90:67.13:

    procedure, pass(a) :: s_scals => s_coo_scals
             1
Error: Argument mismatch for the overriding procedure 's_scals' at (1): INTENT
mismatch in argument 'a'
pr41656.f90:174.6:

  use s_base_mat_mod
      1
Fatal Error: Can't open module file 's_base_mat_mod.mod' for reading at (1): No
such file or directory

Could you double check with Salvatore that it is the intended behavior?


  parent reply	other threads:[~2011-09-14 13:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-03 16:44 [Bug fortran/47978] New: " sfilippone at uniroma2 dot it
2011-03-03 16:47 ` [Bug fortran/47978] " sfilippone at uniroma2 dot it
2011-03-04  7:11 ` burnus at gcc dot gnu.org
2011-09-08 14:57 ` janus at gcc dot gnu.org
2011-09-10 12:32 ` janus at gcc dot gnu.org
2011-09-11 20:25 ` janus at gcc dot gnu.org
2011-09-11 20:29 ` janus at gcc dot gnu.org
2011-09-14 13:37 ` dominiq at lps dot ens.fr [this message]
2011-09-14 13:49 ` sfilippone at uniroma2 dot it
2011-09-14 13:54 ` sfilippone at uniroma2 dot it
2011-09-14 13:57 ` janus at gcc dot gnu.org
2011-09-14 14:08 ` janus at gcc dot gnu.org
2011-09-14 15:12 ` sfilippone at uniroma2 dot it

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-47978-4-sxDywzhFUO@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).