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] |
Richard pointed out that changing a pointer to VLA into a normal pointer would introduce performance regressions on the lto branch. Since the memref branch is going to clean things up on this area and we have to move forward on lto, Diego and I agreed it would be better to just patch the types before LTO. Is the attached patch OK for LTO? I know there will be other places that expect these fields to be non-NULL, but we can fix them as they are hit. Bootstraping and regression testing it now. 2008-06-23 Rafael Espindola <espindola@google.com> * calls.c (must_pass_in_stack_var_size): handle a NULL TYPE_SIZE. * expr.c (store_field): handle a NULL TYPE_SIZE. * tree.c (reset_type_lang_specific): set TYPE_SIZE_UNIT, TYPE_SIZE and TYPE_MAX_VALUE to NULL_TREE if they are not INTEGER_CST. Cheers, -- Rafael Avila de Espindola Google Ireland Ltd. Gordon House Barrow Street Dublin 4 Ireland Registered in Dublin, Ireland Registration Number: 368047
Attachment:
vla.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |