[PATCH] volatile global register variable

Mark Mitchell mark@codesourcery.com
Fri Nov 11 05:50:00 GMT 2005


David Edelsohn wrote:

> 	My concern is not about volatile, but about global register
> variables having overloaded and ambiguous semantics.  I specifically think
> we should avoid global register variables implying volatile.

I'm sorry to have misunderstood originally.

I definitely agree that global register variables should be volatile
only if explicitly declared as such.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304



More information about the Gcc-patches mailing list