Makefile.in (HOST_PRINT): Use print-rtl1.o
authorRichard Henderson <rth@redhat.com>
Fri, 13 Sep 2002 06:28:21 +0000 (23:28 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 13 Sep 2002 06:28:21 +0000 (23:28 -0700)
        * 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.

From-SVN: r57092

gcc/ChangeLog
gcc/Makefile.in
gcc/print-rtl.c

index 814fa4040e8e3225e0ab1ddc9f3f0b5a36470a7e..09ee078265b8133f3501b9669c77280c3631c6ec 100644 (file)
@@ -1,3 +1,11 @@
+2002-09-12  Richard Henderson  <rth@redhat.com>
+
+       * 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  <shebs@apple.com>
 
        * config/darwin.h (USER_LABEL_PREFIX): Define here...
index 52167f9864e56cb5b7a25677b359679b96f1bae8..d9503c6220861ff49a1063151ca990301ff7e17f 100644 (file)
@@ -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)
index eb59587ed69c511879dd71a3471051ee7e30b778..1364e9498ddb58f4731145a09991d074393d151b 100644 (file)
@@ -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)))
        {