This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
Bernd Schmidt <bernds_cb1@t-online.de> writes:
> I must admit I don't know what an integer with padding bits would look
> like. Can someone check what the C standard has to say about the bit-not
> operator?
All arithmethic operations operate only on the value bits and ignore the
padding bits.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."