This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fortran/3743: Reference to intrinsic `ISHFT' invalid


Synopsis: Reference to intrinsic `ISHFT' invalid

State-Changed-From-To: open->analyzed
State-Changed-By: dje
State-Changed-When: Mon Dec 31 15:15:18 2001
State-Changed-Why:
    G77 does not recognize BIT_SIZE intrinsic as integer.  The
    implicit type for a function whose name begins with the
    letter 'B' is REAL, so G77 reports that a function returning
    basictypeREAL is not a valid argument to the ISHFT intrinsic
    expecting a basictypeINTEGER argument.  Declaring BIT_SIZE
    as INTEGER removes the error.
    It is unclear why this only fails on some targets.  BIT_SIZE
    does not seem to be recognized as an intrinsic when the
    arguments to ISHFT are examined, it considers BIT_SIZE a
    function returning REAL.  Is something non-deterministic
    in the parser?

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3743


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]