On 6 July 2016 at 15:04, Wilco Dijkstra <[email protected]> wrote:
> Fix prototype in vst1Q_laneu64-1.c to unsigned char* so it passes.
>
> Committed as trivial fix.
>
> ChangeLog
> 2016-07-06 Wilco Dijkstra <[email protected]>
>
> gcc/testsuite/
> * gcc.target/arm/vst1Q_laneu64-1.c (foo): Use unsigned char*.
Thanks for catching this. I intended to do it as part of my
"neon-testgen.ml removal"
patch, but I obviously made a mistake when I committed in svn.
> ---
>
> diff --git a/gcc/testsuite/gcc.target/arm/vst1Q_laneu64-1.c
> b/gcc/testsuite/gcc.target/arm/vst1Q_laneu64-1.c
> index
> 5f4c927b6e0af9e9e3885e5e1fa25ec21fd53c78..de4e92a0b4aa5121864e2a78f20561168bb21dfa
> 100644
> --- a/gcc/testsuite/gcc.target/arm/vst1Q_laneu64-1.c
> +++ b/gcc/testsuite/gcc.target/arm/vst1Q_laneu64-1.c
> @@ -11,7 +11,7 @@
> unsigned char dummy_store[1000];
>
> void
> -foo (char* addr)
> +foo (unsigned char* addr)
> {
> uint8x16_t vdata = vld1q_u8 (addr);
> vst1q_lane_u64 ((uint64_t*) &dummy_store, vreinterpretq_u64_u8 (vdata), 0);
>