public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/59467] New: copyprivate in the fortran testsuite
@ 2013-12-11 10:24 valeryweber at hotmail dot com
2013-12-12 8:52 ` [Bug libgomp/59467] " jakub at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: valeryweber at hotmail dot com @ 2013-12-11 10:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59467
Bug ID: 59467
Summary: copyprivate in the fortran testsuite
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgomp
Assignee: unassigned at gcc dot gnu.org
Reporter: valeryweber at hotmail dot com
CC: jakub at gcc dot gnu.org
Dear All
the file
libgomp/testsuite/libgomp.fortran/crayptr2.f90
contains at line 26
!$omp end single copyprivate (d, ip)
but the variable "d" isnt declared as private (or threadprivate)
in its parallel region.
Isnt that a bug?
Thanks
Valery
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgomp/59467] copyprivate in the fortran testsuite
2013-12-11 10:24 [Bug libgomp/59467] New: copyprivate in the fortran testsuite valeryweber at hotmail dot com
@ 2013-12-12 8:52 ` jakub at gcc dot gnu.org
2013-12-12 8:57 ` jakub at gcc dot gnu.org
2013-12-12 10:11 ` jakub at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-12-12 8:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59467
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Dec 12 08:52:06 2013
New Revision: 205922
URL: http://gcc.gnu.org/viewcvs?rev=205922&root=gcc&view=rev
Log:
PR libgomp/59467
* gimplify.c (omp_check_private): Add copyprivate argument, if it
is true, don't check omp_privatize_by_reference.
(gimplify_scan_omp_clauses): For OMP_CLAUSE_COPYPRIVATE verify
decl is private in outer context. Adjust omp_check_private caller.
* gfortran.dg/gomp/pr59467.f90: New test.
* c-c++-common/gomp/pr59467.c: New test.
* testsuite/libgomp.fortran/crayptr2.f90: Add private (d) clause to
!$omp parallel.
Added:
trunk/gcc/testsuite/c-c++-common/gomp/pr59467.c
trunk/gcc/testsuite/gfortran.dg/gomp/pr59467.f90
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/gcc/testsuite/ChangeLog
trunk/libgomp/ChangeLog
trunk/libgomp/testsuite/libgomp.fortran/crayptr2.f90
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgomp/59467] copyprivate in the fortran testsuite
2013-12-11 10:24 [Bug libgomp/59467] New: copyprivate in the fortran testsuite valeryweber at hotmail dot com
2013-12-12 8:52 ` [Bug libgomp/59467] " jakub at gcc dot gnu.org
@ 2013-12-12 8:57 ` jakub at gcc dot gnu.org
2013-12-12 10:11 ` jakub at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-12-12 8:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59467
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Dec 12 08:57:22 2013
New Revision: 205923
URL: http://gcc.gnu.org/viewcvs?rev=205923&root=gcc&view=rev
Log:
PR libgomp/59467
* gimplify.c (omp_check_private): Add copyprivate argument, if it
is true, don't check omp_privatize_by_reference.
(gimplify_scan_omp_clauses): For OMP_CLAUSE_COPYPRIVATE verify
decl is private in outer context. Adjust omp_check_private caller.
* gfortran.dg/gomp/pr59467.f90: New test.
* c-c++-common/gomp/pr59467.c: New test.
* testsuite/libgomp.fortran/crayptr2.f90: Add private (d) clause to
!$omp parallel.
Added:
branches/gcc-4_8-branch/gcc/testsuite/c-c++-common/gomp/pr59467.c
branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/gomp/pr59467.f90
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/gimplify.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
branches/gcc-4_8-branch/libgomp/ChangeLog
branches/gcc-4_8-branch/libgomp/testsuite/libgomp.fortran/crayptr2.f90
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgomp/59467] copyprivate in the fortran testsuite
2013-12-11 10:24 [Bug libgomp/59467] New: copyprivate in the fortran testsuite valeryweber at hotmail dot com
2013-12-12 8:52 ` [Bug libgomp/59467] " jakub at gcc dot gnu.org
2013-12-12 8:57 ` jakub at gcc dot gnu.org
@ 2013-12-12 10:11 ` jakub at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-12-12 10:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59467
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 4.8+, thanks for the report.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-12-12 10:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-11 10:24 [Bug libgomp/59467] New: copyprivate in the fortran testsuite valeryweber at hotmail dot com
2013-12-12 8:52 ` [Bug libgomp/59467] " jakub at gcc dot gnu.org
2013-12-12 8:57 ` jakub at gcc dot gnu.org
2013-12-12 10:11 ` jakub at gcc dot gnu.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).