Article View: gnu.gcc.help
Article #41697Re: fatal signal bug
From: Berthold H"ollmann
Date: Mon, 26 Feb 1996 00:00
Date: Mon, 26 Feb 1996 00:00
76 lines
2474 bytes
2474 bytes
Dean Schulze wrote:
> =
> Ferdinand de Boevere writes:
> =
> >Compiling the next code (fatal.c):
> =
> > main()
> > {
> > void *test(void)
> > {
> > printf("test\n");
> > return test;
> > }
> > void *test(void);
> > }
> =
> >gives:
> =
> > cc: Internal compiler error: program cc1 got fatal signal 11
> =
> >...
> =
> >Testing this code on another Linux computer shows that is probably
> >not a hardware problem.
> =
> >A gcc-compiler (2.5.3) on the HP/UX platform did also exit with
> >fatal signal:
> =
> > fatal.c: In function `main':
> > fatal.c:10: internal error--unrecognizable insn:
> > (insn 28 26 29 (set (reg:SI 109)
> > (nil)) -1 (nil)
> > (nil))
> > gcc: Internal compiler error: program cc1 got fatal signal 6
> =
> >This makes me conclude that it is a compiler bug.
> =
> I have confirmed this problem on my Linux system (Pentium, v1.2.13,
> gcc v2.7.0) and on a Sun SPARCStation IPX (SunOS v4.1.x, gcc v2.3.3).
> =
> Signal 11 is SIGSEGV (on my Linux system), so it looks like gcc has
> a pointer problem for at least versions 2.3.3, 2.5.3, and 2.7.0.
> =
> Do the GCC developers test their code with any of the Q/A tools
> that are available (i.e. Insure++, Purify, etc.) ?
> =
> Dean Schulze
I got the "signal 11" error while compiling some tcl/tk-stuff. The configur=
e
appended "-L/usr/lib" to the command lines. Removing this comiling ran the
sig 11 error dissapeared.
Who can explain?
Greetings =
Berthold H=F6llmann
-- =
email: hoel@hamburg.GermanLloyd.de
These opinions might be mine, but never those of my employer.
Technical Details
Message-ID:
<31318CD0.62319AC4@hamburg.GermanLloyd.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4g873q$cf9@oege.htsa.hva.nl> <4gikiv$qsi@news.ccit.arizona.edu> <4giljo$qsi@news.ccit.arizona.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,e77bf10583124758 X-Google-Attributes: gid11318c,public X-Google-Thread: 1103af,a70465ce3621e978 X-Google-Attributes: gid1103af,public From: "Berthold H\"ollmann" <hoel@hamburg.GermanLloyd.de> Subject: Re: fatal signal bug Date: 1996/02/26 Message-ID: <31318CD0.62319AC4@hamburg.GermanLloyd.de> X-Deja-AN: 141166197 references: <4g873q$cf9@oege.htsa.hva.nl> <4gikiv$qsi@news.ccit.arizona.edu> <4giljo$qsi@news.ccit.arizona.edu> content-type: text/plain; charset=iso-8859-1 organization: Point of Presence GmbH (http://www.pop.de/) mime-version: 1.0 newsgroups: gnu.gcc.help,comp.os.linux.misc x-mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4m)