[Bug tree-optimization/108008] Compiler mis-optimization with posix_memalign

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008 Andrew Pinski changed: What|Removed |Added Attachment #54042|0 |1 is obsolete|

[Bug tree-optimization/108008] Compiler mis-optimization with posix_memalign

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008 Andrew Pinski changed: What|Removed |Added Attachment #54041|0 |1 is obsolete|

[Bug tree-optimization/108008] Compiler mis-optimization with posix_memalign

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008 --- Comment #4 from Andrew Pinski --- Created attachment 54041 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54041&action=edit Slightly more reduced testcase Slightly more reduced and self contained testcase. I was able to remove the exi

[Bug tree-optimization/108008] Compiler mis-optimization with posix_memalign

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008 --- Comment #3 from Andrew Pinski --- (In reply to dhsbz from comment #2) > I tried the example with gcc master, and it seems to behave as expected > (i.e. sameZ=1 for i=1). Tracking back it seems the commit which restored > this was: r13-1728-

[Bug tree-optimization/108008] Compiler mis-optimization with posix_memalign

2022-12-07 Thread dhsbz at chaw dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008 dhsbz at chaw dot com changed: What|Removed |Added CC||dhsbz at chaw dot com --- Commen