Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!accelerator.eng.ohio-state.edu!raksha.eng.ohio-state.edu!rob
From: rob@raksha.eng.ohio-state.edu (Rob Carriere)
Newsgroups: comp.lang.c
Subject: Re: Optimal structure field ordering
Message-ID: <372@accelerator.eng.ohio-state.edu>
Date: 8 Jul 88 14:46:26 GMT
References: <5233@ihlpf.ATT.COM> <163@navtech.uucp> <806@garth.UUCP> <254@obie.UUCP> <3459@rpp386.UUCP> <4347@pasteur.Berkeley.Edu>
Sender: news@accelerator.eng.ohio-state.edu
Reply-To: rob@raksha.eng.ohio-state.edu (Rob Carriere)
Organization: Ohio State Univ, College of Engineering
Lines: 21

In article <4347@pasteur.Berkeley.Edu> faustus@ic.Berkeley.EDU 
(Wayne A. Christopher) writes:
>In article <5233@ihlpf.ATT.COM>, nevin1@ihlpf.ATT.COM (00704a-Liber) writes:
>> > [separate compilation is impossible with structure optimization
>> >  that is not pre-arranged]
>> [not true, as long as the compiler is self-consistent]
> [various counterexamples]

Not to mention, what if you're debugging, and part of your program is
compiled *with* and part *without* optimization?  I've lost count of
how many times I've had to do that, but each every one of them I sure
was glad when the compiler turned out not to be outsmarting itself.

No, you say, either you optimize, or you don't; half-half is asking
for trouble!  Sure is, but when the optimized half is some commercial
library your site doesn't even have the sources for, there isn't much
you can do but ask for trouble and hope it's going to be out of stock.

Rob Carriere
"I like HLL's, but when push comes to shove, I want to know what the
compiler is doing behind my back."