public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-6267] testsuite: Add testcase for already fixed PR [PR111068]
@ 2023-12-07  8:50 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2023-12-07  8:50 UTC (permalink / raw)
  To: gcc-cvs

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);
+}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-07  8:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-07  8:50 [gcc r14-6267] testsuite: Add testcase for already fixed PR [PR111068] Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).