------- Additional Comments From rearnsha at gcc dot gnu dot org 2005-08-30 12:43 ------- Note this also happens on ARM where (in the EABI) it is definitely a bug becuase the procedure call standard says it is.
Quoting from the AAPCS: 7.1.7.5 Volatile bit-fieldspreserving number and width of container accesses When a volatile bit-field is read, its container must be read exactly once using the access width appropriate to the type of the container. When a volatile bit-field is written, its container must be read exactly once and written exactly once using the access width appropriate to the type of the container. The two accesses are not atomic. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |rearnsha at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-08-30 12:43:25 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23623