aboutsummaryrefslogtreecommitdiff
path: root/gcc/plugin.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-11-06 18:51:20 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2009-11-06 18:51:20 +0100
commit2e3135726b941c5d1cd87d1905678a7533ed7d4d (patch)
treefd226186e450455912c053a4fc79f6b80c4c606b /gcc/plugin.c
parent79af7c1f6d8a41e7d2c9f8c3c4541eceddef0284 (diff)
downloadgcc-2e3135726b941c5d1cd87d1905678a7533ed7d4d.zip
gcc-2e3135726b941c5d1cd87d1905678a7533ed7d4d.tar.gz
gcc-2e3135726b941c5d1cd87d1905678a7533ed7d4d.tar.bz2
re PR c++/41967 (gcc get into endless loop when compiling an openmp program)
PR c++/41967 * parser.c (cp_parser_omp_for_loop): After diagnosing not perfectly nested loop and parsing statements, don't cp_parser_require }, instead exit the loop if next token is CPP_EOF. * g++.dg/gomp/pr41967.C: New test. From-SVN: r153972
Diffstat (limited to 'gcc/plugin.c')
0 files changed, 0 insertions, 0 deletions