diff options
author | Rodney Brown <RodneyBrown@mynd.com> | 2000-05-05 16:34:06 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-05-05 10:34:06 -0600 |
commit | d8bea1c60d3d77994ba6c7fd46a0c809b66413cd (patch) | |
tree | e9385c556edc2d57f95355a966ab1f8a4b7883da /gcc | |
parent | 7d76ae562205fe69707767f28ffe01054ff82c92 (diff) | |
download | gcc-d8bea1c60d3d77994ba6c7fd46a0c809b66413cd.zip gcc-d8bea1c60d3d77994ba6c7fd46a0c809b66413cd.tar.gz gcc-d8bea1c60d3d77994ba6c7fd46a0c809b66413cd.tar.bz2 |
* pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
From-SVN: r33713
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/pa/pa.h | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c3c89c8..740bd89 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-05-03 Rodney Brown <RodneyBrown@mynd.com> + + * pa.h (FUNCTION_ARG_ADVANCE): Warning removal. + Fri May 5 10:29:21 2000 Marc Espie <espie@cvs.openbsd.org> * 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 bd6cd31..af0ac4f 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. |