This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/35494] [4.4 Regression]: Revision 132991 breaks 483.xalancbmk
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Mar 2008 14:22:23 -0000
- Subject: [Bug tree-optimization/35494] [4.4 Regression]: Revision 132991 breaks 483.xalancbmk
- References: <bug-35494-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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