Re: [PATCH 05/25] Add sorry_at diagnostic function.

2018-09-11 Thread Andrew Stubbs
On 05/09/18 14:41, David Malcolm wrote: Please add the: auto_diagnostic_group d; line to the top of the function. OK with that change. Here's what I committed. Andrew Add sorry_at diagnostic function. The plain "sorry" diagnostic only gives the "current" location, which is typically th

Re: [PATCH 05/25] Add sorry_at diagnostic function.

2018-09-05 Thread David Malcolm
On Wed, 2018-09-05 at 09:39 -0400, David Malcolm wrote: > On Wed, 2018-09-05 at 12:49 +0100, a...@codesourcery.com wrote: > > The plain "sorry" diagnostic only gives the "current" location, > > which > > is > > typically the last line of the function or translation unit by time > > we get to > > th

Re: [PATCH 05/25] Add sorry_at diagnostic function.

2018-09-05 Thread David Malcolm
On Wed, 2018-09-05 at 12:49 +0100, a...@codesourcery.com wrote: > The plain "sorry" diagnostic only gives the "current" location, which > is > typically the last line of the function or translation unit by time > we get to > the back end. > > GCN uses "sorry" to report unsupported language feature