Re: [PATCH] use fallback location for warning (PR 91599)

2019-08-30 Thread Richard Biener
On Fri, Aug 30, 2019 at 3:58 AM Martin Sebor wrote: > > warning_at() calls with the %G directive rely on the gimple statement > for both their location and the inlining context. When the statement > is not associated with a location, the warning doesn't point at any > line even if the location ar

[PATCH] use fallback location for warning (PR 91599)

2019-08-29 Thread Martin Sebor
warning_at() calls with the %G directive rely on the gimple statement for both their location and the inlining context. When the statement is not associated with a location, the warning doesn't point at any line even if the location argument passed to the call was valid. The attached patch change