This is the mail archive of the ecos-patches@sourceware.org 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: [PATCH] Speed-up sprintf() family of functions.


Andrew Lunn <andrew@lunn.ch> writes:
>> The updated patch is attached.
>> 
> Hi Sergei
>
> Im looking at the patch now ready for including into anoncvs. I have
> one minor problem which needs fixing. When i compile for the linux
> target with gcc 4.1.2 i get a warning:

There doesn't seem to be a way to actually fix this warning, only some
hacks to shut-up GCC. What hack in particular do you use to prevent this
kind of warnings in other places of eCos where it occurs?

BTW, I've just tried linux synthetic with gcc 4.0.2 that is already
installed on my box and I get no aliasing warnings at all, not even in
diag.cxx that you get.

On the other hand, the latest gcc release is 4.1.1, and you say you are
using gcc-4.1.2. If I at all bother to reproduce this bogus warning, I'd
like to use exactly the same gcc you are using. What do I do?

-- Sergei Organov.


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