diff options
author | Tobias Burnus <burnus@net-b.de> | 2015-03-27 21:21:52 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2015-03-27 21:21:52 +0100 |
commit | 62021f64e550290e77a8e56270617a0a4ba673da (patch) | |
tree | ad32bfb3fd8ce11eb2a69dff037732d2d6e6fb80 /gcc/c/ChangeLog | |
parent | a5eef8e9b024741b8d661c628643a9850616b813 (diff) | |
download | gcc-62021f64e550290e77a8e56270617a0a4ba673da.tar.gz |
re PR c/65586 (-fopenmp-simd rejects valid input)
2015-03-27 Tobias Burnus <burnus@net-b.de>
PR c/65586
gcc/c/
* c-parser.c (c_parser_skip_to_pragma_eol): Optionally, don't
error out.
(c_parser_omp_for, c_parser_omp_parallel, c_parser_omp_distribute,
c_parser_omp_teams, c_parser_omp_target, c_parser_omp_declare):
Update calls to not error for skipped omp pragmas with -fopenmp-simd.
gcc/cp/
* parser.c (cp_parser_omp_for, cp_parser_omp_parallel,
cp_parser_omp_distribute, cp_parser_omp_teams, cp_parser_omp_target,
cp_parser_omp_declare): Don't show error for skipped omp pragmas
with -fopenmp-simd.
gcc/testsuite/
* g++.dg/gomp/openmp-simd-3.C: New.
* gcc.dg/gomp/openmp-simd-3.c: New.
From-SVN: r221744
Diffstat (limited to 'gcc/c/ChangeLog')
-rw-r--r-- | gcc/c/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index ad5edcfbf48..f3b05c13e12 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,12 @@ +2015-03-27 Tobias Burnus <burnus@net-b.de> + + PR c/65586 + * c-parser.c (c_parser_skip_to_pragma_eol): Optionally, don't + error out. + (c_parser_omp_for, c_parser_omp_parallel, c_parser_omp_distribute, + c_parser_omp_teams, c_parser_omp_target, c_parser_omp_declare): + Update calls to not error for skipped omp pragmas with -fopenmp-simd. + 2015-03-19 Jakub Jelinek <jakub@redhat.com> * c-decl.c (c_decl_attributes): Also add "omp declare target" |