mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 12:21:09 +08:00
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:
parent
18ba3ce7e3
commit
2d5581f1b2
@ -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
|
||||
|
16
gcc/testsuite/gcc.dg/torture/pr45678-1.c
Normal file
16
gcc/testsuite/gcc.dg/torture/pr45678-1.c
Normal 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user