qemu-cr16/tests/tcg/aarch64
Peter Maydell c05aec9d4a tests/tcg: Suppress compiler false-positive warning on sha1.c
GCC versions at least 12 through 15 incorrectly report a warning
about code in sha1.c:

tests/tcg/multiarch/sha1.c:161:13: warning: ‘SHA1Transform’ reading 64 bytes from a region of size 0 [-Wstringop-overread]
  161 |             SHA1Transform(context->state, &data[i]);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is a piece of stock library code for doing SHA1 which we've
simply copied, rather than writing ourselves. The bug has been
reported to upstream GCC (about a different library's use of this
code):
 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106709

For our test case, since this isn't our original code and there isn't
actually a bug in it, suppress the incorrect warning rather than
trying to modify the code to work around the compiler issue.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2328
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250227141343.1675415-1-peter.maydell@linaro.org>
[AJB: -Wno-unknown-warning-option for clang's sake]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-18-alex.bennee@linaro.org>
2025-03-10 10:30:01 +00:00
..
gdbstub tests/tcg/aarch64: Use raw strings for regexes in test-mte.py 2024-10-24 09:56:42 +01:00
system tests/tcg/aarch64: add system test for FEAT_XS 2024-12-17 15:17:46 +00:00
bti-1.c tests/tcg/aarch64: Explicitly specify register width 2024-07-05 12:33:49 +01:00
bti-2.c tests/tcg/aarch64: Add bti smoke tests 2020-10-27 10:44:03 +00:00
bti-3.c tests/tcg/aarch64: Explicitly specify register width 2024-07-05 12:33:49 +01:00
bti-crt.c.inc tests/tcg/aarch64: Rename bti-crt.inc.c -> bti-crt.c.inc 2023-08-31 19:47:43 +02:00
dcpodp.c tests/tcg/aarch64: add DC CVA[D]P tests 2023-06-06 10:19:40 +01:00
dcpop.c tests/tcg/aarch64: add DC CVA[D]P tests 2023-06-06 10:19:40 +01:00
fcvt.ref tests/tcg/arm: Fix fcvt result messages 2024-07-05 12:34:18 +01:00
float_convd.ref tests/tcg: add float_convd test 2022-04-20 16:04:20 +01:00
float_convs.ref
float_madds.ref
lse2-fault.c accel/tcg: Avoid reading too much in load_atom_{2,4} 2023-08-10 10:59:24 -07:00
Makefile.softmmu-target tests/tcg/aarch64: force qarma5 for pauth-3 test 2025-01-13 12:35:34 +00:00
Makefile.target tests/tcg: Suppress compiler false-positive warning on sha1.c 2025-03-10 10:30:01 +00:00
mte-1.c tests/tcg/aarch64: Fix irg operand type 2024-07-05 12:33:55 +01:00
mte-2.c tests/tcg/aarch64: Add mte smoke tests 2021-02-16 13:17:28 +00:00
mte-3.c tests/tcg/aarch64: Add mte smoke tests 2021-02-16 13:17:28 +00:00
mte-4.c tests/tcg/aarch64: Add mte smoke tests 2021-02-16 13:17:28 +00:00
mte-5.c test/tcg/aarch64: Add mte-5 2021-04-30 11:16:49 +01:00
mte-6.c accel/tcg: Preserve PAGE_ANON when changing page permissions 2021-04-12 11:06:24 +01:00
mte-7.c tests/tcg/aarch64: Use stz2g in mte-7.c 2023-06-06 10:19:39 +01:00
mte-8.c tests/tcg/aarch64: Add MTE gdbstub tests 2024-07-05 12:35:36 +01:00
mte.h accel/tcg: Preserve PAGE_ANON when changing page permissions 2021-04-12 11:06:24 +01:00
pauth-1.c tests/tcg/aarch64: Add newline in pauth-1 printf 2020-03-05 16:09:19 +00:00
pauth-2.c tests/tcg/aarch64: Adjust pauth tests for FEAT_FPAC 2023-09-08 12:50:44 +01:00
pauth-4.c tests/tcg/aarch64: Adjust pauth tests for FEAT_FPAC 2023-09-08 12:50:44 +01:00
pauth-5.c tests/tcg/aarch64: Adjust pauth tests for FEAT_FPAC 2023-09-08 12:50:44 +01:00
pauth.h tests/tcg/aarch64: Adjust pauth tests for FEAT_FPAC 2023-09-08 12:50:44 +01:00
pcalign-a64.c tests/tcg: Add arm and aarch64 pc alignment tests 2021-12-15 10:35:26 +00:00
semicall.h tests/tcg: update licenses to GPLv2 as intended 2024-02-28 09:09:04 +00:00
sme-fmopa-1.c tests/tcg/aarch64: Add test cases for SME FMOPA (widening) 2024-07-18 13:49:30 +01:00
sme-fmopa-2.c tests/tcg/aarch64: Add test cases for SME FMOPA (widening) 2024-07-18 13:49:30 +01:00
sme-fmopa-3.c tests/tcg/aarch64: Add test cases for SME FMOPA (widening) 2024-07-18 13:49:30 +01:00
sme-outprod1.c arm: spelling fixes 2023-07-25 17:13:53 +03:00
sme-smopa-1.c target/arm: Fix 32-bit SMOPA 2024-03-07 12:49:16 +00:00
sme-smopa-2.c target/arm: Fix 32-bit SMOPA 2024-03-07 12:49:16 +00:00
sve-ioctls.c tests/tcg/aarch64: add SVE iotcl test 2020-03-17 17:38:47 +00:00
sve-str.c target/arm: Fix SVE STR increment 2023-11-02 13:36:45 +00:00
sysregs.c target/arm: Add ID_AA64ZFR0_EL1.B16B16 to the exposed-to-userspace set 2024-02-02 13:51:57 +00:00
test-826.c target/arm: Fix sve2 ldnt1 and stnt1 2022-03-18 10:55:15 +00:00
test-2150.c tcg/optimize: Do not attempt to constant fold neg_vec 2024-04-09 07:43:11 -10:00
test-2248.c tcg/optimize: Fix sign_mask for logical right-shift 2024-03-29 12:15:55 -10:00
test-2375.c target/arm: Fix FJCVTZS vs flush-to-zero 2024-07-01 12:48:55 +01:00
test-aes.c tests/multiarch: Add test-aes 2023-07-08 07:30:17 +01:00