r214164 - in /trunk: ChangeLog gcc/ChangeLog gc...

dmalcolm@gcc.gnu.org dmalcolm@gcc.gnu.org
Tue Aug 19 15:31:00 GMT 2014


Author: dmalcolm
Date: Tue Aug 19 15:31:23 2014
New Revision: 214164

URL: https://gcc.gnu.org/viewcvs?rev=214164&root=gcc&view=rev
Log:
DEP_PRO/DEP_CON scaffolding

gcc/
2014-08-19  David Malcolm  <dmalcolm@redhat.com>

	* sched-int.h (DEP_PRO): struct _dep's "pro" and "con" fields will
	eventually be rtx_insn *, but to help with transition, for now,
	convert from an access macro into a pair of functions: DEP_PRO
	returning an rtx_insn * and...
	(SET_DEP_PRO): New function, for use where DEP_PRO is used as an
	lvalue, returning an rtx&.
	(DEP_CON): Analogous changes to DEP_PRO above.
	(SET_DEP_CON): Likewise.

	* haifa-sched.c (create_check_block_twin): Replace DEP_CON used as
	an lvalue to SET_DEP_CON.
	* sched-deps.c (init_dep_1): Likewise for DEP_PRO and DEP_CON.
	(sd_copy_back_deps): Likewise for DEP_CON.
	(DEP_PRO): New function, adding a checked cast for now.
	(DEP_CON): Likewise.
	(SET_DEP_PRO): New function.
	(SET_DEP_CON): Likewise.

/
2014-08-19  David Malcolm  <dmalcolm@redhat.com>

	* rtx-classes-status.txt (TODO): Add SET_DEP_PRO, SET_DEP_CON.


Modified:
    trunk/ChangeLog
    trunk/gcc/ChangeLog
    trunk/gcc/haifa-sched.c
    trunk/gcc/sched-deps.c
    trunk/gcc/sched-int.h
    trunk/rtx-classes-status.txt



More information about the Gcc-cvs mailing list