C++ inlining problems

Mark Mitchell mark@codesourcery.com
Tue Oct 31 18:03:00 GMT 2000


>>>>> "Joe" == Joe Buck <jbuck@racerx.synopsys.com> writes:

    Joe> gcc 2.95.2 does a near-perfect job on this code, thanks to
    Joe> the ADDRESSOF optimzation a very clean job of inlining is
    Joe> done.  Solaris/Sparc code at -O2 (unused labels deleted):

Interesting -- I'll look into this.  (Just in case, you should
probably file in GNATS, too.)

There's nothing about tree-based inlining that should prevent
ADDRESSOF from working.  You're right that there are lots of other
cool things we can do in the tree-based inliner -- but please, let's
not go there until after 3.0...

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc mailing list