[Bug c++/80141] ICE with pragma omp declare

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 30 08:23:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80141

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 08:17:54 2017
New Revision: 248663

URL: https://gcc.gnu.org/viewcvs?rev=248663&root=gcc&view=rev
Log:
        Backported from mainline
        2017-03-22  Jakub Jelinek  <jakub@redhat.com>

        PR c++/80141
        * semantics.c (finish_omp_clause) <case OMP_CLAUSE_SIMDLEN,
        case OMP_CLAUSE_ALIGNED>: Call maybe_constant_value only when not
        processing_template_decl.

        * g++.dg/gomp/pr80141.C: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/gomp/pr80141.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/semantics.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list