Skip to contentSkip to conversation

C undefined behavior fix

PATCH [email protected] 1 participant 1 message Jan 9, 2002

lore
Share & tools
lore
#0 lore raw

<<This is especially true as it is a nuisance for some uses of "volatile" that were intended by the standard (as is clear in notes refering to the use of volatile for memory mapped IO) and are broken by this optimization.

Quoted 1 line
Quoted 1 line

Right, of course this optimization should only be done if the compiler can prove that no other volatile objects are accessed (that would also violate the corresponding rule in the Ada standard).