Article View: gnu.gcc.bug
Article #2755another fatal signal
From: Larry Smith
Date: Thu, 14 Dec 1989 17:48
Date: Thu, 14 Dec 1989 17:48
24 lines
1147 bytes
1147 bytes
I diddled my code a little and got a different error. So here it is:
[20] anderson:ls cat example.c
struct tty_device {
char data, ignore1, command;
};
extern struct tty_device
TTY_A, /* = 0X600000 in PROM.s */
TTY_B; /* = 0X600004 in PROM.s */
#define readB(reg) ( {asm(" moveb #%1,%0+2" : "i" (TTY_B) : "n" (reg) ); \
TTY_B.command;})
main()
{ register char c;
c = readB(3);
}
[21] anderson:ls gcc -v -s example.c
/usr/local/lib/gcc-cpp -v -undef -D__GNU__ -Dmc68000 -Dsun -Dunix -Dm68k example.c /tmp/cca24334.cpp
0: unknown flag -v
/usr/local/lib/gcc-cc1 /tmp/cca24334.cpp -quiet -dumpbase example.c -noreg -version -o /tmp/cca24334.s
GNU C version 1.18 (68k, MIT syntax) compiled by CC.
gcc: Program cc1 got fatal signal 6.
[22] anderson:ls
Technical Details
Message-ID:
<8912141748.AA24340@anderson.CLI.COM>Path:
arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!tut.cis.ohio-state.edu!CLI.COM!lsmithShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!tut.cis.ohio-state.edu!CLI.COM!lsmith From: lsmith@CLI.COM (Larry Smith) Newsgroups: gnu.gcc.bug Subject: another fatal signal Message-ID: <8912141748.AA24340@anderson.CLI.COM> Date: 14 Dec 89 17:48:04 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 24