public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Update in regclass.c breaks bootstrap.
@ 2000-05-28  4:27 Toon Moene
  2000-05-28 13:40 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Toon Moene @ 2000-05-28  4:27 UTC (permalink / raw)
  To: gcc

L.S.,

I'm sorry I have to report that someone on the Left Side of the Atlantic
went to bed without performing the required bootstrap:

gcc -c  -DIN_GCC    -g  -W -Wall -Wtraditional -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long 
-DHAVE_CONFIG_H    -I. -I../../egcs/gcc -I../../egcs/gcc/config
-I../../egcs/gcc/../include ../../egcs/gcc/regclass.c
../../egcs/gcc/regclass.c: In function `init_reg_sets_1':
../../egcs/gcc/regclass.c:435: warning: comparison between signed and
unsigned
../../egcs/gcc/regclass.c:440: warning: comparison between signed and
unsigned
../../egcs/gcc/regclass.c:445: warning: comparison between signed and
unsigned
../../egcs/gcc/regclass.c: In function `record_operand_costs':
../../egcs/gcc/regclass.c:864: `reg_changes_size' undeclared (first use
in this function)
../../egcs/gcc/regclass.c:864: (Each undeclared identifier is reported
only once
../../egcs/gcc/regclass.c:864: for each function it appears in.)
make[2]: *** [regclass.o] Error 1
make[2]: Leaving directory `/home/toon/compilers/snapshots/obj/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/home/toon/compilers/snapshots/obj/gcc'
make: *** [bootstrap] Error 2

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Update in regclass.c breaks bootstrap.
  2000-05-28  4:27 Update in regclass.c breaks bootstrap Toon Moene
@ 2000-05-28 13:40 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2000-05-28 13:40 UTC (permalink / raw)
  To: Toon Moene; +Cc: gcc, gcc-patches

On Sun, May 28, 2000 at 12:44:28PM +0200, Toon Moene wrote:
> I'm sorry I have to report that someone on the Left Side of the Atlantic
> went to bed without performing the required bootstrap:

Not exactly.  Geoff bootstrapped on two of the systems
in which `reg_changes_size' does get defined.  ;-)


r~


        * regclass.c (record_operand_costs): Protect reg_changes_size
        with CLASS_CANNOT_CHANGE_SIZE.

Index: regclass.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/regclass.c,v
retrieving revision 1.99
diff -c -p -d -r1.99 regclass.c
*** regclass.c	2000/05/28 05:51:16	1.99
--- regclass.c	2000/05/28 20:36:37
*************** record_operand_costs (insn, op_costs, re
*** 859,867 ****
--- 859,869 ----
        if (GET_CODE (recog_data.operand[i]) == SUBREG)
  	{
  	  rtx inner = SUBREG_REG (recog_data.operand[i]);
+ #ifdef CLASS_CANNOT_CHANGE_SIZE
  	  if (GET_MODE_SIZE (modes[i]) != GET_MODE_SIZE (GET_MODE (inner))
  	      && GET_CODE (inner) == REG)
  	    SET_REGNO_REG_SET (reg_changes_size, REGNO (inner));
+ #endif
  	  recog_data.operand[i] = inner;
  	}
  

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-05-28 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-28  4:27 Update in regclass.c breaks bootstrap Toon Moene
2000-05-28 13:40 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).