[gcc r14-6267] testsuite: Add testcase for already fixed PR [PR111068]

Jakub Jelinek jakub@gcc.gnu.org
Thu Dec 7 08:50:36 GMT 2023


https://gcc.gnu.org/g:bf38c6374b5fb6a2afa05af26432f1fd1a120bc4

commit r14-6267-gbf38c6374b5fb6a2afa05af26432f1fd1a120bc4
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Thu Dec 7 09:48:57 2023 +0100

    testsuite: Add testcase for already fixed PR [PR111068]
    
    This one unfortunately can't be bisected, it ICEd until r14-3430
    inclusive, but r14-3431 removed -mavx10.1-512 support and when it
    was readded in r14-5607 it doesn't ICE anymore.
    
    I'm just committing the testcase so that it doesn't reappear.
    
    2023-12-07  Jakub Jelinek  <jakub@redhat.com>
    
            PR target/111068
            * gcc.target/i386/pr111068.c: New test.

Diff:
---
 gcc/testsuite/gcc.target/i386/pr111068.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gcc/testsuite/gcc.target/i386/pr111068.c b/gcc/testsuite/gcc.target/i386/pr111068.c
new file mode 100644
index 00000000000..4ff2ea0efc0
--- /dev/null
+++ b/gcc/testsuite/gcc.target/i386/pr111068.c
@@ -0,0 +1,12 @@
+/* PR target/111068 */
+/* { dg-do compile } */
+/* { dg-options "-ffloat-store -mavx10.1-512" } */
+
+typedef _Float16 __attribute__((__vector_size__ (8))) V;
+V u, v, w;
+
+void
+foo (void)
+{
+  v /= __builtin_shufflevector (w, u, 3, 3, 6, 1);
+}


More information about the Gcc-cvs mailing list