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