This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]