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: AIX bootstrap failure (was Re: Hot/cold partitioning fixes)


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


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