aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-04-29 13:11:18 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-04-29 13:11:18 +0000
commit9f616812d9cb9a651fb4636a3ec499c1b87995f3 (patch)
tree9944088576a00cf7b79e01597771ae2db283896d /gcc/tree-inline.c
parentb823cdfe763c9784a8e9f7b86b8e91614c29de6c (diff)
downloadgcc-9f616812d9cb9a651fb4636a3ec499c1b87995f3.zip
gcc-9f616812d9cb9a651fb4636a3ec499c1b87995f3.tar.gz
gcc-9f616812d9cb9a651fb4636a3ec499c1b87995f3.tar.bz2
tree-inline.c (remap_eh_region_tree_nr): Use integer_type_node for the remapped region number.
2011-04-29 Richard Guenther <rguenther@suse.de> * tree-inline.c (remap_eh_region_tree_nr): Use integer_type_node for the remapped region number. * predict.c (build_predict_expr): Use integer_type_node for the predict kind. * fold-const.c (fold_binary_loc): Use integer_type_node for the shift amount. Use a proper type for the PLUS_EXPR operand. From-SVN: r173156
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 440699f..5da4a12 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -1204,7 +1204,7 @@ remap_eh_region_tree_nr (tree old_t_nr, copy_body_data *id)
old_nr = tree_low_cst (old_t_nr, 0);
new_nr = remap_eh_region_nr (old_nr, id);
- return build_int_cst (NULL, new_nr);
+ return build_int_cst (integer_type_node, new_nr);
}
/* Helper for copy_bb. Remap statement STMT using the inlining