https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72758

--- Comment #3 from Jeffrey Walton <noloader at gmail dot com> ---
(In reply to Andrew Pinski from comment #2)
> Note the testcase is wrong (but only slightly).

Oh, you're right, thanks.

That code was tested on the RPI3 to ensure it compiled as expected under
Aarch32. Using -Wall generated one warning: 'unused variable b'.

> Also as a workaround you can use a GNU C extension.
> Something like:
> int main(int argc, char* argv[])
> {
>   poly128_t a = {0};
>   uint64x2_t b = (uint64x2_t)(a);
>   return 0;

Reply via email to