summaryrefslogtreecommitdiff
path: root/gcc/cppmacro.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-19 11:28:52 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-19 11:28:52 +0000
commite535c327fbd7421f656924f8ce74f10f43bb8b2f (patch)
tree4656c8e74eb6eaa6a7769cb24904b1f293ae4ef4 /gcc/cppmacro.c
parentd5230ae6bab944e165bdb469f095f3d380e27a99 (diff)
downloadgcc-e535c327fbd7421f656924f8ce74f10f43bb8b2f.tar.gz
* cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
cur_token, not after. * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h: Lose ASM_OUTPUT_CONSTRUCTOR. * system.h: Poison it and INT_ASM_OP. * c-lang.c (finish_file): Don't check for it. * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47169 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r--gcc/cppmacro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c
index 4fb2df91780..dbee62d887b 100644
--- a/gcc/cppmacro.c
+++ b/gcc/cppmacro.c
@@ -1087,12 +1087,12 @@ _cpp_backup_tokens (pfile, count)
pfile->lookaheads += count;
while (count--)
{
- pfile->cur_token--;
if (pfile->cur_token == pfile->cur_run->base)
{
pfile->cur_run = pfile->cur_run->prev;
pfile->cur_token = pfile->cur_run->limit;
}
+ pfile->cur_token--;
}
}
else