public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Dominique d'Humières" <dominiq@lps.ens.fr>
To: Paul Richard Thomas <paul.richard.thomas@gmail.com>
Cc: gfortran <fortran@gcc.gnu.org>, gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [Patch, fortran] ISO_Fortran_binding PRs 90093, 90352 & 90355
Date: Tue, 07 May 2019 08:39:00 -0000	[thread overview]
Message-ID: <8F7E6F0D-A8BC-400A-9FE6-432F9C39E26E@lps.ens.fr> (raw)

Hi Paul,

With your patch, I see

FAIL: gfortran.dg/iso_c_binding_char_1.f90   -O   (test for errors, line 8)
FAIL: gfortran.dg/iso_c_binding_char_1.f90   -O   (test for errors, line 9)
FAIL: gfortran.dg/iso_c_binding_char_1.f90   -O  (test for excess errors)

This is due to a bad location of the errors:

/opt/gcc/work/gcc/testsuite/gfortran.dg/iso_c_binding_char_1.f90:7:16:

    7 | subroutine bar(c,d) BIND(C)
      |                1
Error: Character argument 'c' at (1) must be length 1 because procedure 'bar' is BIND(C)
/opt/gcc/work/gcc/testsuite/gfortran.dg/iso_c_binding_char_1.f90:7:18:

    7 | subroutine bar(c,d) BIND(C)
      |                  1
Error: Character argument 'd' at (1) must be length 1 because procedure 'bar' is BIND(C)

TIA

Dominique

             reply	other threads:[~2019-05-07  8:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-07  8:39 Dominique d'Humières [this message]
2019-05-07 18:47 ` Paul Richard Thomas
  -- strict thread matches above, loose matches on Subject: below --
2019-05-06 18:57 Paul Richard Thomas
2019-05-06 18:59 ` Paul Richard Thomas
2019-05-08 18:41   ` Paul Richard Thomas
2019-05-10  8:01     ` Paul Richard Thomas
2019-05-11  7:54       ` Paul Richard Thomas

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=8F7E6F0D-A8BC-400A-9FE6-432F9C39E26E@lps.ens.fr \
    --to=dominiq@lps.ens.fr \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=paul.richard.thomas@gmail.com \
    /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).