public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/32365]  New: OpenMP: Better error message for specification statement in executable section
@ 2007-06-16  8:52 burnus at gcc dot gnu dot org
  2007-06-20 16:23 ` [Bug fortran/32365] " jakub at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-06-16  8:52 UTC (permalink / raw)
  To: gcc-bugs

subroutine test
      use omp_lib
      implicit none
      integer, parameter :: NT = 4
      integer :: a
      save
      a = 1
!$omp threadprivate(a)
end subroutine test

gfortran:
Error: Unexpected !$OMP THREADPRIVATE statement at (1)

Intel:
Error: A specification statement cannot appear in the executable section.

sunf95:
ERROR: Compiler directive THREADPRIVATE must appear before the first executable
statement.


-- 
           Summary: OpenMP: Better error message for specification statement
                    in executable section
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic, openmp
          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=32365


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

end of thread, other threads:[~2009-12-11 21:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-16  8:52 [Bug fortran/32365] New: OpenMP: Better error message for specification statement in executable section burnus at gcc dot gnu dot org
2007-06-20 16:23 ` [Bug fortran/32365] " jakub at gcc dot gnu dot org
2007-06-20 16:39 ` [Bug fortran/32365] " burnus at gcc dot gnu dot org
2007-07-03 10:26 ` fxcoudert at gcc dot gnu dot org
2009-12-11 21:44 ` 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).