From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 26 Sep 2011 19:37:01 +0200 Subject: [U-Boot] [PATCH] GCC4.4: Squash multiple warnings due to strict aliasing In-Reply-To: <20110926113041.E6E941407998@gemini.denx.de> References: <1317002798-27112-1-git-send-email-marek.vasut@gmail.com> <201109261132.43616.marek.vasut@gmail.com> <20110926113041.E6E941407998@gemini.denx.de> Message-ID: <201109261937.01263.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday, September 26, 2011 01:30:41 PM Wolfgang Denk wrote: > Dear Marek Vasut, > > In message <201109261132.43616.marek.vasut@gmail.com> you wrote: > > > Would it be better to change the __arch_putb macro into an extern > > > inline function instead which would catch these and future cases? > > > > Yes, but you'll need to do that on a much larger scale. Is anyone up for > > doing it ? > > What exactly are the advantages, and what the disadvantages? > > code size / memory footprint? I assume converting those to inline function will yield no memory usage growth at all. > > Best regards, > > Wolfgang Denk