Hi Andrew,

> On Thu, Jan 15, 2026 at 12:05 PM Pengxuan Zheng
> <[email protected]> wrote:
>>
>> This fixes failures on i686 and arm.
>
> It does not exactly as you can compile with -m32 on x86_64.
> So you might want to add:
> /* { dg-additional-options "-msse2" { target x86_64-*-* } } */

this is still wrong (or at least incomplete): with biarch compilers, you
can create 64-bit x86 code with a i?86-*-* compiler with -m64, too, not
just an x86_64-*-* compiler by default.  This should be

        { target { x86 && lp64 } } 

instead.

Using restricting to either target i?86-*-* or target x86_64-*-* is
practically always wrong on x86!

        Rainer

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

Reply via email to