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