[Bug tree-optimization/114872] [13/14/15 Regression] Miscompilation with -O2 after commit r13-8037

2024-05-08 Thread dima.pasechnik at cs dot ox.ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114872 --- Comment #26 from Dmitrii Pasechnik --- We have megabytes of code calling libraries where setjmp/longjmp is used, in github.com/sagemath/sage/ (most of it in Cython). It looks like a huge hassle to put volatiles there. Looks like we would n

[Bug tree-optimization/114872] [13/14/15 Regression] Miscompilation with -O2 after commit r13-8037

2024-05-06 Thread dima.pasechnik at cs dot ox.ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114872 --- Comment #19 from Dmitrii Pasechnik --- Declaring the last argument in the call to GAP_CallFunc3Args() volatile appears to fix the issue. Namely, apply diff --git a/src/sage/libs/gap/element.pyx b/src/sage/libs/gap/element.pyx index f1482997

[Bug tree-optimization/114872] [13/14/15 Regression] Miscompilation with -O2 after commit r13-8037

2024-05-03 Thread dima.pasechnik at cs dot ox.ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114872 --- Comment #13 from Dmitrii Pasechnik --- Created attachment 58099 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58099&action=edit data for comment 12 - decompiled things data for comment 12 - decompiled .so's, .so's themselves, origina

[Bug tree-optimization/114872] [13/14/15 Regression] Miscompilation with -O2 after commit r13-8037

2024-05-03 Thread dima.pasechnik at cs dot ox.ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114872 Dmitrii Pasechnik changed: What|Removed |Added CC||dima.pasechnik at cs dot ox.ac.uk