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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 
2012-04-17 17:20:17 UTC ---
Author: paolo
Date: Tue Apr 17 17:20:02 2012
New Revision: 186541

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186541
Log:
/cp
2012-04-17  Paolo Carlini  <paolo.carl...@oracle.com>

    PR c++/52599
    * semantics.c (build_constexpr_constructor_member_initializers):
    Check for function-try-block as function-body.

/testsuite
2012-04-17  Paolo Carlini  <paolo.carl...@oracle.com>

    PR c++/52599
    * g++.dg/cpp0x/constexpr-ctor10.C: New.

/cp
2012-04-17  Paolo Carlini  <paolo.carl...@oracle.com>

    PR c++/53003
    * parser.c (cp_parser_member_declaration): Check that
    initializer_token_start is non null before dereferencing it.

/testsuite
2012-04-17  Paolo Carlini  <paolo.carl...@oracle.com>

    PR c++/53003
    * g++.dg/parse/crash59.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-ctor10.C
    trunk/gcc/testsuite/g++.dg/parse/crash59.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to