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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011-12-14
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-14 
16:39:37 UTC ---
Created attachment 26084
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26084
gcc47-pr51463.patch

Untested fix.  Not very happy about the patch, it is not very nice, but
we decide to parse the initializer as NSDMI resp. normal static initializer
already before grokdeclarator is called, have apparently no access to that
initializer in there and because of the errors decide to clear staticp (and
override storage_class to sc_none).  So something that has been parsed as
static data member initializer is now used as NSDMI.

Reply via email to