Re: emit-rtl tidy

2015-04-23 Thread Jeff Law
On 02/05/2015 05:18 PM, Alan Modra wrote: On Thu, Feb 05, 2015 at 08:59:01PM +1030, Alan Modra wrote: Thanks, I'll use it directly now and have a patch in the works to tidy m32c.c and rs6000.c. As threatened, the emit-rtl tidy. Besides adding a couple of accessors, I've moved x_

Re: emit-rtl tidy

2015-02-06 Thread David Edelsohn
* config/rs6000/rs6000.c (rs6000_call_aix): Use get_current_sequence. The rs6000 change is okay. Thanks, David

Re: emit-rtl tidy

2015-02-06 Thread Richard Henderson
On 02/05/2015 04:18 PM, Alan Modra wrote: > OK when stage1 opens? > > * function.h (struct emit_status): Delete x_first_insn, x_last_insn > and sequence_stack. Add seq. > (seq_stack): Delete. > * function.c (prepare_function_start): Don't access x_last_insn. > * emit

Re: emit-rtl tidy

2015-02-05 Thread DJ Delorie
The m32c parts are OK.

emit-rtl tidy

2015-02-05 Thread Alan Modra
On Thu, Feb 05, 2015 at 08:59:01PM +1030, Alan Modra wrote: > Thanks, I'll use it directly now and have a patch in the works to tidy > m32c.c and rs6000.c. As threatened, the emit-rtl tidy. Besides adding a couple of accessors, I've moved x_first_insn and x_last_insn into a struc