This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Off-by-one error in ARM's thumb_jump pattern
- From: Nick Clifton <nickc at redhat dot com>
- To: Richard Earnshaw <rearnsha at arm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Mar 2004 11:34:02 +0100
- Subject: Re: Off-by-one error in ARM's thumb_jump pattern
- References: <200403300936.i2U9ahSx028930@pc960.cambridge.arm.com>
Hi Richard,
>> * gcc.c-torture/compile/thumb_jump.c: New file to exercise the
>> thumb_jump pattern in arm.md.
>>
>> The coding is dubious. It relies upon the behaviour of gcc at the time of
>> coding (2004-03-29) and will probably fail to produce the expected
>> distances between the branches in the future.
>
> I'm not so sure about this, however: fragile tests a just a pain. In any
> case, this should probably be part of gcc.dg.
Yeah - I was unsure whether the file should be contributed or not.
Given its rather unstable nature, I think that it will be best to
leave it out. It helped locate the bug, and now it can be retired.
Cheers
Nick