[Bug c++/63249] [OpenMP]=?UTF-8?Q?=20Spurious=20=C2=BBset=20but=20not=20used=C2=AB=20warnings=20when=20actually=20used=20in=20OpenMP=20target?='s array section's lower-bound and length
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 25 06:48:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63249
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep 25 06:47:43 2014
New Revision: 215580
URL: https://gcc.gnu.org/viewcvs?rev=215580&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 <thomas@codesourcery.com>
PR c++/63249
* c-parser.c (c_parser_omp_variable_list): Call mark_exp_read
on low_bound and length.
Added:
trunk/gcc/testsuite/c-c++-common/gomp/pr63249.c
trunk/gcc/testsuite/g++.dg/gomp/pr63249.C
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-parser.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list