This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37135] [4.3/4.4 Regression] code size increase for bit-fields assignment
- From: "etienne_lorrain at yahoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2008 09:13:33 -0000
- Subject: [Bug middle-end/37135] [4.3/4.4 Regression] code size increase for bit-fields assignment
- References: <bug-37135-1034@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from etienne_lorrain at yahoo dot fr 2008-08-24 09:13 -------
Moreover, if in the first test.c program, you declare variable "conf"
volatile,
the assembly generated contains 8 writes to "conf", and that memory location
is *read* 7 times. If "conf" does not point to memory but to memory mapped I/O
ports (maybe not readable), that is invalid code generated for valid input.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37135