summaryrefslogtreecommitdiff
path: root/gcc/expmed.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/expmed.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/expmed.c')
-rw-r--r--gcc/expmed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c
index c1fdc31c97b..b3709b02e5a 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -5050,14 +5050,14 @@ make_tree (tree type, rtx x)
make_tree (type, XEXP (x, 1))));
case ASHIFTRT:
- t = lang_hooks.types.signed_type (type);
+ t = signed_type_for (type);
return fold_convert (type, build2 (RSHIFT_EXPR, t,
make_tree (t, XEXP (x, 0)),
make_tree (type, XEXP (x, 1))));
case DIV:
if (TREE_CODE (type) != REAL_TYPE)
- t = lang_hooks.types.signed_type (type);
+ t = signed_type_for (type);
else
t = type;