public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/41737] [omp] missing error for undeclared variable in a parallel region with default(none)
       [not found] <bug-41737-4@http.gcc.gnu.org/bugzilla/>
@ 2012-06-29 14:34 ` Joost.VandeVondele at mat dot ethz.ch
  2012-06-29 18:46 ` Joost.VandeVondele at mat dot ethz.ch
  1 sibling, 0 replies; 4+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2012-06-29 14:34 UTC (permalink / raw)
  To: gcc-bugs

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

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2012-06-29

--- Comment #3 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 2012-06-29 14:34:00 UTC ---
simplified testcase, for 4.8:

INTEGER :: ip,np
!$omp parallel do default(none)
  DO ip=0,np
  ENDDO
!$omp end parallel do
END 

while it is OK for ip to have no explicit attribute, I believe the standard
requires one for np. Intel ifort gives:

est.f90(3): error #6752: Since the OpenMP* DEFAULT(NONE) clause applies, the
PRIVATE, SHARED, REDUCTION, FIRSTPRIVATE, or LASTPRIVATE attribute must be
explicitly specified for every variable.   [NP]


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

* [Bug libgomp/41737] [omp] missing error for undeclared variable in a parallel region with default(none)
       [not found] <bug-41737-4@http.gcc.gnu.org/bugzilla/>
  2012-06-29 14:34 ` [Bug libgomp/41737] [omp] missing error for undeclared variable in a parallel region with default(none) Joost.VandeVondele at mat dot ethz.ch
@ 2012-06-29 18:46 ` Joost.VandeVondele at mat dot ethz.ch
  1 sibling, 0 replies; 4+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2012-06-29 18:46 UTC (permalink / raw)
  To: gcc-bugs

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

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #4 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 2012-06-29 18:46:13 UTC ---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46532

*** This bug has been marked as a duplicate of bug 46532 ***


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

* [Bug libgomp/41737] [omp] missing error for undeclared variable in a parallel region with default(none)
  2009-10-17  8:19 [Bug libgomp/41737] New: " jv244 at cam dot ac dot uk
  2009-10-17  8:20 ` [Bug libgomp/41737] " jv244 at cam dot ac dot uk
@ 2009-10-17  8:27 ` jv244 at cam dot ac dot uk
  1 sibling, 0 replies; 4+ messages in thread
From: jv244 at cam dot ac dot uk @ 2009-10-17  8:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jv244 at cam dot ac dot uk  2009-10-17 08:27 -------
Created an attachment (id=18816)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18816&action=view)
second test case

here tb of the last parallel region is undeclared.


-- 


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


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

* [Bug libgomp/41737] [omp] missing error for undeclared variable in a parallel region with default(none)
  2009-10-17  8:19 [Bug libgomp/41737] New: " jv244 at cam dot ac dot uk
@ 2009-10-17  8:20 ` jv244 at cam dot ac dot uk
  2009-10-17  8:27 ` jv244 at cam dot ac dot uk
  1 sibling, 0 replies; 4+ messages in thread
From: jv244 at cam dot ac dot uk @ 2009-10-17  8:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jv244 at cam dot ac dot uk  2009-10-17 08:20 -------
Created an attachment (id=18815)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18815&action=view)
testcase


-- 


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


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

end of thread, other threads:[~2012-06-29 18:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-41737-4@http.gcc.gnu.org/bugzilla/>
2012-06-29 14:34 ` [Bug libgomp/41737] [omp] missing error for undeclared variable in a parallel region with default(none) Joost.VandeVondele at mat dot ethz.ch
2012-06-29 18:46 ` Joost.VandeVondele at mat dot ethz.ch
2009-10-17  8:19 [Bug libgomp/41737] New: " jv244 at cam dot ac dot uk
2009-10-17  8:20 ` [Bug libgomp/41737] " jv244 at cam dot ac dot uk
2009-10-17  8:27 ` jv244 at cam dot ac dot uk

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