aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2002-04-18 17:17:47 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2002-04-18 17:17:47 +0200
commita32db60568aefbd89196ebe5387317508a065554 (patch)
tree245bd3692e12004eb13aa26f4933e09309afe988 /gcc/fold-const.c
parent5a28d8ccd89102398b52c5ad66caf81b1618704d (diff)
downloadgcc-a32db60568aefbd89196ebe5387317508a065554.zip
gcc-a32db60568aefbd89196ebe5387317508a065554.tar.gz
gcc-a32db60568aefbd89196ebe5387317508a065554.tar.bz2
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
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 2521413..a1c33f9 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);
}