diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-29 12:00:55 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-29 12:00:55 +0000 |
commit | bad12c62eab5d1354e2fcfe01d0bb175dae81a69 (patch) | |
tree | 52dcec23eb32763b819accc2f89a34aabd9cc25c /gcc/tree-chrec.c | |
parent | cb755135830b10ecb9f1a15e3ba626f06caf803d (diff) | |
download | gcc-bad12c62eab5d1354e2fcfe01d0bb175dae81a69.tar.gz |
2011-04-29 Richard Guenther <rguenther@suse.de>
* tree-nested.c (get_trampoline_type): Use size_int.
(get_nl_goto_field): Likewise.
* tree-eh.c (lower_try_finally_switch): Use integer_type_node
for all indexes.
(lower_eh_constructs_2): Likewise.
(lower_resx): Likewise.
(lower_eh_dispatch): Likewise.
* tree-mudflap.c (mf_build_string): Use size_int.
(mudflap_register_call): Use integer_type_node for the flag.
(mudflap_enqueue_constant): Use size_int.
* tree-chrec.c (reset_evolution_in_loop): Copy CHREC_VAR
instead of rebuilding it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173153 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-chrec.c')
-rw-r--r-- | gcc/tree-chrec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-chrec.c b/gcc/tree-chrec.c index 1e49c1d5b21..6d1dd22bbeb 100644 --- a/gcc/tree-chrec.c +++ b/gcc/tree-chrec.c @@ -843,8 +843,7 @@ reset_evolution_in_loop (unsigned loop_num, tree right = reset_evolution_in_loop (loop_num, CHREC_RIGHT (chrec), new_evol); return build3 (POLYNOMIAL_CHREC, TREE_TYPE (left), - build_int_cst (NULL_TREE, CHREC_VARIABLE (chrec)), - left, right); + CHREC_VAR (chrec), left, right); } while (TREE_CODE (chrec) == POLYNOMIAL_CHREC |