This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: testsuite question


On Sat, Feb 19, 2011 at 10:53 PM, Christian Grössler
<chris@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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]