This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: patches for Irix binutils 2.18 -- removal of some casts
Michael Hennebry <hennebry@www.cs.ndsu.nodak.edu> writes:
> It hadn't occurred to me that the compiler would use
> the undefinedness of a cast as an excuse to reorder code.
It's not the cast itself that makes it undefined, but the use of the
alias created by the dereference.
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."