From: Uros Bizjak Date: Tue, 22 Apr 2008 06:48:48 +0000 (+0200) Subject: re PR target/31486 (ICE with vector code when -mno-sse2 on amd64) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6d64576ad966e4948949d32a5d31cba60893e19;p=gcc.git re PR target/31486 (ICE with vector code when -mno-sse2 on amd64) PR target/31486 * gcc.target/i386/pr31486.c: New test. From-SVN: r134549 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4a86a03acaf..b1c7258442c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-04-21 Uros Bizjak + + PR target/31486 + * gcc.target/i386/pr31486.c: New test. + 2008-04-21 Adam Nemet * gcc.dg/profile-dir-1.c, gcc.dg/profile-dir-2.c, diff --git a/gcc/testsuite/gcc.target/i386/pr31486.c b/gcc/testsuite/gcc.target/i386/pr31486.c new file mode 100644 index 00000000000..7082d3de98b --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr31486.c @@ -0,0 +1,13 @@ +/* { dg-do compile } */ +/* { dg-options "-msse -mno-sse2" } */ + +typedef double __v2df __attribute__ ((vector_size (16))); + +__v2df b = { 1.1, 1.2 }; + +extern __v2df a2 (__v2df a, __v2df b); + +void test2 () +{ + b = a2 (b, b); +}