re PR c++/58703 (ICE with invalid types in OpenMP declare reduction clause)
authorJakub Jelinek <jakub@redhat.com>
Wed, 5 Feb 2014 15:32:01 +0000 (16:32 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 5 Feb 2014 15:32:01 +0000 (16:32 +0100)
commit54e19c00d9a901e0c55f812c2f7f98392976f5b2
tree609fabd616e83e31318192bc6edcde137458c1ef
parentf0f91770c34553275669df72794f5d478ae5fe7c
re PR c++/58703 (ICE with invalid types in OpenMP declare reduction clause)

PR c++/58703
* parser.c (cp_parser_omp_declare_reduction): Save and free
declarator_obstack.

* c-c++-common/gomp/pr58703.c: New test.

From-SVN: r207511
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/gomp/pr58703.c [new file with mode: 0644]