aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/decl.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2002-05-28 17:33:14 +0000
committerZack Weinberg <zack@gcc.gnu.org>2002-05-28 17:33:14 +0000
commit11ad4784f3f1acda9ddd4032be6f91cbfc70aad2 (patch)
tree005b9830ad50445b6392fd80c98e1ea6584a5deb /gcc/java/decl.c
parentbf77398cef20e7f1d079bb8b76d383c4ca163165 (diff)
downloadgcc-11ad4784f3f1acda9ddd4032be6f91cbfc70aad2.zip
gcc-11ad4784f3f1acda9ddd4032be6f91cbfc70aad2.tar.gz
gcc-11ad4784f3f1acda9ddd4032be6f91cbfc70aad2.tar.bz2
tree.h: Forward-declare struct realvaluetype.
* 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. From-SVN: r53959
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r--gcc/java/decl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index c3dd5ae..7026dea 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"