diff options
| author | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-08 07:00:45 +0000 |
|---|---|---|
| committer | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-08 07:00:45 +0000 |
| commit | aa696fd517c7265ff9b5d989e6bc16ad7c61c91f (patch) | |
| tree | 635145e5572b360020a7395016a25b69592e582f | |
| parent | 6c3a60dfd60c4d37e39e0d9427025991ccd4ea7c (diff) | |
| download | ppe42-gcc-aa696fd517c7265ff9b5d989e6bc16ad7c61c91f.tar.gz ppe42-gcc-aa696fd517c7265ff9b5d989e6bc16ad7c61c91f.zip | |
* c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
parameter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44704 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/c-typeck.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 329aad73351..33475adab3f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2001-08-08 Graham Stott <grahams@redhat.com> + * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro + parameter. + +2001-08-08 Graham Stott <grahams@redhat.com> + * combine.c (combine_simplify_rtx): Update comment and remove erroneous test. diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index ecd106081f2..e92749fbe30 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -4494,7 +4494,7 @@ static int spelling_size; /* Size of the spelling stack. */ Alternative to SAVE_SPELLING_STACK. */ #define SPELLING_DEPTH() (spelling - spelling_base) -#define RESTORE_SPELLING_DEPTH(depth) (spelling = spelling_base + depth) +#define RESTORE_SPELLING_DEPTH(DEPTH) (spelling = spelling_base + (DEPTH)) /* Save and restore the spelling stack around arbitrary C code. */ |

