From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10819 invoked by alias); 12 Jul 2009 22:16:39 -0000 Received: (qmail 10796 invoked by uid 48); 12 Jul 2009 22:16:27 -0000 Date: Sun, 12 Jul 2009 22:16:00 -0000 Subject: [Bug fortran/40728] New: Bogus error "Error: Can't convert UNKNOWN to REAL(8) at (1)" X-Bugzilla-Reason: CC Message-ID: 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/msg00985.txt.bz2 If one runs the attached Fortran 2008 program with GCC 4.4 and default options one gets: Error: 'x' argument of 'acos' intrinsic at (1) must be REAL for the complex arguments, which is OK. However, using -std=f2003 one gets additionally warnings of the kind: r4 = asinh(r4) 1 Error: Can't convert UNKNOWN to REAL(4) at (1) Which are completely bogus. (The attached file is a testcase for the complex acos etc. implementation for PR 33197.) -- Summary: Bogus error "Error: Can't convert UNKNOWN to REAL(8) at (1)" Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: rejects-valid, diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40728