Re: [C++ Patch] Fix three additional locations

2019-01-11 Thread Jason Merrill
On 1/11/19 4:56 PM, Paolo Carlini wrote: Hi, On 11/01/19 22:22, Jason Merrill wrote: On 1/11/19 4:13 PM, Paolo Carlini wrote: Hi, On 11/01/19 19:58, Jason Merrill wrote: On 1/10/19 9:24 AM, Paolo Carlini wrote: Hi again, this one is also matter of consistency with, say, the precise locati

Re: [C++ Patch] Fix three additional locations

2019-01-11 Thread Paolo Carlini
Hi, On 11/01/19 22:22, Jason Merrill wrote: On 1/11/19 4:13 PM, Paolo Carlini wrote: Hi, On 11/01/19 19:58, Jason Merrill wrote: On 1/10/19 9:24 AM, Paolo Carlini wrote: Hi again, this one is also matter of consistency with, say, the precise location that we use for the error message at th

Re: [C++ Patch] Fix three additional locations

2019-01-11 Thread Jason Merrill
On 1/11/19 4:13 PM, Paolo Carlini wrote: Hi, On 11/01/19 19:58, Jason Merrill wrote: On 1/10/19 9:24 AM, Paolo Carlini wrote: Hi again, this one is also matter of consistency with, say, the precise location that we use for the error message at the beginning of check_methods. Indeed, the seq

Re: [C++ Patch] Fix three additional locations

2019-01-11 Thread Paolo Carlini
Hi, On 11/01/19 19:58, Jason Merrill wrote: On 1/10/19 9:24 AM, Paolo Carlini wrote: Hi again, this one is also matter of consistency with, say, the precise location that we use for the error message at the beginning of check_methods. Indeed, the sequence of error messages of g++.dg/inherit

Re: [C++ Patch] Fix three additional locations

2019-01-11 Thread Jason Merrill
On 1/10/19 9:24 AM, Paolo Carlini wrote: Hi again, this one is also matter of consistency with, say, the precise location that we use for the error message at the beginning of check_methods. Indeed, the sequence of error messages of g++.dg/inherit/pure1.C reflect that. Tested x86_64-linux.

[C++ Patch] Fix three additional locations

2019-01-10 Thread Paolo Carlini
Hi again, this one is also matter of consistency with, say, the precise location that we use for the error message at the beginning of check_methods. Indeed, the sequence of error messages of g++.dg/inherit/pure1.C reflect that. Tested x86_64-linux. Thanks, Paolo. PS: minor issues anyway, b

Re: [C++ Patch] Fix three additional locations

2019-01-08 Thread Jason Merrill
On 1/8/19 8:13 AM, Paolo Carlini wrote: Hi, a few additional easy to fix cases where we thought that a plain error was good enough. Tested x86_64-linux. Thanks, Paolo. OK.

[C++ Patch] Fix three additional locations

2019-01-08 Thread Paolo Carlini
Hi, a few additional easy to fix cases where we thought that a plain error was good enough. Tested x86_64-linux. Thanks, Paolo. /cp 2019-01-08 Paolo Carlini * decl.c (grok_reference_init): Improve error location. (grokdeclarator): Likewise, improve tw