diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-03-25 19:11:13 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-03-25 19:11:13 +0000 |
commit | c88770e9dfa1b4c4175e39a3a62264c8bcb0043b (patch) | |
tree | 3fdcb23609c1c0e4600afc58d41d0dd3ea750b9b /gcc/ada | |
parent | 2188d04d141f87189c987a31a62758f57cb64af8 (diff) | |
download | gcc-c88770e9dfa1b4c4175e39a3a62264c8bcb0043b.zip gcc-c88770e9dfa1b4c4175e39a3a62264c8bcb0043b.tar.gz gcc-c88770e9dfa1b4c4175e39a3a62264c8bcb0043b.tar.bz2 |
c-decl.c (maybe_build_cleanup): Remove.
* c-decl.c (maybe_build_cleanup): Remove.
* expr.c (expand_expr): Use langhook.
* langhooks-def.h (lhd_return_null_tree,
LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
(LANGHOOKS_INITIALIZER): Update.
* langhooks.c (lhd_return_null_tree): New.
* langhooks.h (struct lang_hooks): New hook.
* tree-inline.c (initialize_inlined_parameters): Use langhook.
* tree.h (maybe_build_cleanup): Remove.
ada:
* misc.c (maybe_build_cleanup): Remove.
cp:
* cp-tree.h (cxx_maybe_build_cleanup): New.
* decl.c (destroy_local_var, hack_incomplete_structures): Update.
(maybe_build_cleanup): Rename cxx_maybe_build_cleanup.
* tree.c (build_target_expr): Update.
f:
* com.c (maybe_build_cleanup): Remove.
java:
* decl.c (maybe_build_cleanup): Remove.
From-SVN: r51324
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/misc.c | 12 |
2 files changed, 4 insertions, 12 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 72d4775..ecba441 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk> + + * misc.c (maybe_build_cleanup): Remove. + 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> * gigi.h (yyparse): Remove. diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c index 7073c89..b32ba1f 100644 --- a/gcc/ada/misc.c +++ b/gcc/ada/misc.c @@ -406,18 +406,6 @@ gnat_init_gcc_eh () #endif } - -/* If DECL has a cleanup, build and return that cleanup here. - This is a callback called by expand_expr. */ - -tree -maybe_build_cleanup (decl) - tree decl ATTRIBUTE_UNUSED; -{ - /* There are no cleanups in C. */ - return NULL_TREE; -} - /* Hooks for print-tree.c: */ static void |