On 05/30/2016 11:42 AM, Paolo Carlini wrote:
+unqualified_name_lookup_error (tree name, location_t loc) { + if (loc == UNKNOWN_LOCATION) + loc = location_of (name);
When does this do anything useful? If name is a DECL, this will give the wrong answer. If name is an IDENTIFIER_NODE, this will give UNKNOWN_LOCATION.
Jason