diff options
author | Adrian Straetling <straetling@de.ibm.com> | 2005-06-09 11:17:23 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2005-06-09 11:17:23 +0000 |
commit | e7e64a25d57233719536414e880aee28447267dc (patch) | |
tree | fae4f203782bfda9e5f07b9ca8e588b44eaa0dd2 /gcc/hooks.h | |
parent | fd078f5215762192c5e69e0f37093cf911ecbc22 (diff) | |
download | gcc-e7e64a25d57233719536414e880aee28447267dc.zip gcc-e7e64a25d57233719536414e880aee28447267dc.tar.gz gcc-e7e64a25d57233719536414e880aee28447267dc.tar.bz2 |
target.h (insn_valid_within_doloop): Rename into "invalid_within_doloop".
2005-06-09 Adrian Straetling <straetling@de.ibm.com>
* target.h (insn_valid_within_doloop): Rename into
"invalid_within_doloop". Change return type to "const char *".
Update Comment.
* targhooks.h (default_insn_valid_within_doloop): Rename into
"default_invalid_within_doloop".
* targhooks.c (default_insn_valid_within_doloop): Likewise.
Update Comment.
* target-def.h (TARGET_INSN_VALID_WITHIN_DOLOOP): Rename target hook
into "TARGET_INVALID_WITHIN_DOLOOP". Default it to
"default_invalid_within_doloop".
* hooks.c (hook_constcharptr_rtx_null): New function.
(hook_bool_rtx_true): Remove.
* hooks.h (hook_constcharptr_rtx_null): Declare.
(hook_bool_rtx_true): Remove.
* loop-doloop.c (doloop_valid_p): Temporarily store return value of
"invalid_within_doloop" and print error message if non-null.
Update Comment.
* doc/tm.texi: Update documentation.
* config/s390/s390.c: Adjust to new hook name and new default hook.
* config/rs6000/rs6000.c: (rs6000_insn_valid_within_doloop): Rename
into "rs6000_invalid_within_doloop".
(rs6000_invalid_within_doloop): Change return type to "static const
char *" and replace return values. Update Comment.
From-SVN: r100797
Diffstat (limited to 'gcc/hooks.h')
-rw-r--r-- | gcc/hooks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/hooks.h b/gcc/hooks.h index b78f497..2d9b3a3 100644 --- a/gcc/hooks.h +++ b/gcc/hooks.h @@ -35,7 +35,6 @@ extern bool hook_bool_tree_hwi_hwi_tree_false (tree, HOST_WIDE_INT, HOST_WIDE_IN extern bool hook_bool_tree_hwi_hwi_tree_true (tree, HOST_WIDE_INT, HOST_WIDE_INT, tree); extern bool hook_bool_rtx_false (rtx); -extern bool hook_bool_rtx_true (rtx); extern bool hook_bool_uintp_uintp_false (unsigned int *, unsigned int *); extern bool hook_bool_rtx_int_int_intp_false (rtx, int, int, int *); extern bool hook_bool_constcharptr_size_t_false (const char *, size_t); @@ -66,4 +65,5 @@ extern rtx hook_rtx_tree_int_null (tree, int); extern tree hook_tree_tree_tree_tree_3rd_identity (tree, tree, tree); extern const char *hook_constcharptr_tree_null (tree); extern tree hook_tree_tree_tree_bool_null (tree, tree, bool); +extern const char *hook_constcharptr_rtx_null (rtx); #endif |