]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/d/ChangeLog
d: Fix the build on hosts missing _MAX and _MAX macros.
[thirdparty/gcc.git] / gcc / d / ChangeLog
1 2019-04-17 Iain Buclaw <ibuclaw@gdcproject.org>
2
3 * d-system.h (POSIX): Define unix as POSIX.
4 (INT32_MAX, INT32_MIN, INT64_MIN, UINT32_MAX, UINT64_MAX): Provide
5 fallback definitions.
6
7 2019-04-16 Iain Buclaw <ibuclaw@gdcproject.org>
8
9 * Make-lang.in (d.mostyclean): Clean idgen and impcvgen.
10 (d/idgen): Rename to d/idgen$(build_exeext), add BUILD_LIBDEPS.
11 (d/impcvgen): Rename to d/impcvgen$(build_exeext), add BUILD_LIBDEPS.
12 (d/id.c): Call idgen$(build_exeext).
13 (d/impcnvtab.c): Call impcvgen$(build_exeext).
14
15 2019-04-14 Johannes Pfau <johannespfau@gmail.com>
16 PR d/87799
17 * d-system.h (_mkdir): Forward _mkdir on MinGW to mkdir in system.h.
18
19 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
20
21 * d-tree.h (DECL_IN_UNITTEST_CONDITION_P): Define.
22 * decl.cc (DeclVisitor): Add in_version_unittest_ field.
23 (DeclVisitor::visit(ConditionalDeclaration)): New override.
24 (DeclVisitor::visit(FuncDeclaration)): Set
25 DECL_IN_UNITTEST_CONDITION_P.
26 * lang.opt (-fbuilding-libphobos-tests): Add option.
27 * modules.cc (current_testing_module): New static variable.
28 (build_module_tree): Generate second moduleinfo symbol to hold
29 reference to unittests if flag_building_libphobos_tests.
30 (register_module_decl): Check DECL_IN_UNITTEST_CONDITION_P to decide
31 which moduleinfo the decl should be registered against.
32
33 2019-03-31 Iain Buclaw <ibuclaw@gdcproject.org>
34
35 PR d/88462
36 * modules.cc (layout_moduleinfo_fields): Properly align ModuleInfo,
37 instead of forcing alignment to be 1.
38
39 2019-03-21 Iain Buclaw <ibuclaw@gdcproject.org>
40
41 PR d/89017
42 * d-codegen.cc (d_decl_context): Skip over template instances when
43 finding the context.
44 * decl.cc (DeclVisitor::visit(TemplateDeclaration)): New override.
45 (build_type_decl): Include parameters in name of template types.
46
47 2019-03-13 Iain Buclaw <ibuclaw@gdcproject.org>
48
49 PR d/88957
50 * expr.cc (ExprVisitor::visit(VectorArrayExp)): New override.
51
52 2019-03-12 Iain Buclaw <ibuclaw@gdcproject.org>
53
54 PR d/87866
55 * d-system.h (realpath): Redefine as lrealpath.
56
57 2019-03-12 Iain Buclaw <ibuclaw@gdcproject.org>
58
59 * d-lang.cc (d_init_options): Set global.params.cplusplus to C++14.
60 * d-target.cc (Target::cppFundamentalType): New method.
61
62 2019-03-09 Iain Buclaw <ibuclaw@gdcproject.org>
63
64 PR d/89041
65 * d-codegen.cc (get_frame_for_symbol): Delegate literals defined in
66 global scope don't have a frame pointer.
67
68 2019-03-01 Iain Buclaw <ibuclaw@gdcproject.org>
69
70 * d-builtins.cc (d_init_versions): Add CppRuntime_Gcc as predefined
71 version condition.
72
73 2019-02-14 Maya Rashish <coypu@sdf.org>
74
75 * d-system.h: NetBSD is POSIX.
76
77 2019-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
78
79 PR d/87864
80 * lang.opt (dstartfiles): New option.
81 * d-spec.cc (need_spec): New variable.
82 (lang_specific_driver) <OPT_dstartfiles>: Enable need_spec.
83 (lang_specific_pre_link): Also load libgphobos.spec if need_spec.
84
85 2019-01-26 Iain Buclaw <ibuclaw@gdcproject.org>
86
87 PR d/89042
88 * decl.cc (DeclVisitor::visit(VarDeclaration)): Don't assert if
89 handling a void initialized manifest constant.
90
91 2019-01-21 Iain Buclaw <ibuclaw@gdcproject.org>
92
93 * d-frontend.cc (Compiler::paintAsType): Update for new signature.
94
95 2019-01-20 Iain Buclaw <ibuclaw@gdcproject.org>
96
97 * d-builtins.cc (d_init_versions): Check value of
98 STACK_GROWS_DOWNWARD.
99
100 2019-01-20 Iain Buclaw <ibuclaw@gdcproject.org>
101
102 * d-codegen.cc (identity_compare_p): Return false if seen built-in
103 type with padding.
104 (build_float_identity): Moved here from expr.cc.
105 (lower_struct_comparison): Handle real and complex types.
106 * d-tree.h (build_float_identity): New.
107 * expr.cc (build_float_identity): Move to d-codegen.cc.
108
109 2019-01-20 Johannes Pfau <johannespfau@gmail.com>
110
111 * expr.cc (build_float_identity): New function.
112 (ExprVisitor::visit(IdentityExp)): Add support for complex types.
113
114 2019-01-16 Iain Buclaw <ibuclaw@gdcproject.org>
115
116 PR d/87824
117 * d-lang.cc (d_post_options): Disable implicit
118 -forder-blocks-and-partition.
119
120 2019-01-16 Iain Buclaw <ibuclaw@gdcproject.org>
121
122 * d-codegen.cc (build_typeof_null_value): New function.
123 * d-tree.h (build_typeof_null_value): Declare.
124 * d-convert.cc (convert_expr): Use build_typeof_null_value.
125 * expr.cc (ExprVisitor::visit(NullExp)): Likewise.
126
127 2019-01-15 Richard Sandiford <richard.sandiford@arm.com>
128
129 PR inline-asm/52813
130 * lang.opt (Wdeprecated): Reference common.opt instead of c.opt.
131
132 2019-01-12 Iain Buclaw <ibuclaw@gdcproject.org>
133
134 * README.gcc: New file.
135
136 2019-01-01 Jakub Jelinek <jakub@redhat.com>
137
138 Update copyright years.
139
140 * gdc.texi: Bump @copyrights-d year.
141 \f
142 Copyright (C) 2019 Free Software Foundation, Inc.
143
144 Copying and distribution of this file, with or without modification,
145 are permitted in any medium without royalty provided the copyright
146 notice and this notice are preserved.