diff options
author | Jakub Jelinek <jakub@redhat.com> | 2014-09-25 08:47:43 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2014-09-25 08:47:43 +0200 |
commit | d90c0a5980ceedb40f9f7536c32f17856997435a (patch) | |
tree | 11854d3aa5d168c198966468dbfb18b3c2fd2f09 /gcc/tree-vectorizer.h | |
parent | a16ee37946f575365bb39d238863422465902054 (diff) | |
download | gcc-d90c0a5980ceedb40f9f7536c32f17856997435a.zip gcc-d90c0a5980ceedb40f9f7536c32f17856997435a.tar.gz gcc-d90c0a5980ceedb40f9f7536c32f17856997435a.tar.bz2 |
re PR c++/63249 ([OpenMP] Spurious »set but not used« warnings when actually used in OpenMP target's array section's lower-bound and length)
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.
From-SVN: r215580
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions