This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/41737] New: [omp] missing error for undeclared variable in a parallel region with default(none)
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2009 08:19:05 -0000
- Subject: [Bug libgomp/41737] New: [omp] missing error for undeclared variable in a parallel region with default(none)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In the attached code, the last parallel region is default(none), but doesn't
declare np.This should generate an error instead (at least it does with cray
and intel compilers).
--
Summary: [omp] missing error for undeclared variable in a
parallel region with default(none)
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: libgomp
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jv244 at cam dot ac dot uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41737