public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/38979]  New: OpenMP extension:
@ 2009-01-26 18:32 burnus at gcc dot gnu dot org
  2009-01-26 18:42 ` [Bug fortran/38979] OpenMP extension: THREADPRIVATE for EQUIVALENCEd symbols burnus at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-01-26 18:32 UTC (permalink / raw)
  To: gcc-bugs

See also:
http://gcc.gnu.org/ml/fortran/2009-01/msg00308.html

Seemingly, a lot of the OpenMP-supporting compilers support THREADPRIVATE for
EQUIVALENCEd symbols; at least Intel's ifort, SUN's sunf95, Open64's openf95,
Pathscale's pathf95 and Portland's pgf95 compile the program listed at

gfortran rejects it with:
  Error: EQUIVALENCE attribute conflicts with THREADPRIVATE attribute

!-------------------------------------------------------------
c
      subroutine strainx(x,volo,v,lft,llt,volf,vlim)
c
c

      dimension x1(1), vx1(1)
      integer nlq
      parameter (nlq=544)
      integer nnlq,lq9,lq0,lq1
      common/newnlq/nnlq,lq9,lq0,lq1
      common/aux33loc/ix1(nlq),ix2(nlq),ix3(nlq),ix4(nlq),ix5(nlq),
     1             ix6(nlq),ix7(nlq),ix8(nlq),mxt(nlq)
c
      dimension x(3,*),v(3,*),volo(nlq),volf(*),vlim(*)
      dimension ixx(nlq,8),posn(nlq,8,3),posv(nlq,8,3)
      equivalence (ixx(1,1),ix1(1)),(posn(1,1,1),x1(1))
     &  ,(posv(1,1,1),vx1(1))
c
c   Gather xJ,yJ,zJ(J=1,8)
c$omp thread private (/aux33loc/)
      do node=1,8
      do i=lft,llt
      posn(i,node,1)=x(1,ixx(i,node))
      posn(i,node,2)=x(2,ixx(i,node))
      posn(i,node,3)=x(3,ixx(i,node))
      enddo
      enddo
c
      return
      end


-- 
           Summary: OpenMP extension:
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: 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=38979


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

end of thread, other threads:[~2009-12-01 15:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-26 18:32 [Bug fortran/38979] New: OpenMP extension: burnus at gcc dot gnu dot org
2009-01-26 18:42 ` [Bug fortran/38979] OpenMP extension: THREADPRIVATE for EQUIVALENCEd symbols burnus at gcc dot gnu dot org
2009-01-26 18:50 ` dfranke at gcc dot gnu dot org
2009-02-10 17:05 ` burnus at gcc dot gnu dot org
2009-02-19  6:04 ` pault at gcc dot gnu dot org
2009-03-04 18:23 ` arjen dot verweij at tass-safe dot com
2009-03-29  9:11 ` fxcoudert at gcc dot gnu dot org
2009-05-18 16:53 ` burnus at gcc dot gnu dot org
2009-05-19 11:00 ` arjen dot verweij at tass-safe dot com
2009-06-08 10:43 ` matevz dot tadel at cern dot ch
2009-12-01 15:10 ` arjen dot verweij at tass-safe dot com

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).