public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/15938] ICE with anonymous unions Date: Thu, 21 Jul 2005 15:15:00 -0000 [thread overview] Message-ID: <20050721151237.31607.qmail@sourceware.org> (raw) In-Reply-To: <20040611122359.15938.reichelt@gcc.gnu.org> ------- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-21 15:12 ------- The ICE is fixed now. But maybe some additional code cleanup is needed:\x13 Giovanni, what about the following code snippet from typeck2.c? Is the comment still valid? What about the error message, is it still triggered in some cases? /* Find the first named field. ANSI decided in September 1990 that only named fields count here. */ tree field = TYPE_FIELDS (type); while (field && (!DECL_NAME (field) || TREE_CODE (field) != FIELD_DECL)) field = TREE_CHAIN (field); if (!field) { error ("union %qT with no named members cannot be initialized", type); ce->value = error_mark_node; } ce->index = field; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15938
next prev parent reply other threads:[~2005-07-21 15:12 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-06-11 12:24 [Bug c++/15938] New: " reichelt at gcc dot gnu dot org 2004-06-11 13:33 ` [Bug c++/15938] " pinskia at gcc dot gnu dot org 2005-01-06 2:02 ` pinskia at gcc dot gnu dot org 2005-03-20 20:13 ` pcarlini at suse dot de 2005-07-20 13:46 ` reichelt at gcc dot gnu dot org 2005-07-21 2:08 ` giovannibajo at libero dot it 2005-07-21 2:53 ` gdr at integrable-solutions dot net 2005-07-21 13:23 ` giovannibajo at libero dot it 2005-07-21 15:12 ` cvs-commit at gcc dot gnu dot org 2005-07-21 15:15 ` reichelt at gcc dot gnu dot org [this message] 2005-07-21 15:56 ` giovannibajo at libero dot it 2005-07-23 5:03 ` pinskia at gcc dot gnu dot org [not found] <bug-15938-1771@http.gcc.gnu.org/bugzilla/> 2005-10-05 19:37 ` pinskia at gcc dot gnu dot org 2005-10-13 11:22 ` reichelt at gcc dot gnu dot org 2005-11-25 15:45 ` reichelt at gcc dot gnu dot org 2005-11-27 23:38 ` giovannibajo at libero dot it
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20050721151237.31607.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).