aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-03-27 23:16:17 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-03-27 23:16:17 +0000
commit7ffb4fd2da169e19ace71babd1916e2ec6e6eae2 (patch)
tree27099856cce240c3bcd83ede60b64841aa5a0aa9 /gcc/ada
parent39bea3744da85789d5587e490c8530b1af2eef15 (diff)
downloadgcc-7ffb4fd2da169e19ace71babd1916e2ec6e6eae2.zip
gcc-7ffb4fd2da169e19ace71babd1916e2ec6e6eae2.tar.gz
gcc-7ffb4fd2da169e19ace71babd1916e2ec6e6eae2.tar.bz2
Makefile.in (attribs.o): Update.
* Makefile.in (attribs.o): Update. * attribs.c: Include langhooks.h. (decl_attributes): Use langhook. * c-decl.c (insert_default_attributes): Rename. * c-tree.h (c_insert_default_attributes): New. * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New. (LANG_HOOKS_INITIALIZER): Update. * langhooks.h (struct lang_hooks): New hook. * tree.h (insert_default_attributes): Remove. ada: * misc.c (insert_default_attributes): Remove. cp: * cp-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine. * cp-tree.h (cxx_insert_default_attributes): New. * decl.c (insert_default_attributes): Rename. objc: * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine. From-SVN: r51488
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/misc.c8
2 files changed, 4 insertions, 8 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 03f7477..3738cd4 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,5 +1,9 @@
2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
+ * misc.c (insert_default_attributes): Remove.
+
+2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
+
* misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
(gnat_init): Don't set hook.
(gnat_expand_expr): Fix prototype.
diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c
index 5a2c68a..000e604 100644
--- a/gcc/ada/misc.c
+++ b/gcc/ada/misc.c
@@ -801,14 +801,6 @@ gnat_get_alias_set (type)
return -1;
}
-/* Set default attributes for functions. We do nothing. */
-
-void
-insert_default_attributes (decl)
- tree decl ATTRIBUTE_UNUSED;
-{
-}
-
/* GNU_TYPE is a type. Determine if it should be passed by reference by
default. */