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: Unit at a time 2/3 - backward inlining, local functions


On Thu, Feb 13, 2003 at 12:13:42AM +0100, Jan Hubicka wrote:
> There are two bits I am nervous about - first is fixup_calls thing.  Is that
> safe?  It appears to work everywhere :)

I havn't figured out why you need it.  Oh for the attribute
frobbing?  I think it's a bad idea.

> Other is the scheme of target hook for local function - it is most
> generic and target hook may use some analysis to decide what changes
> to do on the function.

I don't think I like this.

> On the other hand, it perhaps may be easier to add simple local flag
> to generic trees

I think it's sufficient to have

	!TREE_PUBLIC && !TREE_ADDRESSABLE

mean what you want.  This can then be checked from the backends
when placing arguments, and when generating prologues, etc.


r~


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