This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/32244] bit-field: optimization BUG



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]