This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
ra-colorize.c:1068: `inv_reg_alloc_order' undeclared
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 24 Jul 2002 15:16:14 -0400 (EDT)
- Subject: ra-colorize.c:1068: `inv_reg_alloc_order' undeclared
The following error occurs building a vax-ultrix cross:
gcc -c -DIN_GCC -DCROSS_COMPILE -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/ra-colorize.c -o ra-colorize.o
../../gcc/gcc/ra-colorize.c: In function `get_free_reg':
../../gcc/gcc/ra-colorize.c:1068: `inv_reg_alloc_order' undeclared (first use in this function)
../../gcc/gcc/ra-colorize.c:1068: (Each undeclared identifier is reported only once
The error occurs because inv_reg_alloc_order is only defined when
REG_ALLOC_ORDER is defined. None of the vax ports define this macro.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)