[Bug c/105771] matrix partial transposition with -O3 since r8-5159-g1cc521f1a824b591

2022-05-30 Thread franckbehaghel_gcc at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105771 --- Comment #6 from Franck Behaghel --- 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 hap

[Bug c/105771] matrix partial transposition with -O3 since r8-5159-g1cc521f1a824b591

2022-05-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105771 Martin Liška changed: What|Removed |Added Summary|matrix partial |matrix partial |transp

[Bug c/105771] matrix partial transposition with -O3

2022-05-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105771 Richard Biener changed: What|Removed |Added Known to fail||12.1.1 --- Comment #4 from Richard Bie

[Bug c/105771] matrix partial transposition with -O3

2022-05-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105771 Richard Biener changed: What|Removed |Added Keywords||needs-bisection, wrong-code Known

[Bug c/105771] matrix partial transposition with -O3

2022-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105771 --- Comment #2 from Andrew Pinski --- I think the way to fix the code is to do this: transpose_upper_to_lower (mat,&mat);

[Bug c/105771] matrix partial transposition with -O3

2022-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105771 --- Comment #1 from Andrew Pinski --- I think you have an aliasing violation here. Does adding -fno-strict-aliasing fix the issue?