[Bug c++/35337] New: Broken diagnostic for firstprivate clause
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Feb 23 19:53:00 GMT 2008
A broken diagnostic is issued for the following invalid code snippet since
GCC 4.2.0:
====================================================
struct A {};
void foo()
{
#pragma omp parallel firstprivate(A)
;
}
====================================================
bug.cc: In function 'void foo()':
bug.cc:5: error: '#'type_decl' not supported by dump_expr#<expression error>'
is not a variable in clause 'firstprivate'
This is related to PR31748 and PR35244.
--
Summary: Broken diagnostic for firstprivate clause
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: diagnostic, monitored, openmp
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
BugsThisDependsOn: 31748,35244
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35337
More information about the Gcc-bugs
mailing list