From 9fb93b00b0f3fa7da42e4969071d47ffe9863610 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 13 Feb 2003 12:28:26 +0000 Subject: 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 --- gcc/ChangeLog | 6 ++++++ gcc/cgraph.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 053d2cc..8b02f52 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-02-13 Andreas Schwab + + * cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t. + Parenthesize properly. + (NPREDECESORS): Parenthesize properly. + 2003-02-13 Gabriel Dos Reis * timevar.h (POP_TIMEVAR_AND_RETURN): New macro. diff --git a/gcc/cgraph.c b/gcc/cgraph.c index a199fe6..5b58049 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -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. */ -- cgit v1.1