From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Date: Thu, 23 Dec 2010 17:40:45 +0100 Subject: [U-Boot] [RFC PATCH v2] ARM: Avoid compiler optimization for usages of readb, writeb and friends. In-Reply-To: <20101222075205.5C123EA652A@gemini.denx.de> References: <1292711230-3234-1-git-send-email-holler@ahsoftware.de> <4D0EA9BB.4050002@ahsoftware.de> <4D0F8E75.2010107@ahsoftware.de> <4D105324.2080201@googlemail.com> <4D105583.8070703@free.fr> <4D1066CD.2040409@googlemail.com> <4D1083B4.2060704@free.fr> <20101221105303.4E3EDB715C@gemini.denx.de> <4D109F06.1040109@ahsoftware.de> <4D10A2E7.6050302@free.fr> <4D10ABDE.7010303@ahsoftware.de> <4D10BAB2.9080300@free.fr> <20101221195215.DB74C126EB1A@gemini.denx.de> <4D110866.6020209@googlemail.com> <4D11424C.4090708@ahsoftware.de> <4D11A281.9080706@free.fr> <4D11A65E.8040200@goo glemail.com> <20101222075205.5C123EA652A@gemini.denx.de> Message-ID: <4D137B8D.3040900@googlemail.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 22.12.2010 08:52, Wolfgang Denk wrote: > Dear Dirk Behme, > > In message<4D11A65E.8040200@googlemail.com> you wrote: >> >> Btw, I tried to send a summary of our issues to the Codesourcery = >> >> mailing list: >> >> http://www.codesourcery.com/archives/arm-gnu/msg03989.html >> >> Let's see if we get an answer. > > You got one: > http://www.codesourcery.com/archives/arm-gnu/msg03990.html > > And it sounds like a reasonable explanation to me. An additional answer, mainly covering the question why the volatile is optimized away: http://www.codesourcery.com/archives/arm-gnu/msg03999.html Best regards Dirk