This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: re-enable static initializer optimization
Alexandre Petit-Bianco wrote:
> Have you verified it optimizes static class initialization like it
> used to do it before?
Yes, I should have mentioned the following:
What I have done is compiled the same case you gave in the
message you pointed me at, using -O3 -fno-inline. I got
the identical assembly output for the 'bar' method.