cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t.

* cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t.
	Parenthesize properly.
	(NPREDECESORS): Parenthesize properly.

From-SVN: r62838
This commit is contained in:
Andreas Schwab 2003-02-13 12:28:26 +00:00 committed by Andreas Schwab
parent 8c9c9dfb8f
commit 9fb93b00b0
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2003-02-13 Andreas Schwab <schwab@suse.de>
* cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t.
Parenthesize properly.
(NPREDECESORS): Parenthesize properly.
2003-02-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
* timevar.h (POP_TIMEVAR_AND_RETURN): New macro.

View File

@ -422,8 +422,8 @@ cgraph_finalize_compilation_unit ()
/* Expand all functions that must be output. */
#define NPREDECESORS(node) (size_t)((node)->aux)
#define SET_NPREDECESORS(node,n) (node)->aux = (void *) (n);
#define NPREDECESORS(node) ((size_t) (node)->aux)
#define SET_NPREDECESORS(node, n) ((node)->aux = (void *) (size_t) (n))
/* Figure out what functions we want to assemble. */