Subject: Re: USB stack needs early review (Re: Someone should fix our USB stack...)
To: None <tech-kern@netbsd.org>
From: Michael van Elst <mlelstv@serpens.de>
List: tech-kern
Date: 03/22/2007 22:10:34
thorpej@shagadelic.org (Jason Thorpe) writes:

>No, the compiler is not allowed to keep cached in a register a memory  
>access across a function call, precisely because it cannot know if  
>that function call modifies the memory.

But are you willing to guarantee that there is a function call
and risk subtile errors when someone 'optimizes' it away?

-- 
-- 
                                Michael van Elst
Internet: mlelstv@serpens.de
                                "A potential Snark may lurk in every tree."