the size of tree_decl

Gabriel Dos Reis gdr@integrable-solutions.net
Wed Feb 12 23:03:00 GMT 2003


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



More information about the Gcc mailing list