aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/stor-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/stor-layout.c')
-rw-r--r--gcc-4.9/gcc/stor-layout.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc-4.9/gcc/stor-layout.c b/gcc-4.9/gcc/stor-layout.c
index 084d195cd..9dc10d454 100644
--- a/gcc-4.9/gcc/stor-layout.c
+++ b/gcc-4.9/gcc/stor-layout.c
@@ -211,12 +211,7 @@ self_referential_size (tree size)
param_type = TREE_TYPE (ref);
param_decl
= build_decl (input_location, PARM_DECL, param_name, param_type);
- if (targetm.calls.promote_prototypes (NULL_TREE)
- && INTEGRAL_TYPE_P (param_type)
- && TYPE_PRECISION (param_type) < TYPE_PRECISION (integer_type_node))
- DECL_ARG_TYPE (param_decl) = integer_type_node;
- else
- DECL_ARG_TYPE (param_decl) = param_type;
+ DECL_ARG_TYPE (param_decl) = param_type;
DECL_ARTIFICIAL (param_decl) = 1;
TREE_READONLY (param_decl) = 1;