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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep 10 07:37:00 2015
New Revision: 227612

URL: https://gcc.gnu.org/viewcvs?rev=227612&root=gcc&view=rev
Log:
        PR c/67502
        * c-parser.c (c_parser_omp_for_loop): Emit DECL_EXPR stmts
        into OMP_FOR_PRE_BODY rather than before the loop.

        * c-c++-common/gomp/pr67502.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/c-c++-common/gomp/pr67502.c
Modified:
    branches/gcc-5-branch/gcc/c/ChangeLog
    branches/gcc-5-branch/gcc/c/c-parser.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Reply via email to