Re: [Linux-ia64] C union on ia-64

From: Andreas Schwab <schwab_at_suse.de>
Date: 2001-10-25 05:46:34
Gururaj Ananthateerta <gururaj@cup.hp.com> writes:

|> http://developer.intel.com/design/itanium/linuxDDPorting/sld025.htm
|> 
|> The above link provides an example.

How are the types defined?  Without that information nothing can be said
about it.  The C standard explictly says that it is undefined behaviour if
you access a member of a union that was stored under a different member.

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
Received on Wed Oct 24 12:46:41 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:05 EST