summaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-01-03 00:13:33 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-01-03 00:13:33 +0000
commit55560b9da47bf6fef84d3b217e9019b0a07b1821 (patch)
tree35113f5e50396efc78ca6e3eba4f57d8d9cd7c0f /gcc/fold-const.c
parentf5826791be275f1e34269e52a93d4386216f9556 (diff)
downloadgcc-55560b9da47bf6fef84d3b217e9019b0a07b1821.tar.gz
* fold-const.c (fold_convert): Fix typo.
From-SVN: r38640
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 a0a76b2d491..b02fdaa33e2 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -2020,7 +2020,7 @@ fold_convert (t, arg1)
/* If we are trying to make a sizetype for a small integer, use
size_int to pick up cached types to reduce duplicate nodes. */
- if (TREE_CODE (type) == INTEGER_CST && TYPE_IS_SIZETYPE (type)
+ if (TREE_CODE (type) == INTEGER_TYPE && TYPE_IS_SIZETYPE (type)
&& compare_tree_int (arg1, 10000) < 0)
return size_int_type_wide (TREE_INT_CST_LOW (arg1), type);