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