Article View: gnu.gcc.bug
Article #995bug
From: Peter Druschel
Date: Tue, 25 Aug 1992 23:55
Date: Tue, 25 Aug 1992 23:55
39 lines
1685 bytes
1685 bytes
Machine: HP9000/720
OS: HP-UX
% gcc -v -O2 -funroll-loops bug.c
Reading specs from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux/2.2.2/specs
gcc version 2.2.2
/usr/local/lib/gcc-lib/hppa1.1-hp-hpux/2.2.2/cpp -lang-c -v -undef -D__GNUC__=2 -Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -D_HPUX_SOURCE -D__hppa__ -D__hp9000s800__ -D__hp9000s800 -D__hp9k8__ -D__PWB__ -D__hpux__ -D__unix__ -D___HPUX_SOURCE__ -D__hppa -D__hp9000s800 -D__hp9000s800 -D__hp9k8 -D__PWB -D__hpux -D__unix -D___HPUX_SOURCE -D__OPTIMIZE__ bug.c /usr/tmp/cca06246.i
GNU CPP version 2.2.2 (hp9000s800)
/usr/local/lib/gcc-lib/hppa1.1-hp-hpux/2.2.2/cc1 /usr/tmp/cca06246.i -quiet -dumpbase bug.c -O2 -version -funroll-loops -o /usr/tmp/cca06246.s
GNU C version 2.2.2 (hp9000s800) compiled by CC.
bug.c: In function `main':
bug.c:18: internal error--unrecognizable insn:
(insn 135 127 143 (set (mem/s:DF (plus:SI (reg:SI 138)
(const_int 16)))
(reg:DF 127)) -1 (nil)
(nil))
gcc: Internal compiler error: program cc1 got fatal signal 6
%
%
% cat bug.c
/*
* bug.c
*/
#define n 1000
double a[n];
main(argc, argv)
int argc;
char *argv[];
{
int j;
for (j = 0; j < n; j++) {
a[j] = 1;
}
}
%
Technical Details
Message-ID:
<199208252355.AA13323@sycamore.cs.arizona.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cs.arizona.edu!druschelShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cs.arizona.edu!druschel From: druschel@cs.arizona.edu (Peter Druschel) Newsgroups: gnu.gcc.bug Subject: bug Message-ID: <199208252355.AA13323@sycamore.cs.arizona.edu> Date: 25 Aug 92 23:55:45 GMT Sender: gnulists@ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 39 Approved: bug-gcc@prep.ai.mit.edu