diff options
author | Roger Sayle <roger@eyesopen.com> | 2006-04-04 15:27:08 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2006-04-04 15:27:08 +0000 |
commit | 3967bc2db066d725dc3142af6646d30856e19619 (patch) | |
tree | fff3867a793ffd5ce279442916bddd089c5be1ad /gcc/tree.c | |
parent | b52be2c8a18aa0f7fe7082a5635d3906398a65b2 (diff) | |
download | gcc-3967bc2db066d725dc3142af6646d30856e19619.zip gcc-3967bc2db066d725dc3142af6646d30856e19619.tar.gz gcc-3967bc2db066d725dc3142af6646d30856e19619.tar.bz2 |
builtins.c (fold_builtin_sprintf): Use fold_convert instead of convert in the middle-end.
* builtins.c (fold_builtin_sprintf): Use fold_convert instead of
convert in the middle-end.
* expr.c (store_expr, store_constructor, get_inner_reference,
expand_expr_real_1, string_constant, try_casesi, try_tablejump):
Likewise.
* tree.c (build_range_type): Likewise.
From-SVN: r112670
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5021,8 +5021,8 @@ build_range_type (tree type, tree lowval, tree highval) if (type == NULL_TREE) type = sizetype; - TYPE_MIN_VALUE (itype) = convert (type, lowval); - TYPE_MAX_VALUE (itype) = highval ? convert (type, highval) : NULL; + TYPE_MIN_VALUE (itype) = fold_convert (type, lowval); + TYPE_MAX_VALUE (itype) = highval ? fold_convert (type, highval) : NULL; TYPE_PRECISION (itype) = TYPE_PRECISION (type); TYPE_MODE (itype) = TYPE_MODE (type); |