]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c/67502
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Sep 2015 07:28:27 +0000 (07:28 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Sep 2015 07:28:27 +0000 (07:28 +0000)
commitd2b2788ceba9eee5b31949287d9ddf461f6502bc
tree26dc40f5eb481db44e34a8ea084d15971d27e065
parent85334a211349c538a80505673fcc9411091e7570
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227605 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/gomp/pr67502.c [new file with mode: 0644]