Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ll-xn!husc6!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: Unions Message-ID: <8727@smoke.BRL.MIL> Date: 22 Oct 88 19:48:37 GMT References: <322@hrc.UUCP> <2699@hound.UUCP> <976@l.cc.purdue.edu> <14103@mimsy.UUCP> <6176@june.cs.washington.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <6176@june.cs.washington.edu> pardo@cs.washington.edu (David Keppel) writes: >Interesting note: gcc preserves the high-order bits of the union. >I believe that this behavior is not guaranteed either by K&R or by the >dpANS proposed standard. (Anybody know? Tell me, please?) Nothing is promised about other members of a union when one member is modified, just as nothing is promised about the holes in a structure or union.