Hans-Peter Nilsson wrote: >> Date: Fri, 13 Mar 2009 12:34:49 +0100 >> From: Paolo Bonzini <bonz...@gnu.org> > >> I would like to know whether for avr,bfin,cris,frv,h8300,pdp11,rs6000 >> (which define SHIFT_COUNT_TRUNCATED as 0) and for mcore,sh,vax (which >> do not define it at all) it is right that shift counts are never >> truncated. > > The answer to the question is "no", but I'd guess the more > useful answer is "yes", for different definitions of "truncate".
Ok, after my patches you will be able to teach GCC about this definition of truncate. Paolo