diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2008-09-26 00:14:30 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2008-09-26 00:14:30 +0000 |
commit | b15a7ae67a9e7e2d0791b2beb74cacdd5dc5fa08 (patch) | |
tree | 2741e87ab5d7829e6e4d8233ab8d254ba88a0f4b /gcc/ira-int.h | |
parent | 6396547e62404f1a4965a61dd5c87258cda2be2c (diff) | |
download | gcc-b15a7ae67a9e7e2d0791b2beb74cacdd5dc5fa08.zip gcc-b15a7ae67a9e7e2d0791b2beb74cacdd5dc5fa08.tar.gz gcc-b15a7ae67a9e7e2d0791b2beb74cacdd5dc5fa08.tar.bz2 |
re PR middle-end/37448 (cannot compile big function)
2008-09-25 Vladimir Makarov <vmakarov@redhat.com>
PR middle-end/37448
* ira-int.h (IRA_ALLOCNO_TEMP): Rename to ALLOCNO_TEMP.
(ira_compress_allocno_live_ranges): New prototype.
* ira-color.c: Rename IRA_ALLOCNO_TEMP to ALLOCNO_TEMP.
(coalesced_allocnos_living_at_program_points): New.
(coalesced_allocnos_live_at_points_p,
set_coalesced_allocnos_live_points): New functions.
(coalesce_spill_slots): Rewrite.
* ira-lives.c (remove_some_program_points_and_update_live_ranges,
ira_compress_allocno_live_ranges): New functions.
* ira-build.c (ira_flattening): Call
ira_compress_allocno_live_ranges.
(ira_build): Ditto.
From-SVN: r140674
Diffstat (limited to 'gcc/ira-int.h')
-rw-r--r-- | gcc/ira-int.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ira-int.h b/gcc/ira-int.h index ccd65e6..fc18cdf 100644 --- a/gcc/ira-int.h +++ b/gcc/ira-int.h @@ -457,7 +457,7 @@ struct ira_allocno #define ALLOCNO_AVAILABLE_REGS_NUM(A) ((A)->available_regs_num) #define ALLOCNO_NEXT_BUCKET_ALLOCNO(A) ((A)->next_bucket_allocno) #define ALLOCNO_PREV_BUCKET_ALLOCNO(A) ((A)->prev_bucket_allocno) -#define IRA_ALLOCNO_TEMP(A) ((A)->temp) +#define ALLOCNO_TEMP(A) ((A)->temp) #define ALLOCNO_FIRST_COALESCED_ALLOCNO(A) ((A)->first_coalesced_allocno) #define ALLOCNO_NEXT_COALESCED_ALLOCNO(A) ((A)->next_coalesced_allocno) #define ALLOCNO_LIVE_RANGES(A) ((A)->live_ranges) @@ -882,6 +882,7 @@ extern void ira_debug_live_range_list (allocno_live_range_t); extern void ira_debug_allocno_live_ranges (ira_allocno_t); extern void ira_debug_live_ranges (void); extern void ira_create_allocno_live_ranges (void); +extern void ira_compress_allocno_live_ranges (void); extern void ira_finish_allocno_live_ranges (void); /* ira-conflicts.c */ |