From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199609040316.VAA01479@ellpspace.math.ualberta.ca> Date: Tue, 3 Sep 1996 21:16:28 -0600 (MDT) From: Michal Jaegermann Subject: Re: UDB's and performance work In-Reply-To: <9609031840.AA09156@liszt.amt.tay1.dec.com> > > >Does the Digital compiler correct alignment errors or at least notify me > >during compile? > > How could it do either? > char * fooptr; > int data; > > data = (int) *fooptr; > > Is perfectly valid, if fooptr happens to be 0 mod 4 aligned. Well, from gcc I will get at least loud wailings about a conversion between types of different sizes. And I pay attention to these. :-) --mj -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null