On Sat, Feb 19, 2011 at 10:53 PM, Christian Grössler <ch...@groessler.org> wrote: > Hi, > > I'm running the testsuite with a compiler for a private target. > > I get many failures because of shift counts out of range (too big or > negative). > > Examples of failed tests: > > gcc.c-torture/compile/20020710-1.c > gcc.c-torture/compile/20021119-1.c > gcc.c-torture/compile/20021124-1.c > > The failures come from the assembler which complains about the out of range > shift counts. > > Should I disable them or is there any reason unknown to me that these tests > make sense?
You need to make sure that the tests only invoke undefined behavior at runtime, thus emit valid assembly from your target description. Richard. > regards, > chris >