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/ggc-common.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/ggc-common.c') diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c index 57c193d5036..f818fa1c808 100644 --- a/gcc/ggc-common.c +++ b/gcc/ggc-common.c @@ -457,6 +457,10 @@ ggc_mark_trees () ggc_mark_tree (TREE_IMAGPART (t)); break; + case REAL_CST: + ggc_mark (TREE_REAL_CST_PTR (t)); + break; + case PARM_DECL: ggc_mark_rtx (DECL_INCOMING_RTL (t)); break; -- cgit v1.2.1