diff options
author | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-23 15:55:58 +0000 |
---|---|---|
committer | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-23 15:55:58 +0000 |
commit | b85cafd3977927d97d168311f975849a232052cb (patch) | |
tree | 0d0904797cf675c225b1ce35e2eab7d9722d9c92 /gcc | |
parent | 7b3e2ca80aeaf260451101de3e439c701fcc5193 (diff) | |
download | gcc-b85cafd3977927d97d168311f975849a232052cb.tar.gz |
2012-11-23 Vladimir Makarov <vmakarov@redhat.com>
* lra.c (lra): Move init_reg_info and expand_reg_info calls before
init_insn_recog_data.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193759 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/lra.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9e5baa3061d..283abe0764c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-11-23 Vladimir Makarov <vmakarov@redhat.com> + + * lra.c (lra): Move init_reg_info and expand_reg_info calls before + init_insn_recog_data. + 2012-11-23 Jakub Jelinek <jakub@redhat.com> * tsan.c: Fix up comment formatting. diff --git a/gcc/lra.c b/gcc/lra.c index 80bf4328d9b..9ed3b25f760 100644 --- a/gcc/lra.c +++ b/gcc/lra.c @@ -2212,6 +2212,9 @@ lra (FILE *f) COPY_HARD_REG_SET (lra_no_alloc_regs, ira_no_alloc_regs); + init_reg_info (); + expand_reg_info (); + init_insn_recog_data (); #ifdef ENABLE_CHECKING @@ -2228,9 +2231,6 @@ lra (FILE *f) pseudo creation. */ lra_in_progress = 1; - init_reg_info (); - expand_reg_info (); - /* Function remove_scratches can creates new pseudos for clobbers -- so set up lra_constraint_new_regno_start before its call to permit changing reg classes for pseudos created by this |