This is the mail archive of the gcc@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]

Re: C++ inlining problems


>>>>> "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

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