* combine.c (make_extraction): Fix error in last change.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 10 Mar 2002 17:14:02 +0000 (17:14 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 10 Mar 2002 17:14:02 +0000 (17:14 +0000)
From-SVN: r50533

gcc/ChangeLog
gcc/combine.c

index 31bee573e657d699a87884ddbc093605a33521fd..e386b756618ab8a41e53e89b54e3704d81cbc5e1 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * combine.c (make_extraction): Fix error in last change.
+
 2002-03-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * c4x.c (c4x_fp_reglist): Const-ify.
index fb344ca10432e7ade02e5fac9a49fa6bf0f903be..7dc4b29addbbc9dafa70bd39f6d120cade6e6b98 100644 (file)
@@ -6033,7 +6033,7 @@ make_extraction (mode, inner, pos, pos_rtx, len,
        return new;
 
       if (GET_CODE (new) == CONST_INT)
-       return trunc_int_for_mode (INTVAL (new), mode);
+       return GEN_INT (trunc_int_for_mode (INTVAL (new), mode));
 
       /* If we know that no extraneous bits are set, and that the high
         bit is not set, convert the extraction to the cheaper of