Fix size of static array in gcc.dg/vect/vect-simd-20.c

Olivier Hainque hainque@adacore.com
Wed Nov 3 14:54:43 GMT 2021


Hello,

This fixes the definition of the "p" static array in
gcc.dg/vect/vect-simd-20.c to accommodate the number of
strides performed by foo() for s == 78, which will be
129 and not 128 since 10000 / 78 > 128.

This fixes a failure of the test we first observed in-house
on a x86_64-elf run, where the first call to foo() was clobbering
part of a static object we provide to __register_frame_info,
causing an abort() from __deregister_frame_info at termination time.

Ok to commit?

Thanks in advance,

With Kind Regards,

Olivier


2021-11-02  Olivier Hainque  <hainque@adacore.com>

testsuite/
    
	* gcc.dg/vect/vect-simd-20.c: Fix size of p[]
        to accommodate the number of strides performed
        by foo() for s == 78.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: simd-20.diff
Type: application/octet-stream
Size: 975 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211103/e3c91dc3/attachment.obj>


More information about the Gcc-patches mailing list