[Bug c++/58702] [4.9 Regression] ICE with undeclared variable in OpenMP reduction clause
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 29 13:36:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58702
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Jan 29 13:36:22 2014
New Revision: 207235
URL: http://gcc.gnu.org/viewcvs?rev=207235&root=gcc&view=rev
Log:
/cp
2014-01-29 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/58702
* semantics.c (finish_omp_reduction_clause): Check type for
error_mark_node.
/testsuite
2014-01-29 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/58702
* g++.dg/gomp/pr58702.C: New.
Added:
trunk/gcc/testsuite/g++.dg/gomp/pr58702.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list