public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/36839] struct with only anonymous unions plus flexible array member Date: Sat, 27 Dec 2008 20:33:00 -0000 [thread overview] Message-ID: <20081227203158.3441.qmail@sourceware.org> (raw) In-Reply-To: <bug-36839-16473@http.gcc.gnu.org/bugzilla/> ------- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-27 20:31 ------- else if (!saw_named_field) { error ("%Jflexible array member in otherwise empty struct", x); TREE_TYPE (x) = error_mark_node; } Hmm, it explicitly looks for a named field. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org GCC build triplet|i486-pc-linux-gnu | GCC host triplet|i486-pc-linux-gnu | GCC target triplet|i486-pc-linux-gnu | Keywords| |rejects-valid Known to fail| |4.0.1 3.3.3 4.1.1 4.3.0 | |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36839
next prev parent reply other threads:[~2008-12-27 20:33 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-07-15 16:33 [Bug c/36839] New: " rtc at gmx dot de 2008-12-27 20:33 ` pinskia at gcc dot gnu dot org [this message] 2008-12-27 20:46 ` [Bug c/36839] " pinskia at gcc dot gnu dot org 2009-02-27 20:28 ` vegard dot nossum at gmail dot com 2009-02-27 20:32 ` vegard dot nossum at gmail dot com 2009-02-27 20:58 ` joseph at codesourcery dot com [not found] <bug-36839-4@http.gcc.gnu.org/bugzilla/> 2014-04-15 20:22 ` mpolacek at gcc dot gnu.org
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=20081227203158.3441.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).