diff options
author | Richard Guenther <rguenther@suse.de> | 2008-09-09 13:52:59 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2008-09-09 13:52:59 +0000 |
commit | 3fb1916bb064eaff41a8470a5a4b155415517df1 (patch) | |
tree | d04a699b8293d16870d923b84ff96cb30760b831 /gcc/java/decl.c | |
parent | d4abedf1056826b1f7faf23ba97e325ced8e6886 (diff) | |
download | gcc-3fb1916bb064eaff41a8470a5a4b155415517df1.zip gcc-3fb1916bb064eaff41a8470a5a4b155415517df1.tar.gz gcc-3fb1916bb064eaff41a8470a5a4b155415517df1.tar.bz2 |
decl.c (build_result_decl): Remove no longer applicable promotion.
2008-09-09 Richard Guenther <rguenther@suse.de>
* decl.c (build_result_decl): Remove no longer applicable
promotion.
From-SVN: r140149
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r-- | gcc/java/decl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c index 1768109..bae0778 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -1694,10 +1694,6 @@ build_result_decl (tree fndecl) tree result = DECL_RESULT (fndecl); if (! result) { - /* To be compatible with C_PROMOTING_INTEGER_TYPE_P in cc1/cc1plus. */ - if (INTEGRAL_TYPE_P (restype) - && TYPE_PRECISION (restype) < TYPE_PRECISION (integer_type_node)) - restype = integer_type_node; result = build_decl (RESULT_DECL, NULL_TREE, restype); DECL_ARTIFICIAL (result) = 1; DECL_IGNORED_P (result) = 1; |