diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2009-04-17 12:21:31 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2009-04-17 12:21:31 +0000 |
commit | fabf2749fd98b5cbc7d3112bc74a4c7c5d24351d (patch) | |
tree | 7ba4a376a3b5e32dcc105f8fe342d37078f0f316 | |
parent | b20de9b936d6842fdc259e2c79e68ce0b76ea36c (diff) | |
download | gcc-fabf2749fd98b5cbc7d3112bc74a4c7c5d24351d.zip gcc-fabf2749fd98b5cbc7d3112bc74a4c7c5d24351d.tar.gz gcc-fabf2749fd98b5cbc7d3112bc74a4c7c5d24351d.tar.bz2 |
sh.h (FUNCTION_VALUE): Fix call to sh_promote_prototypes.
2009-04-17 Paolo Bonzini <bonzini@gnu.org>
* config/sh/sh.h (FUNCTION_VALUE): Fix call to sh_promote_prototypes.
From-SVN: r146257
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/sh/sh.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 767ca08..5aad48d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-04-17 Paolo Bonzini <bonzini@gnu.org> + + * config/sh/sh.h (FUNCTION_VALUE): Fix call to sh_promote_prototypes. + 2009-04-17 Uros Bizjak <ubizjak@gmail.com> * config/arm/sfp-machine.h (__gcc_CMPtype): New typedef. diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index 6a4ccb0..3a90cf1 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -1743,7 +1743,7 @@ extern enum reg_class regno_reg_class[FIRST_PSEUDO_REGISTER]; || TREE_CODE (VALTYPE) == BOOLEAN_TYPE \ || TREE_CODE (VALTYPE) == REAL_TYPE \ || TREE_CODE (VALTYPE) == OFFSET_TYPE)) \ - && sh_promote_prototypes (VALTYPE) \ + && sh_promote_prototypes (FUNC) \ ? (TARGET_SHMEDIA64 ? DImode : SImode) : TYPE_MODE (VALTYPE)), \ BASE_RETURN_VALUE_REG (TYPE_MODE (VALTYPE))) |