public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/5597: [regression from 2.95.3] Initialization of flexible char array member segfaults
@ 2002-03-21 17:57 rth
0 siblings, 0 replies; 2+ messages in thread
From: rth @ 2002-03-21 17:57 UTC (permalink / raw)
To: 131399-quiet, falk.hueffner, gcc-bugs, gcc-prs, nobody
Synopsis: [regression from 2.95.3] Initialization of flexible char array member segfaults
State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Thu Mar 21 17:57:22 2002
State-Changed-Why:
http://gcc.gnu.org/ml/gcc-patches/2002-02/msg00959.html
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5597
^ permalink raw reply [flat|nested] 2+ messages in thread
* c/5597: [regression from 2.95.3] Initialization of flexible char array member segfaults
@ 2002-02-05 15:36 Matthias Klose
0 siblings, 0 replies; 2+ messages in thread
From: Matthias Klose @ 2002-02-05 15:36 UTC (permalink / raw)
To: gcc-gnats, debian-gcc
>Number: 5597
>Category: c
>Synopsis: [regression from 2.95.3] Initialization of flexible char array member segfaults
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Tue Feb 05 15:36:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
>Release: 3.0.4 CVS and HEAD CVS 20020203
>Organization:
The Debian project
>Environment:
System: Debian GNU/Linux (testing/unstable)
Architecture: i686, alpha
host: i386-linux
build: i386-linux
target: i386-linux
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
>Description:
[ Reported to the Debian BTS as report #131399.
Please CC 131399-quiet@bugs.debian.org on replies.
Log of report can be found at http://bugs.debian.org/131399 ]
Segfaults with 3.0.4 CVS and HEAD CVS 20020203, 2.95.x prints:
$ gcc-2.95 -c bug-131399.c
bug-131399.c:3: field `data' has incomplete type
bug-131399.c: In function `foo':
bug-131399.c:6: invalid initializer
bug-131399.c:6: (near initialization for `s1.data')
struct descr {
int len;
char data[];
};
int foo() {
struct descr s1 = { 3, "FOO" };
}
falk@borkum:~% /usr/bin/gcc-3.0 bug.c
bug.c: In function `foo':
bug.c:6: 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.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-22 1:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-21 17:57 c/5597: [regression from 2.95.3] Initialization of flexible char array member segfaults rth
-- strict thread matches above, loose matches on Subject: below --
2002-02-05 15:36 Matthias Klose
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).