• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: inlining
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inlining


  • Subject: Re: inlining
  • From: Sanjay Patel <email@hidden>
  • Date: Mon, 17 Dec 2007 08:14:10 -0800 (PST)

--- Steve Checkoway <email@hidden> wrote:

>
> On Dec 16, 2007, at 12:39 PM, Greg Guerin wrote:
>
> > Steve Checkoway wrote:
> >
> >> $ gcc -Wall -O3 inline.c -S
> >
> > Which suggests it's the OP's optimization-level setting that leads
> > to the
> > lack of inlining.
>
>
> That or since the function isn't declared as static, it is being
> exported and thus since there is an out of line copy, it looks like it
> hasn't been inlined when in fact, it has. I'm not sure if in "produce
> out of line code with jump and return instructions" the jump and
> return instructions refer to the out of line copy or the calling
> function.

The OP didn't say if he was expecting inlining across files. Mainstream GCC
doesn't have this ability afaik.

http://gcc.gnu.org/wiki/LinkTimeOptimization - "Nothing really works yet."
http://sysrun.haifa.il.ibm.com/hrl/greps2007/papers/greps-07-lto.pdf

--Sanjay



      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: inlining
      • From: David Rowland <email@hidden>
References: 
 >Re: inlining (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: Full-Text search in Doc Update 201.1 crashes Xcode
  • Next by Date: Re: How to exclude existing resource languages from a target
  • Previous by thread: Re: inlining
  • Next by thread: Re: inlining
  • Index(es):
    • Date
    • Thread