Commit 2c45a16a by Joseph Myers Committed by Joseph Myers

predict.c (struct block_info_def, [...]): Change bit-fields of width 1 to unsigned int.

	* predict.c (struct block_info_def, struct edge_info_def): Change
	bit-fields of width 1 to unsigned int.

From-SVN: r74757
parent 7e08b3b8
2003-12-17 Joseph S. Myers <jsm@polyomino.org.uk>
* predict.c (struct block_info_def, struct edge_info_def): Change
bit-fields of width 1 to unsigned int.
2003-12-16 Geoffrey Keating <geoffk@apple.com> 2003-12-16 Geoffrey Keating <geoffk@apple.com>
PR 12480 PR 12480
......
...@@ -879,7 +879,7 @@ typedef struct block_info_def ...@@ -879,7 +879,7 @@ typedef struct block_info_def
basic_block next; basic_block next;
/* True if block needs to be visited in propagate_freq. */ /* True if block needs to be visited in propagate_freq. */
int tovisit:1; unsigned int tovisit:1;
/* Number of predecessors we need to visit first. */ /* Number of predecessors we need to visit first. */
int npredecessors; int npredecessors;
...@@ -893,7 +893,7 @@ typedef struct edge_info_def ...@@ -893,7 +893,7 @@ typedef struct edge_info_def
then computed as 1 / (1 - back_edge_prob). */ then computed as 1 / (1 - back_edge_prob). */
sreal back_edge_prob; sreal back_edge_prob;
/* True if the edge is an loopback edge in the natural loop. */ /* True if the edge is an loopback edge in the natural loop. */
int back_edge:1; unsigned int back_edge:1;
} *edge_info; } *edge_info;
#define BLOCK_INFO(B) ((block_info) (B)->aux) #define BLOCK_INFO(B) ((block_info) (B)->aux)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment