https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68930

--- Comment #3 from rguenther at suse dot de <rguenther at suse dot de> ---
On Wed, 16 Dec 2015, hubicka at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68930
> 
> Jan Hubicka <hubicka at gcc dot gnu.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |rguenther at suse dot de
> 
> --- Comment #1 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
> Actually applying it just after inlining is probably going to miss the
> transform, too, because there will be extra copy of the whole aggregate.  What
> about making the info about known constant values of aggregates available to
> GVN? It should be able to do the desired cleanup.

But how would you represent this info?  I don't see how it's going to
do better than the inliner inserting an extra initialization (of course
that might stay around if there are no cleanup opportunities and actually
make the code bigger & slower)

Reply via email to