Re: Set insn_last_address in final_1

2018-04-09 Thread Richard Biener
On Mon, Apr 9, 2018 at 7:43 PM, Richard Sandiford wrote: > final_1 already sets insn_current_address for each instruction, making > it possible to use some of the address functions in final.c during > assembly generation. This patch also sets insn_last_address, since > as the comment says, we can

Set insn_last_address in final_1

2018-04-09 Thread Richard Sandiford
final_1 already sets insn_current_address for each instruction, making it possible to use some of the address functions in final.c during assembly generation. This patch also sets insn_last_address, since as the comment says, we can treat final as a shorten_branches pass that does nothing. It's t