re PR c++/48632 (Internal compiler error when using OpenMP with template)
authorJakub Jelinek <jakub@redhat.com>
Mon, 18 Apr 2011 21:55:07 +0000 (23:55 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 18 Apr 2011 21:55:07 +0000 (23:55 +0200)
commit37a8ccfcdcfe73378717101f82767760ae35f5a5
tree08707682b4a0ad3746166fcad4fc319964e578d0
parent7254cb57152a417a648f2217d5f8695e636d7cde
re PR c++/48632 (Internal compiler error when using OpenMP with template)

PR c++/48632
* parser.c (cp_parser_omp_for_loop): Don't use cp_parser_omp_for_incr
for type dependent pointers.

* g++.dg/gomp/pr48632.C: New test.

From-SVN: r172674
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr48632.C [new file with mode: 0644]