From d8bea1c60d3d77994ba6c7fd46a0c809b66413cd Mon Sep 17 00:00:00 2001 From: Rodney Brown Date: Fri, 5 May 2000 16:34:06 +0000 Subject: [PATCH] * pa.h (FUNCTION_ARG_ADVANCE): Warning removal. From-SVN: r33713 --- gcc/ChangeLog | 4 ++++ gcc/config/pa/pa.h | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c3c89c8ee17..740bd89b57b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-05-03 Rodney Brown + + * pa.h (FUNCTION_ARG_ADVANCE): Warning removal. + Fri May 5 10:29:21 2000 Marc Espie * config/openbsd.h (LINK_SPEC): pass correct flags to ld diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index bd6cd31464f..af0ac4f6186 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -727,10 +727,9 @@ struct hppa_args {int words, nargs_prototype, indirect; }; #define FUNCTION_ARG_ADVANCE(CUM, MODE, TYPE, NAMED) \ { (CUM).nargs_prototype--; \ - ((((CUM).words & 01) && (TYPE) != 0 \ - && FUNCTION_ARG_SIZE(MODE, TYPE) > 1) \ - && (CUM).words++), \ - (CUM).words += FUNCTION_ARG_SIZE(MODE, TYPE); \ + (CUM).words += FUNCTION_ARG_SIZE(MODE, TYPE) \ + + (((CUM).words & 01) && (TYPE) != 0 \ + && FUNCTION_ARG_SIZE(MODE, TYPE) > 1); \ } /* Determine where to put an argument to a function.