summaryrefslogtreecommitdiff
path: root/gcc/ra-conflict.c
diff options
context:
space:
mode:
authorbergner <bergner@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-10 15:46:12 +0000
committerbergner <bergner@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-10 15:46:12 +0000
commit9a910ab39128294e57699ed624b8824b4fcfcef4 (patch)
tree8c530bcc582dae464a7d50fbe57747e6fae1b26a /gcc/ra-conflict.c
parent4ebd1df9d716889ded1e1d5e0993baa87ef74024 (diff)
downloadgcc-9a910ab39128294e57699ed624b8824b4fcfcef4.tar.gz
* ra-conflict.c (partial_bitnum, max_bitnum): Change type of variables
to HOST_WIDE_INT. (conflict_p, set_conflict, set_conflicts): Likewise. * global.c (global_alloc): Likewise. * ra.h: Update prototypes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129211 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ra-conflict.c')
-rw-r--r--gcc/ra-conflict.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ra-conflict.c b/gcc/ra-conflict.c
index 8f35afde465..e40f484b5df 100644
--- a/gcc/ra-conflict.c
+++ b/gcc/ra-conflict.c
@@ -49,8 +49,8 @@ int max_allocno;
struct allocno *allocno;
HOST_WIDEST_FAST_INT *conflicts;
int *reg_allocno;
-int *partial_bitnum;
-int max_bitnum;
+HOST_WIDE_INT *partial_bitnum;
+HOST_WIDE_INT max_bitnum;
alloc_pool adjacency_pool;
adjacency_t **adjacency;
@@ -70,7 +70,7 @@ DEF_VEC_ALLOC_P(df_ref_t,heap);
bool
conflict_p (int allocno1, int allocno2)
{
- int bitnum;
+ HOST_WIDE_INT bitnum;
HOST_WIDEST_FAST_INT word, mask;
#ifdef ENABLE_CHECKING
@@ -104,7 +104,7 @@ conflict_p (int allocno1, int allocno2)
static void
set_conflict (int allocno1, int allocno2)
{
- int bitnum, index;
+ HOST_WIDE_INT bitnum, index;
HOST_WIDEST_FAST_INT word, mask;
#ifdef ENABLE_CHECKING
@@ -146,9 +146,9 @@ static void
set_conflicts (int allocno1, sparseset live)
{
int i;
- int bitnum, index;
+ HOST_WIDE_INT bitnum, index;
HOST_WIDEST_FAST_INT word, mask;
- int partial_bitnum_allocno1;
+ HOST_WIDE_INT partial_bitnum_allocno1;
#ifdef ENABLE_CHECKING
gcc_assert (allocno1 >= 0 && allocno1 < max_allocno);