Marcus Binny <marcusbinny@xxxxxxxxx> writes: > I could not figure out how does the -fvolatile or > -fvolatile-global switches work? They don't. They have been broken since GCC 3.0 and will be removed entirely in GCC 3.4. > I wanted -O2 to load globals from memory only. Is that possible from > command line? without declaring globals volatile. No. zw