diff options
author | Richard Guenther <rguenther@suse.de> | 2010-12-09 10:00:25 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-12-09 10:00:25 +0000 |
commit | fa1fabcbbce4ec891b5856ebd994384c6635736b (patch) | |
tree | 8004babdc793f99c4704ed369b977399b980bd34 /gcc/reginfo.c | |
parent | 27037b5f7d05ec826b4931d87d4e9a68f680e62f (diff) | |
download | gcc-fa1fabcbbce4ec891b5856ebd994384c6635736b.zip gcc-fa1fabcbbce4ec891b5856ebd994384c6635736b.tar.gz gcc-fa1fabcbbce4ec891b5856ebd994384c6635736b.tar.bz2 |
rtl.h (invalid_mode_change_p): Adjust prototype.
2010-12-09 Richard Guenther <rguenther@suse.de>
* rtl.h (invalid_mode_change_p): Adjust prototype.
* reginfo.c (invalid_mode_change_p): Remove from argument.
* ira-costs.c (print_allocno_costs): Adjust callers.
(find_costs_and_classes): Likewise.
2010-12-09 Richard Guenther <rguenther@suse.de>
* ira.c (ira): Do not call finish_subregs_of_mode.
* ira-costs.c (finish_costs): Call finish_subregs_of_mode.
From-SVN: r167631
Diffstat (limited to 'gcc/reginfo.c')
-rw-r--r-- | gcc/reginfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/reginfo.c b/gcc/reginfo.c index 7c1209f..dd2376b 100644 --- a/gcc/reginfo.c +++ b/gcc/reginfo.c @@ -1338,12 +1338,12 @@ init_subregs_of_mode (void) mode. */ bool invalid_mode_change_p (unsigned int regno, - enum reg_class rclass ATTRIBUTE_UNUSED, - enum machine_mode from) + enum reg_class rclass ATTRIBUTE_UNUSED) { struct subregs_of_mode_node dummy, *node; unsigned int to; unsigned char mask; + enum machine_mode from = PSEUDO_REGNO_MODE (regno); gcc_assert (subregs_of_mode); dummy.block = regno & -8; |