aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2003-09-12 22:26:54 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2003-09-12 22:26:54 +0000
commitedeb387130d1abc819b23390bc95595c65cea879 (patch)
tree0aece5509a639647c47a74c90800781b50f0c295 /gcc
parent6cedbe443eb3d1fa3d6bd185cd3f0f94a7641f0e (diff)
downloadgcc-edeb387130d1abc819b23390bc95595c65cea879.zip
gcc-edeb387130d1abc819b23390bc95595c65cea879.tar.gz
gcc-edeb387130d1abc819b23390bc95595c65cea879.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-inline.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 930abaa..29d7b16 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-12 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR bootstrap/12264
+ * tree-inline.c (inline_forbidden_p_1): Cast the 3rd arg to tree.
+
2003-09-12 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/elf.h (ASM_SPEC): Remove no-density option. Reformat.
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 43e9848..bd027eb 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))