This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/62180] (RX600) - compiler doesn't honor -fstrict-volatile-bitfields and generates incorrect machine code for I/O register access
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 18 Aug 2016 11:48:46 +0000
- Subject: [Bug target/62180] (RX600) - compiler doesn't honor -fstrict-volatile-bitfields and generates incorrect machine code for I/O register access
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-62180-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62180
Oleg Endo <olegendo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |olegendo at gcc dot gnu.org
--- Comment #6 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to DJ Delorie from comment #4)
> Perhaps you need this patch:
>
> https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00993.html
DJ, did you actually commit that patch?
In any case, I think this issue can be closed. Using bitfields for hardware
access is not really a safe thing to do. E.g. see also PR 67644.