[Bug c/37985] unsigned char shift lacks statement with no effect warning

2009-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2009-03-30 01:38 --- convert_to_integer sets TREE_NO_WARNING on the shift, causing cc1 to later bypass the warning. #0 convert_to_integer (type=0xb7cf62d8, expr=0xb7cee630) at ../../trunk/gcc/convert.c:542 #1 0x080a7069 in convert

[Bug c/37985] unsigned char shift lacks statement with no effect warning

2008-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-11-01 12:48 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added