schmidt%crimee.ics.uci.edu@PARIS.ICS.UCI.EDU ("Douglas C. Schmidt") (01/01/89)
Bug Report for GCC:
-------------------
Problem : The following file gets a fatal signal when compiled with
gcc 1.32, using the -finline-functions option.
1.) Version : gcc 1.32
-----------
2.) Input Program :
-----------------
static void
doit(p, x1, y1)
short * p;
{
p[0] = x1;
p[1] = y1;
}
int
main()
{
short s[2];
doit(s, 10, 20);
(void) printf("%d\n", s[0]);
return 0;
}
3.) Command Used : gcc
----------------
4.) Files used :
--------------
tm.h -> tm-sparc.h
md -> sparc.md
config.h -> xm-sunos4.h
aux-output.c -> output-sparc.c
5.) Machine(s) used :
-------------------
Sun 4 running Sun4.0
6.) Compiler diagnostics :
------------------------
gcc version 1.32
/usr/public/lib/gcc/gcc-cpp -v -undef -D__GNUC__ -Dsparc -Dsun -Dunix
-D__sparc__ -D__sun__ -D__unix__ short-bug.1.32.c /tmp/cca05135.cpp
GNU CPP version 1.32
/usr/public/lib/gcc/gcc-cc1 /tmp/cca05135.cpp -quiet -dumpbase
short-bug.1.32.c -finline-functions -version -o /tmp/cca05135.s
GNU C version 1.32 (sparc) compiled by GNU C version 1.31.
/usr/public/gcc: Program cc1 got fatal signal 6.