drazen@VLSI.CALTECH.EDU (Drazen Borkovic) (05/19/89)
This program causes gcc to receive signal 6.
Script started on Thu May 18 20:43:37 1989
% cat j.c
#include <stdlib.h>
#include <stdio.h>
#include <setjmp.h>
jmp_buf exit_buf;
static void delete_proc(void)
{
asm volatile( "mov%.l %0, a0" : : "r" (exit_buf));
}
% unalias gcc
% gcc -v -Wall -S j.c
gcc version 1.35
/usr/local/lib/gcc-cpp -v -undef -D__GNUC__ -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -Wall -D__HAVE_68881__ -Dmc68020 j.c /tmp/cca28590.cpp
GNU CPP version 1.35.0
/usr/local/lib/gcc-cc1 /tmp/cca28590.cpp -quiet -dumpbase j.c -Wall -version -o j.s
GNU C version 1.35 (68k, MIT syntax) compiled by GNU C version 1.35.
Program cc1 got fatal signal 6.
% exit
script done on Thu May 18 20:44:31 1989
Hope this helps.
Drazen Borkovic, Caltech 256-80, Pasadena, CA 91125
e-mail: drazen@vlsi.caltech.edu