This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/7143: real.c: In function `make_nan': `TFbignan' undeclared
- From: dave at hiauly1 dot hia dot nrc dot ca
- To: gcc-gnats at gcc dot gnu dot org
- Cc: neil at daikokuya dot co dot uk
- Date: 27 Jun 2002 18:32:27 -0000
- Subject: bootstrap/7143: real.c: In function `make_nan': `TFbignan' undeclared
- Reply-to: dave at hiauly1 dot hia dot nrc dot ca
>Number: 7143
>Category: bootstrap
>Synopsis: real.c: In function `make_nan': `TFbignan' undeclared
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 27 11:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Dave Anglin
>Release: gcc 3.2 20020623 (experimental)
>Organization:
>Environment:
vax-dec-ultrix4.3
>Description:
The following error occurs in stage2 of the bootstrap:
stage1/xgcc -Bstage1/ -B/usr/local/vax-dec-ultrix4.3/bin/ -c -DIN_GCC -g -O2
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional
-pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc
/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include ../../gcc/gcc/real.c -o
real.o
../../gcc/gcc/real.c: In function `make_nan':
../../gcc/gcc/real.c:6297: error: `TFbignan' undeclared (first use in this funct
ion)
../../gcc/gcc/real.c:6297: error: (Each undeclared identifier is reported only o
nce
../../gcc/gcc/real.c:6297: error: for each function it appears in.)
../../gcc/gcc/real.c:6299: error: `TFlittlenan' undeclared (first use in this fu
nction)
../../gcc/gcc/real.c:6307: error: `XFbignan' undeclared (first use in this funct
ion)
../../gcc/gcc/real.c:6309: error: `XFlittlenan' undeclared (first use in this fu
nction)
../../gcc/gcc/real.c:6315: error: `DFbignan' undeclared (first use in this funct
ion)
../../gcc/gcc/real.c:6317: error: `DFlittlenan' undeclared (first use in this fu
nction)
../../gcc/gcc/real.c:6324: error: `SFbignan' undeclared (first use in this funct
ion)
../../gcc/gcc/real.c:6326: error: `SFlittlenan' undeclared (first use in this fu
nction)
../../gcc/gcc/real.c: At top level:
../../gcc/gcc/real.c:1886: warning: `eiisinf' defined but not used
The puzzle is why this code is being compiled. We have:
#define VAX_FLOAT_FORMAT 2
#define TARGET_FLOAT_FORMAT VAX_FLOAT_FORMAT
#define DEC 1
The code in question is inside
#if !defined(DEC) && !defined(IBM) && !defined(C4X)
...
#endif
It sure looks to me as if DEC is defined. In stage1,
real.c compiles ok.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: