GCC Status Report (2004-03-09)
Eric Botcazou
ebotcazou@libertysurf.fr
Thu Mar 18 18:31:00 GMT 2004
> 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.
Well, this pessimizes way too much. We can emit the blockage only in the
unsafe cases:
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.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr13424-3.diff
Type: text/x-diff
Size: 1464 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20040318/1d6768fe/attachment.bin>
More information about the Gcc
mailing list