Article View: gnu.gcc.bug
Article #2504a gcc bug
From: skubi%perle.DEC
Date: Tue, 04 Apr 1989 10:34
Date: Tue, 04 Apr 1989 10:34
36 lines
1170 bytes
1170 bytes
The following program
============================================================
static inline void my_putchar (x)
char x;
{
12;
}
int lit_len;
main()
{
my_putchar (lit_len % 16);
}
=============================================================
is compiled by gcc -c -g (gcc version 1.33).
On a VAX Ultrix 2.0, the compiler says:
gcc: Program cc1 got fatal signal 6.
On a Sun3, SunOs 4.0.1 Export, the compiler says:
gcc: Program cc1 got fatal signal 6.
I do know my program is incorrect, however the error report is extremely
ungraceful. (the program is incorrect because typeof (lit_len % 16) != char).
Marcin Skubiszewski, DEC Paris Research Lab
skubi@decprl.dec.com
Technical Details
Message-ID:
<8904041034.AA09474@decwrl.dec.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!DECWRL.DEC.COM!skubi%perle.DECShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!DECWRL.DEC.COM!skubi%perle.DEC From: skubi%perle.DEC@DECWRL.DEC.COM Newsgroups: gnu.gcc.bug Subject: a gcc bug Message-ID: <8904041034.AA09474@decwrl.dec.com> Date: 4 Apr 89 10:34:03 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 36