https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63249
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Sep 25 06:50:58 2014 New Revision: 215581 URL: https://gcc.gnu.org/viewcvs?rev=215581&root=gcc&view=rev Log: PR c++/63249 * semantics.c (handle_omp_array_sections_1): Call mark_rvalue_use on low_bound and length. * g++.dg/gomp/pr63249.C: New test. * c-c++-common/gomp/pr63249.c: New test. 2014-09-25 Thomas Schwinge <tho...@codesourcery.com> PR c++/63249 * c-parser.c (c_parser_omp_variable_list): Call mark_exp_read on low_bound and length. Added: branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/gomp/pr63249.c branches/gcc-4_9-branch/gcc/testsuite/g++.dg/gomp/pr63249.C Modified: branches/gcc-4_9-branch/gcc/c/ChangeLog branches/gcc-4_9-branch/gcc/c/c-parser.c branches/gcc-4_9-branch/gcc/cp/ChangeLog branches/gcc-4_9-branch/gcc/cp/semantics.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog