Re: [PATCH] RFC: elide repeated source locations (PR other/84889)

2018-11-15 Thread Eric Gallager
On 11/15/18, Martin Sebor wrote: > On 11/14/2018 02:12 PM, David Malcolm wrote: >> On Mon, 2018-11-12 at 13:37 -0700, Martin Sebor wrote: >>> On 11/11/2018 07:43 PM, David Malcolm wrote: We often emit more than one diagnostic at the same source location. For example, the C++ frontend can

Re: [PATCH] RFC: elide repeated source locations (PR other/84889)

2018-11-15 Thread Martin Sebor
On 11/14/2018 02:12 PM, David Malcolm wrote: On Mon, 2018-11-12 at 13:37 -0700, Martin Sebor wrote: On 11/11/2018 07:43 PM, David Malcolm wrote: We often emit more than one diagnostic at the same source location. For example, the C++ frontend can emit many diagnostics at the same source locatio

Re: [PATCH] RFC: elide repeated source locations (PR other/84889)

2018-11-14 Thread David Malcolm
On Mon, 2018-11-12 at 13:37 -0700, Martin Sebor wrote: > On 11/11/2018 07:43 PM, David Malcolm wrote: > > We often emit more than one diagnostic at the same source location. > > For example, the C++ frontend can emit many diagnostics at > > the same source location when suggesting overload candidat

Re: [PATCH] RFC: elide repeated source locations (PR other/84889)

2018-11-12 Thread Martin Sebor
On 11/11/2018 07:43 PM, David Malcolm wrote: We often emit more than one diagnostic at the same source location. For example, the C++ frontend can emit many diagnostics at the same source location when suggesting overload candidates. For example: ../../src/gcc/testsuite/g++.dg/diagnostic/bad-bi

[PATCH] RFC: elide repeated source locations (PR other/84889)

2018-11-11 Thread David Malcolm
We often emit more than one diagnostic at the same source location. For example, the C++ frontend can emit many diagnostics at the same source location when suggesting overload candidates. For example: ../../src/gcc/testsuite/g++.dg/diagnostic/bad-binary-ops.C: In function 'int test_3(s, t)': ..