fortran/3743: Reference to intrinsic `ISHFT' invalid
dje@gcc.gnu.org
dje@gcc.gnu.org
Mon Dec 31 20:36:00 GMT 2001
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
More information about the Gcc-bugs
mailing list