This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
target/2273: [Alpha/Tru64 UNIX V5.1] SEGV in long double code
- To: gcc-gnats at gcc dot gnu dot org
- Subject: target/2273: [Alpha/Tru64 UNIX V5.1] SEGV in long double code
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Date: Mon, 12 Mar 2001 22:36:03 +0100 (MET)
- Cc: Richard Henderson <rth at redhat dot com>
>Number: 2273
>Category: target
>Synopsis: SEGV in long double code
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Mon Mar 12 13:46:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Rainer Orth
>Release: 3.0 20010306 (prerelease)
>Organization:
Faculty of Technology, Bielefeld University
>Environment:
System: OSF1 bartok V5.1 732 alpha
Machine: alpha
host: alpha-dec-osf5.1
build: alpha-dec-osf5.1
target: alpha-dec-osf5.1
configured with: /vol/gnu/src/gcc/gcc-3.0-branch/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --enable-shared --disable-nls alpha-dec-osf5.1
>Description:
The following trivial program gets a SEGV when compiled with -O0:
int
main (void)
{
long double ld = 1.0;
}
This is most likely related to a similar problem with long double support
reported in PR c/2128.
>How-To-Repeat:
% ./xgcc -B./ -v -o ld ld.i
Reading specs from ./specs
Configured with: /vol/gnu/src/gcc/gcc-3.0-branch/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --enable-shared --disable-nls alpha-dec-osf5.1
gcc version 3.0 20010306 (prerelease)
./cc1 -fpreprocessed ld.i -quiet -dumpbase ld.i -version -o /tmp/ccoYL4cx.s
GNU CPP version 3.0 20010306 (prerelease) (cpplib)
GNU C version 3.0 20010306 (prerelease) (alpha-dec-osf5.1)
compiled by GNU C version 3.0 20010306 (prerelease).
as -g -oldas -nocpp -O0 -o /tmp/cckfpYBX.o /tmp/ccoYL4cx.s
./mips-tfile -v -o /tmp/cckfpYBX.o /tmp/ccoYL4cx.s
mips-tfile version 3.0 20010306 (prerelease)
./collect2 -G 8 -O1 -call_shared -o ld /usr/lib/cmplrs/cc/crt0.o -L. -L/usr/lib/cmplrs/cc /tmp/cckfpYBX.o -lgcc -lc -lgcc
% ./ld
Segmentation fault
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: