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: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2005 09:31:33 -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 ebotcazou at gcc dot gnu dot org 2005-01-20 09:31 -------
> Ehm?? "union { int i; char c[256]; }"
Doesn't look much buggier than what we currently have... maybe take the max on
all the fields then? That said, I don't know what count_type_elements is for,
it is clearly brain-damaged for unions at the moment.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19515