diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-02-09 15:06:58 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-02-09 15:06:58 +0100 |
commit | f08683a154522492e2fdc9e970b145cd37f242de (patch) | |
tree | 29a9970700dafea0da06c1d96c659c945c33a8a6 /gcc/tree-ssa-loop-unswitch.c | |
parent | 56f71478487174d7bacbe51a9c35d23257db905e (diff) | |
download | gcc-f08683a154522492e2fdc9e970b145cd37f242de.zip gcc-f08683a154522492e2fdc9e970b145cd37f242de.tar.gz gcc-f08683a154522492e2fdc9e970b145cd37f242de.tar.bz2 |
re PR c++/79429 (ICE in add_stmt, at cp/semantics.c:385)
PR c++/79429
* parser.c (cp_parser_omp_ordered): Don't check for non-pragma_stmt
non-pragma_compound context here.
(cp_parser_omp_target): Likewise.
(cp_parser_pragma): Don't call push_omp_privatization_clauses and
parsing for ordered and target omp pragmas in non-pragma_stmt
non-pragma_compound contexts.
* c-c++-common/gomp/pr79429.c: New test.
* g++.dg/gomp/pr79429.C: New test.
From-SVN: r245303
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.c')
0 files changed, 0 insertions, 0 deletions