From a32db60568aefbd89196ebe5387317508a065554 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 18 Apr 2002 17:17:47 +0200 Subject: [PATCH] fold-const.c (fold): Use (*lang_hooks.types.unsigned_type) instead of unsigned_type. * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type) instead of unsigned_type. From-SVN: r52474 --- gcc/ChangeLog | 5 +++++ gcc/fold-const.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type) + instead of unsigned_type. + Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka * 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); } -- 2.30.2