aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-11-26 18:47:44 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-11-26 18:47:44 -0800
commit7b1bd3c534986f4ceffcdc726e83cb668293d39e (patch)
treeac42a4633b86b62e66e20e713a5d8c2dcb04f129 /gcc/tree.c
parent44571d6e4642d00a7adeb9564c838ac500eeabbc (diff)
downloadgcc-7b1bd3c534986f4ceffcdc726e83cb668293d39e.zip
gcc-7b1bd3c534986f4ceffcdc726e83cb668293d39e.tar.gz
gcc-7b1bd3c534986f4ceffcdc726e83cb668293d39e.tar.bz2
hooks.c (hook_bool_void_false, [...]): Rename so that the return type is first.
* hooks.c (hook_bool_void_false, hook_void_tree_int, hook_void_FILEptr_constcharptr): Rename so that the return type is first. (hook_int_tree_tree_1, hook_void_tree, hook_void_tree_treeptr, hook_bool_tree_false): New. * hooks.h: Update. * langhooks-def.h: Update for renames. * target-def.h: Likewise. * tree.c (default_comp_type_attributes, default_set_default_type_attributes, default_insert_attributes, default_function_attribute_inlinable_p, default_ms_bitfield_layout_p): Remove. * tree.h: Update. From-SVN: r59556
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c47
1 files changed, 0 insertions, 47 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 1bac17c..c926b31 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -2552,53 +2552,6 @@ build_type_attribute_variant (ttype, attribute)
return ttype;
}
-/* Default value of targetm.comp_type_attributes that always returns 1. */
-
-int
-default_comp_type_attributes (type1, type2)
- tree type1 ATTRIBUTE_UNUSED;
- tree type2 ATTRIBUTE_UNUSED;
-{
- return 1;
-}
-
-/* Default version of targetm.set_default_type_attributes that always does
- nothing. */
-
-void
-default_set_default_type_attributes (type)
- tree type ATTRIBUTE_UNUSED;
-{
-}
-
-/* Default version of targetm.insert_attributes that always does nothing. */
-void
-default_insert_attributes (decl, attr_ptr)
- tree decl ATTRIBUTE_UNUSED;
- tree *attr_ptr ATTRIBUTE_UNUSED;
-{
-}
-
-/* Default value of targetm.function_attribute_inlinable_p that always
- returns false. */
-bool
-default_function_attribute_inlinable_p (fndecl)
- tree fndecl ATTRIBUTE_UNUSED;
-{
- /* By default, functions with machine attributes cannot be inlined. */
- return false;
-}
-
-/* Default value of targetm.ms_bitfield_layout_p that always returns
- false. */
-bool
-default_ms_bitfield_layout_p (record)
- tree record ATTRIBUTE_UNUSED;
-{
- /* By default, GCC does not use the MS VC++ bitfield layout rules. */
- return false;
-}
-
/* Return nonzero if IDENT is a valid name for attribute ATTR,
or zero if not.