diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-29 13:11:18 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-29 13:11:18 +0000 |
commit | b3d480fb6aea674b3f3ed68dd2c87509b7d5e978 (patch) | |
tree | 9944088576a00cf7b79e01597771ae2db283896d /gcc/predict.c | |
parent | d534cab00feb1d9fff39265c960d143d31ee0635 (diff) | |
download | gcc-b3d480fb6aea674b3f3ed68dd2c87509b7d5e978.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173156 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/predict.c')
-rw-r--r-- | gcc/predict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/predict.c b/gcc/predict.c index db9c5c5a8fe..e18f9379c3f 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -2291,7 +2291,7 @@ tree build_predict_expr (enum br_predictor predictor, enum prediction taken) { tree t = build1 (PREDICT_EXPR, void_type_node, - build_int_cst (NULL, predictor)); + build_int_cst (integer_type_node, predictor)); SET_PREDICT_EXPR_OUTCOME (t, taken); return t; } |