[Bug middle-end/108712] Missing optimization with memory-barrier

2023-02-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108712 Andrew Pinski changed: What|Removed |Added Keywords||inline-asm, |

[Bug middle-end/108712] Missing optimization with memory-barrier

2023-02-08 Thread klaus.doldinger64 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108712 --- Comment #1 from Wilhelm M --- And using __asm__ __volatile__ ("" : : : "memory"); there is no optimization at all.