public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "burnus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/30887] %VAL only accepts default-kind integer/real/complex
Date: Tue, 20 Feb 2007 17:33:00 -0000	[thread overview]
Message-ID: <20070220173255.23322.qmail@sourceware.org> (raw)
In-Reply-To: <bug-30887-11040@http.gcc.gnu.org/bugzilla/>



------- Comment #1 from burnus at gcc dot gnu dot org  2007-02-20 17:32 -------
Paul, do you remember why you have added the following restriction?

(The example is accepted by ifort, nagf95 and g95.)

resolve.c:
              if (((e->ts.type == BT_REAL || e->ts.type == BT_COMPLEX)
                   && e->ts.kind > gfc_default_real_kind)
                  || (e->ts.kind > gfc_default_integer_kind))
                {
                  gfc_error ("Kind of by-value argument at %L is larger "
                             "than default kind", &e->where);
                  return FAILURE;


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pault at gcc dot gnu dot
                   |                            |org, burnus at gcc dot gnu
                   |                            |dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   GCC host triplet|x86_64-unknown-linux-gnu    |
           Keywords|                            |rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2007-02-20 17:32:54
               date|                            |
            Summary|%VAL construct fails on 64  |%VAL only accepts default-
                   |bit                         |kind integer/real/complex


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


  parent reply	other threads:[~2007-02-20 17:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20 17:22 [Bug fortran/30887] New: %VAL construct fails on 64 bit p dot w dot draper at durham dot ac dot uk
2007-02-20 17:29 ` [Bug fortran/30887] " pinskia at gcc dot gnu dot org
2007-02-20 17:33 ` burnus at gcc dot gnu dot org [this message]
2007-02-21  5:17 ` [Bug fortran/30887] %VAL only accepts default-kind integer/real/complex paulthomas2 at wanadoo dot fr
2007-02-22 18:52 ` sdirkse at gams dot com
2007-02-22 19:24 ` kargl at gcc dot gnu dot org
2007-02-22 19:51 ` burnus at gcc dot gnu dot org
2007-02-22 21:10 ` patchapp at dberlin dot org
2007-02-22 21:35 ` sdirkse at gams dot com
2007-02-23 15:44 ` p dot w dot draper at durham dot ac dot uk
2007-02-28 18:18 ` burnus at gcc dot gnu dot org
2007-02-28 18:26 ` burnus at gcc dot gnu dot 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=20070220173255.23322.qmail@sourceware.org \
    --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).