This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: Gnutools: consideration for upgrade to GCC 4.6
On 14/01/12 16:24, Ilija Kocho wrote:
> On 14.01.2012 11:22, John Dallaway wrote:
>> There are sure to be some new compiler warnings to deal with in the eCos
>> sources. Are you aware of the scale of this issue with eCos CVS and GCC
>> 4.6.2?
>
> If it could be some measure, the compilation of eCos library for the
> /default/ template (target K60N512) raises 11 warnings, all seem to be
> the same type:
> warning: variable ‘<varname>’ set but not used [-Wunused-but-set-variable]
> Some cases are unused variables indeed, but of some the usage is
> "hidden" (within asm() or macro).
Try redboot (on a target including flash and network). There's a lot more
there.
>> There are a few patches that were applied to current toolchain sources:
>>
>> ftp://ecos.sourceware.org/pub/ecos/gnutools/src/
>>
>> It would be useful to review these and determine which are still
>> relevant.
>
> I have implemented them in my build (for ARM only). They seem to fit
> with the new code but regarding relevancy it probably requires more
> analysis and better knowledge of GCC intrinsics than mine.
Feel free to ask.
Jifl