aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-01-29 16:27:01 -0800
committerRichard Henderson <rth@gcc.gnu.org>2005-01-29 16:27:01 -0800
commiteb2ab5113844abdf4d1de1f3cbee4ce3a7690efb (patch)
treea72b804975eddfef826f0b14160dadb0b373ed7b /gcc
parentc2542a824e5287bb60de027aa52d8c913b16dabe (diff)
downloadgcc-eb2ab5113844abdf4d1de1f3cbee4ce3a7690efb.zip
gcc-eb2ab5113844abdf4d1de1f3cbee4ce3a7690efb.tar.gz
gcc-eb2ab5113844abdf4d1de1f3cbee4ce3a7690efb.tar.bz2
combine.c (make_field_assignment): Fix argument order to gen_int_mode.
* combine.c (make_field_assignment): Fix argument order to gen_int_mode. From-SVN: r94420
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/combine.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bfb9128..fa4fd37 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-29 Richard Henderson <rth@redhat.com>
+
+ * combine.c (make_field_assignment): Fix argument order
+ to gen_int_mode.
+
2005-01-29 Richard Guenther <richard.guenther@uni-tuebingen.de>
PR tree-optimization/15791
diff --git a/gcc/combine.c b/gcc/combine.c
index 7fe0a5f..6badd28 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -7871,7 +7871,7 @@ make_field_assignment (rtx x)
{
mode = GET_MODE (src);
src = gen_rtx_AND (mode, XEXP (src, 0),
- gen_int_mode (mode, and_mask & ze_mask));
+ gen_int_mode (and_mask & ze_mask, mode));
return gen_rtx_SET (VOIDmode, dest, src);
}
}