------- 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

Reply via email to