diff options
Diffstat (limited to 'gcc/targhooks.c')
-rw-r--r-- | gcc/targhooks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/targhooks.c b/gcc/targhooks.c index 58a9aee..7535bc1 100644 --- a/gcc/targhooks.c +++ b/gcc/targhooks.c @@ -119,6 +119,8 @@ default_promote_function_mode (const_tree type ATTRIBUTE_UNUSED, const_tree funtype ATTRIBUTE_UNUSED, int for_return ATTRIBUTE_UNUSED) { + if (for_return == 2) + return promote_mode (type, mode, punsignedp); return mode; } |