aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-errors.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-01-22 18:25:37 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2008-01-22 18:25:37 +0100
commit61c3a446a26621584ec95c6317df22826e301734 (patch)
tree1c406740b0055c955a3dfd59b712cbd0ff764cc9 /gcc/c-errors.c
parent270e749db4e806317425bf51a774c87eae069057 (diff)
downloadgcc-61c3a446a26621584ec95c6317df22826e301734.zip
gcc-61c3a446a26621584ec95c6317df22826e301734.tar.gz
gcc-61c3a446a26621584ec95c6317df22826e301734.tar.bz2
re PR c++/34607 (ICE with invalid for loop after #pragma omp for)
PR c++/34607 * c-parser.c (c_parser_omp_for_loop): Don't call c_finish_omp_for if DECL_INITIAL (decl) is error_mark_node. * semantics.c (finish_omp_for): Don't call c_finish_omp_for if decl or init is error_mark_node. * gcc.dg/gomp/pr34607.c: New test. * g++.dg/gomp/pr34607.C: New test. From-SVN: r131730
Diffstat (limited to 'gcc/c-errors.c')
0 files changed, 0 insertions, 0 deletions