Bug#93278: gcc-2.95: gcc segfaults on kernel 2.4.3
Package: gcc-2.95
Version: 1:2.95.3-10
Severity: serious
$ /usr/lib/gcc-lib/i386-linux/2.95.3/cc1 -quiet -dumpbase reg_ld_str.c -mpreferred-stack-boundary=2 -march=i386 -O2 -Wall -Wstrict-prototypes -version -fomit-frame-pointer -fno-strict-aliasing -o reg_ld_str.o reg_ld_str.i
GNU C version 2.95.3 20010315 (Debian release) (i386-linux) compiled by GNU C version 2.95.3 20010315 (Debian release).
reg_ld_str.c: In function `FPU_store_single':
reg_ld_str.c:635: warning: `templ' might be used uninitialized in this function
Segmentation fault (core dumped)
$
reg_ld_str.i can be obtained from
http://gondor.apana.org.au/~herbert/bugs/reg_ld_str.i.bz2
gcc-3.0 compiles it successfully. The segfault goes away if the file is
passed through the preprocessor again.
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux gondolin 2.4.2-pentiumiii-smp #1 SMP Tue Mar 13 07:54:37 EST 2001 i686 unknown
Versions of the packages gcc-2.95 depends on:
ii binutils 2.11.90.0.1-1 The GNU assembler, linker and binary utiliti
ii cpp-2.95 2.95.3-6 The GNU C preprocessor.
ii gcc 2.95.3-5 The GNU C compiler.
ii libc6 2.2.2-4 GNU C Library: Shared libraries and Timezone
Reply to: