Is this expected gcc behaviour?

Paul Smith pausmith@nortelnetworks.com
Thu Aug 19 07:44:00 GMT 2004


If you don't want the compiler to optimize that variable you have to
declare it to be volatile.  That's what volatile is for...

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@nortelnetworks.com>   HASMAT--HA Software Mthds & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list