Richard Biener <rguent...@suse.de> writes:

> The following patch enables bswap-from-load for STRICT_ALIGNMENT
> targets when the load is aligned instead of unconditionally
> (which probably was not intended).
>
> (note to self: we should fully transition to use SLOW_UNALIGNED_ACCESS)
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu.
>
> Richard.
>
> 2014-06-27  Richard Biener  <rguent...@suse.de>
>
>       * tree-ssa-math-opts.c (bswap_replace): Fix
>       SLOW_UNALIGNED_ACCESS test to only apply to unaligned object.

This should fix PR bootstrap/61320.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to