Path: 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 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