On Fri, 2019-01-18 at 15:35 +0100, Christophe Lyon wrote: > > Hi Steve, > > I've noticed that > FAIL: g++.dg/vect/simd-clone-7.cc -std=c++14 (test for warnings, > line 7) > (and for c++17 and c++98) > when forcing -mabi=ilp32. > > I suspect you want to skip the test in this case? > > Christophe
Actually, I think we can compile that test, it just would not generate a warning in ILP32 mode because int, floats and pointers would now all be the same size. So I think the fix is: % git diff simd-clone-7.cc diff --git a/gcc/testsuite/g++.dg/vect/simd-clone-7.cc b/gcc/testsuite/g++.dg/vect/simd-clone-7.cc index c2a63cd5f8e..3617f0ab6a7 100644 --- a/gcc/testsuite/g++.dg/vect/simd-clone-7.cc +++ b/gcc/testsuite/g++.dg/vect/simd-clone-7.cc @@ -8,4 +8,4 @@ bar (float x, float *y, int) { return y[0] + y[1] * x; } -// { dg-warning "GCC does not currently support mixed size types for 'simd' functions" "" { target aarch64-*-* } .-4 } +// { dg-warning "GCC does not currently support mixed size types for 'simd' functions" "" { target { { aarch64-*-* } && lp64 } } .-4 } I haven't tested this, I don't have an ILP32 build sitting around right now. Does it work for you? I can build a toolchain, test it, and submit a patch if you want. Steve Ellcey sell...@marvell.com