OSDN Git Service

PR bootstrap/12264
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Sep 2003 22:26:54 +0000 (22:26 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Sep 2003 22:26:54 +0000 (22:26 +0000)
        * tree-inline.c (inline_forbidden_p_1): Cast the 3rd arg to tree.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71343 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-inline.c

index 930abaa..29d7b16 100644 (file)
@@ -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.
index 43e9848..bd027eb 100644 (file)
@@ -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))