This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60331] ICE with OpenMP #pragma omp declare reduction in template class
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Mar 2014 09:30:42 +0000
- Subject: [Bug c++/60331] ICE with OpenMP #pragma omp declare reduction in template class
- Auto-submitted: auto-generated
- References: <bug-60331-4 at http dot gcc dot gnu dot org/bugzilla/>
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