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: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Mar 2008 14:03:38 -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 #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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35494