+2004-09-24 Paolo Bonzini <bonzini@gnu.org>
+
+ * hooks.c (hook_tree_tree_bool_null): New.
+ * hooks.h (hook_tree_tree_bool_null): Declare it.
+ * target-def.c (TARGET_FOLD_BUILTIN): Point to it.
+ * targhooks.c (default_fold_builtin): Remove.
+ * targhooks.h (default_fold_builtin): Remove.
+
2004-09-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
PR rtl-optimization/17625
{
return NULL;
}
+
+tree
+hook_tree_tree_bool_null (tree t ATTRIBUTE_UNUSED, bool ignore ATTRIBUTE_UNUSED)
+{
+ return NULL;
+}
+
extern rtx hook_rtx_tree_int_null (tree, int);
extern tree hook_tree_tree_identity (tree a);
extern const char *hook_constcharptr_tree_null (tree);
+extern tree hook_tree_tree_bool_null (tree, bool);
#endif
/* In builtins.c. */
#define TARGET_INIT_BUILTINS hook_void_void
#define TARGET_EXPAND_BUILTIN default_expand_builtin
-#define TARGET_FOLD_BUILTIN default_fold_builtin
+#define TARGET_FOLD_BUILTIN hook_tree_tree_bool_null
/* In varasm.c. */
#ifndef TARGET_SECTION_TYPE_FLAGS
return const0_rtx;
}
-tree
-default_fold_builtin (tree t ATTRIBUTE_UNUSED, bool ignore ATTRIBUTE_UNUSED)
-{
- return NULL_TREE;
-}
-
void
default_setup_incoming_varargs (CUMULATIVE_ARGS *ca ATTRIBUTE_UNUSED,
enum machine_mode mode ATTRIBUTE_UNUSED,
extern void default_setup_incoming_varargs (CUMULATIVE_ARGS *, enum machine_mode, tree, int *, int);
extern rtx default_builtin_setjmp_frame_value (void);
extern bool default_pretend_outgoing_varargs_named (CUMULATIVE_ARGS *);
-extern tree default_fold_builtin (tree t, bool ignore);
extern enum machine_mode default_eh_return_filter_mode (void);
extern unsigned HOST_WIDE_INT default_shift_truncation_mask