public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/19293] New: avr-gcc crashes when using shifts with negative shift count
@ 2005-01-06 16:01 bjoern dot m dot haase at web dot de
  2005-01-06 16:53 ` [Bug target/19293] " pinskia at gcc dot gnu dot org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: bjoern dot m dot haase at web dot de @ 2005-01-06 16:01 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1165 bytes --]

avr-gcc crashes with an internal compiler error when shift operations with 
negative shift count are used, e.g. a >> -13. Error message is "negative 
instruction length", probably since the expression used for calculating the 
instruction length (c-code) assumes the shift count to be a positive number. 
Test cases known to fail are, e.g. . 
 
gcc.c-torture/compile/20020710-1 
                      20021119-1 
                      20021123-4 
                      920626-1 
                      930621-1 
 
Problem is present in 4.0 and I expect it to exist in all the previous 
releases. (compare the test report in gcc-testreports@gcc.gnu.org. 
 
Björn.

-- 
           Summary: avr-gcc crashes when using shifts with negative shift
                    count
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bjoern dot m dot haase at web dot de
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: avr-*-*


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


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2007-02-05 19:44 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19293-9887@http.gcc.gnu.org/bugzilla/>
2007-02-05 19:44 ` [Bug target/19293] avr-gcc crashes when using shifts with negative shift count pinskia at gcc dot gnu dot org
2005-01-06 16:01 [Bug c/19293] New: " bjoern dot m dot haase at web dot de
2005-01-06 16:53 ` [Bug target/19293] " pinskia at gcc dot gnu dot org
2005-01-06 17:35 ` bjoern dot m dot haase at web dot de
2005-01-06 18:03 ` joseph at codesourcery dot com
2005-01-06 18:57 ` bjoern dot m dot haase at web dot de
2005-01-06 22:00 ` ericw at evcohs dot com
2005-01-15  5:54 ` pinskia at gcc dot gnu dot org
2005-01-18 23:28 ` bjoern dot m dot haase at web dot de
2005-01-19  0:04 ` bernie at develer dot com
2005-01-19  0:09 ` bernie at develer dot com
2005-01-19  0:19 ` bernie at develer dot com
2005-01-19  5:17 ` schlie at comcast dot net
2005-01-19  5:26 ` schlie at comcast dot net
2005-01-19 21:25 ` bjoern dot m dot haase at web dot de
2005-01-20  5:46 ` bernie at develer dot com
2005-01-26 21:45 ` cvs-commit at gcc dot gnu dot org
2005-01-26 23:11 ` bernie at develer dot com
2005-01-27 22:36 ` cvs-commit at gcc dot gnu dot org
2005-01-27 22:59 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).