[Bug c++/58703] [4.9 Regression] ICE with invalid types in OpenMP declare reduction clause

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 5 15:32:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58703

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb  5 15:32:01 2014
New Revision: 207511

URL: http://gcc.gnu.org/viewcvs?rev=207511&root=gcc&view=rev
Log:
    PR c++/58703
    * parser.c (cp_parser_omp_declare_reduction): Save and free
    declarator_obstack.

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

Added:
    trunk/gcc/testsuite/c-c++-common/gomp/pr58703.c
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list