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: gcc 4.3.x: Bug in ieee754-{df,sf}.S


Am 14.05.2012 23:01, schrieb James Dennett:
> On Mon, May 14, 2012 at 1:36 PM, Sven Köhler <sven.koehler@gmail.com> wrote:
>> Hi,
>>
>> currently, our software (www.lejos.org, build with a gcc 4.3.x based
>> arm-elf toolchain) manages to compare floats correctly most of the time.
>> But sometimes, the comparisons don't have the expected result.
>> Basically, comparisons behave non-deterministically.
>>
>> We believe, that this is the result of a Bug in ieee754-{df,sf}.S.
>> A fix that seems to be related has been committed on June 5th, 2009, SVN
>> revision 148210. The commit comment was:
>>
>> gcc/
>> * config/arm/ieee754-df.S (cmpdf2): Avoid writing below SP.
>> * config/arm/ieee754-sf.S (cmpsf2): Likewise.
>>
>>
>> Is gcc 4.3 still supported? Will there be release of gcc 4.3.7?
> 
> No.  http://gcc.gnu.org/ describes GCC 4.5.x as the "oldest maintained
> release series".

I see. So I will backport it myself.

>> I didn't check the other branches (4.4, 4.5, or 4.6), but if it's
>> missing there then it should definitely be backported to these branches
>> as well.
> 
> 4.4 won't get it, so far as I can see.  I don't know how decisions are
> made on which patches are backported to supported versions.

Actually, the patch was committed long time before 4.3.6 (more than 2
years). I guess, the patch was never backported - at least not 4.3.x.


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