------- Comment #6 from graham dot stott at btinternet dot com  2008-11-26 
14:02 -------
Subject: Re:  CCP does not propagate through constant initializers

Richard,

"const volatile" is a perfectly valid combination.

What is says is "it's read only but may change value in ways unknown to the
compiler" think of a memory mapped hardware register which is read only such as
some kind of counter .

Cheers
Graham 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38180

Reply via email to