diff options
author | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-09 17:05:56 +0000 |
---|---|---|
committer | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-09 17:05:56 +0000 |
commit | 1e2504eccca574f5934f2d6316f87093d97dd375 (patch) | |
tree | f771b4c111a3916cfd3bca4597f9d6ec3585cc30 /gcc/ira-build.c | |
parent | 296a743c735f037c6ec55ed4dd14742d1f1e5bb0 (diff) | |
download | gcc-1e2504eccca574f5934f2d6316f87093d97dd375.tar.gz |
2008-09-09 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-opt/37333
* ira-build.c (ira_create_allocno): Setup frequency to 0.
* ira-color.c (update_conflict_hard_regno_costs): Remove assert.
Check zero freq and increase if necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140160 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ira-build.c')
-rw-r--r-- | gcc/ira-build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ira-build.c b/gcc/ira-build.c index b1f496c41df..3535214cac6 100644 --- a/gcc/ira-build.c +++ b/gcc/ira-build.c @@ -443,7 +443,7 @@ ira_create_allocno (int regno, bool cap_p, ira_loop_tree_node_t loop_tree_node) COPY_HARD_REG_SET (ALLOCNO_CONFLICT_HARD_REGS (a), ira_no_alloc_regs); COPY_HARD_REG_SET (ALLOCNO_TOTAL_CONFLICT_HARD_REGS (a), ira_no_alloc_regs); ALLOCNO_NREFS (a) = 0; - ALLOCNO_FREQ (a) = 1; + ALLOCNO_FREQ (a) = 0; ALLOCNO_HARD_REGNO (a) = -1; ALLOCNO_CALL_FREQ (a) = 0; ALLOCNO_CALLS_CROSSED_NUM (a) = 0; |