12008-12-12 Arthur Loiret <arthur.loiret@u-psud.fr> 2 3 Bugzilla 929: 4 5 * dmd/mtype.c: Provide isZeroInit() overload in TypeAArray that 6 returns TRUE. 7 * dmd/mtype.h: Add prototype for TypeAArray::isZeroInit(). 8 9 * dmd2/mtype.c, dmd2/mtype.h: Ditto. 10 112008-07-21 David Friedman <David Friedman> 12 13 * dmd/root.c, dmd2/root.c: Fix earlier patching error. 14 15 * phobos/config/x3.c, phobos2/config/x3.c: Fix problem when 16 building under MSYS. 17 18 * config-lang.in: Remove lang_requires. 19 202008-07-20 David Friedman <David Friedman> 21 22 * dmd/expression.c, dmd2/expression.c: Make integer conversion 23 fix work for other hosts/targets. 24 252008-07-20 Arthur Loiret <arthur.loiret@u-psud.fr> 26 27 * dmd/expression.c: Fix integer conversion routines on x86_64. 28 Patch from downs <default_357-line@yahoo.de>, thanks! 29 * dmd2/expression.c: Likewise. 30 31 * config-lang.in: Add lang_requires="c c++". 32 332008-07-19 David Friedman <David Friedman> 34 35 * patches/patch-gcc-4.0.x, patches/patch-gcc-4.1.x: Fix infinite 36 loop bug in patch. 37 * patches/patch-apple-gcc-4.0.x: Ditto. 38 39 * d-lang.cc: Do not assume D_OS_VERSYM is defined. 40 Handle TARGET_xxx_CPP_BUILTINS macros for more targets. 41 422008-07-17 David Friedman <dvdfrdmn@users.sf.net> 43 44 * dmd-script: Append an exe suffix to executables when the 45 target is Windows. 46 47 * phobos/gcc/deh.d, phobos2/gcc/deh.d: Fix for sjlj exceptions. 48 492008-06-16 David Friedman <dvdfrdmn@users.sf.net> 50 51 * d-decls.cc: Correct logic for output constanting vars for V1. 52 532008-06-01 David Friedman <dvdfrdmn@users.sf.net> 54 55 Merge DMD.1.30 and 2.014 56 57 * dmd-script: Implement -man, -lib and single-object features. 58 59 * phobos2/Makefile.am: add bigint 60 61 * phobos2/config/{ldfuncs,ldfuncs-darwin,ldfuncs-ppclinux,noldfuncs}, 62 Merge nanl change from std/c/math.d 63 64 * phobos2/gcc/support.d: Merge std/c/math.d changes. 65 66 * d-objfile.cc (obj_append): Implement. 67 * phobos2/std/c/unix/unix.d: Merge linux.d and socket.d changes 68 69 * d-glue.cc, d-irstate.cc, d-lang.cc: Update 70 71 * dmd/..., dmd2/..., phbobos/..., phobos2/...: Merge 72 732008-05-26 David Friedman <dvdfrdmn@users.sf.net> 74 75 * asmstmt.cc, d-decls.cc, d-glue.cc, d-misc.c, d-objfile.{cc, h}: 76 Fix for -combine compilation. Remove fileContext global and clean 77 up generation of unique symbol names. 78 79 * phobos/internal/object.d: Correct merge error 80 81 ---- 82 83 * dmd-script, lang.opt, d-lang.cc, : support -ignore 84 85 Merge DMD 1.029 and 2.013 86 87 * phobos2/std/perf.d: use std.c.unix.unix 88 892008-05-22 Arthur Loiret <arthur.loiret@u-psud.fr> 90 91 * target-ver-syms.sh: Add missing CPUs and fix 92 d_cpu_versym/d_cpu_versym64 for each. 93 94 * d-lang.cc: Fix build on non biarched 64-bit archs (alpha, ia64, ...) 95 and fix 64-bit cpu detection. 96 97 * Move patch-* to patches/ 98 * setup-gcc.sh: Update. 99 1002008-05-10 David Friedman <dvdfrdmn@users.sf.net> 101 102 * lang-specs.h: Support a "cc1d" spec. (Bugzilla 2068) 103 104 Merge DMD 1.028 and 2.012 105 106 * d-codegen.{h,cc}: Add postblitting array libcalls. 107 108 * phobos2/internal/arrayassign.d 109 (_d_arraysetassign, _d_arraysetctor): Use size_t. 110 111 * d-glue.cc (AssignExp::toElem): Postblit-aware code 112 113 * phobos2/Makefile.am: Add arrayssign.d. Remove math2.d. 114 115 * dmd/..., dmd2/..., phbobos/..., phobos2/...: Merge 116 1172008-05-03 David Friedman <dvdfrdmn@users.sf.net> 118 119 * d-dmd-gcc.h, d-glue.cc, dmd*/toobj.c: Cleanup: Remove unused 120 d_gcc_aggregate_dtors. 121 1222008-05-02 David Friedman <dvdfrdmn@users.sf.net> 123 124 Merge DMD 1.027 and 2.011 125 126 * termios.d: Point to std.c.unix.unix. Leave original 127 termios.d as termios.d.orig-dmd 128 129 * asmstsmt.cc: Implement blockExit 130 131 * phobos2/config/unix.x3: Add termios stuff 132 133 * phobos2/std/c/unix/unix.d: Merge new funcs from std.c.linux.d 134 135 * d-objfile.cc: Implement stub obj_startaddress 136 137 * d-glue.cc (ForStatement::toIR): condition may be NULL 138 (DeleteExp::toIR): Use libcalls for interfaces 139 140 * dmd*/clone.c, dmd*/e2ir.c: New files. 141 142 * Make-lang.in: Add new clone.c 143 144 * d-codegen.{h, cc}, d-glue.cc: Use _d_callinterfacefinalizer. 145 Also use _d_delinterface instead of casting. 146 147 * dmd/..., dmd2/..., phbobos/..., phobos2/...: Merge 148 1492008-04-27 David Friedman <dvdfrdmn@users.sf.net> 150 151 Merge DMD 1.026 and 2.010 152 153 * dmd/..., dmd2/..., phbobos/..., phobos2/...: Merge 154 155 --- 156 157 * d-lang.cc (d_write_global_declarations): Make earlier change 158 regarding cgraph_optimize only apply to 4.0.x. 159 160 --- 161 162 * d-decls.cc (VarDeclartion::toSymbol): Change for 163 V2 STCmanifest. Make more constant vars have 164 static storage (instead of making CONST_DECLs) in 165 both V1 and V2. 166 167 * dmd2/constfold.c (Cmp): Compare wchar and dchar 168 strings portably. 169 170 * asmstmt.cc (ExtAsmStatement::semantic): Heuristic 171 for evaluating operands: If an input operand, evaluate. 172 173 * d-asm-i386.h: Make previous change apply to V1. 174 175 * d-glue.cc (TypeEnum::toCtype): Update. 176 177 Phobos changes (applies to V2 Phobos as well): 178 179 * phobos/Makefile.am, phobos/configure.in: 180 Deal with strerror_r portability. 181 182 * phobos/Makefile.in, phobos/configure, phobos/config.h.in: 183 Updated. 184 185 * phobos/gcc/cbridge_strerror.c: New file. 186 187 * phobos/std/c/string.d: Replace non-portable strerror_r with 188 _d_gnu_cbridge_strerror. 189 190 * phobos/std/file.d, phobos/std/loader.d, phobos/std/process.d, 191 phobos/std/socket.d, phobos/std/stdio.d: Use 192 _d_gnu_cbridge_strerror. 193 194 Merge DMD 2.009: 195 196 * dmd2/..., phobos2/...: Merge. 197 198 Merge DMD 1.025: 199 200 * dmd/..., phobos/...: Merge. 201 2022008-04-25 David Friedman <dvdfrdmn@users.sf.net> 203 204 * asmstmt.cc, d-asm-i386.h: Handle some other cases 205 for constant floating point operands. 206 2072008-04-19 David Friedman <dvdfrdmn@users.sf.net> 208 209 * dmd/toobj.c, dmd2/toobj.c (EnumDeclaration::toObjFile): 210 Output initializer correctly. 211 212 * d-decls.cc (EnumDeclaration::toInitializer): Correctly 213 set up initializer symbol. (Bugzilla 1746) 214 2152008-04-17 David Friedman <dvdfrdmn@users.sf.net> 216 217 * dmd/toobj.c (InterfaceDeclaration::toObjFile): Fix error. 218 (Bugzilla 1844) 219 2202008-04-16 David Friedman <dvdfrdmn@users.sf.net> 221 222 * d-codegen.{h, cc}: Clean up nested function / nested class / 223 closure code. 224 225 * phobos/std/c/stdlib.d, phobos2/...: Remove comment that hides 226 atof. (Bugzilla 1888) 227 2282008-03-11 David Friedman <dvdfrdmn@users.sf.net> 229 230 * d-glue.cc: cleanup 231 232 * dmd/expression.c (DotVarExp::semantic): Apply fix from dmd2/ 233 234 * dmd2/expression.c (DotVarExp::semantic): Move fix to 235 better location. 236 2372008-03-09 David Friedman <dvdfrdmn@users.sf.net> 238 239 * dmd2/func.c (FuncDeclaration::needsClosure): Closures fix: 240 Change test from isVirtual to isThis. 241 242 * dmd2/expression.c (DotVarExp::semantic): Note change from DMD. 243 244 ---- 245 246 * patch-build_gcc-5465: Correctly build driver-driver 247 248 * phobos*/Makefile.am (MAIN_OBJS): Add std/cover.o 249 250 * phobos2/std/file.d: use 'mkdir -p' in unittest 251 252 * d-builtins2.cc: Fixes for pointer-to-function types (for V2) 253 254 * d-codegen.cc: Add _d_allocmemory libcall. 255 (emitLocalVar): Rework. 256 (var): New function to handle static-frame/closure variables 257 (convertTo): Use typesSame instead of typesCompatible 258 (assignValue): New function to handle Exp(v=value) vs. Exp(value) 259 (getFrameForFunction, getFrameForNestedClass): New interface 260 to get frames for nested functions. 261 (functionNeedsChain): Return false for nested functions that 262 take closures. 263 264 * d-decls.cc: Changes for const/invariant/STCinit 265 266 * d-glue.cc: Use new interface for nested functions. Use 267 IRState::var instead of v->toSymbol()->Stree. Create 268 closures. 269 270 * d-lang.cc: Implement CONVERT_PARM_FOR_INLINING hook 271 272 * d-objfile.cc: Add case for closure-using function when 273 setting the link-once attribute. 274 275 * package/simple.sh: install .../include/d2 276 277 * patch-build_gcc-4.0, patch-build_gcc-5465: Support D 2.0 278 includes and libraries. 279 280 * phobos2/std/bitmanip.d: Apply previous bitarray.d changes. 281 282 * phobos*/std/typeinfo/ti_ptr.d (getHash): Cast to hash_t. 283 284 * d-decls.cc (VarDeclaration::toSymbol): For D 2.0, use 285 isInvariant() and STCinit as criteria for making CONST_DECLs and 286 setting TREE_READONLY. 287 288 * phobos2/std/c/linux/linux.d: Do not import std.c.dirent. 289 290 * phobos2/std/c/dirent.d: Deprecated std.c.dirent. 291 292 * phobos2/std/c/unix/unix.d: Move dirent/DIR routines here. 293 294 * phobos*/std/c/darwin/ldblcompat.d: declare constants as 'string' 295 296 Merge DMD 2.008: 297 298 * dmd2/..., phobos2/...: Merge. 299 300 Merge DMD 1.024: 301 302 * phobos*/config/unix.x3: ensure MSG_NOSIGNAL is defined 303 304 * dmd/..., phobos/...: Merge. 305 306 ------ 307 308 * patch-apple-gcc-4.0.x, patch-apple-gcc-5465: Include patch 309 for SRA pass like the other 4.x patches. 310 311 * d-codegen.cc (convertTo): Ensure pointers are cast to an 312 unsigned type. 313 314 * d-objfile.cc (dt2tree_list_of_elems): Always generate a 315 CONSTRUCTOR for struct data. 316 (ObjectFile::ObjectFile): Use NULL_TREE for file context instead 317 of TRANSLATION_UNIT_DECL. 318 319 * d-lang.cc (d_write_global_declarations): Call 320 debug_hooks->global_decl before cgraph_optimize so that nested 321 class functions do not get passed to dwarf2out before the 322 outer class functions. 323 324 * Rename patch-build_gcc-4.0 to patch-build_gcc-4.0.x 325 326 327Copyright (C) 2008 Free Software Foundation, Inc. 328 329Copying and distribution of this file, with or without modification, 330are permitted in any medium without royalty provided the copyright 331notice and this notice are preserved. 332