g++ otimizes out const globals
John Milford
jwm@CSUA.Berkeley.EDU
Wed Mar 31 23:54:00 GMT 1999
Chip Salzenberg <chip@perlsupport.com> wrote:
That would be it. Sorry for causing all this trouble.
--John
> According to John Milford:
> > it is not there at all, there are not eveen the proper
> > directives to allocate space
>
> Perhaps you forgot that in C++, "const" at file scope implies
> "static"?
> --
> Chip Salzenberg - a.k.a. - <chip@perlsupport.com>
> "When do you work?" "Whenever I'm not busy."
More information about the Gcc-bugs
mailing list