signed is undefined and has been since 1992 (in GCC)
Gabriel Dos Reis
gdr@integrable-solutions.net
Tue Jun 28 19:48:00 GMT 2005
Robert Dewar <dewar@adacore.com> writes:
| Gabriel Dos Reis wrote:
|
| > The strict aliasing rule by itself does not show it is not a high level
| > assembly language. There are chips out there where you cannot access
| > data willy-nilly through random register types.
|
| And there are chips for which signed arithmetic is not wrap around!
yes, but that is irrelevant, the assumptin was made that
one knows what the chip provides.
numeric_limits<T> is target dependent.
-- Gaby
More information about the Gcc
mailing list