public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/14094] New: Anonymous struct initialization
@ 2004-02-10 10:18 roart at nvg dot ntnu dot no
2004-02-10 11:16 ` [Bug c/14094] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: roart at nvg dot ntnu dot no @ 2004-02-10 10:18 UTC (permalink / raw)
To: gcc-bugs
Seen on both recent debian/unstable and gentoo
I suspect it is a bug.
gcc version 3.3.3 20040125 (prerelease) (Debian)
gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
How to reproduce:
/usr/bin/gcc -c fab.c
fab.c:8: error: unknown field `fab$b_fac' specified in initializer
File fab.c:
struct _fabdef {
unsigned char fab$b_bid;
struct {
unsigned char fab$b_fac;
};
};
struct _fabdef fab = { fab$b_fac : 1 };
--
Summary: Anonymous struct initialization
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: roart at nvg dot ntnu dot no
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14094
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c/14094] Anonymous struct initialization
2004-02-10 10:18 [Bug c/14094] New: Anonymous struct initialization roart at nvg dot ntnu dot no
@ 2004-02-10 11:16 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-10 11:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-10 11:15 -------
This is a dup of bug 10676.
*** This bug has been marked as a duplicate of 10676 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14094
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-10 11:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-10 10:18 [Bug c/14094] New: Anonymous struct initialization roart at nvg dot ntnu dot no
2004-02-10 11:16 ` [Bug c/14094] " pinskia at gcc dot gnu dot org
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).