Re: [patch,avr] Improve location of late diagnostics

2024-12-03 Thread Denis Chertykov
вт, 3 дек. 2024 г. в 17:32, Georg-Johann Lay : > > Some diagnostics are issues late, e.g. in avr_print_operand(). > This patch uses the insn's location as a proxy for the operand > location. Without the patch, the location is usually input_location, > which points to the closing } of the function

[patch,avr] Improve location of late diagnostics

2024-12-03 Thread Georg-Johann Lay
Some diagnostics are issues late, e.g. in avr_print_operand(). This patch uses the insn's location as a proxy for the operand location. Without the patch, the location is usually input_location, which points to the closing } of the function body. Ok for trunk? Johan -- AVR: Improve location o