Re: Split insn-attr.h

2011-07-24 Thread Hans-Peter Nilsson
On Tue, 28 Jun 2011, Joseph S. Myers wrote: > (In checking for such files - > there aren't that many - I also noticed that the target macro > DELAY_SLOTS_FOR_EPILOGUE is used and documented but not defined by any > target, so the code relating to that macro is ripe for removal and > poisoning of th

Re: Split insn-attr.h

2011-06-27 Thread Bernd Schmidt
On 06/28/11 02:24, Joseph S. Myers wrote: > > * genattr-common.c: New. Based on genattr.c. > * Makefile.in (INSN_ATTR_H): Include insn-attr-common.h. > (MOSTLYCLEANFILES): Add insn-attr-common.h. > (opts.o): Update dependencies. > (.PRECIOUS): Add insn-attr-common.h.

Split insn-attr.h

2011-06-27 Thread Joseph S. Myers
opts.c includes insn-attr.h to get the definitions of INSN_SCHEDULING and DELAY_SLOTS, used to determine whether to enable certain options by default at certain -O levels. insn-attr.h in turn requires rtl.h to have been included first (and rtl.h requires tm.h, although there are other tm.h depende