loop-doloop.c: Include "target.h".
authorAdrian Straetling <straetling@de.ibm.com>
Wed, 25 May 2005 11:52:13 +0000 (11:52 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Wed, 25 May 2005 11:52:13 +0000 (11:52 +0000)
commita71a498df01ba32349bed4e72631433be1ff4a2a
treef896023adb7eb858c67b994bbe4eac93db8874ba
parentbe62afb4d55d42c776c13a70800f3d0300f9bb6a
loop-doloop.c: Include "target.h".

2005-05-25  Adrian Straetling  <straetling@de.ibm.com>

* loop-doloop.c: Include "target.h".
  (doloop_valid_p): Move tests to function in targhooks.c.
* target.h (struct gcc_target): New target hook
  "insn_valid_within_doloop".
* target-def.h: Define default value for "insn_valid_within_doloop".
  (TARGET_INITIALIZER): Insert new target hook into initializer.
* targhooks.c (default_insn_valid_within_doloop): New function.
* targhooks.h (default_insn_valid_within_doloop): Declare.
* hooks.c (hook_bool_rtx_true): New function.
* hooks.h (hook_bool_rtx_true): Declare.
* doc/tm.texi: Add documentation for new target hook.

From-SVN: r100143
gcc/ChangeLog
gcc/doc/tm.texi
gcc/hooks.c
gcc/hooks.h
gcc/loop-doloop.c
gcc/target-def.h
gcc/target.h
gcc/targhooks.c
gcc/targhooks.h