aboutsummaryrefslogtreecommitdiff
path: root/gcc/langhooks.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gcc.gnu.org>2004-07-28 23:44:56 +0000
committerEric Christopher <echristo@gcc.gnu.org>2004-07-28 23:44:56 +0000
commit9f63daea379c0d0c8a30b8f6ea6d8dc6c4ffa415 (patch)
tree789a4a99989bb6a0b5b9248db954752ac63506bc /gcc/langhooks.c
parent61b60ed0833f0b703b0b411fb75363cbd145182b (diff)
downloadgcc-9f63daea379c0d0c8a30b8f6ea6d8dc6c4ffa415.zip
gcc-9f63daea379c0d0c8a30b8f6ea6d8dc6c4ffa415.tar.gz
gcc-9f63daea379c0d0c8a30b8f6ea6d8dc6c4ffa415.tar.bz2
c-common.c (c_common_unsafe_for_reeval): Delete.
2004-07-28 Eric Christopher <echristo@redhat.com> * c-common.c (c_common_unsafe_for_reeval): Delete. * c-lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete use. * c-pretty-print.c (pp_c_expression): Delete UNSAVE_EXPR case. * calls.c (fix_unsafe_tree): Delete. (expand_call): Delete code which used above. * dojump.c (do_jump): Delete UNSAVE_EXPR case. * expr.c (expand_expr_real_1): Ditto. * fold-const.c (non_lvalue): Ditto. * langhooks-def.h (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete. (lhd_unsafe_for_reeval): Ditto. * langhooks.c (lhd_unsafe_for_reeval): Ditto. * langhooks.h (unsafe_for_reeval): Ditto. (unsave_expr_now): Adjust comment. * tree-inline.c (copy_body_r): Delete UNSAVE_EXPR bits. (estimate_num_insns_1): Ditto. * tree-pretty-print.c (dump_generic_node): Ditto. * tree.c (expr_align): Ditto. (unsave_expr): Delete. (unsafe_for_reeval): Ditto. * tree.h (unsafe_for_reeval, unsave_expr): Ditto. * tree.def (UNSAVE_EXPR): Delete. * objc/objc-lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete. 2004-07-28 Eric Christopher <echristo@redhat.com> * cp-lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete. 2004-07-28 Eric Christopher <echristo@redhat.com> * lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete. (java_unsafe_for_reeval): Ditto. From-SVN: r85276
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r--gcc/langhooks.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c
index 8a28021..e932042 100644
--- a/gcc/langhooks.c
+++ b/gcc/langhooks.c
@@ -60,7 +60,7 @@ lhd_do_nothing_i (int ARG_UNUSED (i))
/* Do nothing (int, int, int). Return NULL_TREE. */
tree
-lhd_do_nothing_iii_return_null_tree (int ARG_UNUSED (i),
+lhd_do_nothing_iii_return_null_tree (int ARG_UNUSED (i),
int ARG_UNUSED (j),
int ARG_UNUSED (k))
{
@@ -123,14 +123,6 @@ lhd_safe_from_p (rtx ARG_UNUSED (x), tree ARG_UNUSED (exp))
return 1;
}
-/* Called from unsafe_for_reeval. */
-
-int
-lhd_unsafe_for_reeval (tree ARG_UNUSED (t))
-{
- return -1;
-}
-
/* Called from staticp. */
bool
@@ -175,7 +167,7 @@ lhd_set_decl_assembler_name (tree decl)
same as that used in the source language. (That's correct
for C, and GCC used to set DECL_ASSEMBLER_NAME to the same
value as DECL_NAME in build_decl, so this choice provides
- backwards compatibility with existing front-ends.
+ backwards compatibility with existing front-ends.
Can't use just the variable's own name for a variable whose
scope is less than the whole compilation. Concatenate a
@@ -214,7 +206,7 @@ lhd_type_promotes_to (tree ARG_UNUSED (type))
/* Registration of machine- or os-specific builtin types. */
void
-lhd_register_builtin_type (tree ARG_UNUSED (type),
+lhd_register_builtin_type (tree ARG_UNUSED (type),
const char * ARG_UNUSED (name))
{
}