On 12/08/2016 04:01 AM, David Malcolm wrote:
gcc/ChangeLog: * read-md.c (md_reader::read_name_1): Write out the location of the start of the name, rather than the end, eliminating unread_char and read_char calls.
For avoidance of doubt, ok to check in the currently approved patches with this change as well.
- unread_char (c); - *out_loc = get_current_location (); - read_char ();
Might be worth trying to look for this pattern in other parts of the patch kit to see if it can be replaced.
Bernd