aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index d5bd504..79b6e25 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -3357,8 +3357,7 @@ expand_call (tree exp, rtx target, int ignore)
|| ((caller_mode != caller_promoted_mode
|| callee_mode != callee_promoted_mode)
&& (caller_unsignedp != callee_unsignedp
- || GET_MODE_BITSIZE (caller_mode)
- < GET_MODE_BITSIZE (callee_mode)))))
+ || partial_subreg_p (caller_mode, callee_mode)))))
{
try_tail_call = 0;
maybe_complain_about_tail_call (exp,