2017-03-17 Richard Biener <rguenther@suse.de>
PR middle-end/80050
* genmatch.c (parser::next): Remove pointless check for CPP_EOF.
(parser::peek): Likewise.
From-SVN: r246218
+2017-03-17 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/80050
+ * genmatch.c (parser::next): Remove pointless check for CPP_EOF.
+ (parser::peek): Likewise.
+
2017-03-17 Richard Biener <rguenther@suse.de>
PR tree-optimization/80048
{
token = cpp_get_token (r);
}
- while (token->type == CPP_PADDING
- && token->type != CPP_EOF);
+ while (token->type == CPP_PADDING);
return token;
}
{
token = cpp_peek_token (r, i++);
}
- while ((token->type == CPP_PADDING
- && token->type != CPP_EOF)
+ while (token->type == CPP_PADDING
|| (--num > 0));
/* If we peek at EOF this is a fatal error as it leaves the
cpp_reader in unusable state. Assume we really wanted a