diff options
author | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-20 21:32:59 +0000 |
---|---|---|
committer | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-20 21:32:59 +0000 |
commit | a04eda631cd2de47aac07433a9292fba8b45ffef (patch) | |
tree | dbace7853ecd2315bb32a41683da2d10c5897435 /gcc/lra-constraints.c | |
parent | 1e094109e9f5db43e68a7a5613f0fc014bf3b380 (diff) | |
download | gcc-a04eda631cd2de47aac07433a9292fba8b45ffef.tar.gz |
2012-11-20 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/55396
* lra-constraints.c (get_reload_reg): Change class if it is
different from reg class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193678 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lra-constraints.c')
-rw-r--r-- | gcc/lra-constraints.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index 9df7b97a34e..63ef155bd45 100644 --- a/gcc/lra-constraints.c +++ b/gcc/lra-constraints.c @@ -425,7 +425,7 @@ get_reload_reg (enum op_type type, enum machine_mode mode, rtx original, fprintf (lra_dump_file, " Reuse r%d for reload ", regno); print_value_slim (lra_dump_file, original, 1); } - if (rclass != new_class) + if (new_class != lra_get_allocno_class (regno)) change_class (regno, new_class, ", change", false); if (lra_dump_file != NULL) fprintf (lra_dump_file, "\n"); |