From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7450 invoked by alias); 23 Jul 2009 08:52:22 -0000 Received: (qmail 7405 invoked by uid 48); 23 Jul 2009 08:52:08 -0000 Date: Thu, 23 Jul 2009 08:52:00 -0000 Message-ID: <20090723085208.7404.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/40728] Bogus error "Error: Can't convert UNKNOWN to REAL(8) at (1)" In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg01838.txt.bz2 ------- 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