aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c
index a45336d..b0fba65 100644
--- a/gcc/cpplex.c
+++ b/gcc/cpplex.c
@@ -853,7 +853,7 @@ trigraph_replace (pfile, src, limit)
/* Starting with src[1], find two consecutive '?'. The case of no
trigraphs is streamlined. */
- for (; src + 1 < limit; src += 2)
+ for (src++; src + 1 < limit; src += 2)
{
if (src[0] != '?')
continue;