diff options
author | Sam James <sam@gentoo.org> | 2023-08-13 01:37:58 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-08-14 10:30:03 +0100 |
commit | d0b55776a4e1d2f293db5ba0e4a04aefed055ec4 (patch) | |
tree | fa3b887a442b1ecb55096c7778148327625c2399 /13.2.0 | |
parent | 13.2.0: add patch for Botan miscompilation (diff) | |
download | gcc-patches-d0b55776a4e1d2f293db5ba0e4a04aefed055ec4.tar.gz gcc-patches-d0b55776a4e1d2f293db5ba0e4a04aefed055ec4.tar.bz2 gcc-patches-d0b55776a4e1d2f293db5ba0e4a04aefed055ec4.zip |
13.2.0: add extra trivial test fix
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '13.2.0')
-rw-r--r-- | 13.2.0/gentoo/85_all_x86_PR110792-Early-clobber-issues-with-rot32di2-test-fixup.patch | 39 | ||||
-rw-r--r-- | 13.2.0/gentoo/README.history | 3 |
2 files changed, 42 insertions, 0 deletions
diff --git a/13.2.0/gentoo/85_all_x86_PR110792-Early-clobber-issues-with-rot32di2-test-fixup.patch b/13.2.0/gentoo/85_all_x86_PR110792-Early-clobber-issues-with-rot32di2-test-fixup.patch new file mode 100644 index 0000000..059f68c --- /dev/null +++ b/13.2.0/gentoo/85_all_x86_PR110792-Early-clobber-issues-with-rot32di2-test-fixup.patch @@ -0,0 +1,39 @@ +From 529909f9e92dd3b0ed0383f45a44d2b5f8a58958 Mon Sep 17 00:00:00 2001 +From: Roger Sayle <roger@nextmovesoftware.com> +Date: Sun, 6 Aug 2023 23:19:10 +0100 +Subject: [PATCH] [Committed] Avoid FAIL of gcc.target/i386/pr110792.c + +My apologies (again), I managed to mess up the 64-bit version of the +test case for PR 110792. Unlike the 32-bit version, the 64-bit case +contains exactly the same load instructions, just in a different order +making the correct and incorrect behaviours impossible to distinguish +with a scan-assembler-not. Somewhere between checking that this test +failed in a clean tree without the patch, and getting the escaping +correct, I'd failed to notice that this also FAILs in the patched tree. +Doh! Instead of removing the test completely, I've left it as a +compilation test. + +The original fix is tested by the 32-bit test case. + +Committed to mainline as obvious. Sorry for the incovenience. + +2023-08-06 Roger Sayle <roger@nextmovesoftware.com> + +gcc/testsuite/ChangeLog + PR target/110792 + * gcc.target/i386/pr110792.c: Remove dg-final scan-assembler-not. +--- + gcc/testsuite/gcc.target/i386/pr110792.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/gcc/testsuite/gcc.target/i386/pr110792.c b/gcc/testsuite/gcc.target/i386/pr110792.c +index b65125c48b62..eea4e1877dbb 100644 +--- a/gcc/testsuite/gcc.target/i386/pr110792.c ++++ b/gcc/testsuite/gcc.target/i386/pr110792.c +@@ -15,4 +15,3 @@ unsigned __int128 whirl(unsigned char x0) + asm("":::"memory"); + return tt; + } +-/* { dg-final { scan-assembler-not "movq\tWHIRL_S\\+8\\(%rdi\\), %rdi" } } */ +-- +2.39.3 diff --git a/13.2.0/gentoo/README.history b/13.2.0/gentoo/README.history index 2f1fc73..24a8367 100644 --- a/13.2.0/gentoo/README.history +++ b/13.2.0/gentoo/README.history @@ -1,3 +1,6 @@ +7 13 Aug 2023 + + 85_all_x86_PR110792-Early-clobber-issues-with-rot32di2-test-fixup.patch + 6 13 Aug 2023 + 84_all_x86_PR110792-Early-clobber-issues-with-rot32di2.patch |