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/45748] [4.5/4.6 Regression] -fimplicit-none failures when using intrinsic MAX
Date: Wed, 22 Sep 2010 20:22:00 -0000	[thread overview]
Message-ID: <20100922202217.30463.qmail@sourceware.org> (raw)
In-Reply-To: <bug-45748-19723@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from burnus at gcc dot gnu dot org  2010-09-22 20:22 -------
As you might have guessed, the error is with regards to the arguments of MAX
which are A1 and A2.

The arguments are defined as BT_UNKNOWN, cf. in intrinsics.c:

  add_sym_1m ("max", GFC_ISYM_MAX, CLASS_ELEMENTAL, ACTUAL_NO,
              BT_UNKNOWN, 0, GFC_STD_F77,
              gfc_check_min_max, gfc_simplify_max, gfc_resolve_max,
              a1, BT_UNKNOWN, dr, REQUIRED, a2, BT_UNKNOWN, dr, REQUIRED);

The backtrace shows:

#0  gfc_set_default_type (sym=0x144e6b0, error_flag=1, ns=<value optimized
out>)
    at fortran/symbol.c:263
#1  0x00000000005328d7 in resolve_formal_arglist (proc=0x144d1f0)
    at fortran/resolve.c:303


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |rejects-valid
      Known to fail|                            |4.5.0 4.6.0
      Known to work|                            |4.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2010-09-22 20:22:16
               date|                            |
            Summary|-fimplicit-none strange     |[4.5/4.6 Regression] -
                   |behaviour                   |fimplicit-none failures when
                   |                            |using intrinsic MAX
   Target Milestone|---                         |4.5.2


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


  parent reply	other threads:[~2010-09-22 20:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-22 16:13 [Bug fortran/45748] New: -fimplicit-none strange behaviour themos dot tsikas at gmail dot com
2010-09-22 19:09 ` [Bug fortran/45748] " jvdelisle at gcc dot gnu dot org
2010-09-22 19:12 ` jvdelisle at gcc dot gnu dot org
2010-09-22 19:29 ` dominiq at lps dot ens dot fr
2010-09-22 20:22 ` burnus at gcc dot gnu dot org [this message]
     [not found] <bug-45748-4@http.gcc.gnu.org/bugzilla/>
2010-09-30 11:03 ` [Bug fortran/45748] [4.5/4.6 Regression] -fimplicit-none failures when using intrinsic MAX rguenth at gcc dot gnu.org
2010-10-02  8:06 ` janus at gcc dot gnu.org
2010-10-02 10:38 ` janus at gcc dot gnu.org
2010-10-09 13:41 ` janus at gcc dot gnu.org
2010-10-09 13:51 ` 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=20100922202217.30463.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).