[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2007-02-05 Thread pinskia at gcc dot gnu dot org
--- Comment #17 from pinskia at gcc dot gnu dot org 2007-02-05 19:44 --- *** Bug 30705 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-27 22:59 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-27 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-27 22:36 --- Subject: Bug 19293 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_4-branch Changes by: [EMAIL PROTECTED] 2005-01-27 22:36:00 Modified files: gcc: Change

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-26 Thread bernie at develer dot com
--- Additional Comments From bernie at develer dot com 2005-01-26 23:11 --- Please also apply to 3.4-branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19293

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-26 21:44 --- Subject: Bug 19293 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-26 21:44:26 Modified files: gcc: ChangeLog gcc/config/avr : a

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-19 Thread bernie at develer dot com
--- Additional Comments From bernie at develer dot com 2005-01-20 05:46 --- (In reply to comment #10) > Hi, > > here is the changed patch for avr.c . I hope that it is now compliant to the > gcc coding standards. I however did not understand what you have meant with > "this hunk add

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-19 Thread bjoern dot m dot haase at web dot de
--- Additional Comments From bjoern dot m dot haase at web dot de 2005-01-19 21:25 --- Hi, here is the changed patch for avr.c . I hope that it is now compliant to the gcc coding standards. I however did not understand what you have meant with "this hunk adds spurious whitespace".

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-18 Thread schlie at comcast dot net
--- Additional Comments From schlie at comcast dot net 2005-01-19 05:26 --- (In reply to comment #8) Never mind, as it's likely not worth the bother as the behavor is undefined anyway, and the existing proposal is simpler. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19293

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-18 Thread schlie at comcast dot net
--- Additional Comments From schlie at comcast dot net 2005-01-19 05:17 --- Actually wonder if a better solutions would be to and (&) the rhs shift count by Log2(rhs-mode-size) bit mask, thereby the resulting value will always be within 0 >= shift <= (N-1), resulting effectivly a shift m

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-18 Thread bernie at develer dot com
--- Additional Comments From bernie at develer dot com 2005-01-19 00:18 --- (In reply to comment #3) A quick informal review. > if (GET_CODE (operands[2]) == CONST_INT) > { > int k; > > if (!len) > len = &k; > ! This line contains spu

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-18 Thread bernie at develer dot com
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bernie at develer dot com |dot org | Status|NEW

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-18 Thread bernie at develer dot com
--- Additional Comments From bernie at develer dot com 2005-01-19 00:04 --- *** Bug 19329 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-18 Thread bjoern dot m dot haase at web dot de
--- Additional Comments From bjoern dot m dot haase at web dot de 2005-01-18 23:27 --- Hi, I have just stepped over a patch suggested by Bernardo Innocenti in order to treat the case of "shift_count == 0" correctly. My presently suggested patch (above) only treats the case of negati

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-14 Thread pinskia at gcc dot gnu dot org
--- 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

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-06 Thread ericw at evcohs dot com
-- What|Removed |Added CC||ericw at evcohs dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19293

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-06 Thread bjoern dot m dot haase at web dot de
--- Additional Comments From bjoern dot m dot haase at web dot de 2005-01-06 18:57 --- If it would be OK for GCC to simply ignore negative constant shift counts, the following patch would do. I have tested this with the test suite for gcc-3.4.3 . Unfortunately avr-gcc is still broken o

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-06 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-01-06 18:03 --- Subject: Re: avr-gcc crashes when using shifts with negative shift count On Thu, 6 Jan 2005, bjoern dot m dot haase at web dot de wrote: > It seems that the standard says that shift operations with negat

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-06 Thread bjoern dot m dot haase at web dot de
--- Additional Comments From bjoern dot m dot haase at web dot de 2005-01-06 17:35 --- It seems that the standard says that shift operations with negative shift count are supposed to yield an "unspecified" result. Is there some more specific convention for gcc on how to behave in the

[Bug target/19293] avr-gcc crashes when using shifts with negative shift count

2005-01-06 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19293