This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/71372] GCC Optimization "tree-dse" does not respect access to volatile* upon explicit cast.


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71372

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I've seen a similar bug being reported recently and was not able to confirm on
x86_64 so I made it target specific (IIRC it was mingw or cygwin).

GCC certainly honors volatile here (on x86_64-linux).

I can only guess that alignment and bitfield expansion may play a role.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]