On Mon, Oct 30, 2023 at 5:05 AM Iain Sandoe <i...@sandoe.co.uk> wrote: > > > > > On 30 Oct 2023, at 11:53, FX Coudert <fxcoud...@gmail.com> wrote: > > > The newly introduced test gcc.target/i386/pr111698.c currently fails on > > Darwin, where the default arch is core2. > > Andrew suggested in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112287 to > > pass a recent value to -march, and I can confirm that it fixes the > > testsuite failure on x86_64-apple-darwin21. > > > > OK to push? > > Fine from a Darwin perspective, > we could also make it ... > dg-additional-options “ -march=sandybridge” { target *-*-darwin* } > … if that is deemed less invasive.
Well It can fail on x86_64-linux-gnu too if GCC was configured with --with-arch=core2 for an example. So having it, in this case, not being darwin specific would be beneficial for all x86_64/i?86 targets. Thanks, Andrew > > Iain > >