summaryrefslogtreecommitdiff
path: root/gcc/convert.c
diff options
context:
space:
mode:
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-11 15:40:55 +0000
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-11 15:40:55 +0000
commit11773141a9a1b8b945255eb8dbcde0d9e25c4e6f (patch)
tree09e966f66888827cc56e0e29aacd33c5d45e7819 /gcc/convert.c
parent2bff6d8b45f3a32ac3ecd70e9f3898f8feba88b5 (diff)
downloadgcc-11773141a9a1b8b945255eb8dbcde0d9e25c4e6f.tar.gz
really remove signed(_or_unsigned)?_type langhooks
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/convert.c')
-rw-r--r--gcc/convert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/convert.c b/gcc/convert.c
index 1cfb05cfd3e..0c7c1086a9b 100644
--- a/gcc/convert.c
+++ b/gcc/convert.c
@@ -658,7 +658,7 @@ convert_to_integer (tree type, tree expr)
|| ex_form == MINUS_EXPR)))
typex = unsigned_type_for (typex);
else
- typex = lang_hooks.types.signed_type (typex);
+ typex = signed_type_for (typex);
return convert (type,
fold_build2 (ex_form, typex,
convert (typex, arg0),
@@ -680,7 +680,7 @@ convert_to_integer (tree type, tree expr)
if (TYPE_UNSIGNED (TREE_TYPE (expr)))
typex = unsigned_type_for (type);
else
- typex = lang_hooks.types.signed_type (type);
+ typex = signed_type_for (type);
return convert (type,
fold_build1 (ex_form, typex,
convert (typex,