gcc/ChangeLog:
[official-gcc.git] / gcc / d / ChangeLog-2006
blob4160b0ffe97710f2063a428c849e5de4f8a329e7
1 2006-12-27  DF  <dvdfrdmn@users.sf.net>
3         * phobos/internal/fpmath.d: Support x86_64
5         * phobos/configure.in: x86_64 can use fpmath.d
6         * phobos/configure: update
8         * target-ver-syms.sh: Add some CPU architectures
10 2006-12-26  DF  <dvdfrdmn@users.sf.net>
12         * phobos/configure.in: actually use value of
13         --enable-phobos-config-dir
15 2006-12-26  David Friedman  <dvdfrdmn@users.sf.net>
17         Rest of 0.178 changes:
19         * phobos/std/bitarray.d: revert previous changes
21         * d-decls.cc (toSymbolX): update
23         * d-glue.cc (TypeFunction::retStyle): implement
25         * phobos/std/format.d: update for Mangle.Tenum
27         -------------
29         Initial merge of 0.178:
31         * dmd/class.c, dmd/declaration.c, dmd/declaration.h, dmd/doc.c,
32         dmd/expression.c, dmd/expression.h, dmd/func.c, dmd/init.c,
33         dmd/lexer.c, dmd/mangle.c, dmd/mars.c, dmd/mars.h, dmd/mtype.c,
34         dmd/optimize.c, dmd/parse.c, dmd/statement.c, dmd/statement.h,
35         dmd/template.c, dmd/tocsym.c, dmd/toobj.c: Merge 0.178
37         * phobos/internal/gc/win32.d, phobos/internal/object.d,
38         phobos/std/c/linux/linux.d, phobos/std/date.d,
39         phobos/std/dateparse.d, phobos/std/format.d, phobos/std/gc.d,
40         phobos/std/regexp.d, phobos/std/socket.d, phobos/std.ddoc: Merge
41         0.178
43         ---------------
45         * dmd/constfold.c (CastExp::constFold): Fix Bugzilla 738.
47         * dmd/todt.c (StructDeclaration::toDt): Fix Bugzilla 736.
49         * d-decls.cc (VarDeclaration::toSymbol): Fix Bugzilla 737.
51         * d-glue.cc (make_assign_math_op): Fix Bugzilla 739.
53         * d-codegen.cc, d-decls.cc, d-glue.cc, symbol.cc, symbol.h:
54         Use toParent2.  Handle nested template instance functions.
55         (Bugzilla 742, 743)
57 2006-12-25  David Friedman  <dvdfrdmn@users.sf.net>
59         * dmd/mtype.c: Don't use '@' in mangled names
61         * d-glue.cc (TypeFunction::toCtype): Handle recursive type
62         reference (Bugzilla 745)
64         * d-codegen.cc, d-codegen.h, d-glue.cc, d-objfile.cc, d-objfile.h,
65         dmd/aggregate.h, dmd/attrib.c, dmd/class.c, dmd/declaration.c,
66         dmd/declaration.h, dmd/enum.c, dmd/enum.h, dmd/func.c,
67         dmd/idgen.c, dmd/scope.c, dmd/scope.h, dmd/struct.c: Implement
68         GCC attributes.
70         * dmd/mtype.c (TypeDelegate::dotExp): Fix regression caused by
71         last fix.
73 2006-12-24  David Friedman  <dvdfrdmn@users.sf.net>
75         * dmd/parse.h, dmd/parse.c(parseStatement, parseExtAsm),
76         dmd/statement.h, asmstmt.cc: Implement GCC extended assembler.
78 2006-12-20  David Friedman  <dvdfrdmn@users.sf.net>
80         * dmd/mars.h: format issues are due to newlib, not Cygwin
82         * setup-gcc.sh: Fix sed patterns and options.
84         * dmd/mtype.c (TypeDelegate::dotExp): Handle .ptr so that
85         it can be an lvalue. (Bugzilla 696)
87         * d-irstate.cc (getLoopForLabel): Handle labels pointing to
88         ScopeStatements. (Bugzilla 695)
90 2006-12-16  David Friedman  <dvdfrdmn@users.sf.net>
92         Release GDC 0.20
94         * setup-gcc.sh: account for modified version strings
96         * dmd/mtype.c (TypeTuple::toDecoBuffer): workaround newlib bug
98         * dmd/mars.h: fix printf formats for Cygwin
100         * d-builtins.c (d_init_builtins): Handle va_list type when it is
101         an array.
103         * gcc-mars.cc, gdc-version: update
105         * d-decls.cc: warnings cleanup
107         * dmd/expression.c (realToMangleBuffer): filter out 'x'
109 2006-12-13  David Friedman  <dvdfrdmn@users.sf.net>
111         * package/simple.sh: use MAKE environment variable
113 2006-12-11  David Friedman  <dvdfrdmn@users.sf.net>
115         * patch-build_gcc-4.0: don't disable Objective C
117 2006-12-09  David Friedman  <dvdfrdmn@users.sf.net>
119         * phobos/std/bitarray.d (unittest): workaround 0.177 breakage
121         * phobos/std/format.d,
122         * phobos/std/string.d,
123         * phobos/std/loader.d: update
125         * phobos/std/file.d: fix merge. update.
127         * dmd/root.[ch] (writestring): make arg const
129         * dmd/expression.c (toMangleBuffer): update
131         Initial 0.177 merges
133         * dmd/constfold.c, dmd/declaration.c, dmd/expression.[ch],
134         dmd/func.c, dmd/idgen.c, dmd/manlge.c, dmd/mars.c, dmd/mtype.[ch],
135         dmd/opover.c, dmd/tocsym.c, dmd/toobj.c, dmd/typinf.c: Merge 0.177
137         * etc/c/zlib.d, phobos/internal/aaA.d, phobos/internal/adi.d,
138         phobos/internal/arraycat.d, phobos/internal/gc/gc.d,
139         phobos/internal/gc/testgc.d, phobos/internal/object.d,
140         phobos/internal/qsort.d, phobos/internal/switch.d,
141         phobos/internal/trace.d, phobos/object.d, phobos/std/array.d,
142         phobos/std/boxer.d, phobos/std/conv.d, phobos/std/cover.d,
143         phobos/std/cpuid.d, phobos/std/date.d, phobos/std/file.d,
144         phobos/std/format.d, phobos/std/loader.d, phobos/std/math2.d,
145         phobos/std/md5.d, phobos/std/mmfile.d, phobos/std/outbuffer.d,
146         phobos/std/path.d, phobos/std/regexp.d, phobos/std/socket.d,
147         phobos/std/stream.d, phobos/std/string.d, phobos/std/switcherr.d,
148         phobos/std/syserror.d, phobos/std/typeinfo/ti_Acdouble.d,
149         phobos/std/typeinfo/ti_Acfloat.d, phobos/std/typeinfo/ti_Acreal.d,
150         phobos/std/typeinfo/ti_Adchar.d, phobos/std/typeinfo/ti_Adouble.d,
151         phobos/std/typeinfo/ti_Afloat.d, phobos/std/typeinfo/ti_Ag.d,
152         phobos/std/typeinfo/ti_Aint.d, phobos/std/typeinfo/ti_Along.d,
153         phobos/std/typeinfo/ti_Areal.d, phobos/std/typeinfo/ti_Ashort.d,
154         phobos/std/typeinfo/ti_Aubyte.d, phobos/std/typeinfo/ti_Auint.d,
155         phobos/std/typeinfo/ti_Aulong.d, phobos/std/typeinfo/ti_Aushort.d,
156         phobos/std/typeinfo/ti_Awchar.d, phobos/std/uri.d,
157         phobos/std/utf.d, phobos/std/windows/charset.d,
158         phobos/std/windows/registry.d, phobos/std/zlib.d: Merge 0.177
160         --------------
162         * patch-apple-gcc-4.0.x, patch-build_gcc-4.0: Support
163         building the Apple way on PowerPC machines.
165 2006-12-06  David Friedman  <dvdfrdmn@users.sf.net>
167         * d-codegen.cc (call): Fix for calling delegate literal.
169         * setup-gcc.sh: fail if patching build_gcc fails
171         * d-glue.cc (NewExp::toElem): expand stack vars
172         for GCC 3.x
174         * phobos/std/cpuid.d: fix for cpuid kludge
176 2006-12-05  David Friedman  <dvdfrdmn@users.sf.net>
178         * dmd/mars.h: Handle msvcrt C99 printf incompatibility.
180         * dmd/template.c, dmd/declaration.c, dmd/expression.c, dmd/func.c,
181         dmd/init.c, dmd/lexer.c, dmd/mangle.c, dmd/mtype.c,
182         dmd/optimize.c, dmd/root.c: ditto
184         * phobos/config/unix-mid: fix compile error
186 2006-12-04  David Friedman  <dvdfrdmn@users.sf.net>
188         More 0.176 merges
190         * phobos/config/unix-mid: add reentrant funcs
192         * d-glue.cc (DeleteExp::toElem): handle on-stack vars
194         * d-glue.cc (FuncDeclaration::toObjFile): emit _arguments
196         * dmd/declaration.h, dmd/func.c: save _arguments local var for
197         backend
199 2006-12-03  David Friedman  <dvdfrdmn@users.sf.net>
201         * d-glue.cc: New _arguments ABI.
203         * gcc-mars.cc: Update for verror.
205         * d-decls.cc, d-objfile.cc,
206         * d-glue.cc (Module::genobjfile, d_gcc_aggregate_dtors): Update
207         for new toSymbolX.
209         * d-glue.cc (TypeAArray::toCtype): Implement new AA ABI.
211         * d-codegen.cc (convertTo): Don't allow conversion of dynamic
212         array to associated array and vice versa.
214         * d-codegen.cc (getLibCallDecl, rawArray, convertForCondition),
215         d-glue.cc (NullExp::toElem): change AA type
217         * gcc-mars.cc : printf corrections
219         * phobos/Makefile.in (MAIN_OBJS): add bind.o
221         Initial merge of DMD 0.176
223         * attrib.c, dmd/cast.c, dmd/class.c, dmd/cond.c, dmd/constfold.c,
224         dmd/declaration.c, dmd/doc.c, dmd/dsymbol.h, dmd/dump.c,
225         dmd/expression.c, dmd/expression.h, dmd/func.c, dmd/idgen.c,
226         dmd/init.c, dmd/init.h, dmd/lexer.c, dmd/link.c, dmd/mangle.c,
227         dmd/mars.c, dmd/mars.h, dmd/module.c, dmd/mtype.c, dmd/optimize.c,
228         dmd/parse.c, dmd/root.c, dmd/statement.c, dmd/template.c,
229         dmd/tocsym.c, dmd/todt.c, dmd/toobj.c: Merge 0.176
231         * internal/aaA.d, phobos/internal/cmath2.d, phobos/internal/deh.c,
232         phobos/internal/object.d, phobos/linux.mak,
233         phobos/std/c/linux/linux.d, phobos/std/c/linux/socket.d,
234         phobos/std/compiler.d, phobos/std/math.d, phobos/std/socket.d,
235         phobos/std/string.d, phobos/std/traits.d,
236         phobos/std/typeinfo/ti_Aubyte.d, phobos/std/typeinfo/ti_ubyte.d,
237         phobos/std.ddoc, phobos/win32.mak: Merge 0.176
239         * phobos/std/bind.d: New file in 0.176
241         * dmd/toir.[ch]: New files (from DMD 0.175)
243         * phobos/phobos.d: New file (from DMD 0.160)
245         --------------
247         * phobos/std/boxer.d (unbox(T : void*).unbox): fix
249         * d-glue.cc (NewExp::toElem): Support allocation on stack
251         Initial merge of DMD 0.175
253         * cast.c, dmd/class.c, dmd/dchar.c, dmd/dchar.h,
254         dmd/declaration.c, dmd/declaration.h, dmd/delegatize.c,
255         dmd/dsymbol.c, dmd/dump.c, dmd/enum.c, dmd/expression.c,
256         dmd/expression.h, dmd/func.c, dmd/identifier.c, dmd/identifier.h,
257         dmd/inifile.c, dmd/init.c, dmd/lexer.c, dmd/lstring.h,
258         dmd/mangle.c, dmd/mars.c, dmd/mtype.c, dmd/mtype.h,
259         dmd/optimize.c, dmd/parse.c, dmd/root.c, dmd/root.h, dmd/scope.c,
260         dmd/scope.h, dmd/statement.c, dmd/statement.h, dmd/stringtable.c,
261         dmd/todt.c, dmd/typinf.c: Merge 0.175
263         dmd/html.c: not merged
265         * phobos/internal/object.d, phobos/std/demangle.d,
266         phobos/std/format.d, phobos/std/socket.d, phobos/std/stdio.d,
267         phobos/std/traits.d, phobos/std/uni.d, phobos/std.ddoc:
268         Merge 0.175
270         ------------
272         * config/darwin8, config/mingw: update config fragments
274 2006-11-26  David Friedman  <dvdfrdmn@users.sf.net>
276         * d-codegen.cc, d-glue.cc: Fix missing continue label
277         expansion for GCC < 4.0
279         * d-glue.cc (make_math_op): Convert non-complex to complex
280         in all version of GCC. (Buzilla 575)
282         * d-codegen.cc: for tree code class for GCC < 4.0
284         * phobos/Makefile.in: make test programs dependendent on
285         libgphobos.a as gdc will still try to find it
287         * phobos/configure.in: conditionally build std/boxer.o
289         * phobos/Makefile.in (MAIN_OBJS): remove std/boxer.o
291         * phobos/internal/arraycat.d (_d_array_literal): disable
293         * phobos/std/format.d: fix for PowerPC Linux
295 2006-11-25  David Friedman  <dvdfrdmn@users.sf.net>
297         * d-gcc-real.h: cleanup for warnings
299 2006-11-24  David Friedman  <dvdfrdmn@users.sf.net>
301         * d-glue.cc (DotVarExp::toElem): Handle const members.
303         * d-codegen.cc (needs_temp): Return false for constants.
304         (isFreeOfSideEffects): New function.
306         * d-glue.cc (do_array_set): Evaluate the rvalue only once
307         (Bugzilla 578).
309 2006-11-18  David Friedman  <dvdfrdmn@users.sf.net>
311         Rest of DMD 0.174 merge:
313         * dmd/mtype.c (TypeDelegate::dotExp): Use cast-to-pointer
314         for .ptr property
316         * d-decls.cc (VarDeclaration::toSymbol): Build CONST_DECLs
317         * d-codegen.cc (IRState::emitLocalVar): Do nothing if CONST_DECL
319         * d-codegen.cc (ArrayScope::setArrayExp): Handle tuple/constant
320         lengths.
322         * dmd/toobj.c (Dsymbol::toObjFile): emit local variables for
323         tuples
325         * svn: move traits.d and typetuple.d to the correct directory
327         * gcc-mars.cc (error): add va_list form
329         * dmd/mars.h (error): use va_list for 'error'
331         * dmd/expression.c, dmd/lexer.c: fix compile errors
333         * phobos/Makefile.in (MAIN_OBJS): add traits.o and typetuple.o
335         * dmd-script: add -v1 option
337         * dmd/root.c (FileName::ensurePathExists): fix conditions
338         for non-win32, non-linux.
340         * dmd-script (printUsage): add missing options documentation
342         * d-codegen.{h, cc}: use size_t
344         * phobos/internal/dgccmain2.d: update
346         Initial merge of DMD 0.174:
348         * dmd/attrib.c, dmd/cast.c, dmd/class.c, dmd/declaration.c,
349         dmd/declaration.h, dmd/doc.c, dmd/dsymbol.c, dmd/dsymbol.h,
350         dmd/expression.c, dmd/expression.h, dmd/func.c, dmd/hdrgen.c,
351         dmd/idgen.c, dmd/inline.c, dmd/lexer.c, dmd/mangle.c, dmd/mars.c,
352         dmd/mars.h, dmd/module.c, dmd/mtype.c, dmd/mtype.h, dmd/parse.c,
353         dmd/statement.c, dmd/template.c, dmd/template.h, dmd/tocsym.c,
354         dmd/todt.c, dmd/toobj.c, dmd/typinf.c, dmd/utf.c, dmd/utf.h: Merge
355         0.174
357         * phobos/internal/aApplyR.d, phobos/internal/dmain2.d,
358         phobos/internal/object.d, phobos/linux.mak, phobos/object.d,
359         phobos/std/date.d, phobos/std/openrj.d, phobos/std/signals.d,
360         phobos/win32.mak: Merge 0.174
362         * phobos/std/traits.d, phobos/std/typetuple.d: New files in 0.174
365 2006-11-17  David Friedman  <dvdfrdmn@users.sf.net>
367         * package/simple.sh: enhancements
369         * dmd/attrib.c: fix message
371 2006-11-16  David Friedman  <dvdfrdmn@users.sf.net>
373         * d-codegen.cc (continueHere): fix error
374         * d-glue.cc (d_gcc_aggregate_dtors): "
376 2006-11-14  David Friedman  <dvdfrdmn@users.sf.net>
378         * d-builtins2.cc, d-codegen.{cc, h}, d-decls.cc, d-glue.cc,
379         d-lang.h: remove D_TYPE_IS_NESTED.  Do not pull original
380         TypeFunction from FUNCTION_TYPE.
382         * d-codegen.cc: cleanup
384         * d-codegen.cc, gdc-alloca.h, phobos/config/gen_unix.c: fixes for
385         older MacOS X builds
387 2006-11-13  David Friedman  <dvdfrdmn@users.sf.net>
389         * phobos/std/cpuid.d: fixes for PIC
391         * d-asm-i386.h: Fix for referencing funcs (Bugzilla 307).
392         Correct clobbers for cpuid, but left out EBX as a kludge for
393         std.cpuid.
395         * phobos/std/c/linux/linux.d: make imports public (Bugzilla 403)
397         * d-decls.cc (uniqueName): Fixed logic error (Bugzilla 375). Then
398         just removed most of the code and comments because the workaround
399         is no longer needed.
401 2006-11-12  David Friedman  <dvdfrdmn@users.sf.net>
403         * dmd/root.c (Object::hashCode): cast to pointer acceptable int type
405         Rest of DMD 0.173 merge:
407         * d-glue.cc (UnrolledLoopStatement::toIR): implement
409         * d-codegen.h (setContinueLabel): add interface for multiple continues
411         * d-irstate.h (Flow), d-irstate.cc: add overrideContinueLabel for
412         GCC < 4.0
414         * d-builtins2.cc, d-glue.cc, d-codegen.cc: update for
415         TypeFunction::arguments -> parameters and tuples
417         * dmd/func.c: update
419         * d-gcc-complex_t.h: update
421         * phobos/Makefile.in (MAIN_OBJS): add signals.o and cpuid.o
423         Initial merge of DMD 0.173:
425         * dmd/arraytypes.h, dmd/cast.c, dmd/class.c, dmd/complex_t.h,
426         dmd/constfold.c, dmd/declaration.c, declaration.h,
427         dmd/delegatize.c, dmd/doc.c, dmd/dsymbol.c, dmd/dsymbol.h,
428         expression.c, dmd/expression.h, dmd/func.c, dmd/html.c,
429         dmd/html.h, dmd/inline.c, lexer.c, dmd/lexer.h, dmd/mars.c,
430         dmd/mars.h, dmd/mem.h, dmd/mtype.c, dmd/mtype.h, opover.c,
431         dmd/optimize.c, dmd/parse.c, dmd/parse.h, dmd/statement.c,
432         dmd/statement.h, struct.c, dmd/template.c, dmd/template.h,
433         dmd/tocsym.c, dmd/toobj.c, dmd/typinf.c: Merge 0.173
435         * phobos/internal/object.d, phobos/linux.mak, phobos/std/stream.d,
436         phobos/std/string.d, phobos/std/system.d, phobos/std.ddoc,
437         phobos/unittest.d, phobos/win32.mak: Merge 0.173
439         * phobos/std/c/locale.d, phobos/std/cpuid.d, phobos/std/signals.d:
440         New files in 0.173
442         ----
444         * dmd/class.c, dmd/mars.c, dmd/opover.c, dmd/statement.c:
445         Merge DMD 0.172
447         Merge DMD 0.171:
449         * dmd/func.c, dmd/optimize.c: Update comments
451         * dmd/aggregate.h, dmd/class.c, dmd/func.c, dmd/mars.c:
452         Merge 0.171
454         * phobos/internal/aApplyR.d, phobos/internal/gc/gc/.d: Merge 0.171
456         ----
458         Rest of DMD 0.170 merge:
460         * d-glue.cc (ArrayLiteralExp::toElem): Handle the case in which
461         the type of the expression is a pointer.
463         * dmd/optimize.c (PtrExp::optimize): Don't change type
464         of expression without cast
466         * phobos/internal/aApplyR.d: turn off debug(apply)
468 2006-11-11  David Friedman  <dvdfrdmn@users.sf.net>
470         * d-glue.cc (ForeachStatement::toIR): support foreach_reverse
472         * dmd/lexer.c: size_t -> unsigned
474         * d-lang.cc (d_handle_option): update
476         * phobos/Makefile.in: add aApplyR.o
478         * phobos/internal/monitor.c: merged
480         Initial merge of DMD 0.170:
482         * dmd/attrib.c, dmd/cast.c, dmd/class.c, dmd/delegatize.c,
483         dmd/dsymbol.c, dmd/expression.c, dmd/expression.h, dmd/func.c,
484         dmd/identifier.c, dmd/idgen.c, dmd/import.c, dmd/lexer.c,
485         dmd/lexer.h, dmd/mangle.c, dmd/mars.c, dmd/module.c, dmd/mtype.c,
486         dmd/mtype.h, dmd/opover.c, dmd/parse.c, dmd/statement.c,
487         dmd/statement.h, dmd/template.h, dmd/utf.h: Merge 0.170
489         * phobos/internal/aApply, phobos/internal/cast.d,
490         phobos/internal/gc/gc.d, phobos/internal/mars.h,
491         phobos/internal/object.d, phobos/linux.mak, phobos/object.d,
492         phobos/std/gc.d, phobos/std/math.d, phobos/std/outofmemory.d,
493         phobos/std/path.d, phobos/std/zlib.d, phobos/std.ddoc,
494         phobos/unittest.d, phobos/win32.mak: Merge 0.170
496         * internal/monitor.c: not changed; merge deferred for now
498         * phobos/internal/aApplyR.d: new file in 0.170
500         ----
502         Rest of 0.169 merge:
504         * phobos/internal/object.d: fix merge error
506         * d-asm-i386.h: update for DMD changes
508         * dmd/mtype.c, phobos/internal/adi.d (_adSortChar, _adSortWchar):
509         fix for calling conventions
511         * d-gcc-complex_t.h: updated
513         Initial merge of DMD 0.169:
515         * dmd/aggregate.h, dmd/arraytypes.h, dmd/attrib.h, dmd/class.c,
516         dmd/complex_t.h, dmd/cond.h, dmd/declaration.h, dmd/declaration.c,
517         dmd/doc.h, dmd/dsymbol.c, dmd/dsymbol.h, dmd/enum.h,
518         dmd/expression.c, dmd/expression.h, dmd/hdrgen.h, dmd/html.h,
519         dmd/identifier.h, dmd/idgen.c, dmd/import.c, dmd/import.h,
520         dmd/init.c, dmd/init.h, dmd/lexer.h, dmd/macro.h, dmd/macro.c,
521         dmd/mars.c, dmd/mars.h, dmd/module.c, dmd/module.h, dmd/mtype.c,
522         dmd/mtype.h, dmd/opover.c, dmd/optimize.c, dmd/parse.h,
523         dmd/root.c, dmd/scope.c, dmd/scope.h, dmd/statement.c,
524         dmd/statement.h, dmd/staticassert.h, dmd/struct.c, dmd/template.c,
525         dmd/template.h, dmd/total.h, dmd/typinf.c, dmd/utf.h,
526         dmd/version.h: Merge 0.169
528         * phobos/internal/adi.d, phbobos/internal/critical.c,
529         phbobos/internal/mars.h, phbobos/internal/monitor.c,
530         phbobos/internal/object.d, phbobos/object.d, phbobos/std/regexp.d:
531         Merge 0.169
533         ----
535         * dmd-script: Create directories for output files
537         Rest of 0.168 changes:
539         * d-dmd-gcc.h, d-glue.cc (d_gcc_aggregate_dtors): new function
540         * dmd/toobj.c (ClassDeclaration::toObjFile): use d_gcc_aggregate_dtors
542         * d-codegen.cc (convertTo): handle delegate .ptr property
544         * lang-specs.h, dmd-script: handle .xhtml extension
546         Initial merge of DMD 0.168
548         * dmd/aggregate.h, dmd/arraytypes.h, dmd/cast.c, dmd/class.c,
549         dmd/declaration.c, dmd/expression.h, dmd/func.c, dmd/html.[ch],
550         dmd/idgen.c, dmd/init.c, dmd/lexer.c, dmd/lexer.h, dmd/link.c,
551         dmd/mangle.c, dmd/mars.c, dmd/module.c, dmd/mtype.[ch],
552         dmd/statement.c, dmd/toobj.c, dmd/typeinf.c: Merge 0.168
554         * phobos/etc/gamma.d, phobos/internal/object.d,
555         phobos/std/c/linux/linux.d.orig-dmd, phobos/std/date.d,
556         phobos/std/math.d, phobos/std/socket.d, phobos/std/socketstream.d,
557         phobos/std/stream.d, phobos/std/uni.d, phobos/win32.mak: Merge 0.168
559 2006-11-10  David Friedman  <dvdfrdmn@users.sf.net>
561         * Make-lang.in (d.install-common): cross install fix for gdmd
563         * d-glue.cc (NewExp::toElem): uint -> unsigned
565         * package/simple.sh: Don't depend on rsync
567         * patch-toplev-3.4.x, patch-toplev-4.0.x: Modify top-level
568         Makefile.in, configure.in, and configure to work with
569         a Canadian cross build.
571         * d-glue.cc (SynchronizedStatement::toIR): Remove uneeded
572         startBindings call.  Add missing _d_criticalenter call.
574 2006-10-12  David Friedman  <dvdfrdmn@users.sf.net>
576         * phobos/config/unix-mid: add sysconf
578 2006-10-11  David Friedman  <dvdfrdmn@users.sf.net>
580         * phobos/std/format.d (doFormat): support Mangle.Tstruct for p_args
582         * phobos/config/unix-head: import tm from gcc.config
584         * phobos/config/gen_unix.c (c_time): Moved out struct tm.
586         * phobos/config/gen_config1.c: Support clock_t. Move struct tm here.
588         * d-glue.cc (AssignExp::toElem): use _d_arraysetlength3p
589         (FuncDeclaration::toObjFile): Fixed assert of class member if
590         synchronized.
592         * d-codegen.{h, cc}: replace libcall _d_arraysetlength2p with
593         _d_arraysetlength3p
595         * phobos/internal/gc/gc.d (_d_arraysetlength3p): pointer version
596         of _d_arraysetlength3.  GCC asm jump fix.
598 2006-10-09  David Friedman  <dvdfrdmn@users.sf.net>
600         * d-codegen.{h, cc}: new libcalls: _dnewmp, _d_newarraymip
602         * phobos/internal/gc/gc.d (_dnewmp, _d_newarraymip): pointer version
603         of _dnewm, _d_newarraymi
605         * phobos/config/unix-mid: add utime
607         * phobos/std/file.d: changes for GDC
609         * phobos/config/gen_unix.c: support utimbuf
611 2006-09-23  David Friedman  <dvdfrdmn@users.sf.net>
613         Initial merge of 0.167:
615         * dmd/array.c, dmd/cast.c, dmd/declaration.c, dmd/delegatize.c,
616         dmd/expression.[ch], dmd/func.c, dmd/idgen.c, dmd/import.c,
617         dmd/init.c, dmd/inline.c, dmd/lexer.[ch], dmd/mars.c,
618         dmd/mtype.[ch], dmd/optimize.c, dmd/parse.c, dmd/statement.c,
619         dmd/template.c, dmd/typinf.c: Merge 0.167
621         * phobos/internal/arraycat.d, phobos/internal/gc/gc.d,
622         phobos/internal/gc/testgc.d, phobos/internal/object.d,
623         phobos/linux.mak, phobos/object.d, phobos/std/asserterror.d,
624         phobos/std/c/linux/linux.d.orig-dmd, phobos/std/c/time.d,
625         phobos/std/file.d, phobos/std/format.d, phobos/std/math.d,
626         phobos/std/string.d, phobos/std/thread.d, phobos/unittest.d,
627         phobos/win32.mak: Merge 0.167
629         * phobos/std/c/windows/stat.d: New 0.167
631 2006-09-06  David Friedman  <dvdfrdmn@users.sf.net>
633         * d-glue.cc (FuncDelaration::toObjFile):
634         Assert isMember for synchronized functions.
635         (NewExp::toElem): Correct some cases for nested classes
637 2006-09-04  David Friedman  <dvdfrdmn@users.sf.net>
639         * gdc-version, gcc-mars.cc: update
641         * d-codegen.cc (trueDeclarationType): support lazy arguments
642         (trueArgumentType): ditto
644         * d-codegen.{h, cc}: comment out convertForInitialization
646         * Make-lang.in (D_DMD_OBJS): add delegatize
648         * dmd/delegatize.c: new, DMD 0.166
650         * dmd/cast.c, dmd/declaration.[ch], dmd/expression.[ch],
651         dmd/func.c, dmd/inline.c, dmd/lexer.c, dmd/lexer.h, dmd/mars.c,
652         dmd/mtype.c, dmd/mtype.h, dmd/opover.c, dmd/parse.c,
653         dmd/statement.c, dmd/struct.c, dmd/template.c, dmd/tocsym.c,
654         dmd/typinf.c: Merge DMD 0.166
656         * phobos/etc/c/zlib/...: Merge 0.166
658         * phobos/internal/aApply.d, phobos/internal/gc/linux.mak,
659         phobos/linux.mak, phobos/std/cover.d, phobos/std/utf.d,
660         phobos/win32.mak: Merge 0.166
662         * phobos/etc/zlib/infblock.[ch], phobos/etc/zlib/infcodes.[ch],
663         phobos/etc/zlib/infutil.[ch], phobos/etc/zlib/maketree.c,
664         phobos/etc/zlib/zlib.html: remove, DMD 0.166
666         * gdc-version: update
668         * d-glue.cc (FuncDeclaration::toObjFile): update
670         * dmd/cast.c, dmd/declaration.[ch], dmd/enum.c,
671         dmd/expression.[ch], dmd/func.c, dmd/init.c, dmd/inline.c,
672         dmd/mars.c, dmd/mtype.c, dmd/statement.c, dmd/template.c,
673         dmd/typeinf.c: Merge DMD 0.165
675         * phobos/internal/gc/gcx.d, phobos/std.ddoc: Merge DMD 0.165
677         * gdc-version: updated
679         * dmd/aggregate.h, dmd/declaration.[ch], dmd/doc.c, dmd/dsymbol.c,
680         dmd/expression.c, dmd/import.c, dmd/inifile.c, dmd/mars.c,
681         dmd/module.[ch], dmd/mtype.c, dmd/parse.c, dmd/statement.c,
682         dmd/template.c: Merge DMD 0.164
684         * phobos/std/socket.d: Merge DMD 0.164
685         * phobos/std/thread.d: no change
687 2006-07-22  David Friedman  <dvdfrdmn@users.sf.net>
689         * phobos/internal/gc/testgc.d: add import
691         * phobos/std/thread.d (Thread.thread_init, Thread.getESP): make
692         public
694         * phobos/std/c/unix/unix.d: use public import
696         * dmd/access.c, dmd/aggregate.h, dmd/attrib.c, dmd/class.c,
697         dmd/declaration.[ch], dmd/enum.c, dmd/expression.c, dmd/func.c,
698         dmd/import.[ch], dmd/mars.c, dmd/module.c, dmd/mtype.[ch],
699         dmd/parse.[ch], dmd/scope.[ch], dmd/struct.c, dmd/template.[ch],
700         dmd/todt.c: Merge DMD 0.163
702         * phobos/internal/object.d, phobos/std/c/linux/linux.d.orig-dmd,
703         phobos/std/regexp.d, phobos/std/stdio.d, phobos/std/stream.d:
704         Merge DMD 0.163
706 2006-07-12  David Friedman  <dvdfrdmn@users.sf.net>
708         Release GDC 0.19
710         * dmd/template.c: don't use ehfilter
711         * gdc-version: update
713 2006-07-11  David Friedman  <dvdfrdmn@users.sf.net>
715         Support for Apple GCC and other fixes
717         * setup-gcc.sh: patch build_gcc
718         * patch-build_gcc-4.0: new
720         * dmd-script: Support -arch option and apple driver naming.
721         Use absolute path to execute program with -run.
723 2006-07-10  David Friedman  <dvdfrdmn@users.sf.net>
725         * phobos/config/darwin8/{frag-gen,frag-math,frag-unix}: new
726         * phobos/configure.in: support Darwin cross compiling
727         * phobos/configure.in: updated
729         * phobos/config/gen_unix.c (c_fcntl): added *_OK enums
730         * phobos/config/skyos/frag-unix: updated
732 2006-07-03  David Friedman  <dvdfrdmn@users.sf.net>
734         * ../../gcc/tree.h, ../../gcc/tree-dump.c: machine readable dump
736         Merge DMD 0.162
738         * d-glue.cc (AssignExp::toElem): use _d_arraysetlength2p
740         * phobos/internal/gc/gc.d: chanage _d_arraysetlength2 to
741         _d_arraysetlength2p
743 2006-07-02  David Friedman  <dvdfrdmn@users.sf.net>
745         * d-codegen.{h, cc}: support _d_arraysetlength2
747         * dmd/cast.c, dmd/declaration.c, dmd/doc.c, dmd/expression.c,
748         dmd/func.c, dmd/mars.c, dmd/mtype.c, dmd/parse.c, dmd/struct.c,
749         dmd/template.[ch], dmd/toobj.c: merged
751         * phobos/internal/gc/gc.d, phobos/object.d,
752         phobos/std/asserterror.d, phobos/std/moduleinit.d: merged
754         ---
756         * phobos/std/regexp.d (RegExp.Range.setbitmax): fix for
757         big endian
759 2006-06-28  DF  <dvdfrdmn@users.sf.net>
761         * d-glue.cc (TypeStruct::toCtype, TypeEnum::toCtype): Move
762         initTypeDecl call to after size calculation.
764 2006-06-24  David Friedman  <dvdfrdmn@users.sf.net>
766         * phobos/Makefile.in: fix and clean up config.d dependencies
768         * d-gcc-real.cc (real_t): fix assumptions about HOST_WIDE_INT
770 2006-06-23  David Friedman  <dvdfrdmn@users.sf.net>
772         * Make-lang.in, asmstmt.cc, d-convert.cc, d-gcc-includes.h,
773           d-lang.cc, setup-gcc.sh: update to support building with Apple
774           GCC
775         * d-apple-gcc.cc, patch-apple-gcc-4.0.x: new
777         Misc fixes
779         * Make-lang.in: Add dependencies for DMD header files.
781         * phobos/config/gen_unix.c (c_time): fix array bounds bug
783 2006-06-22  David Friedman  <dvdfrdmn@users.sf.net>
785         * Make-lang.in: use BUILD_LDFLAGS for generator progs
787 2006-06-21  David Friedman  <dvdfrdmn@users.sf.net>
789         * d-asm-i386.h: implement offset/offsetof
791 2006-06-20  David Friedman  <dvdfrdmn@users.sf.net>
793         Merge DMD 0.161
795         * gcc-mars.cc, gdc-version: updated
797         * dmd/cast.c, dmd/class.c, dmd/declaration.[ch], dmd/dsymbol.c,
798         dmd/expression.[ch], dmd/func.c, dmd/idegen.c, dmd/import.h,
799         dmd/inline.c, dmd/lexer.[ch], dmd/mars.[ch], dmd/module.c,
800         dmd/mtype.c, dmd/opover.c, dmd/parse.c, dmd/root.[ch],
801         dmd/statement.c, dmd/struct.c, dmd/template.[ch], dmd/toobj.c:
802         Merge DMD 0.161
804         * phobos/internal/adi.d, phobos/internal/cast.d,
805         phobos/internal/trace.d, phobos/linux.mak,
806         phobos/std/asserterror.d, phobos/std/base64.d,
807         phobos/std/bitarray.d, phobos/std/boxer.d,
808         phobos/std/c/linux/socket.d, phobos/std/c/windows/windows.d,
809         phobos/std/c/windows/winsock.d, phobos/std/conv.d,
810         phobos/std/cstream.d, phobos/std/date.d, phobos/std/dateparse.d,
811         phobos/std/demangle.d, phobos/std/file.d, phobos/std/format.d,
812         phobos/std/math.d, phobos/std/math2.d, phobos/std/mmfile.d,
813         phobos/std/random.d, phobos/std/regexp.d, phobos/std/socket.d,
814         phobos/std/socketstream.d, phobos/std/stream.d,
815         phobos/std/string.d, phobos/std/stream.d, phobos/std/thread.d,
816         phobos/std/typeinfo/ti_Along.d, phobos/std/typeinfo/ti_Aulong.d,
817         phobos/std/tyeinfo/ti_void.d, phobos/std/uni.d, phobos/std/uri.d,
818         phobos/std/utf.d, phobos/std/windows/registry.d, phobos/std/zip.d,
819         phobos/std/zlib.d, phobos/std.ddoc, phobos/unittest.d,
820         phobos/win32.mak: Merge DMD 0.161
822         * Make-lang.in, d-lang.cc: Possible workaround for MingGW path
823         issues.  Create d-confdefs.h to contain the values of D_PHOBOS_DIR
824         and D_PHOBOS_TARGET_DIR.
826 2006-06-10  David Friedman  <dvdfrdmn@users.sf.net>
828         * History: new file
829         * package/install.sif: ditto
830         * package/simple.sh:
832         * phobos/std/zip.d (putUshort): fix for BigEndian case
834         * phobos/internal/gc/gcgccextern.d: update for version(freebsd)
836         * target-ver-syms.sh: Use "freebsd" for FreeBSD.
838         * phobos/configure.in: Enable std.loader for FreeBSD.
839         * phobos/std/loader.d: ditto
840         * phobos/configure: updated
842         * Make-lang.in: Support package building. Cleanup.
844 2006-06-08  David Friedman  <dvdfrdmn@users.sf.net>
846         * patch-gcc-4.0.x: updated with...
847         * .../gcc/tree-nested.c: check if static chain is a PARM_DECL
848         (Bugzilla 175)
850 2006-06-07  David Friedman  <dvdfrdmn@users.sf.net>
852         * Make-lang.in: use CXX_FOR_BUILD
854         * phobos/std/format.d (unittest): Some C libraries do not support
855         the %A format.
857 2006-06-06  David Friedman  <dvdfrdmn@users.sf.net>
859         * phobos/config/skyos/frag-unix: update for SkyOS beta 10
861 2006-06-05  David Friedman  <dvdfrdmn@users.sf.net>
863         Merge DMD 0.160
865         * d-codegen.cc (arrayType): handle zero-length arrays for local
866         variables.
868         * gdc-version, gcc-mars.cc: update
870         * d-glue.cc (NewExp::toElem): support 'exp. new ...'
872         * d-codegen.{h, cc}: support _d_assert_msg
874         * dmd/attrib.c, dmd/enum.c, dmd/expression.[ch], dmd/idgen.c,
875         dmd/inifile.c, dmd/inline.c, dmd/mars.c, dmd/module.c,
876         dmd/mtype.c, dmd/opover.c, dmd/parse.[ch], dmd/statement.[ch],
877         dmd/staticassert.[ch], dmd/struct.c: Merge DMD 0.160
879         * phobos/std/asserterror.d, phobos/std/regexp.d,
880         phobos/std/zlib.d, phobos/std.ddoc, phobos/win32.mak: Merge DMD
881         0.160
883 2006-06-04  David Friedman  <dvdfrdmn@users.sf.net>
885         Various fixes
887         * d-codegen.cc (twoFieldType): cleanup
889         * phobos/internal/gc/gc_dyld.c: correct callback signature
891         * phobos/std/format.d (unittest): Undo test change.
892         (putreal): Handle the case where real is equivalent to double.
894         * d-glue.cc (TypeClass::toCtype): use prepareTypeDecl instead of
895         setting an initial TYPE_NAME (Bugzilla 174)
896         (TypeStruct::toCtype): ditto
897         (TypeEnum::toCtype): ditto
899         * d-objfile.{h, cc} (prepareTypeDecl): New: Create type
900         declarations, but do not declare them to back end.
902         Merge DMD 0.159 and more
904         * d-asm-i386.h (parsePrimaryExp): handle floating point const
905         decls specially (Bugzilla 141)
907 2006-06-03  David Friedman  <dvdfrdmn@users.sf.net>
909         * d-glue.cc (AssertExp::toElem): handle interfaces
911         * phobos/std/math.d (poly): fix for darwin x86
913         * phobos/std/format.d (unittest): handle some variation in %a
914         formats
916         * gdc-version: updated
918         * gcc-mars.cc: updated
920         * dmd/attrib.c, dmd/attrib.h, dmd/class.c, dmd/declaration.c,
921         dmd/doc.c, dmd/expression.c, dmd/expression.h, dmd/func.c,
922         dmd/link.c, dmd/mars.c, dmd/module.c, dmd/module.h, dmd/parse.c,
923         dmd/parse.h, dmd/statement.c, dmd/staticassert.c, dmd/struct.c,
924         dmd/template.c, dmd/toobj.c: Merge DMD 0.159
926         * phobos/std/c/linux/linux.d.orig-dmd,
927         phobos/std/c/linux/linuxextern.d, phobos/std/c/windows/windows.d,
928         phobos/std/regexp.d, phobos/std/string.d, phobos/std/uni.d,
929         phobos/std.ddoc: Merge DMD 0.159
931         * dmd-script: use -O3 for GCC if -O is passed
933         Fix bugs 157, 162, 164, 171
935         * d-asm-i386.h: 'invlpg' instruction takes an operand (Bug 171)
937         * patch-gcc-4.0.x: updated with...
938         * .../gcc/tree-nested.c: use a VAR_DECL for custom static chain
939         (Bug 162, Bug 164)
941         * gdc-version: updated
943         * d-glue.cc (FuncExp::toElem): Handle Tpointer case. (Bug 157)
945 2006-06-01  David Friedman  <dvdfrdmn@users.sf.net>
947         * Start of SourceForge repository
950 Copyright (C) 2006 Free Software Foundation, Inc.
952 Copying and distribution of this file, with or without modification,
953 are permitted in any medium without royalty provided the copyright
954 notice and this notice are preserved.