Re: [PATCH 3/4] use diagnostic location in diagnostic_report_current_function

2021-07-14 Thread Richard Biener via Gcc-patches
On Wed, Jul 14, 2021 at 10:21 AM Trevor Saunders wrote: > > It appears that input_location was used here before the diagnostic's location > was available, and never updated, when the other part of the header was added > that uses it, so this makes it consistent. > > bootstrapped and regtested on x

[PATCH 3/4] use diagnostic location in diagnostic_report_current_function

2021-07-14 Thread Trevor Saunders
It appears that input_location was used here before the diagnostic's location was available, and never updated, when the other part of the header was added that uses it, so this makes it consistent. bootstrapped and regtested on x86_64-linux-gnu, ok? Trev gcc/ChangeLog: * tree-diagnosti