------- Comment #5 from rguenther at suse dot de 2008-03-07 14:22 ------- Subject: Re: [4.4 Regression]: Revision 132991 breaks 483.xalancbmk
On Fri, 7 Mar 2008, hjl dot tools at gmail dot com wrote: > ------- Comment #4 from hjl dot tools at gmail dot com 2008-03-07 14:03 > ------- > (In reply to comment #1) > > Subject: Re: New: [4.4 Regression]: Revision 132991 breaks 483.xalancbmk > > > > This is most likely the c++ front-end setting readonly when it should > > not. > > > > I think you should check a symbol is both readonly and local. > conststaticvariable in > > --- > class bar > { > public: > static const int conststaticvariable; > }; > --- > > is global, not local. Yep, and yes, the example was valid. Richard. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35494