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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle 
dot com
   Target Milestone|---                         |4.9.0

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Seems doable: what is missing for "int X = N;" vs, eg, "void f(int = N);" is
the equivalent in cp_parser_class_specifier_1 of the wrapping

      /* Make sure that any template parameters are in scope.  */
      maybe_begin_member_template_processing (decl);
      /* Parse the default argument expressions.  */
      cp_parser_late_parsing_default_args (parser, decl);
      /* Remove any template parameters from the symbol table.  */
      maybe_end_member_template_processing ();

for the cp_parser_late_parsing_nsdmi call a few lines below.

Reply via email to