Can't compile toplev.c in CVS sources
Nick Clifton
nickc@cygnus.com
Tue Jan 27 09:59:00 GMT 1998
: Date: Tue, 27 Jan 1998 09:57:46 -0700
: From: Jeffrey A Law <law@cygnus.com>
:
: In message <Pine.A32.3.95.980127174458.21630A-100000@ltoi.iap.physik.tu-darms
: tadt.de>you write:
: > I can't compile the egcs-CVS sources on the i586-pc-linux-gnulibc1 target.
: > It seems that in toplev.c stack_reg_dump_file is undeclared.
: > I updated the sources about 5 minutes ago.
: Nick -- this looks like your stuff. I quick looksie shows that you missed
: the stack reg dump stuff as well as the dbr dump stuff.
:
: Can you please send me a patch to fix this problem?
Ooops - sorry about that, I forgot to check the build when STACK_REGS
is defined. He is the patch necessary to fix the problem:
Cheers
Nick
Tue Jan 27 09:55:44 1998 Nick Clifton <nickc@cygnus.com>
* toplev.c (rest_of_compilation): Replace references to
stack_reg_dump_file and dbr_sched_dump_file with references to
rtl_dump_file.
Index: toplev.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/toplev.c,v
retrieving revision 1.35
diff -p -r1.35 toplev.c
*** toplev.c 1998/01/26 22:59:53 1.35
--- toplev.c 1998/01/27 17:54:28
*************** rest_of_compilation (decl)
*** 3538,3544 ****
#ifdef DELAY_SLOTS
if (optimize > 0 && flag_delayed_branch)
{
! TIMEVAR (dbr_sched_time, dbr_schedule (insns, dbr_sched_dump_file));
if (dbr_sched_dump)
dump_rtl (".dbr", decl, print_rtl_with_bb, insns);
--- 3538,3544 ----
#ifdef DELAY_SLOTS
if (optimize > 0 && flag_delayed_branch)
{
! TIMEVAR (dbr_sched_time, dbr_schedule (insns, rtl_dump_file));
if (dbr_sched_dump)
dump_rtl (".dbr", decl, print_rtl_with_bb, insns);
*************** rest_of_compilation (decl)
*** 3552,3558 ****
});
#ifdef STACK_REGS
! TIMEVAR (stack_reg_time, reg_to_stack (insns, stack_reg_dump_file));
if (stack_reg_dump)
dump_rtl (".stack", decl, print_rtl_with_bb, insns);
--- 3552,3558 ----
});
#ifdef STACK_REGS
! TIMEVAR (stack_reg_time, reg_to_stack (insns, rtl_dump_file));
if (stack_reg_dump)
dump_rtl (".stack", decl, print_rtl_with_bb, insns);
More information about the Gcc-bugs
mailing list