Where does the C standard describe overflow of signed integers?
Georg Bauhaus
bauhaus@futureapps.de
Sat Jul 16 12:12:00 GMT 2005
Paul Schlie wrote:
>>From: Georg Bauhaus <bauhaus@futureapps.de>
>>
>>
>>>Paul Schlie wrote:
>>>
>>>
>>>>From: Robert Dewar <dewar@adacore.com>
>>>>
>>>>
>>>> this would mean you could not put local variables in
>>>>registers. the effect on code quality woul be awful!
>>>>
>>>>
>>>Why would anyone care about the performance of an access to an
>>>un-initialized variable?
>>>
>>>
>>You can have both, correctness and uninitialised local
>>variables. For an impression of the difference in performance,
>>
>>
>- which predominantly illustrates the effect of volatile semantics?
>
>
I was looking for a way to stop GCC from using registers,
as I wanted to see one of the above mentioned effects
on code quality. Hence volatile.
-- Georg
More information about the Gcc
mailing list