--- d.orig/ChangeLog 2007-08-26 22:34:22.000000000 +0200 +++ d/ChangeLog 2007-09-27 17:29:42.000000000 +0200 @@ -1,3 +1,155 @@ +2007-09-24 David Friedman + + * d-glue.cc (IndeExp::toElem), d-codegen.cc (arrayElemRef): + Put the BIND_EXPR "inside the brackets". (Bugzilla 1155) + + (StructLiteralExp::toElem): Handle NULL elements (for anonymous + unions.) + +2007-09-23 David Friedman + + * d-codegen.{h,cc}, d-glue.cc: Add type to error_mark_node + for code that assumes the type of certain expressions. + (Bugzilla 1051) + + * d-glue.cc (FuncDeclaration::toObjFile): Set DECL_IGNORED_P + on the frame paramter. (Bugzilla 1033) + + * d-glue.cc, d-codegen.cc, d-objfile.cc: Set DECL_IGNORED_P + in most cases where DECL_ARTIFICIAL is set. + + * d-builtins2.cc (d_gcc_magic_builtins_module): Handle type + declarations after converting functions. + + * d-glue.cc (make_assign_math_op): Special case for division + when lhs is imaginary. (Bugzilla 739) + + * dmd-script: Apply Ander's patch for implicit -H and -D + behavior. (Bugzilla 1502) + + Use of -of argument does not depend on header generation. + (Bugzilla 1501) + + * d-builtins2.cc, dmd*/module.c: If the target va_list is a + struct, add the struct declaration to the object module. + (Bugzilla 1507) + + * dmd2/parse.c: fix line endings + + ---- + + Update for D 2.0: + + * Make-lang.in: Support both DMD front end version 1 and 2. + Replace gcc-mars.cc with d/mars.c. + + * gcc-mars.cc: Remove file. + + * d-codegen.h, d-codegen.cc: Update for DMD 2.x. + Add _d_hidden_func libcall. + + * d-decls.cc, d-glue.cc: Update for DMD 2.x. + + * d-dmd-gcc.h: Add rtlsym, etc. + + * d-lange.cc: Include mars.h. Implement rtlsym. + + * d-objfile.cc (ObjectFile::hasModule): Add checks to allow + this function to be called earlier. + + * dmd*/mars.c: Make changes for GDC. + + * dmd*/attrib.c: Use WANTinterpret for pragma(GNU_asm) + + * dmd2/parse.c (parseDeclarator): Fix aliasing bug. + + * rdmd.d: Update for D 2.0 + + * gdc-version: now only contains the GDC version + + * setup-gcc.sh: Support building D version 1 or 2. Take DMD + version from dmd*/mars.c. + + * dmd2/, phobos2/: New directories + + * phobos2/Makefile.am (MAIN_OBJS): add std.c.stdio module + for std{in,out,err} vars + + * phobos*/std/c/stdio.d: Make functions with definitions + extern(D). + + * phobos2/std/loader.d: Update for D 2.0. + + * phobos2/std/hiddenfunc.d: Use C calling conventions for GDC. + +2007-09-14 David Friedman + + + * d-codegen.cc (convertTo, call): Prevent multiple re-evaluation + of delgate. (Bugzilla 1492) + +2007-09-13 David Friedman + + * d-glue.cc, d-codegen.h, d-codegen.cc: Make it an error + to reference a nested function without a body. (SF 1793594) + +2007-09-12 David Friedman + + * phobos/config/ldfuncs-ppclinux: Declare sqrt. + + * target-ver-syms.sh, phobos/acinclude.m4, phobos/configure.in: + Support kfreebsd. + + * d-codegen.{h, cc}, d-glue.cc: Change rawArray to toDArray. Do + not cast result to void[]. (Bugzilla 1490) + +2007-09-07 David Friedman + + * phobos/std/c/stdio.d: Define fpos_t correctly for Drawin + (Bugzilla 1469) + +2007-09-05 David Friedman + + Merge DMD 1.021 + + * dmd-script, d-spec.c (lang_specific_driver): Support + -debuglib= and -defaultlib= options. + + * dmd/cast.c, dmd/constfold.c, dmd/declaration.c, dmd/dsymbol.c, + dmd/expression.c, dmd/expression.h, dmd/func.c, dmd/identifier.c, + dmd/idgen.c, dmd/init.c, dmd/init.h, dmd/interpret.c, dmd/lexer.c, + dmd/lexer.h, dmd/link.c, dmd/mars.c, dmd/mars.h, dmd/parse.c, + dmd/statement.c, dmd/staticassert.c, dmd/template.c: Merge + + * internal/object.d, phobos/internal/trace.d, phobos/object.d, + phobos/std/c/windows/windows.d, phobos/std/date.d, + phobos/std/regexp.d, phobos/std/windows/registry.d: Merge + + --- + + * phobos/std/stdio.d (readln): Use the result of getdelim + correctly. (SF 1788195) + + * d-glue.cc (FuncDeclaration::toObjFile): Do not gimplify if + there were errors (Bugzilla 1415) + +2007-08-31 David Friedman + + * d-objfile.cc (outdata): Do not set TREE_CONSTANT on initializers + (Bugzilla 1453) + +2007-08-29 David Friedman + + * d-decls.cc (uniqueName): Allow multiple static declaration with + the same name if in a function. (SF 1783085) + +2007-08-28 David Friedman + + * d-codegen.cc (call): Use CommaExp correctly. (Bugzilla 1443) + + * dmd/todt.c (createTsarrayDt): Don't take quadratic time to build + the initializer. (Bugzilla 1440) + 2007-08-22 David Friedman Release GDC 0.24