public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/6835: static struct assignment -> gcc internal error
@ 2002-05-27 10:06 dat01bjl
0 siblings, 0 replies; only message in thread
From: dat01bjl @ 2002-05-27 10:06 UTC (permalink / raw)
To: gcc-gnats
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1449 bytes --]
>Number: 6835
>Category: c
>Synopsis: static struct assignment -> gcc internal error
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Mon May 27 07:56:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Björn Lindberg
>Release: gcc-3.0
>Organization:
>Environment:
Debian GNU / Linux, kernel 2.4.18, libc6 unstable, Athlon TB 1.2GHz
>Description:
Trying to compile the following:
--- cut ---
# 1 "dt.error.c"
struct __container_t {
int value;
char name[];
};
typedef struct __container_t container_t;
struct __atrib_t {
int value;
int used, len;
char *name;
container_t options[];
};
typedef struct __atrib_t atrib_t;
atrib_t classifier = {0, 0, 2, "WillWait", {{0, "No"}, {1, "Yes"}}};
int main(){
}
--- cut ---
using: gcc -Wall -o dt.error dt.error.c -save-temps
(where dt.error.c is the source code that produces the error)
gives the following:
--- cut ---
dt.error.c:15: Internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
--- cut ---
>How-To-Repeat:
compile the code smippet with: gcc -Wall -o dt.error dt.error.c -save-temps
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-05-27 14:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-27 10:06 c/6835: static struct assignment -> gcc internal error dat01bjl
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).