This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos 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: bug in sprintf


> > 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


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