gcc/cp/ PR c++/51145 * decl.c (check_elaborated_type_specifier): Gracefully handle error_mark_node. Accept bound template template parameters. Update diagnostics for alias template specializations. Update comment. * parser.c (cp_parser_elaborated_type_specifier): Use check_elaborated_type_specifier for simple-template-ids as well. gcc/testsuite/ PR c++/51145 * g++.dg/cpp0x/alias-decl-14.C: New test. * g++.dg/cpp0x/alias-decl-2.C: Adjust for tests that were wrongly passing before. * g++.dg/cpp0x/alias-decl-10.C: Likewise and adjust for diagnostic change. * g++.dg/ext/attrib27.C: Adjust for diagnostic change. * g++.dg/lookup/struct1.C: Likewise. * g++.dg/parse/elab1.C: Likewise. * g++.dg/parse/elab2.C: Likewise. * g++.dg/parse/int-as-enum1.C: Likewise. * g++.dg/parse/typedef1.C: Likewise. * g++.dg/parse/typedef3.C: Likewise. * g++.dg/parse/typedef4.C: Likewise. * g++.dg/parse/typedef5.C: Likewise. * g++.dg/template/crash26.C: Likewise. * g++.dg/template/nontype4.C: Likewise. * g++.old-deja/g++.benjamin/typedef01.C: Likewise. * g++.old-deja/g++.brendan/line1.C: Likewise. * g++.old-deja/g++.other/elab1.C: Likewise. * g++.old-deja/g++.other/syntax4.C: Likewise. From-SVN: r181653
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| 13478.C | Loading commit data... | |
| 13523.C | Loading commit data... | |
| 13908.C | Loading commit data... | |
| 14139.C | Loading commit data... | |
| 14664-1.C | Loading commit data... | |
| 14664-2.C | Loading commit data... | |
| 14687.C | Loading commit data... | |
| 15054.C | Loading commit data... | |
| 15071.C | Loading commit data... | |
| 15309-1.C | Loading commit data... | |
| 15309-2.C | Loading commit data... | |
| 15756-1.C | Loading commit data... | |
| 15756-2.C | Loading commit data... | |
| 15799.C | Loading commit data... | |
| 15800-1.C | Loading commit data... | |
| 15800-2.C | Loading commit data... | |
| 15822.C | Loading commit data... | |
| 16077.C | Loading commit data... | |
| 16567.C | Loading commit data... | |
| 17922.C | Loading commit data... | |
| 17930.C | Loading commit data... | |
| 18208.C | Loading commit data... | |
| bool01.C | Loading commit data... | |
| bool02.C | Loading commit data... | |
| friend01.C | Loading commit data... | |
| friend02.C | Loading commit data... | |
| p12475.C | Loading commit data... | |
| p13417.C | Loading commit data... | |
| p13721.C | Loading commit data... | |
| scope01.C | Loading commit data... | |
| scope02.C | Loading commit data... | |
| tem01.C | Loading commit data... | |
| tem02.C | Loading commit data... | |
| tem03.C | Loading commit data... | |
| tem04.C | Loading commit data... | |
| tem05.C | Loading commit data... | |
| tem06.C | Loading commit data... | |
| tem07.C | Loading commit data... | |
| typedef01.C | Loading commit data... | |
| typedef03.C | Loading commit data... | |
| typeid01.C | Loading commit data... | |
| warn01.C | Loading commit data... | |
| warn02.C | Loading commit data... | |
| warn03.C | Loading commit data... | |
| warn04.C | Loading commit data... |