This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix PR c++/26070: ICE declaring data member virtual and static
On 7 Feb, Gabriel Dos Reis wrote:
> Mark Mitchell <mark@codesourcery.com> writes:
>
> | Volker Reichelt wrote:
> |
> | > 2006-02-02 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
> | >
> | > PR c++/26070
> | > * decl.c (grokdeclarator): Clear storage_class together with staticp.
> |
> | OK, thanks.
>
> If applied to 4.0, then OK for 3.4 too.
>
> -- Gaby
Just for the recored, I forgot to say that the patch on the
3.4 branch uses
RIDBIT_RESET (RID_STATIC, specbits);
instead of
storage_class = sc_none;
since storage_class was introduced with 4.0.
Applied with this change to the 3.4 branch.
Regards,
Volker