[Bug c++/34235] short variable cast to unsigned int fails to right shift as unsigned

2008-01-26 Thread fgccbz1 at greynode dot net
--- Comment #10 from fgccbz1 at greynode dot net 2008-01-26 13:29 --- My thanks for the fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34235

[Bug c/34235] short variable cast to unsigned int fails to right shift as unsigned

2007-11-27 Thread fgccbz1 at greynode dot net
--- Comment #4 from fgccbz1 at greynode dot net 2007-11-27 12:12 --- Oh - and thanks for looking at my bug! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34235

[Bug c/34235] short variable cast to unsigned int fails to right shift as unsigned

2007-11-27 Thread fgccbz1 at greynode dot net
--- Comment #3 from fgccbz1 at greynode dot net 2007-11-27 12:09 --- Created an attachment (id=14646) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14646&action=view) code to reproduce the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34235

[Bug c/34235] short variable cast to unsigned int fails to right shift as unsigned

2007-11-27 Thread fgccbz1 at greynode dot net
--- Comment #2 from fgccbz1 at greynode dot net 2007-11-27 12:08 --- Sorry - it looks like compiling as c++ is required. I thought I'd eliminated that issue in my original analysis, but evidently I was wrong. I see the weird behavior just when compiling with g++ cast.c -o cast bu

[Bug c/34235] New: short variable cast to unsigned int fails to right shift as unsigned

2007-11-26 Thread fgccbz1 at greynode dot net
gnedTo: unassigned at gcc dot gnu dot org ReportedBy: fgccbz1 at greynode dot net GCC host triplet: x86_64-redhat-linux GCC target triplet: x86_64-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34235