This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33205] optimization bug: unsigned bitfield expands with non-zero padding bits
- From: "xk-corpse at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Aug 2007 08:45:46 -0000
- Subject: [Bug c++/33205] optimization bug: unsigned bitfield expands with non-zero padding bits
- References: <bug-33205-15025@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from xk-corpse at hotmail dot com 2007-08-28 08:45 -------
i'm sorry, i forgot to say that bug appears with any optimization level enabled
(-O1, -O2, -O3) and does not appear with optimization disabled (-O0)
--
xk-corpse at hotmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|bitfield optimizations |optimization bug: unsigned
|causes corrupt bitfield |bitfield expands with non-
|expansion at runtime |zero padding bits
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33205