diff options
author | Adrian Straetling <straetling@de.ibm.com> | 2005-05-25 11:52:13 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2005-05-25 11:52:13 +0000 |
commit | ec0171a642eb63e4985b3293688d50eb7bbe78e8 (patch) | |
tree | f896023adb7eb858c67b994bbe4eac93db8874ba /gcc/hooks.c | |
parent | a1eae476a8e379d59f9afa6fca99171e51e10696 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100143 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r-- | gcc/hooks.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c index 6e6e7c70321..30ba6d100da 100644 --- a/gcc/hooks.c +++ b/gcc/hooks.c @@ -192,6 +192,12 @@ hook_bool_rtx_false (rtx a ATTRIBUTE_UNUSED) } bool +hook_bool_rtx_true (rtx a ATTRIBUTE_UNUSED) +{ + return true; +} + +bool hook_bool_uintp_uintp_false (unsigned int *a ATTRIBUTE_UNUSED, unsigned int *b ATTRIBUTE_UNUSED) { |