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 target/19293] avr-gcc crashes when using shifts with negative shift count


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-15 05:53 -------
Confirmed:
20020710-1.c:9: warning: right shift count is negative
20020710-1.c:12: error: negative insn length
(insn 13 8 16 (set (reg:HI 24 r24 [orig:42 D.1107 ] [42])
        (lshiftrt:HI (reg/v:HI 24 r24 [orig:44 y ] [44])
            (const_int -13 [0xfffffff3]))) 68 {lshrhi3} (insn_list:REG_DEP_TRUE 7 (nil))
    (nil))

This is just like what the i386 PR 7245 used to do which is what 20020710-1 was the test was for.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-15 05:53:55
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19293


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