This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/78810] [7 Regression] Optimized out volatile memory access
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Dec 2016 10:06:04 +0000
- Subject: [Bug tree-optimization/78810] [7 Regression] Optimized out volatile memory access
- Auto-submitted: auto-generated
- References: <bug-78810-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78810
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |trippels at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
They invoke undefined behavior by using misaligned accesses, see:
https://bugs.ruby-lang.org/issues/11831
It was fixed once, but they dropped the fix in the current versions.