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]
Other format: [Raw text]

Re: the size of tree_decl


Neil Booth <neil@daikokuya.co.uk> writes:

| Dan Nicolaescu wrote:-
| 
| > There's another field that is too big: location_t locus, it contains
| > a line number and a char*. If it was to use logical lines like cpplib
| > does, the char* 
| 
| That's the ultimate plan.  Try doing for the whole compiler though.

Yep.  Don't forget that RTL also has an equivalent of location_t -- an
int and char*.  If you're going to save memory for location_t, please
first try to replace the RTL equivalent with location_t, then optimize
loccation_t into a cpplib-like data type.

-- Gaby


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