[PATCH] aarch64: Fix up aarch64_simd_clone_compute_vecsize_and_simdlen [PR99542]

Jakub Jelinek jakub@redhat.com
Tue Mar 16 09:28:58 GMT 2021


On Tue, Mar 16, 2021 at 09:46:33AM +0100, Richard Biener wrote:
> > shows we have an interface problem here -- we shouldn't need something this
> > convoluted to walk through an argument list.  But that's not your problem
> > or a problem with the patch.
> 
> The caller side should IMHO always look at TYPE_ARG_TYPES since
> that's what determines the ABI.  But IIRC there were problems in the past
> that TYPE_ARG_TYPES might be NULL but DECL_ARGUMENTS not?!

Yes, for the K&R definitions
#pragma omp declare simd
int
foo (a, b, c)
  int a, b, c;
{
  return a + b + c;
}

	Jakub



More information about the Gcc-patches mailing list