20190327-1.c: New testcase.
2019-03-27 Richard Biener <rguenther@suse.de> * gcc.dg/torture/20190327-1.c: New testcase. From-SVN: r269964
This commit is contained in:
parent
d5f48c7c62
commit
079c81dabf
2 changed files with 22 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2019-03-27 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* gcc.dg/torture/20190327-1.c: New testcase.
|
||||
|
||||
2019-03-27 Paul Thomas <pault@gcc.gnu.org>
|
||||
|
||||
PR fortran/88247
|
||||
|
|
18
gcc/testsuite/gcc.dg/torture/20190327-1.c
Normal file
18
gcc/testsuite/gcc.dg/torture/20190327-1.c
Normal file
|
@ -0,0 +1,18 @@
|
|||
/* { dg-do run } */
|
||||
|
||||
typedef long v2di __attribute__((vector_size(16)));
|
||||
v2di v;
|
||||
void __attribute__((noinline))
|
||||
foo()
|
||||
{
|
||||
v = (v2di){v[1], v[0]};
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
v[0] = 1;
|
||||
foo ();
|
||||
if (v[0] != 0 || v[1] != 1)
|
||||
__builtin_abort ();
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Reference in a new issue