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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to vries from comment #0)

> proc check_effective_target_bswap64 { } {
>     global et_bswap64_saved
> 
>     if [info exists et_bswap64_saved] {
>         verbose "check_effective_target_bswap64: using cached result" 2
>     } else {
>         set et_bswap64_saved 0
>         if { [is-effective-target bswap]
>              && [is-effective-target lp64] } {
>            set et_bswap64_saved 1
>         }
>     }
> 
>     verbose "check_effective_target_bswap64: returning $et_bswap64_saved" 2
>     return $et_bswap64_saved
> }

That is wrong for x32.  X32 is ILP32 and should support bswap64.

Reply via email to