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

--- Comment #6 from Franck Behaghel <franckbehaghel_gcc at protonmail dot com> 
---
Hello,

> Does adding -fno-strict-aliasing fix the issue?
Right, it does. 

> I think you have an aliasing violation here.
I can not say if we have aliasing violation here. My understanding is that AV
happens when mixing pointer type referring to the same address.

>I think the way to fix the code is to do this:
>transpose_upper_to_lower (mat,&mat);
It does not change the result. The issue is still present.

> -fno-loop-unroll-and-jam fixes it.  Can't check trunk right now whether it's 
> fixed.
I can confirm this too.


Regards,
Franck

Reply via email to