From ef258422a399244345f8d5d1d65956ffff5ee6f7 Mon Sep 17 00:00:00 2001 From: zack Date: Tue, 28 May 2002 17:33:14 +0000 Subject: * tree.h: Forward-declare struct realvaluetype. (struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not contain it. (TREE_REAL_CST_PTR): New accessor. (TREE_REAL_CST): Update. * real.h: Include machmode.h. (realvaluetype): Make it struct realvaluetype, not a typedef. (build_real): Prototype here. * tree.c: Include real.h. (build_real): Allocate the REAL_VALUE_TYPE as a separate object in GC memory, set TREE_REAL_CST_PTR to point to it. (build_real_from_int_cst): Use build_real. * ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a REAL_CST. * builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c, fold-const.c, print-tree.c, real.c, cp/mangle.c, cp/tree.c, f/bld.c, f/com.c, f/expr.c, f/target.c, java/decl.c, java/jcf-parse.c, java/parse.y, java/typeck.c: Include real.h. * Makefile.in, cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in: Update dependency lists. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53959 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/java/ChangeLog | 5 +++++ gcc/java/Make-lang.in | 6 +++--- gcc/java/decl.c | 1 + gcc/java/jcf-parse.c | 1 + gcc/java/parse.y | 1 + gcc/java/typeck.c | 1 + 6 files changed, 12 insertions(+), 3 deletions(-) (limited to 'gcc/java') diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 5d838f794ff..3b630d324c3 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2002-05-28 Zack Weinberg + + * decl.c, jcf-parse.c, parse.y, typeck.c: Include real.h. + * Make-lang.in: Update dependency lists. + 2002-05-18 Mark Mitchell * gjavah.c (throwable_p): Do not free the name of the class after diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in index 798e656bd2e..c8bce83cd67 100644 --- a/gcc/java/Make-lang.in +++ b/gcc/java/Make-lang.in @@ -273,7 +273,7 @@ java/constants.o: java/constants.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \ toplev.h $(SYSTEM_H) $(GGC_H) java/decl.o: java/decl.c $(CONFIG_H) $(JAVA_TREE_H) $(RTL_H) java/jcf.h \ toplev.h flags.h $(SYSTEM_H) function.h expr.h libfuncs.h except.h \ - java/java-except.h $(GGC_H) + java/java-except.h $(GGC_H) real.h java/except.o: java/except.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h real.h \ $(RTL_H) java/javaop.h java/java-opcodes.h except.h java/java-except.h \ toplev.h $(SYSTEM_H) function.h @@ -284,7 +284,7 @@ java/expr.o: java/expr.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h real.h \ java/jcf-depend.o: java/jcf-depend.c $(CONFIG_H) $(SYSTEM_H) java/jcf.h java/jcf-parse.o: java/jcf-parse.c $(CONFIG_H) $(JAVA_TREE_H) flags.h \ input.h java/java-except.h $(SYSTEM_H) toplev.h java/parse.h $(GGC_H) \ - debug.h + debug.h real.h java/jcf-write.o: java/jcf-write.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \ $(RTL_H) java/java-opcodes.h java/parse.h java/buffer.h $(SYSTEM_H) \ toplev.h $(GGC_H) @@ -300,7 +300,7 @@ java/mangle_name.o: java/mangle_name.c $(CONFIG_H) java/jcf.h $(JAVA_TREE_H) \ java/parse-scan.o: $(CONFIG_H) $(SYSTEM_H) toplev.h $(JAVA_LEX_C) java/parse.h \ java/lex.h java/typeck.o: java/typeck.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \ - java/convert.h toplev.h $(SYSTEM_H) $(GGC_H) + java/convert.h toplev.h $(SYSTEM_H) $(GGC_H) real.h java/verify.o: java/verify.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \ java/javaop.h java/java-opcodes.h java/java-except.h toplev.h $(SYSTEM_H) java/xref.o: java/xref.c java/xref.h $(CONFIG_H) $(JAVA_TREE_H) toplev.h \ diff --git a/gcc/java/decl.c b/gcc/java/decl.c index c3dd5ae67d4..7026dead71c 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -30,6 +30,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "system.h" #include "tree.h" #include "rtl.h" +#include "real.h" #include "toplev.h" #include "flags.h" #include "java-tree.h" diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index 7faa74cedf8..b88270df923 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.c @@ -28,6 +28,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "tree.h" +#include "real.h" #include "obstack.h" #include "flags.h" #include "java-except.h" diff --git a/gcc/java/parse.y b/gcc/java/parse.y index 9baa6eccbef..cccb8d7e6ac 100644 --- a/gcc/java/parse.y +++ b/gcc/java/parse.y @@ -51,6 +51,7 @@ definitions and other extensions. */ #include #include "tree.h" #include "rtl.h" +#include "real.h" #include "obstack.h" #include "toplev.h" #include "flags.h" diff --git a/gcc/java/typeck.c b/gcc/java/typeck.c index f4525436b82..d32bc055df6 100644 --- a/gcc/java/typeck.c +++ b/gcc/java/typeck.c @@ -28,6 +28,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "tree.h" +#include "real.h" #include "obstack.h" #include "flags.h" #include "java-tree.h" -- cgit v1.2.1