[pr 69666] No SRA default_def replacements for unscalarizable

H.J. Lu hjl.tools@gmail.com
Tue Feb 23 14:45:00 GMT 2016


On Fri, Feb 19, 2016 at 8:21 AM, Martin Jambor <mjambor@suse.cz> wrote:
> Hi,
>
> in PR 69666, SRA attempts to turn a load from an aggregate that is
> uninitialized into a load from a default definition SSA name (which
> something it does to generate an appropriate warning later) but
> unfortunately it does so using an access structure which is
> representable with __int128 when the load in question is smaller.  It
> then attempts to fix it up only to create an invalid V_C_E.  In this
> case, the correct thing to do is not to attempt the transformation,
> when there are smaller accesses, which can be figured out by looking
> at the unscalarizable_region flag of the access.
>
> Bootstrapped and tested on x86_64, OK for trunk and later for the 5
> branch?
>

This may have caused:

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

-- 
H.J.



More information about the Gcc-patches mailing list