[Bug target/62180] (RX600) - compiler doesn't honor -fstrict-volatile-bitfields and generates incorrect machine code for I/O register access

2014-08-20 Thread jan.capek at braiins dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62180 --- Comment #5 from Jan Čapek --- (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 Delorie, you are the man! The patch works as expected. Interestingly, the

[Bug target/62180] (RX600) - compiler doesn't honor -fstrict-volatile-bitfields and generates incorrect machine code for I/O register access

2014-08-19 Thread jan.capek at braiins dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62180 --- Comment #3 from Jan Čapek --- (In reply to Andrew Pinski from comment #1) > C11 says something different here. I can see the following the -fstrict-volatile-bitfields documentation: "This option should be used if accesses to volatile bit-fi

[Bug target/62180] (RX600) - compiler doesn't honor -fstrict-volatile-bitfields and generates incorrect machine code for I/O register access

2014-08-19 Thread jan.capek at braiins dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62180 --- Comment #2 from Jan Čapek --- (In reply to Andrew Pinski from comment #1) > C11 says something different here. Can you be a bit more specific?

[Bug target/62180] New: (RX600) - compiler doesn't honor -fstrict-volatile-bitfields and generates incorrect machine code for I/O register access

2014-08-19 Thread jan.capek at braiins dot cz
: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jan.capek at braiins dot cz Created attachment 33359 --> https://gcc.gnu.org/bugzilla/attachmen