D> Rainer Orth - target/2273: [Alpha/Tru64 UNIX V5.1] SEGV in long double code
Index Nav: [Date Inde>] [Subject Index] [Author Index] [Thread Index] Message Nav: [Date Prev] [Date Next] [Thread&nbsev] [Thread Next] -X-MsgBody-->

target/2273: [Alpha/Tru64 UNIX V5.1] SEGV in long double code



>Number:         2273
>Category:       target
>Synopsis:       SEGV in long double code
>Conntial:   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:
>Lasdified:
>Originator:     Rainer Orth
>Release:        3.0 20010306 (prerelease)
>Organization:
Faculty of Technologielefeld University
>Environment:
System: OSF1 bartok V5.1 732 alpha

Machine: alpha
	
host: alpha-dec-osf5.1
build: alphc-osf5.1
target: alpha-dec-osf5.1
configured with: /vol/gnu/src/gcc/gcc-3.0-branch/configure --prefix=/vol/gcc --with-local-ix=/vol/gcc --enable-shared --disable-nls alpha-dec-osf5.1
>Description:
The following trivial program gets a SEGV when cled with -O0:

int
main (void)
{
  long double ld = 1.0;
}

This is most likely related to a similar problem with long doublpport
reported in PR c/2128.
>How-To-Repeat:
% ./xgcc -B./ -v -o ld ld.i
Reading specs from ./specs
Configured with: /vol/src/gcc/gcc-3.0-branch/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --enable-shared --disable-nls alpha-dec-osfgcc version 3.0 20010306 (prerelease)
 ./cc1 -fpreprocessed ld.i -quiet -dumpbase ld.i -version -o /tmp/ccoYL4cx.s
GNU CPP von 3.0 20010306 (prerelease) (cpplib)
GNU C version 3.0 20010306 (prerelease) (alpha-dec-osf5.1)
        compiled by GNU C von 3.0 20010306 (prerelease).
 as -g -oldas -nocpp -O0 -o /tmp/cckfpYBX.o /tmp/ccoYL4cx.s
 ./mips-tfile -v -o /tmp/cckfpYBX.mp/ccoYL4cx.s
mips-tfile version 3.0 20010306 (prerelease)
 ./collect2 -G 8 -O1 -call_shared -o ld /usr/lib/cmplrs/cc/crt0.o -L/usr/lib/cmplrs/cc /tmp/cckfpYBX.o -lgcc -lc -lgcc
% ./ld
Segmentation fault
>Fix:
>Release-Note:
>Audit-Trail:
Unformatted:


Index Nath> [Date Index] [Subject&nIndex] [Author Index] [Thread Index] <
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Threasp;Next]
dy>