Commit 03694c43 by Jakub Jelinek Committed by Jakub Jelinek

re PR middle-end/59471 (ICE using vector extensions (non-top-level…

re PR middle-end/59471 (ICE using vector extensions (non-top-level BIT_FIELD_REF, IMAGPART_EXPR or REALPART_EXPR))

	PR middle-end/59471
	* gcc.dg/pr59471.c (foo): Avoid vector type arguments or return
	type, use pointers to vector type instead.

From-SVN: r206448
parent 9f9d82aa
2014-01-08 Jakub Jelinek <jakub@redhat.com>
PR middle-end/59471
* gcc.dg/pr59471.c (foo): Avoid vector type arguments or return
type, use pointers to vector type instead.
2014-01-08 Catherine Moore <clm@codesourcery.com>
* gcc.target/mips/umips-branch-3.c: New test.
......
......@@ -9,8 +9,8 @@ __attribute__ ((__vector_size__ (16)));
typedef unsigned int uint32x4_t
__attribute__ ((__vector_size__ (16)));
uint8x4_t
foo (uint16x8_t x)
void
foo (uint16x8_t *x, uint8x4_t *y)
{
return (uint8x4_t) ((uint32x4_t) x)[0];
*y = (uint8x4_t) ((uint32x4_t) (*x))[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