https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116913

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, do we want to do something like
--- gcc/cp/parser.cc.jj 2024-10-02 13:30:10.000000000 +0200
+++ gcc/cp/parser.cc    2024-10-03 16:32:44.877354340 +0200
@@ -22819,6 +22819,7 @@ cp_parser_alias_declaration (cp_parser*
                       attributes, NULL_TREE, &pushed_scope);
   if (decl == error_mark_node)
     return decl;
+  decl = strip_using_decl (decl);

   cp_finish_decl (decl, NULL_TREE, 0, NULL_TREE, 0);

to restore previous behavior for cp_parser_alias_declaration?

Reply via email to