This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
egcs-1998-04-18: Typos in gcc/haifa-schedule.c, bad default specs
- To: egcs at cygnus dot com
- Subject: egcs-1998-04-18: Typos in gcc/haifa-schedule.c, bad default specs
- From: Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>
- Date: Sun, 19 Apr 1998 14:54:50 -0400
I'm using egcs-980321, binutils-2.9.0.3, glibc-2.0.92 (dated 980412) on i586
{,LIB}{C,CXX,F77}FLAGS = -O2 -fomit-frame-pointer -march=pentium
--enable-{shared,threads,haifa} i386-redhat-linux
The following have to be fixed to get gcc/haifa-sched.c to compile:
--- haifa-sched.c.dist Sun Apr 19 13:12:00 1998
+++ haifa-sched.c Sun Apr 19 13:53:11 1998
@@ -761,7 +761,7 @@
static void find_pre_sched_live PROTO ((int));
static void find_post_sched_live PROTO ((int));
static void update_reg_usage PROTO ((void));
-static int queue_to_ready ((rtx [], int))
+static int queue_to_ready PROTO ((rtx [], int));
void debug_ready_list PROTO ((rtx[], int));
static void init_target_units PROTO (());
After fixing this, the resulting compiler crashes when trying to find out
if underscores are needed. Sure enough, the resulting cpp command line is
broken:
./xgcc -v -B./ -S tmp-dum.c
Reading specs from ./specs
gcc version egcs-2.91.24 19980418 (gcc2 ss-980401 experimental)
./cpp -lang-c -v -isystem ./include -undef -D__GNUC__=2
-D__GNUC_MINOR__=91 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__
-D__linux__ -D__unix -D__linux -Asystem(posix) -Di386 -Asystem(unix)
-Acpu(i386) -Amachine(i386) __ -D__i386__ -Asystem(unix) -Acpu(i386)
-Amachine(i386) __ tmp-dum.c /tmp/cca06809.i
GNU CPP version egcs-2.91.24 19980418 (gcc2 ss-980401 experimental) (i386
Linux/ELF)
cpp: Usage: ./cpp [switches] input output
I'm continuing the bootstrap after copying the specs file from 980321 over
(Yes, I know this is almost guaranteed to be wrong, but I just couldn't
find out where this stupid "__" comes from). BTW, the specs file made during
the building of a stage is equally broken, so I can't finish a normal
boostrap, and any checks will be suspect too :-(
For the time being, I'll consider egcs-1998-04-18 highly toxic.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile +56 32 672616