From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Wed, 30 Apr 2008 16:39:26 +0200 Subject: [U-Boot-Users] [PATCH] Fix warnings while compiling net/net.c for MPC8610HPCD board In-Reply-To: <227D16F0-1807-4731-B0D2-E8D7ACDB86C5@kernel.crashing.org> References: <20080429152530.6A726247B4@gemini.denx.de> <1209555280-23311-1-git-send-email-agust@denx.de> <227D16F0-1807-4731-B0D2-E8D7ACDB86C5@kernel.crashing.org> Message-ID: <4818849E.4050205@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Kumar Gala wrote: > > On Apr 30, 2008, at 6:34 AM, Anatolij Gustschin wrote: >> MPC8610HPCD board adds -O2 gcc option to PLATFORM_CPPFLAGS >> causing overriding default -Os option. New gcc (ver. 4.2.2) >> produces warnings while compiling net/net.c file with -O2 >> option. The patch is an attempt to fix this. > > nothing against this patch, but should we change MPC8610HPCD to use -Os > like everyone else? if there is no special reason for using -O2 with MPC8610HPCD, then it should be changed to use -Os. Anatolij