1 2020-04-01 Iain Buclaw <ibuclaw@gdcproject.org>
4 * d-attribs.cc: Include dmd/attrib.h.
5 (build_attributes): Redeclare as static.
6 (apply_user_attributes): New function.
7 * d-tree.h (class UserAttributeDeclaration): Remove.
8 (build_attributes): Remove.
9 (apply_user_attributes): Declare.
10 (finish_aggregate_type): Remove attrs argument.
11 * decl.cc (get_symbol_decl): Merge declaration prototypes with
12 definitions. Use apply_user_attributes.
13 * modules.cc (layout_moduleinfo_fields): Remove last argument to
14 finish_aggregate_type.
15 * typeinfo.cc (layout_classinfo_interfaces): Likewise.
16 * types.cc (layout_aggregate_members): Likewise.
17 (finish_aggregate_type): Remove attrs argument.
18 (TypeVisitor::visit (TypeEnum *)): Use apply_user_attributes.
19 (TypeVisitor::visit (TypeStruct *)): Remove last argument to
20 finish_aggregate_type. Use apply_user_attributes.
21 (TypeVisitor::visit (TypeClass *)): Likewise.
23 2020-03-31 Iain Buclaw <ibuclaw@gdcproject.org>
25 * d-attribs.cc (d_langhook_common_attribute_table): Add always_inline.
26 (handle_always_inline_attribute): New function.
28 2020-03-31 Iain Buclaw <ibuclaw@gdcproject.org>
31 * d-codegen.cc (build_alignment_field): Remove.
32 (build_struct_literal): Don't insert alignment padding.
33 * expr.cc (ExprVisitor::visit (AssignExp *)): Call memset before
34 assigning struct literals.
36 2020-03-31 Iain Buclaw <ibuclaw@gdcproject.org>
38 * typeinfo.cc (TypeInfoVisitor::internal_reference): Call
39 d_comdat_linkage on generated decl.
41 2020-03-22 Iain Buclaw <ibuclaw@gdcproject.org>
44 * d-lang.cc (deps_write): Generate phony targets for content imported
47 2020-03-22 Iain Buclaw <ibuclaw@gdcproject.org>
50 * d-lang.cc (deps_write): Add content imported files to the make
53 2020-03-21 Iain Buclaw <ibuclaw@gdcproject.org>
56 * typeinfo.cc (class TypeInfoVisitor): Replace type_ field with decl_.
57 (TypeInfoVisitor::TypeInfoVisitor): Set decl_.
58 (TypeInfoVisitor::result): Update.
59 (TypeInfoVisitor::internal_reference): New function.
60 (TypeInfoVisitor::layout_string): Use internal_reference.
61 (TypeInfoVisitor::visit (TypeInfoTupleDeclaration *)): Likewise.
62 (layout_typeinfo): Construct TypeInfoVisitor with typeinfo decl.
63 (layout_classinfo): Likewise.
65 2020-03-20 Iain Buclaw <ibuclaw@gdcproject.org>
68 * d-tree.h (struct GTY): Add daggregate field.
69 (IDENTIFIER_DAGGREGATE): Define.
70 (d_mangle_decl): Add declaration.
71 * decl.cc (mangle_decl): Remove static linkage, rename to...
72 (d_mangle_decl): ...this, update all callers.
73 * types.cc (merge_aggregate_types): New function.
74 (TypeVisitor::visit (TypeStruct *)): Call merge_aggregate_types, set
75 IDENTIFIER_DAGGREGATE and TYPE_CXX_ODR_P.
76 (TypeVisitor::visit (TypeClass *)): Likewise.
78 2020-03-18 Jakub Jelinek <jakub@redhat.com>
80 * expr.cc (ExprVisitor::visit (CatAssignExp *)): Fix up duplicated
81 word issue in a comment.
82 * d-target.cc (Target::FPTypeProperties<T>::max): Likewise.
84 2020-03-16 Iain Buclaw <ibuclaw@gdcproject.org>
87 * types.cc (fixup_anonymous_offset): Don't set DECL_FIELD_OFFSET on
90 2020-03-16 Iain Buclaw <ibuclaw@gdcproject.org>
93 * decl.cc (make_thunk): Don't set TREE_PUBLIC on thunks if the target
94 function is external to the current compilation.
96 2020-01-01 Jakub Jelinek <jakub@redhat.com>
98 Update copyright years.
100 * gdc.texi: Bump @copyrights-d year.
102 Copyright (C) 2020 Free Software Foundation, Inc.
104 Copying and distribution of this file, with or without modification,
105 are permitted in any medium without royalty provided the copyright
106 notice and this notice are preserved.