This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32244] bit-field: optimization BUG
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jun 2007 10:28:26 -0000
- Subject: [Bug middle-end/32244] bit-field: optimization BUG
- References: <bug-32244-10812@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2007-06-08 10:28 -------
Confirmed. We are wrongly expanding
;; D.2027 = D.2026 << 32
(insn 18 17 0 (parallel [
(set (reg:DI 59 [ D.2027 ])
(ashift:DI (reg:DI 60 [ D.2026 ])
(const_int 32 [0x20])))
(clobber (reg:CC 17 flags))
]) -1 (nil)
(nil))
without properly truncating the result to 33 bit precision.
Not a regression.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|c |middle-end
Ever Confirmed|0 |1
Keywords| |wrong-code
Known to fail| |2.95.4 4.1.2 4.2.0
Last reconfirmed|0000-00-00 00:00:00 |2007-06-08 10:28:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32244