This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/60331] ICE with OpenMP #pragma omp declare reduction in template class


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]