diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 814fa4040e8e..09ee078265b8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2002-09-12 Richard Henderson + + * Makefile.in (HOST_PRINT): Use print-rtl1.o + (print-rtl.o): Don't define GENERATOR_FILE. + (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o. + * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output + unless GENERATOR_FILE. + 2002-09-12 Stan Shebs * config/darwin.h (USER_LABEL_PREFIX): Define here... diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 52167f9864e5..d9503c622086 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -636,7 +636,7 @@ HOST_RTL = $(BUILD_PREFIX)rtl.o read-rtl.o $(BUILD_PREFIX)bitmap.o \ HOST_SUPPORT = gensupport.o insn-conditions.o HOST_EARLY_SUPPORT = gensupport.o dummy-conditions.o -HOST_PRINT = $(BUILD_PREFIX)print-rtl.o +HOST_PRINT = print-rtl1.o HOST_ERRORS = $(BUILD_PREFIX)errors.o HOST_VARRAY = $(BUILD_PREFIX)varray.o @@ -1394,8 +1394,6 @@ rtl.o : rtl.c $(GCONFIG_H) $(SYSTEM_H) $(RTL_H) real.h $(GGC_H) errors.h print-rtl.o : print-rtl.c $(GCONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) \ hard-reg-set.h $(BASIC_BLOCK_H) - $(CC) -c $(ALL_CFLAGS) -DGENERATOR_FILE $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION) - rtlanal.o : rtlanal.c $(CONFIG_H) $(SYSTEM_H) toplev.h $(RTL_H) \ hard-reg-set.h $(TM_P_H) insn-config.h $(RECOG_H) real.h flags.h @@ -2106,11 +2104,11 @@ $(BUILD_PREFIX_1)rtl.o: $(srcdir)/rtl.c $(HCONFIG_H) $(SYSTEM_H) $(RTL_H) \ sed -e 's/config[.]h/hconfig.h/' $(srcdir)/rtl.c > $(BUILD_PREFIX)rtl.c $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(BUILD_PREFIX)rtl.c $(OUTPUT_OPTION) -$(BUILD_PREFIX_1)print-rtl.o: $(srcdir)/print-rtl.c $(HCONFIG_H) \ +print-rtl1.o: $(srcdir)/print-rtl.c $(HCONFIG_H) \ $(RTL_H) $(TREE_H) hard-reg-set.h $(BASIC_BLOCK_H) - rm -f $(BUILD_PREFIX)print-rtl.c - sed -e 's/config[.]h/hconfig.h/' $(srcdir)/print-rtl.c > $(BUILD_PREFIX)print-rtl.c - $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(BUILD_PREFIX)print-rtl.c $(OUTPUT_OPTION) + rm -f print-rtl1.c + sed -e 's/config[.]h/hconfig.h/' $(srcdir)/print-rtl.c > print-rtl1.c + $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) print-rtl1.c $(OUTPUT_OPTION) $(BUILD_PREFIX_1)bitmap.o: $(srcdir)/bitmap.c $(HCONFIG_H) $(SYSTEM_H) \ $(RTL_H) flags.h $(BASIC_BLOCK_H) $(REGS_H) $(GGC_H) diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index eb59587ed69c..1364e9498ddb 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -513,10 +513,7 @@ print_rtx (in_rtx) fputc (']', outfile); break; -#if 0 - /* It would be nice to do this, but it would require real.o to - be linked into the MD-generator programs. Maybe we should - do that. -zw 2002-03-03 */ +#ifndef GENERATOR_FILE case CONST_DOUBLE: if (FLOAT_MODE_P (GET_MODE (in_rtx))) {