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

--- Comment #3 from chenglulu <chenglulu at loongson dot cn> ---
(In reply to Ivan A. Melnikov from comment #2)
> 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.

I apologize, I initially misunderstood. This should be a compiler
implementation issue, and I will fix it.

Reply via email to