diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-20 03:59:19 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-20 03:59:19 +0000 |
commit | 6b81d8692005ab7557950309c041a11cf7dbee43 (patch) | |
tree | 1755cd9740d32788aee106ee033e8d4ac736f98f /gcc/ifcvt.c | |
parent | efb2ee176a8aa8c8bb693322fbb0becde5c00341 (diff) | |
download | gcc-6b81d8692005ab7557950309c041a11cf7dbee43.tar.gz |
* ifcvt.c (noce_try_store_flag_constants): Correct order
of parameters to trunc_int_for_mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44181 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r-- | gcc/ifcvt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 92bb6b53bfd..bdb44c41274 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -651,7 +651,7 @@ noce_try_store_flag_constants (if_info) mode = GET_MODE (if_info->x); ifalse = INTVAL (if_info->a); itrue = INTVAL (if_info->b); - diff = trunc_int_for_mode (mode, itrue - ifalse); + diff = trunc_int_for_mode (itrue - ifalse, mode); can_reverse = (reversed_comparison_code (if_info->cond, if_info->jump) != UNKNOWN); @@ -682,7 +682,7 @@ noce_try_store_flag_constants (if_info) if (reversep) { tmp = itrue; itrue = ifalse; ifalse = tmp; - diff = trunc_int_for_mode (mode, -diff); + diff = trunc_int_for_mode (-diff, mode); } start_sequence (); |