aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2007-04-06 16:51:18 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2007-04-06 16:51:18 +0000
commit9c269bf8e57a1a2f2c293c1825d8b39ba5a5e234 (patch)
treed5d20259cbddf8ebf8fde8b11874e9baa24fbf0c /gcc/expr.c
parent5e9f08ba5d00da123b200fd2d8c3ce9cd01ea9c8 (diff)
downloadgcc-9c269bf8e57a1a2f2c293c1825d8b39ba5a5e234.zip
gcc-9c269bf8e57a1a2f2c293c1825d8b39ba5a5e234.tar.gz
gcc-9c269bf8e57a1a2f2c293c1825d8b39ba5a5e234.tar.bz2
langhooks-def.h (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_SAFE_FROM_P.
2007-04-06 Daniel Berlin <dberlin@dberlin.org> * langhooks-def.h (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_SAFE_FROM_P. * expr.c (safe_from_p): Remove langhook call. * langhooks.h (lang_hooks): Remove safe_from_p. (lhd_safe_from_p): Remove prototype. * langhooks.c (lhd_safe_from_p): Remove. From-SVN: r123624
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 77cc44a..24dfbf5 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -6302,12 +6302,6 @@ safe_from_p (rtx x, tree exp, int top_p)
&& ! safe_from_p (x, TREE_OPERAND (exp, i), 0))
return 0;
- /* If this is a language-specific tree code, it may require
- special handling. */
- if ((unsigned int) TREE_CODE (exp)
- >= (unsigned int) LAST_AND_UNUSED_TREE_CODE
- && !lang_hooks.safe_from_p (x, exp))
- return 0;
break;
case tcc_type: