From: Jakub Jelinek Date: Thu, 7 Dec 2023 08:48:57 +0000 (+0100) Subject: testsuite: Add testcase for already fixed PR [PR111068] X-Git-Tag: basepoints/gcc-15~3872 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf38c6374b5fb6a2afa05af26432f1fd1a120bc4;p=thirdparty%2Fgcc.git 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 PR target/111068 * gcc.target/i386/pr111068.c: New test. --- diff --git a/gcc/testsuite/gcc.target/i386/pr111068.c b/gcc/testsuite/gcc.target/i386/pr111068.c new file mode 100644 index 000000000000..4ff2ea0efc05 --- /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); +}