This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37918] bitfield shift fails with optimizer (-O2)
- From: "ata at earthdetails dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Oct 2008 07:22:15 -0000
- Subject: [Bug c/37918] bitfield shift fails with optimizer (-O2)
- References: <bug-37918-16865@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from ata at earthdetails dot com 2008-10-26 07:22 -------
Created an attachment (id=16550)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16550&action=view)
test case
The test produces 57 without the optimizer and 65 with the optimizer (-O2)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37918