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++/67522] OpenMP ICE in type_dependent_expression_p


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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep 10 07:34:42 2015
New Revision: 227610

URL: https://gcc.gnu.org/viewcvs?rev=227610&root=gcc&view=rev
Log:
        PR c++/67522
        * semantics.c (handle_omp_array_sections_1): Only run
        type_dependent_expression_p on VAR_DECL/PARM_DECLs.
        (finish_omp_clauses) <case OMP_CLAUSE_LINEAR>: Likewise.
        Don't adjust OMP_CLAUSE_LINEAR_STEP if OMP_CLAUSE_DECL
        is not a VAR_DECL/PARM_DECL.

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

Added:
    trunk/gcc/testsuite/g++.dg/gomp/pr67522.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


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