public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/40728]  New: Bogus error "Error: Can't convert UNKNOWN to REAL(8) at (1)"
@ 2009-07-12 22:16 burnus at gcc dot gnu dot org
  2009-07-12 22:19 ` [Bug fortran/40728] " burnus at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-07-12 22:16 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-05-12 10:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-12 22:16 [Bug fortran/40728] New: Bogus error "Error: Can't convert UNKNOWN to REAL(8) at (1)" burnus at gcc dot gnu dot org
2009-07-12 22:19 ` [Bug fortran/40728] " burnus at gcc dot gnu dot org
2009-07-22  8:12 ` burnus at gcc dot gnu dot org
2009-07-22  8:38 ` burnus at gcc dot gnu dot org
2009-07-23  8:52 ` burnus at gcc dot gnu dot org
2010-04-18 15:28 ` dominiq at lps dot ens dot fr
2010-04-22 18:33 ` tkoenig at gcc dot gnu dot org
2010-05-06 21:06 ` dfranke at gcc dot gnu dot org
2010-05-07 15:37 ` dfranke at gcc dot gnu dot org
2010-05-07 18:13 ` dfranke at gcc dot gnu dot org
2010-05-12 10:12 ` dfranke at gcc dot gnu dot org
2010-05-12 10:12 ` dfranke at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).