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++/58584] [c++11] ICE with invalid argument for alignas


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

--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Oct  3 22:50:59 2013
New Revision: 203193

URL: http://gcc.gnu.org/viewcvs?rev=203193&root=gcc&view=rev
Log:
/cp
2013-10-04  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58584
    * decl2.c (save_template_attributes): Handle error_mark_node as
    *attr_p argument.
    (cp_check_const_attributes): Likewise for attributes.
    * parser.c (cp_parser_std_attribute_spec): When alignas_expr is an
    error_mark_node call cp_parser_skip_to_end_of_statement.

/testsuite
2013-10-04  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58584
    * g++.dg/cpp0x/gen-attrs-55.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/gen-attrs-55.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    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]