public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: David.Billinghurst@riotinto.com
To: gcc-gnats@gcc.gnu.org
Subject: fortran/3743: Reference to intrinsic `ISHFT' invalid
Date: Thu, 19 Jul 2001 23:06:00 -0000	[thread overview]
Message-ID: <20010720060330.3203.qmail@sourceware.cygnus.com> (raw)

>Number:         3743
>Category:       fortran
>Synopsis:       Reference to intrinsic `ISHFT' invalid
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 19 23:06:06 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     David Billinghurst
>Release:        2.95.2 and 3.1 CVS
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
Attached program gives error on mips-sgi-irix6.5, but not on i686-pc-cygwin or SGI f90

Error is:
j.f: In program `MAIN__':
j.f:14: 
         i3 = ISHFT(i,BIT_SIZE(i))
              ^
Reference to intrinsic `ISHFT' at (^) invalid -- one or more arguments have incorrect type


According to F90 standard (section 15.13)
* the first arg of ISHIFT is integer type
* the second arg of ISHIFT is integer type
* the return type of BIT_SIZE is same as argument
* the return type of ISHFT is same as the first arg
 

####################################

c On mips-sgi-irix6.5 get
c
c         i3 = ISHFT(i,BIT_SIZE(i))
c              ^
c Reference to intrinsic `ISHFT' at (^) invalid -- 
c one or more arguments have incorrect type
c
c     David Billinghurst <David.Billinghurst@riotinto.com>
c
      integer   i, i2, i3
      i  = 3
      i2 = BIT_SIZE(i)
      i3 = ISHFT(i,i2)
      i3 = ISHFT(i,BIT_SIZE(i))
      end
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-07-19 23:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-19 23:06 David.Billinghurst [this message]
2001-07-26 17:36 Billinghurst, David (CRTS)
2001-12-31 15:15 dje
2002-01-14 20:06 Billinghurst, David (CRTS)
2002-01-22 22:16 Billinghurst, David (CRTS)
2002-01-31 11:34 toon

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=20010720060330.3203.qmail@sourceware.cygnus.com \
    --to=david.billinghurst@riotinto.com \
    --cc=gcc-gnats@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).