]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/38257 (ICE with auto and #pragma omp parallel)
authorJakub Jelinek <jakub@redhat.com>
Mon, 1 Dec 2008 15:27:12 +0000 (16:27 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 1 Dec 2008 15:27:12 +0000 (16:27 +0100)
commita2d4cdc96a585c0b863226b2f142445538674127
treeecc36046a609da5f002a051ee7dfcc4183fc8c30
parent9b10560935521f81f26a4f1fe12d7b4bb1de33d0
re PR c++/38257 (ICE with auto and #pragma omp parallel)

PR c++/38257
* parser.c (cp_parser_omp_for_loop): Handle auto.
* pt.c (tsubst_omp_for_iterator): Likewise.

* testsuite/libgomp.c++/for-7.C: New test.

From-SVN: r142320
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/pt.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/for-7.C [new file with mode: 0644]