AIX bootstrap failure (was Re: Hot/cold partitioning fixes)

Mark Mitchell mark@codesourcery.com
Sat Apr 2 02:22:00 GMT 2005


Caroline Tice wrote:
> Before I go and attach these labels to the function structure, I
> just wanted to double check on something.  The last time
> I tried adding fields to a structure, there turned out to
> be a problem because people did not like the size of
> the structure to be increased (admittedly there are *far*
> more basic_block structs and edge structs that function
> structs).  So I just want to make sure this is not going to
> be a problem, before I add these labels to the function
> structure.
> 
> Any objections to my adding fields to the function structure?
> Anyone?

Do you ever need them after the function has been optimized and emitted? 
  If so, I think they can just replace your current global variables; 
that's the way that information needed only in a single function has 
been handled.  If they need to live beyond that point, then they should 
go in "struct function".

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304



More information about the Gcc-patches mailing list