On Fri, 1 Dec 2023 at 13:44, Richard Earnshaw (lists) <richard.earns...@arm.com> wrote: > > On 01/12/2023 11:28, Saurabh Jha wrote: > > Hey, > > > > I introduced this test "gcc/testsuite/gcc.target/arm/mve/pr112337.c" in > > this commit 2365aae84de030bbb006edac18c9314812fc657b before. This had an > > error which I unfortunately missed. This patch fixes that test. > > > > Did regression testing on arm-none-eabi and found no regressions. Output of > > running gcc/contrib/compare_tests is this: > > > > """ > > Tests that now work, but didn't before (2 tests): > > > > arm-eabi-aem/-marm/-march=armv7-a/-mfpu=vfpv3-d16/-mfloat-abi=softfp: > > gcc.target/arm/mve/pr112337.c (test for excess errors) > > arm-eabi-aem/-mthumb/-march=armv8-a/-mfpu=crypto-neon-fp-armv8/-mfloat-abi=hard: > > gcc.target/arm/mve/pr112337.c (test for excess errors) > > """ > > > > Ok for trunk? I don't have commit access so could someone please commit on > > my behalf? > > > > Regards, > > Saurabh > > > > gcc/testsuite/ChangeLog: > > > > * gcc.target/arm/mve/pr112337.c: Fix the testcase > > > Hmm, could this be related to the changes Christophe made recently to change > the way MVE vector types were set up internally? If so, this might indicate > an issue that's going to affect real users with existing code. >
My change was only about vector types, here the problem is with a pointer to a scalar. Anyway, I ran the test with my commit reverted and it still fails in the same way, so I think this patch is needed. Thanks, Christophe > Christophe? > > R.