diff options
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index bed426b..b49bfc8 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -10872,9 +10872,6 @@ start_preparsed_function (tree decl1, tree attrs, int flags) /* Build the return declaration for the function. */ restype = TREE_TYPE (fntype); - /* Promote the value to int before returning it. */ - if (c_promoting_integer_type_p (restype)) - restype = type_promotes_to (restype); if (DECL_RESULT (decl1) == NULL_TREE) { tree resdecl; |