summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-18 15:17:47 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-18 15:17:47 +0000
commit6a7078b017724d5dc6166b45b8bc5c7a8b245181 (patch)
tree245bd3692e12004eb13aa26f4933e09309afe988 /gcc
parentb48f6143f5695813db1690aeff4142929b19d34c (diff)
downloadppe42-gcc-6a7078b017724d5dc6166b45b8bc5c7a8b245181.tar.gz
ppe42-gcc-6a7078b017724d5dc6166b45b8bc5c7a8b245181.zip
* fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
instead of unsigned_type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52474 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/fold-const.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c71ed9a8613..4363a6812fa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 25214139252..a1c33f956bd 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -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);
}
OpenPOWER on IntegriCloud