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] | |
We could only zero out the "holes" between the fields. That would be slower than zeroing the hole thing at once, but usually not much, especially since memzero will be inlined for small chunks of memory.2004-03-18 Eric Botcazou <ebotcazou@libertysurf.fr> Mark Mitchell <mark@codesourcery.com>
PR optimization/13424 * expr.c (store_constructor): Emit a blockage after clearing the aggregate because of an incomplete or mostly zero constructor if the aggregate contains read-only fields.
But this would still pessimize a lot, because life analysis would not be able to delete the redundant writes anymore.
-- Mark Mitchell CodeSourcery, LLC (916) 791-8304 mark@codesourcery.com
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |