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

--- Comment #2 from Ivan A. Melnikov <iv at altlinux dot org> ---
On Fri, Jan 23, 2026 at 02:10:30AM +0000, chenglulu at loongson dot cn wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123766
> 
> This has nothing to do with the architecture implementation. The variable r in
> your code were indeed not defined, and then `-Werror -Wextra` was added 
> during 
> compilation.

But I'm using __lsx_vst and __lasx_xvst to actually *initialize* r, pretty
much like I would've used memcpy to write to the memory. Isn't it a valid
usecase for these intrinsics? If it is, it should not trigger the warning imo.

Reply via email to