Article View: gnu.gcc.bug
Article #2109following program gets fatal signal on sparc
From: "Douglas C. Schmidt"
Date: Sun, 01 Jan 1989 04:04
Date: Sun, 01 Jan 1989 04:04
57 lines
1668 bytes
1668 bytes
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.
Technical Details
Message-ID:
<8812312012.aa11965@PARIS.ICS.UCI.EDU>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!PARIS.ICS.UCI.EDU!schmidt%crimee.ics.uci.eduShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!PARIS.ICS.UCI.EDU!schmidt%crimee.ics.uci.edu
From: schmidt%crimee.ics.uci.edu@PARIS.ICS.UCI.EDU ("Douglas C. Schmidt")
Newsgroups: gnu.gcc.bug
Subject: following program gets fatal signal on sparc
Message-ID: <8812312012.aa11965@PARIS.ICS.UCI.EDU>
Date: 1 Jan 89 04:04:47 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 57