This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/19515] [4.0 Regression] Violation of C99 6.7.8 §21 for unions
- From: "stevenb at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2005 09:26:11 -0000
- Subject: [Bug middle-end/19515] [4.0 Regression] Violation of C99 6.7.8 §21 for unions
- References: <20050118221058.19515.ebotcazou@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From stevenb at suse dot de 2005-01-20 09:26 -------
Subject: Re: [4.0 Regression] Violation of C99 6.7.8 =?utf-8?q?=A721_for?= unions
> Can't we compute the result for unions based on the type of the first
> member?
Ehm?? "union { int i; char c[256]; }"
However, we can use int_size_in_bytes on object and on the
first field of the constructor in the gimplifier.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19515