[Bug c++/60331] ICE with OpenMP #pragma omp declare reduction in template class
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 25 09:30:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60331
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Mar 25 09:30:10 2014
New Revision: 208806
URL: http://gcc.gnu.org/viewcvs?rev=208806&root=gcc&view=rev
Log:
PR c++/60331
* semantics.c (potential_constant_expression_1): Handle
DECL_EXPR.
* testsuite/libgomp.c++/udr-11.C: New test.
* testsuite/libgomp.c++/udr-12.C: New test.
* testsuite/libgomp.c++/udr-13.C: New test.
* testsuite/libgomp.c++/udr-14.C: New test.
* testsuite/libgomp.c++/udr-15.C: New test.
* testsuite/libgomp.c++/udr-16.C: New test.
* testsuite/libgomp.c++/udr-17.C: New test.
* testsuite/libgomp.c++/udr-18.C: New test.
* testsuite/libgomp.c++/udr-19.C: New test.
Added:
trunk/libgomp/testsuite/libgomp.c++/udr-11.C
trunk/libgomp/testsuite/libgomp.c++/udr-12.C
trunk/libgomp/testsuite/libgomp.c++/udr-13.C
trunk/libgomp/testsuite/libgomp.c++/udr-14.C
trunk/libgomp/testsuite/libgomp.c++/udr-15.C
trunk/libgomp/testsuite/libgomp.c++/udr-16.C
trunk/libgomp/testsuite/libgomp.c++/udr-17.C
trunk/libgomp/testsuite/libgomp.c++/udr-18.C
trunk/libgomp/testsuite/libgomp.c++/udr-19.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/libgomp/ChangeLog
More information about the Gcc-bugs
mailing list