re PR rtl-optimization/45678 (crash on vector code with -m32 -msse)

2010-09-17  Richard Guenther  <rguenther@suse.de>

	PR middle-end/45678
	* gcc.dg/torture/pr45678-1.c: New testcase.

From-SVN: r164369
This commit is contained in:
Richard Guenther 2010-09-17 13:57:04 +00:00 committed by Richard Biener
parent 18ba3ce7e3
commit 2d5581f1b2
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-09-17 Richard Guenther <rguenther@suse.de>
PR middle-end/45678
* gcc.dg/torture/pr45678-1.c: New testcase.
2010-09-17 Michael Matz <matz@suse.de>
PR tree-optimization/43432

View File

@ -0,0 +1,16 @@
/* { dg-do run } */
typedef float V __attribute__ ((vector_size (16)));
V g;
float d[4] = { 4, 3, 2, 1 };
int
main ()
{
V e;
__builtin_memcpy (&e, &d, sizeof (d));
V f = { 5, 15, 25, 35 };
e = e * f;
g = e;
return 0;
}