From edeb387130d1abc819b23390bc95595c65cea879 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 12 Sep 2003 22:26:54 +0000 Subject: [PATCH] re PR bootstrap/12264 (Mainline faield to bootstrap) PR bootstrap/12264 * tree-inline.c (inline_forbidden_p_1): Cast the 3rd arg to tree. From-SVN: r71343 --- gcc/ChangeLog | 5 +++++ gcc/tree-inline.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 930abaa53ac..29d7b164ec7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-09-12 H.J. Lu + + PR bootstrap/12264 + * tree-inline.c (inline_forbidden_p_1): Cast the 3rd arg to tree. + 2003-09-12 Bob Wilson * config/xtensa/elf.h (ASM_SPEC): Remove no-density option. Reformat. diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 43e98483089..bd027eb3d9d 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -880,9 +880,10 @@ static const char *inline_forbidden_reason; static tree inline_forbidden_p_1 (tree *nodep, int *walk_subtrees ATTRIBUTE_UNUSED, - void *fn) + void *fnp) { tree node = *nodep; + tree fn = (tree) fnp; tree t; switch (TREE_CODE (node)) -- 2.30.2