Article View: gnu.gcc.bug
Article #1133core dump of gcc 2.2.2 on small example file
From: Gustaf Neumann
Date: Sat, 12 Sep 1992 21:44
Date: Sat, 12 Sep 1992 21:44
39 lines
1599 bytes
1599 bytes
The following bug happend while compiling xdisp.c of lemacs19.3 with gcc 2.2.2
using -O -g. Below is a short extract, which suffices to show the misbehaviour.
Greetings,
-gustaf
<dec4:neumann:280> gcc -v
Reading specs from /usr/local/gnu/lib/gcc-lib/mips-dec-ultrix4.2/2.2.2/specs
gcc version 2.2.2
------- input file: gccbug.c ------------------------------
typedef struct extent_fragment { int to; }*EXTENT_FRAGMENT;
EXTENT_FRAGMENT buffer_extfrag;
int to_pos;
void
update_cache (extfrag)
EXTENT_FRAGMENT extfrag;
{
to_pos = extfrag->to;
buffer_extfrag = extfrag;
}
------- end of input file -----------------------------------
<dec4:neumann:279> gcc -g -O -c gccbug.c
pid 27960 (cc1) was killed on an unaligned access, at pc 0x46e40c
gcc: Internal compiler error: program cc1 got fatal signal 10
DECstation 5000/200, Ultrix 4.2
# GCC was configured as follows:
./configure --target=mips-dec-ultrix4.2
--
Gustaf Neumann neumann@dec4.wu-wien.ac.at, neumann@awiwuw11.bitnet
Vienna University of Economics and Business Administration
Augasse 2-6, A-1090 Vienna, Austria
Tel: +43 (222) 31-336 x4533 Fax: 347-555
Technical Details
Message-ID:
<9209122101.AA28108@dec4.wu-wien.ac.at>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!dec4.wu-wien.ac.at!neumannShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!dec4.wu-wien.ac.at!neumann From: neumann@dec4.wu-wien.ac.at (Gustaf Neumann) Subject: core dump of gcc 2.2.2 on small example file Message-ID: <9209122101.AA28108@dec4.wu-wien.ac.at> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Sat, 12 Sep 1992 21:44:12 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 40