aboutsummaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2005-03-23 19:47:09 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2005-03-23 19:47:09 +0000
commitd101034cd879822fbb76d8a2a50e4e27959e9d5b (patch)
treed601d54c5e6d0effc19d6a510d362a6d23c7b8cd /gcc/langhooks.h
parent2e0ea5157d874e581d0687fc8bb03336ebcc3e02 (diff)
downloadgcc-d101034cd879822fbb76d8a2a50e4e27959e9d5b.zip
gcc-d101034cd879822fbb76d8a2a50e4e27959e9d5b.tar.gz
gcc-d101034cd879822fbb76d8a2a50e4e27959e9d5b.tar.bz2
langhooks.h (truthvalue_conversion): Remove.
* langhooks.h (truthvalue_conversion): Remove. * langhooks-def.h (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_TRUTHVALUE_CONVERSION. * system.h (LANG_HOOKS_TRUTHVALUE_CONVERSION): Poison. * gimplify.c (gimple_boolify): Don't use truthvalue_conversion. * c-objc-common.h (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. ada: * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. cp: * cp-objcp-common.h (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. fortran: * f95-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. java: * lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. treelang: * treetree.c (LANG_HOOKS_TRUTHVALUE_CONVERSION, tree_lang_truthvalue_conversion): Remove. * tree-convert.c: Don't call truthvalue_conversion. From-SVN: r96947
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r--gcc/langhooks.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index 97b8f5e..e3ff672 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -277,19 +277,6 @@ struct lang_hooks
1 if handled, 0 otherwise. */
int (*expand_decl) (tree);
- /* Prepare expr to be an argument of a TRUTH_NOT_EXPR or other logical
- operation.
-
- This preparation consists of taking the ordinary representation
- of an expression expr and producing a valid tree boolean
- expression describing whether expr is nonzero. We could simply
- always do build_binary_op (NE_EXPR, expr, integer_zero_node, 1),
- but we optimize comparisons, &&, ||, and !.
-
- The result should be an expression of boolean type (if not an
- error_mark_node). */
- tree (*truthvalue_conversion) (tree);
-
/* Hook called by safe_from_p for language-specific tree codes. It is
up to the language front-end to install a hook if it has any such
codes that safe_from_p needs to know about. Since same_from_p will