Re: [C++ PATCH] Improve location for cxx_readonly_error diagnostics (PR c++/86993)

2018-08-27 Thread David Malcolm
On Mon, 2018-08-27 at 09:14 +0200, Jakub Jelinek wrote: > Hi! > > This patch improves location of the cxx_readonly_error diagnostics by > letting caller's pass the preferred location for it rather than > always using > input_location. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok

[C++ PATCH] Improve location for cxx_readonly_error diagnostics (PR c++/86993)

2018-08-27 Thread Jakub Jelinek
Hi! This patch improves location of the cxx_readonly_error diagnostics by letting caller's pass the preferred location for it rather than always using input_location. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2018-08-27 Jakub Jelinek PR c++/86993 *