From 4f242db3993af702ef2cedbf500ee1cee46af2c7 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Sat, 25 Apr 1998 16:17:08 +0000 Subject: [PATCH] * fold-const.c (fold_convert): Fix typo. From-SVN: r19409 --- gcc/ChangeLog | 4 ++++ gcc/fold-const.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f98100817f8..f10752db193 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Sat Apr 25 17:17:15 1998 Jeffrey A Law (law@cygnus.com) + + * fold-const.c (fold_convert): Fix typo. + Sat Apr 25 17:55:54 1998 John Carr * alias.c (alias_invariant): New variable. diff --git a/gcc/fold-const.c b/gcc/fold-const.c index afdd26b679d..05fa7fead4e 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -1521,7 +1521,7 @@ fold_convert (t, arg1) TREE_OVERFLOW (t) = ((force_fit_type (t, (TREE_INT_CST_HIGH (arg1) < 0 - & (TREE_UNSIGNED (type) + && (TREE_UNSIGNED (type) < TREE_UNSIGNED (TREE_TYPE (arg1))))) && ! POINTER_TYPE_P (TREE_TYPE (arg1))) || TREE_OVERFLOW (arg1)); -- 2.30.2