This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/58874] [4.9 Regression] [c++11] ICE with OpenMP reduction declaration and -std=c++11


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Nov 26 20:39:56 2013
New Revision: 205412

URL: http://gcc.gnu.org/viewcvs?rev=205412&root=gcc&view=rev
Log:
    PR c++/58874
    * parser.c (cp_parser_late_parsing_for_member): For OpenMP UDRs
    pass 2 instead of 0 to finish_function.

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

Added:
    trunk/gcc/testsuite/g++.dg/gomp/pr58874.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]