re PR target/18582 (Internal compiler error with arrays of type V2DF)

PR target/18582
	* testsuite/gcc.dg/torture/pr18582-1.c: New test.

From-SVN: r102690
This commit is contained in:
Richard Sandiford 2005-08-03 14:05:02 +00:00 committed by Richard Sandiford
parent 178df94ff1
commit 3ed831a4a7
2 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-08-03 Richard Sandiford <richard@codesourcery.com>
PR target/18582
* testsuite/gcc.dg/torture/pr18582-1.c: New test.
2005-08-03 Jan Hubicka <jh@suse.cz>
* update-conroll.c: New testcase.

View File

@ -0,0 +1,24 @@
/* { dg-do compile { target i?86-*-* } } */
/* { dg-options "-msse3" } */
typedef char v16qi __attribute__((vector_size (16)));
typedef float v4sf __attribute__((vector_size (16)));
typedef double v2df __attribute__((vector_size (16)));
extern char ca[];
extern float fa[];
extern double da[];
extern v16qi cva[];
extern v4sf fva[];
extern v2df dva[];
void
foo (void)
{
cva[0] = __builtin_ia32_loaddqu (ca);
cva[0] = __builtin_ia32_lddqu (ca);
fva[0] = __builtin_ia32_loadups (fa);
dva[0] = __builtin_ia32_loadupd (da);
}