OSDN Git Service

* combine.c (make_extraction): Fix error in last change.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Mar 2002 17:14:02 +0000 (17:14 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Mar 2002 17:14:02 +0000 (17:14 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50533 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/combine.c

index 31bee57..e386b75 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 fb344ca..7dc4b29 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