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++/67514] ICE in omp_add_variable


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

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

URL: https://gcc.gnu.org/viewcvs?rev=227607&root=gcc&view=rev
Log:
        PR c++/67514
        * gimplify.c (gimplify_omp_for): For loop SIMD construct, if
        iterator is not explicitly determined, but is defined inside
        of the combined workshare region, handle it like if it has
        DECL_EXPR in OMP_FOR_PRE_BODY.

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

Added:
    trunk/gcc/testsuite/g++.dg/gomp/pr67514.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.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]