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]

[Bug fortran/40728] Bogus error "Error: Can't convert UNKNOWN to REAL(8) at (1)"



------- Comment #4 from burnus at gcc dot gnu dot org  2009-07-23 08:52 -------
Hmm, to early, the gfc_*_intrinsic are not called, unless attr.intrinsic is
set. The but the issue is indeed that they are regarded as PTYPE_SPECIFIC and
not as PTYPE_UNKNOWN, as a printf in resolve_function shows - the question is
only why.

 * * *

The following program causes an ICE in gfc_typenode_for_spec due to BT_UNKNOWN
-- and no warning/error is shown before ("gfortran -std=f95"):

implicit none
real :: r
r = 0.4
print *, atanh(r)
end


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code


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


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