On Wed, 26 Jan 2000 15:24:07 PST, Martin Buchholz said:
because, for example, the hardware is 64-bit, but the OS is still
32-bit, and pointers are more efficient when 64-bit aligned.
In practice, today, nobody is actually going to do that. Still, it's
nice to code to the ANSI C standard when possible. No one used to do
alias analysis either (except xlc...).
Guess what? xlc has an option for 'packed' structures. ;)
If it weren't that the alternative is gcc/egcs, which I'm boycotting
until they get their act together regarding fixincludes. Anything that
creates a private copy of files from /usr/include is inherently evil
and liable to cause trouble (especially given how often I file bug
reports against brokked headers in /usr/include - it's bad enough that
I have to re-run fixincludes so GCC sees the fixes from IBM, it's
totally impossible for me to build a distribution kit that will work
for multiple levels of AIX).
/Valdis