On 9/9/22 8:27 AM, Kewen.Lin wrote:
> __attribute__((noipa))
> int foo(c){
>   return 0;
> }
> 
> int main ()
> {
>   const __vector_quad c;
>   int r = foo(c);
>   return r;
> }
> 
> Checking during LTO WPA, verify_type only gets type "const
> __vector_quad", no type "__vector_quad".
> 
> btw, it needs some hacking in rs6000_function_arg to make this
> opaque type valid for function arg.

We don't allow (at this time) __vector_pair or __vector_quad to be
used as actual arguments to non-builtin functions.  We do allow
pointers to those types though.

Peter

Reply via email to