diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2023-09-08 08:38:10 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2023-10-24 14:18:47 +0000 |
commit | 326a8c047ecb0598b8403a4fe016bd67c8991d90 (patch) | |
tree | d17b12c6dac9143590fb7445d67dc32b16e99a80 /gcc/fortran | |
parent | 2287fa29fd28ae39963de80d5f845be2c6ab8675 (diff) | |
download | gcc-326a8c047ecb0598b8403a4fe016bd67c8991d90.zip gcc-326a8c047ecb0598b8403a4fe016bd67c8991d90.tar.gz gcc-326a8c047ecb0598b8403a4fe016bd67c8991d90.tar.bz2 |
testsuite: Fix gcc.target/arm/mve/mve_vadcq_vsbcq_fpscr_overwrite.c
The test was declaring 'int *carry;' and wrote to '*carry' without
initializing 'carry' first, leading to an attempt to write at address
zero, and a crash.
Fix by declaring 'int carry;' and passing '&carrry' instead of 'carry'
as parameter.
2023-09-08 Christophe Lyon <christophe.lyon@linaro.org>
gcc/testsuite/
* gcc.target/arm/mve/mve_vadcq_vsbcq_fpscr_overwrite.c: Fix.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions