[Bug target/119348] risc-v vector tuple casting optimization regression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119348 --- Comment #2 from nihui --- aha, just found that pointer casting works in gcc :) though clang seems unhappy about it ```c #include vfloat32m8_t convert_vfloat32m1x8_to_vfloat32m8(vfloat32m1x8_t tuple) { return *(vfloat32m8_t*)(&tuple);
[Bug target/119348] risc-v vector tuple casting optimization regression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119348 --- Comment #1 from nihui --- tested commit gcc 7efe3aa9b5d4d7aba3736d1393b007705522dc45 binutils cf4fdbd491bbf60267d4ba6ec3f533944e376e6c