+2012-03-12 Richard Guenther <rguenther@suse.de>
+
+ * config/alpha/alpha.c (alpha_gimplify_va_arg): Use
+ build_nonstandard_integer_type.
+
2012-03-12 Richard Guenther <rguenther@suse.de>
* tree.c (signed_or_unsigned_type_for): Use
+2012-03-12 Richard Guenther <rguenther@suse.de>
+
+ * c-common.c (c_common_get_narrower): Use c_common_type_for_size.
+ (builtin_type_for_size): Likewise.
+
2012-02-13 Jakub Jelinek <jakub@redhat.com>
PR c++/52215
/* C++0x scoped enumerations don't implicitly convert to integral
type; if we stripped an explicit conversion to a larger type we
need to replace it so common_type will still work. */
- tree type = (lang_hooks.types.type_for_size
- (TYPE_PRECISION (TREE_TYPE (op)),
- TYPE_UNSIGNED (TREE_TYPE (op))));
+ tree type = c_common_type_for_size (TYPE_PRECISION (TREE_TYPE (op)),
+ TYPE_UNSIGNED (TREE_TYPE (op)));
op = fold_convert (type, op);
}
return op;
tree
builtin_type_for_size (int size, bool unsignedp)
{
- tree type = lang_hooks.types.type_for_size (size, unsignedp);
+ tree type = c_common_type_for_size (size, unsignedp);
return type ? type : error_mark_node;
}
offset field so that it's the proper width for pointer arithmetic. */
base = get_formal_tmp_var (base_field, pre_p);
- t = fold_convert (lang_hooks.types.type_for_size (64, 0), offset_field);
+ t = fold_convert (build_nonstandard_integer_type (64, 0), offset_field);
offset = get_initialized_tmp_var (t, pre_p, NULL);
indirect = pass_by_reference (NULL, TYPE_MODE (type), type, false);
+2012-03-12 Richard Guenther <rguenther@suse.de>
+
+ * f95-lang.c (builtin_type_for_size): Use gfc_type_for_size.
+
2012-03-12 Tobias Burnus <burnus@net-b.de>
PR fortran/52542
static tree
builtin_type_for_size (int size, bool unsignedp)
{
- tree type = lang_hooks.types.type_for_size (size, unsignedp);
+ tree type = gfc_type_for_size (size, unsignedp);
return type ? type : error_mark_node;
}
+2012-03-12 Richard Guenther <rguenther@suse.de>
+
+ * lto-lang.c (builtin_type_for_size): Use lto_type_for_size.
+
2012-03-06 Richard Guenther <rguenther@suse.de>
PR lto/52097
#include "toplev.h"
#include "lto-streamer.h"
+static tree lto_type_for_size (unsigned, int);
+
static tree handle_noreturn_attribute (tree *, tree, tree, int, bool *);
static tree handle_leaf_attribute (tree *, tree, tree, int, bool *);
static tree handle_const_attribute (tree *, tree, tree, int, bool *);
static tree
builtin_type_for_size (int size, bool unsignedp)
{
- tree type = lang_hooks.types.type_for_size (size, unsignedp);
+ tree type = lto_type_for_size (size, unsignedp);
return type ? type : error_mark_node;
}