#include "config.h"
#include "system.h"
#include "coretypes.h"
+#include "intl.h"
#include "tm.h"
#include "toplev.h"
#include "tree.h"
int *subtrees ATTRIBUTE_UNUSED,
walk_tree_fn func ATTRIBUTE_UNUSED,
void *data ATTRIBUTE_UNUSED,
- void *htab ATTRIBUTE_UNUSED)
+ struct pointer_set_t *pset ATTRIBUTE_UNUSED)
{
return NULL_TREE;
}
tree
lhd_expr_size (tree exp)
{
- if (TREE_CODE_CLASS (TREE_CODE (exp)) == 'd'
+ if (DECL_P (exp)
&& DECL_SIZE_UNIT (exp) != 0)
return DECL_SIZE_UNIT (exp);
else
}
/* lang_hooks.tree_size: Determine the size of a tree with code C,
- which is a language-specific tree code in category 'x'. The
- default expects never to be called. */
+ which is a language-specific tree code in category tcc_constant or
+ tcc_exceptional. The default expects never to be called. */
size_t
lhd_tree_size (enum tree_code c ATTRIBUTE_UNUSED)
{
pp_set_prefix (context->printer, new_prefix);
if (current_function_decl == NULL)
- pp_printf (context->printer, "At top level:");
+ pp_printf (context->printer, _("At top level:"));
else
{
if (TREE_CODE (TREE_TYPE (current_function_decl)) == METHOD_TYPE)
pp_printf
- (context->printer, "In member function `%s':",
+ (context->printer, _("In member function %qs:"),
lang_hooks.decl_printable_name (current_function_decl, 2));
else
pp_printf
- (context->printer, "In function `%s':",
+ (context->printer, _("In function %qs:"),
lang_hooks.decl_printable_name (current_function_decl, 2));
}