From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12899 invoked by alias); 23 Jan 2012 01:13:15 -0000 Received: (qmail 12890 invoked by uid 22791); 23 Jan 2012 01:13:15 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from virtual.bogons.net (HELO virtual.bogons.net) (193.178.223.136) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Jan 2012 01:13:02 +0000 Received: from jifvik.dyndns.org (jifvik.dyndns.org [85.158.45.40]) by virtual.bogons.net (8.10.2+Sun/8.11.2) with ESMTP id q0N1D1103404; Mon, 23 Jan 2012 01:13:01 GMT Received: from lert.jifvik.org (lert.jifvik.org [172.31.1.115]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jifvik.dyndns.org (Postfix) with ESMTP id B2B073FE1; Mon, 23 Jan 2012 01:13:00 +0000 (GMT) Message-ID: <4F1CB41C.90900@jifvik.org> Date: Mon, 23 Jan 2012 01:13:00 -0000 From: Jonathan Larmour User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.10 MIME-Version: 1.0 To: Ilija Kocho Cc: eCos developers Subject: Re: Gnutools: consideration for upgrade to GCC 4.6 References: <4F106345.4080902@siva.com.mk> <4F11574D.9070002@dallaway.org.uk> <4F11AC54.7000902@siva.com.mk> In-Reply-To: <4F11AC54.7000902@siva.com.mk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2012-01/txt/msg00035.txt.bz2 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 ‘’ 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