This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM][Testsuite] Fix prototype in vst1Q_laneu64-1.c
- From: Christophe Lyon <christophe dot lyon at linaro dot org>
- To: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>
- Date: Wed, 6 Jul 2016 15:44:49 +0200
- Subject: Re: [PATCH][ARM][Testsuite] Fix prototype in vst1Q_laneu64-1.c
- Authentication-results: sourceware.org; auth=none
- References: <HE1PR0801MB1482955EC3F8E604C678D4B3833A0@HE1PR0801MB1482.eurprd08.prod.outlook.com>
On 6 July 2016 at 15:04, Wilco Dijkstra <Wilco.Dijkstra@arm.com> wrote:
> Fix prototype in vst1Q_laneu64-1.c to unsigned char* so it passes.
>
> Committed as trivial fix.
>
> ChangeLog
> 2016-07-06 Wilco Dijkstra <wdijkstr@arm.com>
>
> 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);
>