gcc/
        * gimple.c (gimple_call_copy_skip_args): Require a gimple_call.
        * gimple.h (gimple_call_copy_skip_args): Likewise.
---
 gcc/gimple.c | 2 +-
 gcc/gimple.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/gimple.c b/gcc/gimple.c
index 6de651d..75a9f5f 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -2044,7 +2044,7 @@ canonicalize_cond_expr_cond (tree t)
    the positions marked by the set ARGS_TO_SKIP.  */
 
 gimple_call
-gimple_call_copy_skip_args (gimple stmt, bitmap args_to_skip)
+gimple_call_copy_skip_args (gimple_call stmt, bitmap args_to_skip)
 {
   int i;
   int nargs = gimple_call_num_args (stmt);
diff --git a/gcc/gimple.h b/gcc/gimple.h
index 49385bd..cf21083 100644
--- a/gcc/gimple.h
+++ b/gcc/gimple.h
@@ -1696,7 +1696,7 @@ bool gimple_assign_rhs_could_trap_p (gimple);
 extern void dump_gimple_statistics (void);
 unsigned get_gimple_rhs_num_ops (enum tree_code);
 extern tree canonicalize_cond_expr_cond (tree);
-gimple_call gimple_call_copy_skip_args (gimple, bitmap);
+gimple_call gimple_call_copy_skip_args (gimple_call, bitmap);
 extern bool gimple_compare_field_offset (tree, tree);
 extern tree gimple_unsigned_type (tree);
 extern tree gimple_signed_type (tree);
-- 
1.8.5.3

Reply via email to