public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/45748]  New: -fimplicit-none strange behaviour
@ 2010-09-22 16:13 themos dot tsikas at gmail dot com
  2010-09-22 19:09 ` [Bug fortran/45748] " jvdelisle at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: themos dot tsikas at gmail dot com @ 2010-09-22 16:13 UTC (permalink / raw)
  To: gcc-bugs

Code:
      SUBROUTINE BUG(WORK)
      DOUBLE PRECISION WORK(MAX(2,3))
      INTRINSIC        MAX
      END


Compile:
>gfortran  -fimplicit-none -c foo.f
foo.f:4.72:

      END
                                                                        1
Error: Symbol 'a1' at (1) has no IMPLICIT type
foo.f:4.72:

      END
                                                                        1
Error: Symbol 'a2' at (1) has no IMPLICIT type

________________________________________________________________

nonsensical error when there shouldn't be one?

Regards
Themos Tsikas


-- 
           Summary: -fimplicit-none strange behaviour
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: themos dot tsikas at gmail dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45748


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

end of thread, other threads:[~2010-09-22 20:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-22 16:13 [Bug fortran/45748] New: -fimplicit-none strange behaviour themos dot tsikas at gmail dot com
2010-09-22 19:09 ` [Bug fortran/45748] " jvdelisle at gcc dot gnu dot org
2010-09-22 19:12 ` jvdelisle at gcc dot gnu dot org
2010-09-22 19:29 ` dominiq at lps dot ens dot fr
2010-09-22 20:22 ` [Bug fortran/45748] [4.5/4.6 Regression] -fimplicit-none failures when using intrinsic MAX burnus 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).