[ECOS] bug in sprintf
Daniel Lidsten
Daniel.Lidsten@combitechsystems.com
Tue Jun 3 07:05:00 GMT 2003
> > Indeed. More importantly, it's curious why the 'size_t' branch of
> > that conditional is even being executed for simple signed values.
>
> I don't think it is. Looking at the asm, it looks like the
> size_t code has invoked a bug in the optimizer which caused
> it to get the signed branch of the condition wrong.
Do you mean that there is a bug in the compiler which causes this to
appear? I am using powerpc-eabi-gcc version 2.95.2, which is quite old.
Is there any meaning to upgrade to a newer version to get rid of this
problem or is this something that can be fixed in the eCos repository?
Regards, Daniel Lidsten
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list