signed is undefined and has been since 1992 (in GCC)
Andreas Schwab
schwab@suse.de
Tue Jun 28 21:39:00 GMT 2005
Paul Koning <pkoning@equallogic.com> writes:
>>>>>> "Gabriel" == Gabriel Dos Reis <gdr@integrable-solutions.net> writes:
>
> Gabriel> When it comes down for the compiler writer to chose
> Gabriel> something for undefined behaviour, it is hardly solely based
> Gabriel> on the C standard. In fact, the C standard is of much less
> Gabriel> help because it gaves up.
>
> That's my reaction as well. The standard says "do something". The
> compiler has to pick a "something".
But it does not have to be consistent.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Gcc
mailing list