This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java 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.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/