OSDN Git Service

* fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Apr 2002 15:17:47 +0000 (15:17 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Apr 2002 15:17:47 +0000 (15:17 +0000)
instead of unsigned_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52474 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/fold-const.c

index c71ed9a..4363a68 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-18  Jakub Jelinek  <jakub@redhat.com>
+
+       * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
+       instead of unsigned_type.
+
 Thu Apr 18 15:49:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
 
        * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
index 2521413..a1c33f9 100644 (file)
@@ -4726,7 +4726,7 @@ fold (expr)
                  && (LOAD_EXTEND_OP (TYPE_MODE (TREE_TYPE (and0)))
                      == ZERO_EXTEND))
                {
-                 tree uns = unsigned_type (TREE_TYPE (and0));
+                 tree uns = (*lang_hooks.types.unsigned_type) (TREE_TYPE (and0));
                  and0 = convert (uns, and0);
                  and1 = convert (uns, and1);
                }