This is the mail archive of the gcc-patches@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: Off-by-one error in ARM's thumb_jump pattern


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
        


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