diff options
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 246cbd7..da63679 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -13602,7 +13602,7 @@ start_function (declspecs, declarator, attrs, flags) cplus_decl_attributes (decl1, NULL_TREE, attrs); /* Promote the value to int before returning it. */ - if (C_PROMOTING_INTEGER_TYPE_P (restype)) + if (c_promoting_integer_type_p (restype)) restype = type_promotes_to (restype); if (DECL_RESULT (decl1) == NULL_TREE) |