1 2019-04-17 Iain Buclaw <ibuclaw@gdcproject.org>
3 * d-system.h (POSIX): Define unix as POSIX.
4 (INT32_MAX, INT32_MIN, INT64_MIN, UINT32_MAX, UINT64_MAX): Provide
7 2019-04-16 Iain Buclaw <ibuclaw@gdcproject.org>
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).
15 2019-04-14 Johannes Pfau <johannespfau@gmail.com>
17 * d-system.h (_mkdir): Forward _mkdir on MinGW to mkdir in system.h.
19 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
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.
33 2019-03-31 Iain Buclaw <ibuclaw@gdcproject.org>
36 * modules.cc (layout_moduleinfo_fields): Properly align ModuleInfo,
37 instead of forcing alignment to be 1.
39 2019-03-21 Iain Buclaw <ibuclaw@gdcproject.org>
42 * d-codegen.cc (d_decl_context): Skip over template instances when
44 * decl.cc (DeclVisitor::visit(TemplateDeclaration)): New override.
45 (build_type_decl): Include parameters in name of template types.
47 2019-03-13 Iain Buclaw <ibuclaw@gdcproject.org>
50 * expr.cc (ExprVisitor::visit(VectorArrayExp)): New override.
52 2019-03-12 Iain Buclaw <ibuclaw@gdcproject.org>
55 * d-system.h (realpath): Redefine as lrealpath.
57 2019-03-12 Iain Buclaw <ibuclaw@gdcproject.org>
59 * d-lang.cc (d_init_options): Set global.params.cplusplus to C++14.
60 * d-target.cc (Target::cppFundamentalType): New method.
62 2019-03-09 Iain Buclaw <ibuclaw@gdcproject.org>
65 * d-codegen.cc (get_frame_for_symbol): Delegate literals defined in
66 global scope don't have a frame pointer.
68 2019-03-01 Iain Buclaw <ibuclaw@gdcproject.org>
70 * d-builtins.cc (d_init_versions): Add CppRuntime_Gcc as predefined
73 2019-02-14 Maya Rashish <coypu@sdf.org>
75 * d-system.h: NetBSD is POSIX.
77 2019-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
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.
85 2019-01-26 Iain Buclaw <ibuclaw@gdcproject.org>
88 * decl.cc (DeclVisitor::visit(VarDeclaration)): Don't assert if
89 handling a void initialized manifest constant.
91 2019-01-21 Iain Buclaw <ibuclaw@gdcproject.org>
93 * d-frontend.cc (Compiler::paintAsType): Update for new signature.
95 2019-01-20 Iain Buclaw <ibuclaw@gdcproject.org>
97 * d-builtins.cc (d_init_versions): Check value of
100 2019-01-20 Iain Buclaw <ibuclaw@gdcproject.org>
102 * d-codegen.cc (identity_compare_p): Return false if seen built-in
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.
109 2019-01-20 Johannes Pfau <johannespfau@gmail.com>
111 * expr.cc (build_float_identity): New function.
112 (ExprVisitor::visit(IdentityExp)): Add support for complex types.
114 2019-01-16 Iain Buclaw <ibuclaw@gdcproject.org>
117 * d-lang.cc (d_post_options): Disable implicit
118 -forder-blocks-and-partition.
120 2019-01-16 Iain Buclaw <ibuclaw@gdcproject.org>
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.
127 2019-01-15 Richard Sandiford <richard.sandiford@arm.com>
130 * lang.opt (Wdeprecated): Reference common.opt instead of c.opt.
132 2019-01-12 Iain Buclaw <ibuclaw@gdcproject.org>
134 * README.gcc: New file.
136 2019-01-01 Jakub Jelinek <jakub@redhat.com>
138 Update copyright years.
140 * gdc.texi: Bump @copyrights-d year.
142 Copyright (C) 2019 Free Software Foundation, Inc.
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.