Commit 079c81da by Richard Biener Committed by Richard Biener

20190327-1.c: New testcase.

2019-03-27  Richard Biener  <rguenther@suse.de>

	* gcc.dg/torture/20190327-1.c: New testcase.

From-SVN: r269964
parent d5f48c7c
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
......
/* { 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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment