[Bug middle-end/115346] [15] Volatile load elimination with packed struct bitfields

2024-06-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115346 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/115346] [15] Volatile load elimination with packed struct bitfields

2024-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115346 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Note this is not even emitted at -O0, the gimplifier removes it for some > reason ... Oh see PR 99258 for analysis of the gimplifier (I think). with `#pragma pa

[Bug middle-end/115346] [15] Volatile load elimination with packed struct bitfields

2024-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115346 --- Comment #2 from Andrew Pinski --- Note this is not even emitted at -O0, the gimplifier removes it for some reason ...

[Bug middle-end/115346] [15] Volatile load elimination with packed struct bitfields

2024-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115346 --- Comment #1 from Andrew Pinski --- >GCC 4.0.4 does not eliminate the loads: https://godbolt.org/z/frsP8o7YT But 3.4.6 did not emit them either.