nvptx mkoffload: Fix logic error in skipping of "strange" tokens.
gcc/ * config/nvptx/mkoffload.c (parse_file): Fix logic error in skipping of "strange" tokens. From-SVN: r220769
This commit is contained in:
parent
26f9331258
commit
6f3c1d38bf
|
@ -1,3 +1,8 @@
|
|||
2015-02-17 Thomas Schwinge <thomas@codesourcery.com>
|
||||
|
||||
* config/nvptx/mkoffload.c (parse_file): Fix logic error in
|
||||
skipping of "strange" tokens.
|
||||
|
||||
2015-02-17 Jeff Law <law@redhat.com>
|
||||
|
||||
* tree-vrp.c (identify_jump_threads): Use last_stmt. Remove
|
||||
|
|
|
@ -755,8 +755,9 @@ parse_file (Token *tok)
|
|||
if (comment)
|
||||
append_stmt (&fns, comment);
|
||||
|
||||
while (tok->kind && !tok->end)
|
||||
do
|
||||
tok++;
|
||||
while (tok->kind && !tok->end);
|
||||
}
|
||||
return tok;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue