On Sat, Apr 06, 2019 at 07:05:22AM +0900, Takeshi Nakayama wrote: > >>> Joerg Sonnenberger <jo...@bec.de> wrote > > > On Fri, Apr 05, 2019 at 12:15:41PM +0000, Takeshi Nakayama wrote: > > > Module Name: src > > > Committed By: nakayama > > > Date: Fri Apr 5 12:15:41 UTC 2019 > > > > > > Modified Files: > > > src/sys/arch/sparc64/include: psl.h > > > > > > Log Message: > > > Put "memory" to asm inline reading privilege registers for clang to > > > prevent it from being removed by excessive optimization. > > > > Why excessive optimization? With the the clobber or volatile, the asm > > statement is declared to be removable. > > With? Without? > > Excessive may be overstated, but in the case of gcc it is not > removed, so I thought so.
Sorry, I meant "without". Assembler constraints are nasty to debug, since they often work for years... Joerg