diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-25 11:52:13 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-25 11:52:13 +0000 |
commit | 7dfa5ce3ae065424b0d7c3ac734303d0ab9b772b (patch) | |
tree | f896023adb7eb858c67b994bbe4eac93db8874ba /gcc/hooks.c | |
parent | cef1af71cbf274c343b4945baad16a8bb545891c (diff) | |
download | gcc-7dfa5ce3ae065424b0d7c3ac734303d0ab9b772b.tar.gz |
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: svn+ssh://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) { |