diff options
author | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-28 23:44:56 +0000 |
---|---|---|
committer | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-28 23:44:56 +0000 |
commit | b27ac6b5cb2b32599e8da6730f5726f835da10a1 (patch) | |
tree | 789a4a99989bb6a0b5b9248db954752ac63506bc /gcc/langhooks.c | |
parent | 4fd9bd7cb7cd94f40e464b7e21a5b213cd7578d2 (diff) | |
download | gcc-b27ac6b5cb2b32599e8da6730f5726f835da10a1.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85276 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r-- | gcc/langhooks.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c index 8a2802147f4..e93204240ee 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)) { } |