On Fri, 1 Aug 2014, Richard Biener wrote:
> Does this look sensible? In particular, does any Frontend maintainer
> object to no longer getting these simplifications? Note they
> will still apply during gimplification and given they now work
> on GENERIC we can simplify them quite a bit (but as followup).
I see no problems with this in C terms. I expect some code may well do
things like
static size_t len = __builtin_strlen ("foo");
and expect the static initializer to get folded, but that's only an issue
with folding for constant arguments to pure functions - not for the
functions involved here, whose whole purpose is to modify memory.
--
Joseph S. Myers
[email protected]