aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/ChangeLog-2007
blob: a2e504362c3ffb8ede1c0ab57e3e3a0a322f0452 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
2007-12-15  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos*/Makefile.{am,in}, phobos*/aclocal.m4: Automake changes

	* setup-gcc.sh: Support Apple GCC build 5465

	* patch-apple-gcc-5465, patch-build_gcc-5465, patch-toplev-5465:
	new files

2007-12-01  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/config/unix.x3, phobos/config/x3.c, phobos/config/x3.h
	phobos/config/x3, phobos/config/x3main.c: better diagnostics
	and behavior

2007-11-24  David Friedman  <dvdfrdmn@users.sf.net>

	* setup-gcc.sh: Ignore .svn directories when making symlink trees.

	* d-bi-attrs-34.h, d-bi-attrs-341.h, d-bi-attrs-40,h,
	d-bi-attrs-41.h: Support attributes on declarations in
	other modules.

	* d-codegen.cc (IRState::attributes): Support constant declarations
	as string arguments.

2007-11-08  David Friedman  <dvdfrdmn@users.sf.net>

	* d-cppmngl.cc: Use base-36 in substitutions.  Other fixes.

2007-10-17  David Friedman  <dvdfrdmn@users.sf.net>

	* d-cppmngl.cc: More C++ mangling fixes and cleanups.

2007-10-16  David Friedman  <dvdfrdmn@users.sf.net>

	* d-glue.cc (EqualExp::toElem): Convert result to libcall
	to expression type. (Bugzilla 1573)

2007-10-15  David Friedman  <dvdfrdmn@users.sf.net>

	* d-cppmngl.cc: Improve C++ mangling.

2007-10-14  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 1.022, 2.005

	* dmd/..., dmd2/..., phobos/..., phobos2/...: Merge.

	* Make-lang.in: Add builtin.dmd.o and d-cppmngl.o for V2.

	* d-cppmngl.cc: New file

	* phobos/std/c/dirent.d, phobos/std/c/linux/linux.d: Update
	* phobs2/...: same

	* symbol.h, d-decls.cc: Remove references to Classym

	----

	* d-glue.cc (CatExp::toElem): Null check. (Bugzilla 1581)

	Remove carriage returns from files

2007-10-13  David Friedman  <dvdfrdmn@users.sf.net>

	* d-glue.cc (CatExp::toElem): Flatten multiple CatExps into a
	single library call. (Bugzilla 1556)

	* phobos/std/boxer.d (box, boxArray), phobos2/...: Fix for
	promoted types.	(Bugzilla 1543)

	* d-codegen.cc (call): Catch a case in which a member function can
	be called without 'this'. (Bugzilla 1568)

	* dmd/mtype.c (TypeArray::dotExp): Correct return type of
	sort and reverse functions. (SF 1809220 / Bugzilla 1554)

	* dmd2/mtype.c: Ditto.

	* patch-gcc-4.1.x: Add patch for ARM exception handling int nested
	functions.

	* d-objfile.cc: Make DT data TREE_CONSTANT

	* dmd2/optimize.c: Fix for infinite recursion on initializer
	when an error has already occurred.

	-----

	Add support for ARM EABI.  Fix some missing items from
	cross-compilation changes.

	* d-lang.cc: Add "Arm" and "Thumb" version identifiers

	* phobos/unwind.d: Move pointer encoding to deh_pe.d. Move generic
	unwinder interface to unwind_generic.d.  Import either generic or
	ARM interfaces based on config value.

	* phobos/unwind_generic.d, phobos/unwind_pe.d: New file; old code.

	* phobos/unwind_arm.d: New file.

	* phobos/deh.d: Support ARM exception handling ABI.

	* phobos/configure.in, frag-ac.in: Add config for ARM unwinder

	* phobos/configure.in, phobos/internal.c, phobos/monitor.c: Support
	"no system" targets.

	* phobos/cbridge_math.c: Correct identifier names for earlier
	changes.

	* phobos/Makefile.am, phobos/Makefile.in, phobos/config.h.in,
	phobos/configure : Update.

	* phobos2/...: Duplicate phobos/ changes

2007-10-07  David Friedman  <dvdfrdmn@users.sf.net>

	Merge cross-compilation changes to phobos2

	* phobos2/....: Merge

	---

	Enhance cross-compilation support:

	* phobos/Makefile.am, phobos/Makefile.in, phobos/acinclude.m4,
	phobos/aclocal.m4, phobos/configure.in, phobos/configure,
	phobos/config.h.in: Replace "fragment generation" with "X3"
	system.  Remove obsolete tests.

	* phobos/config/{config-head, config-mid, config-tail}: Removed
	* phobos/config/{makestruct.h, unix-head, unix-mid}: Removed
	* phobos/{darwin8, mingw, skyos}: Removed

	* phobos/config/{errno.x3, fpcls.x3, libc.x3, unix.x3},
	phobos/config{x3, x3.c, x3.h, x3main.c}:  New files

	* phobos/frag-ac.in: Now only contains boolean constants.
	* phobos/frag-math.in: New file.  Contains old configured math
	functions.

	* phobos/gcc/configext.d: Removed
	* phobos/gcc/support.d: Move fallback strtold definition here.

	* phobos/Makefile.am: Do not compile std/c/stdio.o
	* phobos/std/c/stdio.c: Change function definitions to external
	declarations.

	* phobos/gcc/deh.d, phobos/gcc/fpcls.d, phobos/gcc/fpmath.d,
	phobos/gcc/support.d, phobos/gcc/threadsem.d,
	phobos/internal/dgccmain2.d, phobos/internal/fpmath.d,
	phobos/internal/gc/gcgcc.d, phobos/phobos-ver-syms.in,
	phobos/std/c/dirent.d, phobos/std/c/math.d, phobos/std/c/stddef.d,
	phobos/std/c/stdio.d, phobos/std/c/stdlib.d, phobos/std/c/time.d,
	phobos/std/c/unix/unix.d, phobos/std/date.d, phobos/std/math.d,
	phobos/std/math2.d, phobos/std/mmfile.d, phobos/std/random.d,
	phobos/std/stdio.d, phobos/std/stream.d, phobos/std/system.d,
	phobos/std/thread.d: Update.  Add some support for targets
	withouth an operation system.

2007-09-24  David Friedman  <dvdfrdmn@users.sf.net>

	* 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  <dvdfrdmn@users.sf.net>

	* 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  <dvdfrdmn@users.sf.net>


	* d-codegen.cc (convertTo, call): Prevent multiple re-evaluation
	of delgate. (Bugzilla 1492)

2007-09-13  David Friedman  <dvdfrdmn@users.sf.net>

	* 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  <dvdfrdmn@users.sf.net>

	* 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  <dvdfrdmn@users.sf.net>

	* phobos/std/c/stdio.d: Define fpos_t correctly for Drawin
	(Bugzilla 1469)

2007-09-05  David Friedman  <dvdfrdmn@users.sf.net>

	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  <dvdfrdmn@users.sf.net>

	* d-objfile.cc (outdata): Do not set TREE_CONSTANT on initializers
	(Bugzilla 1453)

2007-08-29  David Friedman  <dvdfrdmn@users.sf.net>

	* d-decls.cc (uniqueName): Allow multiple static declaration with
	the same name if in a function. (SF 1783085)

2007-08-28  David Friedman  <dvdfrdmn@users.sf.net>

	* 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  <dvdfrdmn@users.sf.net>

	Release GDC 0.24

	---

	* rdmd.d: Fix for Windows

2007-08-21  David Friedman  <dvdfrdmn@users.sf.net>

	* GDC.html, History, README, gcc-mars.cc, gdc-version:
	Update for 0.24

	* rdmd.d, rdmd.1: New files. (Bugzilla 1152)

	* patch-build_gcc-4.0: Build universal rdmd. (Bugzilla 1152)

	* package/simple.sh: Install rdmd. (Bugzilla 1152)
	Install man pages for MacOS build.

	* dmd-script: Apply Ander's patch to make -op apply
	to interface files. (Bugzilla 1137)

	* d-lang.cc (d_parse_file): In -fall-sources mode,
	only generate an interface file for the -fonly module.

	* phobos/internal/adi.d (_adReverseChar, _adReverseWchar):
	Make sure stride difference is signed.

2007-08-20  David Friedman  <dvdfrdmn@users.sf.net>

	* patch-gcc-4.1.x, patch-gcc-4.0.x: Fix botched patches.

2007-08-05  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (convertForArgument): Recognize
	pointer arithmetic expression as reference.
	(Bugzilla 1400)

	* d-glue.cc (DotVarExp::toElem): Do not NOP_EXPR
	the result. (Bugzilla 1398)

2007-07-27  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/std/stdio: Fix breakage from last commit.
	(SF 1761989)

2007-07-26  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/std/c/stdio.d: Change import for gcc.config

	* d-lang.cc: add flag_iso for target macros

	* patch-gcc-4.0.x:  (gcc/tree-sra.c): Do not use SRA
	on structs with aliased fields created for anonymous
	unions.  (Followup to Bugzilla 1034)

2007-07-25  David Friedman  <dvdfrdmn@users.sf.net>

	* d-lang.cc: implement d_gcc_is_target_win32

	* dmd/parse.c (parseLinkage): use d_gcc_is_target_win32

	* d-dmd-gcc.h (d_gcc_is_target_win32): added

2007-07-24  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 1.019 - 1.020

	* dmd/attrib.c, dmd/cast.c, dmd/constfold.c, dmd/declaration.h,
	dmd/expression.c, dmd/expression.h, dmd/func.c, dmd/idgen.c,
	dmd/inline.c, dmd/interpret.c, dmd/mars.c, dmd/mars.h,
	dmd/mtype.c, dmd/mtype.h, dmd/opover.c, dmd/parse.c,
	dmd/template.c, dmd/template.h, dmd/tocsym.c, dmd/toir.c: Merge

	* phobos/internal/gc/gc.d, phobos/linux.mak,
	phobos/std/demangle.d, phobos/std/format.d, phobos/std/loader.d,
	phobos/std/socket.d, phobos/std/uni.d: Merge

2007-07-22  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 1.015 - 1.018:

	* dmd/lexer.c (escapeSequence): Change vendor string.

	* dmd-script: Update documentation link

	* dmd/attrib.c, dmd/cast.c, dmd/class.c, dmd/declaration.c,
	dmd/dsymbol.c, dmd/expression.c, dmd/expression.h, dmd/func.c,
	dmd/hdrgen.h, dmd/idgen.c, dmd/init.c, dmd/init.h, dmd/inline.c,
	dmd/interpret.c, dmd/lexer.c, dmd/mars.c, dmd/mars.h,
	dmd/module.c, dmd/mtype.c, dmd/mtype.h, dmd/optimize.c,
	dmd/parse.c, dmd/scope.c, dmd/scope.h, dmd/statement.c,
	dmd/statement.h, dmd/staticassert.c, dmd/template.c: Merge

	* phobos/internal/dmain2.d, phobos/internal/gc/gcx.d,
	phobos/internal/object.d, phobos/object.d, phobos/std/bind.d,
	phobos/std/compiler.d, phobos/std/date.d, phobos/std/dateparse.d,
	phobos/std/format.d, phobos/std/intrinsic.d, phobos/std/loader.d,
	phobos/std/math2.d, phobos/std/metastrings.d, phobos/std/mmfile.d,
	phobos/std/outbuffer.d, phobos/std/string.d,
	phobos/std/windows/registry.d, phobos/win32.mak: Merge

	----

	* gdc_alloca.h: Support OpenBSD. (Bugzilla 1065)

	* patch-gcc-4.1.x (gcc/tree-sra.c): Do not use SRA
	on structs with aliased fields created for anonymous
	unions.  (Bugzilla 1034)

2007-07-19  David Friedman  <dvdfrdmn@users.sf.net>

	* patch-gcc-4.1.x (gcc/predict.c): Add null-pointer check.
	(Bugzilla 1035)

	---

	* phobos/std/format.d (doFormatPtr): Fix accidental
	reversion from DMD merge.

	* d-codegen.cc (maybeSetUpBuiltin): Add some missing
	instrinsics.

	* phobos/Makefile.am (MAIN_OBJS): Add gcc.builtins
	module to get built-instruct initializers.

	* phobos/Makefile.in: Regenerated

	* d-lang.cc (d_parse_file): Call d_gcc_magic_module
	for each module on the command line.

	* d-builtins2.cc (d_gcc_magic_builtins_module): output
	declaration other than funcs

2007-07-16  David Friedman  <dvdfrdmn@users.sf.net>

	* dmd/todt.c (StructLiteralExp::toDt): Use target_size_t
	as in StructInitializer::toDt.

	Bugzilla 1032:

	* dmd/todt.c: Use DT_container for arrays, array elements,
	and structs

	* dt.h, d-objfile.cc: Add DT_container / dtcontainer

2007-07-14  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (ArrayScope::setArrayExp, finish): Handle
	constant lengths.  (Bugzilla 1031)

2007-07-13  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (toElemLvalue): Use toElemLvalue recursively.
	(Bugzilla 1191)

	* d-codegen.cc (twoFieldCtor): Only set TREE_READONLY if
	TREE_CONSTANT

	* d-glue.cc (array_set_expr, AssocArrayLiteralExp::toElem,
	(StructLiteralExp::toElem, NullExp::toElem):
	Do not set TREE_READONLY.

	* d-glue.cc (NewExp::toElem): Do not set TREE_READONLY on
	new array dimensions.

	* d-codegen.cc (darrayVal): Do not set TREE_READONLY.
	(Bugzilla 1329)

	(delegateVal): ditto

	* d-codegen.cc (FieldVisitor::visit): Handle classes that
	are forward references. (Bugzilla 1325)

	* dmd-script: Pass -J option correctly.	(SF 1721435)

	* d-glue.cc (DeleteExp::toElem): Handle interfaces.
	(SF 1721496)

	* d-decls.cc (VarDeclaration::toSymbol): Handle void initializer.
	(SF 1749622)

	* d-glue.cc (AndAndExp, OrOrExp): Handle void second expression.
	(SF 1689634)

	* phobos/gcc/cbridge_time.c (_d_gnu_cbridge_tza): Remove
	daylight saving time offset from tm_gmtoff (Bugzilla 1208)

	* phobos/std/format.d (doFormat): Use original signature.  Actual
	work is done by new doFormatPtr. (Bugzilla 1109)

	* phobos/std/boxer.d: Use doFormatPtr

2007-07-11  David Friedman  <dvdfrdmn@users.sf.net>

	* d-convert.cc (default_conversion): make public
	(SF 1711324 and 1709602)

	* d-apple-gcc.c (build_function_call): re-enable some code

2007-05-08  David Friedman  <dvdfrdmn@users.sf.net>

	* d-apple-gcc.c: Remove a variable that is now defined in d-lang.c

	* d-lang.cc: Fix for other GCC versions.

	* d-c-stubs.c: New file.

	* Make-lang.in (D_BORROWED_C_OBJS): Always use C_TARGET_OBJS.  Add
	stubs for C compiler to allow linking target-specific preprocessor
	defines.

2007-05-05  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (hwi2toli, getTargetSizeConst): Fix 2x wide int to
	long int conversion.

	* dmd/cast.c (implicitConvTo): Use GCC floating point
	routines instead of native.

	* d-gcc-real.cc (toInt): Correctly convert to long integer

	* Make-lang.in (D_DMD_H): Add d-gcc-real.h

	* phobos/internal/dgccmain2.d: Print newline after error message

2007-04-29  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 1.014:

	* dmd/aggregate.h, dmd/constfold.c, dmd/delegatize.c, dmd/enum.c,
	dmd/enum.h, dmd/expression.c, dmd/expression.h, dmd/idgen.c,
	dmd/inline.c, dmd/interpret.c, dmd/lexer.c, dmd/lexer.h,
	dmd/mars.c, dmd/mtype.c, dmd/optimize.c, dmd/struct.c,
	dmd/template.c, dmd/tocsym.c, dmd/todt.c, dmd/toobj.c,
	dmd/typinf.c: Merge.

	* phobos/internal/gc/gc.d, phobos/internal/gc/gcx.d,
	phobos/std/format.d, phobos/std.ddoc: Merge.

	* d-glue.d (StructLiteralExp::toElem): implement
	* d-decls.d (EnumDeclaration::toInitializer): copy from tocsym.c

	------------

	Merge DMD 1.013:

	* dmd/cast.c, dmd/constfold.c, dmd/declaration.c,
	dmd/expression.c, dmd/expression.h, dmd/interpret.c, dmd/link.c,
	dmd/mars.c, dmd/mtype.c, dmd/opover.c, dmd/optimize.c,
	dmd/parse.c, dmd/port.h, dmd/statement.c: Merge.

	* phobos/internal/aaA.d, phobos/internal/switch.d,
	phobos/std/date.d, phobos/std/file.d, phobos/std/format: Merge.

	* d-codegen.h, d-codegen.cc: add _d_assocarrayliteralTp
	* d-glue.cc (AssocArrayLiteralExp::toElem): Implement.

	* phobos/internal/aaA.d (_d_assocarrayliteralT): modified
	to use pointers to keys, values.

	--------------

	Merge DMD 1.012:

	* arraytypes.h, dmd/declaration.c, dmd/delegatize.c,
	dmd/expression.c, dmd/expression.h, dmd/init.c, dmd/init.h,
	dmd/inline.c, dmd/interpret.c, dmd/lexer.c, dmd/lexer.h,
	dmd/mangle.c, dmd/mars.c, dmd/optimize.c, dmd/template.c,
	dmd/template.h: Merge

	* phobos/internal/object.d: Merge

	* dmd/template.c (TemplateInstance::mangle): printf portability

	* d-glue.cc (AssocArrayLiteralExp::toElem): non-working implementation

2007-04-28  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 1.011:

	* dmd/access.c, dmd/aggregate.h, dmd/arraytypes.h, dmd/attrib.c,
	dmd/attrib.h, dmd/bit.c, dmd/cast.c, dmd/class.c, dmd/complex_t.h,
	dmd/cond.c, dmd/cond.h, dmd/constfold.c, dmd/declaration.c,
	dmd/declaration.h, dmd/delegatize.c, dmd/doc.c, dmd/doc.h,
	dmd/dsymbol.c, dmd/dsymbol.h, dmd/dump.c, dmd/entity.c,
	dmd/enum.c, dmd/enum.h, dmd/expression.c, dmd/expression.h,
	dmd/func.c, dmd/hdrgen.c, dmd/hdrgen.h, dmd/html.c, dmd/html.h,
	dmd/identifier.c, dmd/identifier.h, dmd/idgen.c, dmd/impcnvgen.c,
	dmd/import.c, dmd/import.h, dmd/inifile.c, dmd/init.c, dmd/init.h,
	dmd/inline.c, dmd/interpret.c, dmd/lexer.c, dmd/lexer.h,
	dmd/link.c, dmd/macro.c, dmd/macro.h, dmd/mangle.c, dmd/mars.c,
	dmd/mars.h, dmd/module.c, dmd/module.h, dmd/mtype.c, dmd/mtype.h,
	dmd/opover.c, dmd/optimize.c, dmd/parse.c, dmd/parse.h,
	dmd/scope.c, dmd/scope.h, dmd/statement.c, dmd/statement.h,
	dmd/staticassert.c, dmd/staticassert.h, dmd/struct.c,
	dmd/template.c, dmd/template.h, dmd/tocsym.c, dmd/todt.c,
	dmd/toir.c, dmd/toir.h, dmd/toobj.c, dmd/total.h, dmd/typinf.c,
	dmd/unialpha.c, dmd/utf.c, dmd/utf.h, dmd/version.c, dmd/version.h:
	Merge

	* phobos/internal/gc/gc.d, phobos/internal/gc/gcx.d,
	phobos/internal/object.d, phobos/std/c/locale.d,
	phobos/std/stdio.d, phobos/std/windows/registry.d: Merge

	* dmd/expression.c: Comment out some logging code.
	* d-builtins2.cc: Update and fix handling of built-in structs.
	* d-codegen.cc, d-glue.cc: Update

	----------------

	Merge DMD 1.010:

	* dmd/aggregate.h, dmd/class.c, dmd/declaration.c, dmd/doc.c,
	dmd/dsymbol.c, dmd/expression.c, dmd/expression.h, dmd/func.c,
	dmd/interpret.c, dmd/mars.c, dmd/scope.c, dmd/statement.c,
	dmd/template.c, dmd/template.h, dmd/todt.c: Merge.

	* phobos/internal/dmain2.d, phobos/internal/gc/gc.d,
	phobos/internal/gc/gcx.d, phobos/internal/gc/testgc.d,
	phobos/internal/object.d, phobos/object.d,
	phobos/std/c/linux/linux.d, phobos/std/c/stdio.d,
	phobos/std/file.d, phobos/std/gc.d, phobos/std/moduleinit.d,
	phobos/std/regexp.d, phobos/std/stdio.d, phobos/std/string.d,
	phobos/std.ddoc, phobos/win32.mak: Merge

	* dmd/mtype.c, phobos/internal/dgccmain2.d: Update.
	* d-glue.cc (gcc_d_backend_init): Update.

	* phobos/config/unix-mid, phobos/std/c/unix/unix.d: Moved dirent
	and stdio definitions out of configunix to std.c.unix.unix because
	of compilation problems.

	* phobos/internal/gc/gcx.d (GC.realloc, GC.extend, GC.free): Clear
	gcx.p_cache

	* phobos/std/stdio.d, phobos/frag-ac.in, phobos/configure.in:
	  Account for various configurations.

	* phobos/phobos-ver-syms.in: Remove GNU_Have_fwide
	* phobos/configure: Regenerate

2007-04-22  David Friedman  <dvdfrdmn@users.sf.net>

	* d-gcc-includes.h, d-lang.cc: Add target-specific preprocessor
	symbols to the list of D version symbols.

	* d-glue.cc (NewExp::toElem): Use NewExp::newtype (Bugzilla 1038)

2007-04-16  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 1.009 (from 1.007):

	* d-decls.c: Merge changes from dmd/tocsym.c

	* dmd/constfold.c, dmd/declaration.c, dmd/declaration.h,
	dmd/expression.c, dmd/expression.h, dmd/init.c, dmd/interpret.c,
	dmd/mangle.c, dmd/mars.c, dmd/mars.h, dmd/mtype.c,
	dmd/optimize.c, dmd/statement.c, dmd/staticassert.c,
	dmd/tocsym.c, dmd/todt.c: Merge changes.

	* phobos/std/path.d, phobos/std/string.d: Merge changes.

	----

	* d-builtins.c, d-builtins2.cc, d-lang.h: Reworked code to only
	convert built-in functions when the gcc.builtins module is
	imported.  RECORD_TYPE is now converted to a TypeStruct.  Fixed
	problem that caused some functions to not be available.  Support
	targets builtins.

2007-03-11  David Friedman  <dvdfrdmn@users.sf.net>

	* d-decls.cc (ClassDeclaration::toSymbol): Do not set TREE_READONLY.
	(Bugzilla 1037)

2007-03-10  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (call): Handle CommaExp form of a delegate call
	(Bugzilla 1043)

	* d-decls.cc (VarDeclaration::toSymbol): Partial fix for Bugzilla 1044

	* dt.h, d-objfile.cc, dmd/typeinf.c: Only pad 32-bit words in RTTI if
	needed. (Bugzilla 1045, 1046)
	* dmd/toobj.c: update

	* d-glue.cc, d-objfile.cc: Additional GCC 3.3.x cleanup

	----

	* ChangeLog, History, Make-lang.in, asmstmt.cc, d-builtins.c,
	d-codegen.cc, d-convert.cc, d-decls.cc, d-gcc-includes.h,
	d-gcc-real.cc, d-glue.cc, d-gt.c, d-irstate.cc, d-lang.cc,
	d-lang.h, d-misc.c, d-objfile.cc, d-spec.c, phobos/configure.in,
	setup-gcc.sh: Remove support for GCC 3.3.x

	* phobos/configure: Regenerated

	* gcc-3.3.5-framework-headers.patch,
	gcc-3.3.5-framework-linker.patch, patch-gcc-3.3.x,
	patch-gcc-darwin-eh-3.3.x, patch-toplev-3.3.x,
	phobos/config/ldfuncs33, phobos/config/noldfuncs33,
	d-bi-attrs-33.h: Removed.

2007-03-05  David Friedman  <dvdfrdmn@users.sf.net>

	Release GDC 0.23

	* phobos/Makefile.am: Add all-local target to build libgphobos.a
	* phobos/Makefile.in: Regenrated

	PowerPC 64 fixes:

	* d-glue.cc (TypeStruct:toCtype): Add words at the end of a struct.

	* phobos/config/darwin8/frag-unix: More accurate struct definitions.
	* phobos/internal/gc/gc_dyld.c: Support Mach-O 64.
	* phobos/internal/gc/gcgcc.d: Correct stack for 64-bit Darwin.
	* phobos/std/thread.d (getESP): Align result.

2007-03-04  David Friedman  <dvdfrdmn@users.sf.net>

	Rest of DMD 1.007 Merge:

	* package/simple.sh: Install GDC.html

	* Make-lang.in (D_DMD_OBJS): add interpret.dmd.o

	* gdc-version: update

	* GDC.html, d-lang.cc, dmd-script, lang-specs.h, lang.opt,
	patch-gcc-4.0.x, patch-gcc-4.1.x, patch-apple-gcc-4.0.x,
	patch-gcc-3.4.x, patch-gcc-3.3.x: Add -J option.

	* dmd/constfold.d, dmd/declaration.h, dmd/func.c: update

	* d-glue.c: update

	Initial merge of DMD 1.007 (from DMD 1.005):

	* dmd/arraytypes.h, dmd/attrib.c, dmd/cond.c, dmd/constfold.c,
	dmd/declaration.c, dmd/declaration.h, dmd/expression.c,
	dmd/expression.h, dmd/func.c, dmd/idgen.c, dmd/init.c,
	dmd/lexer.c, dmd/lexer.h, dmd/mars.c, dmd/mars.h, dmd/module.c,
	dmd/mtype.c, dmd/opover.c, dmd/optimize.c, dmd/parse.c,
	dmd/parse.h, dmd/statement.c, dmd/statement.h, dmd/template.c,
	dmd/typinf.c: Merge

	* phobos/internal/aApply.d, phobos/internal/aApplyR.d,
	phobos/internal/adi.d, phobos/internal/dmain2.d,
	phobos/internal/gc/gc.d, phobos/internal/gc/gcx.d,
	phobos/internal/gc/win32.d, phobos/internal/object.d,
	phobos/std/base64.d, phobos/std/c/string.d, phobos/std/c/time.d,
	phobos/std/c/windows/com.d, phobos/std/c/windows/windows.d,
	phobos/std/dateparse.d, phobos/std/demangle.d, phobos/std/file.d,
	phobos/std/format.d, phobos/std/regexp.d, phobos/std/stdio.d,
	phobos/std/stream.d, phobos/std/string.d, phobos/std/thread.d,
	phobos/std/utf.d: Merge

	* dmd/interpret.c: New file

2007-03-03  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/std/c/darwin/darwin.d: Remove. (Bugzilla 984)

	* phobos/std/date.d: Cleanup

	* d-lang.cc: Evaluate BYTES_BIG_ENDIAN at runtime.

	* d-codegen.cc: Cleanup.

	* d-glue.cc: Initialize foreach key with zero, not default init.

	* patch-gcc-4.0.x, patch-gcc-4.1.x, patch-apple-gcc-4.0.x:
	Prevent emission of prologue and epilogue code for naked functions.
	(Bugzilla 1013)

2007-03-02  David Friedman  <dvdfrdmn@users.sf.net>

	* d-lang.cc: Test BYTES_BIG_ENDIAN at runtime.

	* d-glue.cc (ForeachStatement::toIR): Initialize key to zero, not
	defaultInit.

	* patch-build_gcc-4.0, phobos/acinclude.m4, phobos/configure.in,
	phobos/Makefile.am: Remove references to libgphobos.spec

	* phobos/Makefile.in, phobos/configure: Regenerate

	* patch-gcc-3.4.x, patch-gcc-3.3.x, patch-gcc-4.0.x,
	patch-gcc-4.1.x, patch-apple-gcc-4.0.x: Support enabling
	-pthread option by default without 'unrecognized option'
	error message.

	* d-spec.c (lang_specific_driver): Enable -pthread option

	* phobos/libgphobos.spec.in: Remove

2007-02-28  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/std/loader.d: Fix error

2007-02-27  David Friedman  <dvdfrdmn@users.sf.net>

	* setup-gcc.sh: Create directory of links instead of a single
	link.  No longer need to copy support files.

	* target-ver-syms.sh: Support targets with both 32-bit and
	64-bit modes.  Output preprocessor definitions instead of
	command line otions.

	* Make-lang.in: Put target-ver-syms.sh output in d-confdefs.h.

	* package/simple.sh: Handle multilib.

	* phobos/configure.in: Use Automake, multilib.
	* phobos/Makefile.am: New file.
	* phobos/acinclude.m4: Fix quoting.

	* phobos/Makefile.in, phobos/configure: regenerated

	* patch-gcc-3.3.x, patch-gcc-3.4.x, patch-gcc-4.0.x,
	  patch-gcc-4.1.x, lang-specs.h: Add %N spec code.

	* patch-build_gcc-4.0: Grab 64-bit libgphobos.a

	* dt.h, d-objfile.cc
	(dt_size): Change return type to target_size_t.  Use target_size_t.
	(dtnzeros, dtdword, dtxoff): Change count to target_size_t
	(dtabytes, dtnbytes, dtawords, dtnwords, dtnbits): Change count to size_t
	(dti32): added

	* d-todt.cc: Cleanup.

	* d-objfile.cc:
	(dt2node): use Type::tsize_t for DT_word and DT_xoff

	* d-glue.cc:
	(PtrExp::toElem): Use target_size_t for offset
	(gcc_d_backend_init): Set CLASSINFO_SIZE and Tindex.
	(AssignExp::toElem): Use tsize_t for _d_arraycopy arg
	(CaseStatement::toIR): (not really a 64-bit change) Use int32 for
	case value to match libcall
	(CatAssignExp::toElem): cleanup (not 64-bit)
	(ForeachStatement::toIR): fix bug in key increment expression

	* d-codegen.{cc,h}
	(AggLayout::addField): use target_size_t for offset

	* d-codegen.cc:
	(...): LIBCALL_ARRAYCAST: Use size_t args (libcall already uses size_t)
	LIBCALL_ARRAYCOPY: ditto
	(convertTo): Use Type::tsize_t for _d_arraycat arguments

	* d-decls.cc
	(ClassDeclaration::toVtblSymbol): Use Type::tindex for array size.
	(FuncDeclaration::toThunkSymbol): Use target_ptrdiff_t

	* lang.opt: add -fmultilib-dir

	* d-lang.cc: Use -fmultilib-dir

	(d_init): Set global.params.isX86_64 if TARGET_64BIT.
	Set CPU version symbol according to TARGET_64BIT.
	Remove BitsPerPointer and BitsPerWord version symbols.

	* d-builtins2.cc
	(d_gcc_magic_builtins_module): Change "abi" integer types
	to "C".  Add "pointer" integer types.
	(gcc_type_to_d_type): Use Type::tindex for array types.  Use whole
	back-end size.

	* symbol.h
	(Thunk): Use target_ptrdiff_t for offset.

	* dmd/mars.h: Define target_size_t and target_ptrdiff_t to allow use of
	32-bit size-tracking variables when generating 32-bit code.

	* dmd/aggregate.h:
	(CLASSINFO_SIZE) change to 'extern int' %%....
	* dmd/cast.d: Use target_ptrdiff_t with isBaseOf.

	* dmd/class.c:
	(ClassDeclaration::semantic): use PTRSIZE
	(InterfaceDeclaration::semantic): Use sc->offset = PTRSIZE * 2 instead of
	8 -- not sure what this is for...

	* dmd/dsymbol.[ch]
	(Dsymbol::size): Change to target_size_t

	* dmd/init.h: ArrayInitializer::dim <- chg to target_size_t

	* dmd/aggregate.h: Use target_ptrdiff_t and target_size_t

	* dmd/typinf.c (TypeInfoStructDeclaration::toDt): Use dti32 for flags.
	* dmd/toobj.c (Module::genmoduleinfo, ClassDeclaration::toObjFile,
	InterfaceDeclaration::toObjFile): ditto

	* dmd/func.c: Use target_ptrdiff_t with isBaseOf.
	(NewDeclaration::semantic): Allow Type::tuns64 if 64-bit.

	* dmd/mtype.c
	(Type::init): set CLASSINFO_SIZE
	(Type::dotExp): use Type::tsize_t for .offsetof property
	(TypeArray::dotExp): use Type::tsize_t for _adReverse args
	(TypeAArray::dotExp): use PTRSIZE to align keysize
	(TypeStruct::dotExp): use Type::tsize_t for offset
	(TypeStruct::alignsize): use target_size_t

	* dmd/mtype.h: Add Tindex global variable.
	(Type): Change tindex to baseic[Tindex].
	(Type::isBaseOf): use target_ptrdiff_t

	* dmd/expression.[ch]:
	(SymOffExp): offset changed to target_size_t
	(NewExp::semantic): use size_t as argument
	(ArrayLiteralExp::toMangleBuffer, SymOffExp::toCBuffer): fix printf

	* dmd/declaration.c
	(VarDeclaration::semantic): use sinteger_t for dim

	* dmd/declaration.h:
	(Declaration::size): Use target_size_t
	(VarDeclaration): Use target_size_t for offset

	* dmd/schope.h:
	(Scope::offset) Use target_size_t.

	* dmd/statement.c:
	(ForeachStatement::semantic): Change return value of _a*Apply* to
	Type::tint32.  Fix logic for allowed index variable types.
	Use PTRSIZE to align keysize.

	* dmd/struct.c
	(AggregateDeclaration::addField): use target_size_t

	* dmd/todt.c
	(StructInitializer::toDt): Use target_size_t for offsets
	(ClassDeclaration::toDt2): Use PTRSIZE

	* phobos/object.d, phobos/internal/object.d:
	(Interface): Use ptrdiff_t for offset.
	(*.toHash): cast pointer to size_t

	* phobos/internal/object.d: Use integer type definitions from
	phobos/object.d.  Split %.*s args.

	* phobos/internal/adi.d:
	(_adReverse): Use size_t for szelem.
	* phobos/configure.in: fix multilib dir
	* phobos/configure: updated

	* phobos/config/cb_unix.c: Removed.

	* phobos/config/gen_config1.c: Add ssize_t.

	* phobos/config/config-head: Use __builtin_Clong and __builtin_Culong.
	* phobos/config/config-mid: Support X86_64 and other 64-bit CPUs.
	* phobos/config/unix-mid: Some size_t and ssize_t arg/return type fixes.

	* phobos/config/darwin8/frag-gen, phobos/config/darwin8/frag-unix:
	Support 32- and 64-bit.
	* phobos/config/mingw/frag-unix, phobos/config/skyos/frag-unix:
	Add ssize_t.

	* phobos/gcc/builtins.d: Update documentation

	* phobos/gcc/unwind.d: Use different builtin integer types.

	* phobos/internal/arraycat.d (_d_arraycopy): use size_t arg

	* phobos/std/c/fenv.d: Add field for 64-bit Linux.

	* phobos/std/c/linuxextern.d: Use C long for timezone.

	* phobos/std/c/stdio.d,
	  phobos/std/c/stdlib.d, phobos/std/c/math.d,
	  phobos/std/c/time.d: use C long types

	* phobos/std/stdint.d: Add C long types.
	Use ptrdiff_t and size_t for *intptr_t types.

	* phobos/std/format.d: Formatting structs on X86_64 looses

	* phobos/internal/cast.d (_d_isbaseof2): change offset to size_t

	* phobos/internal/fpmath.d: Support 64-bit CPUs.

	* phobos/std/file.d: Type of stat.st_size may vary; use auto.
	(Unix read): Make sure file's size is within range.

	* phobos/crc32.d, phobos/gcstats.d,
	phobos/internal/qsortg.d:
	phobos/internal/gc/gc.d (_d_arraycatnT),
	phobos/internal/gc/gcold.d (_d_arraycatn),
	phobos/internal/gc/gcx.d,
	phobos/internal/mars.h,
	phobos/std/base64.d, phobos/std/bitarray.d, phobos/std/math.d,
	phobos/std/math2.d, phobos/std/md5sum.d, phobos/std/outbuffer.d,
	phobos/std/path.d, phobos/std/string.d, phobos/std/uri.d
	phobos/std/typeinfo/ti_AC.d,
	use size_t, ptrdiff_t/ssize_t

	* phobos/std/loader.d: Add definitions for 64-bit Mach-O objects.

	* phobos/std/openrj.d, phobos/std/loader.d, phobos/std/moduleinit.d,
	phobos/std/socket.d, phobos/std/regexp.d, phobos/std/uri.
	d, phobos/std/zip.d: split '%.*s' args

	* phobos/std/typeinfo/ti_A*.d, phobos/std/typeinfo/ti_ptr.d:
	fix compare methods

	* phobos/internal/gc/gc_dyld.c: use uintptr_t

	* phobos/std/c/stdio.d, phobos/internal/gc/gcgcc.d:
	Don't use old version symbols.

	* phobos/std/c/mach/mach.d (natural_t): always a uint

	* phobos/etc/c/zlib.d: use Culog_t

2007-02-13  David Friedman  <dvdfrdmn@users.sf.net>

	* setup-gcc.sh: Copy the removed files from the top-level
	directory.

2007-02-10  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/config.guess, phobos/config.sub, phobos/install-sh:
	Remove files.

	* phobos/std/format.d (putAArray): account for
	alignment of the value

	* phobos/Makefile.in: fix metastrings.o

2007-02-09  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/std/format.d (doFormat): use aligntsize

	Rest of DMD 1.005 merge:

	* phobos/Makefile.in (MAIN_OBJS): add metastrings.o

2007-02-08  David Friedman  <dvdfrdmn@users.sf.net>

	* d-lang.cc, lang.opt: support -v1 option

	* lang.opt (d_init_options): set global.params.Dversion

	* dmd-script: -v1 -> -fd-version=1

	* phobos/std/format.d (doFormat): Fix for var args differences

	Initial merge of DMD 1.005:

	dmd/attrib.c, dmd/attrib.h, dmd/cast.c, dmd/cond.c,
	dmd/constfold.c, dmd/dsymbol.c, dmd/dsymbol.h, dmd/expression.c,
	dmd/expression.h, dmd/func.c, dmd/idgen.c, dmd/inline.c,
	dmd/lexer.c, dmd/lexer.h, dmd/mars.c, dmd/module.c, dmd/mtype.c,
	dmd/mtype.h, dmd/optimize.c, dmd/parse.c, dmd/parse.h,
	dmd/scope.c, dmd/statement.c, dmd/statement.h, dmd/template.c,
	dmd/template.h, dmd/toobj.c, dmd/typinf.c: Merge.

	phobos/internal/aaA.d, phobos/internal/gc/gc.d,
	phobos/internal/object.d, phobos/linux.mak, phobos/std/c/stdlib.d,
	phobos/std/conv.d, phobos/std/ctype.d, phobos/std/format.d,
	phobos/std/regexp.d, phobos/std/zlib.d, phobos/std.ddoc,
	phobos/win32.mak: Merge.

	phobos/std/metastrings.d: New file

2007-02-05  David Friedman  <dvdfrdmn@users.sf.net>

	Release GDC 0.22

	* d-codegen.cc (twoFieldType): Fix back end -> front end type
	mapping.

	* Make-lang.in: Enable ELFOBJ to put some RTTI in the read-only
	data section.

	* GDC.html: Update

2007-02-04  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/gcc/cbridge_time.c (_d_gnu_cbridge_tza),
	phobos/std/date.d: Fix timezone adjust sign

2007-02-03  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/config/unix-mid: Correctly initialize sockaddr*
	(Bugzilla 818)

	* dmd-script: Fix -H* options (Bugzilla 896).
	Support -framework. Fix error message.

	* d-lang.cc (d_write_global_declarations), patch-gcc-4.1.x:
	Fixes for dwarf2out ICEs

	* d-objfile.cc (check_static_sym): Fix setting TREE_CONSTANT.

	Rest of DMD 1.004 merge:

	* gcc-mars.cc, gdc-version: Update

	* phobos/std/regexp.d: update

	* phobos/internal/gc/gcold.d (_d_newarrayip):

	* phobos/internal/gc/gc.d: Fix argument and result types.

	* phobos/config/unix-head, phobos/config/unix-mid: Update

	* phobos/Makefile.in: Update for files removed in DMD 1.004

	* d-decls.cc (TypedefDeclaration::toInitializer): Copy
	from dmd/tocsym.c.  Create the Sdt here.

	* dmd/toobj.c (TypedefDeclaration::toObjFile): Update
	for toInitializer change

	* dmd/mtype.c (TypeArray::dotExp): Fix library call decls

	* d-lang.cc: Update

	* d-codegen.[ch], d-glue.cc: Update memory allocation library
	calls.

	* d-lang.cc (d_write_global_declarations): call
	emit_debug_global_declarations only for GCC 4.0

	* dmd/mtype.c (TypeArray::dotExp): update

	* phobos/config/unix-head, phobos/config/unix-mid: update

	* phobos/internal/gc/gcold.d: Use old GDC modifications.

2007-02-02  David Friedman  <dvdfrdmn@users.sf.net>

	Initial merge DMD 1.004:

	* dmd/aggregate.h, dmd/attrib.c, dmd/attrib.h, dmd/declaration.c,
	dmd/declaration.h, dmd/dsymbol.c, dmd/dsymbol.h, dmd/expression.c,
	dmd/import.c, dmd/import.h, dmd/inline.c, dmd/mars.c, dmd/mars.h,
	dmd/module.c, dmd/module.h, dmd/mtype.c, dmd/mtype.h,
	dmd/struct.c, dmd/template.c, dmd/template.h, dmd/tocsym.c,
	dmd/todt.c, dmd/toobj.c, dmd/typinf.c: Merge DMD 1.004

	* phobos/internal/aaA.d, phobos/internal/adi.d,
	phobos/internal/arraycast.d, phobos/internal/arraycat.d,
	phobos/internal/gc/gc.d, phobos/internal/gc/gcx.d,
	phobos/internal/gc/linux.mak, phobos/internal/gc/win32.mak,
	phobos/internal/object.d, phobos/linux.mak, phobos/object.d,
	phobos/std/c/linux/linux.d, phobos/std/compiler.d,
	phobos/std/file.d, phobos/std/gc.d, phobos/std/outbuffer.d,
	phobos/std/random.d, phobos/std/regexp.d,
	phobos/std/typeinfo/ti_AC.d, phobos/std/typeinfo/ti_Acdouble.d,
	phobos/std/typeinfo/ti_Acfloat.d, phobos/std/typeinfo/ti_Acreal.d,
	phobos/std/typeinfo/ti_Adouble.d, phobos/std/typeinfo/ti_Afloat.d,
	phobos/std/typeinfo/ti_Ag.d, phobos/std/typeinfo/ti_Aint.d,
	phobos/std/typeinfo/ti_Along.d, phobos/std/typeinfo/ti_Areal.d,
	phobos/std/typeinfo/ti_Ashort.d, phobos/std/typeinfo/ti_C.d,
	phobos/std/typeinfo/ti_cdouble.d, phobos/std/typeinfo/ti_cfloat.d,
	phobos/std/typeinfo/ti_char.d, phobos/std/typeinfo/ti_creal.d,
	phobos/std/typeinfo/ti_dchar.d, phobos/std/typeinfo/ti_delegate.d,
	phobos/std/typeinfo/ti_double.d, phobos/std/typeinfo/ti_float.d,
	phobos/std/typeinfo/ti_ptr.d, phobos/std/typeinfo/ti_real.d,
	phobos/std/typeinfo/ti_void.d, phobos/std/typeinfo/ti_wchar.d,
	phobos/win32.mak: Merge DMD 1.004

	* phobos/std/typeinfo/ti_Aa.d, phobos/std/typeinfo/ti_Adchar.d,
	phobos/std/typeinfo/ti_Aubyte.d, phobos/std/typeinfo/ti_Auint.d,
	phobos/std/typeinfo/ti_Aulong.d, phobos/std/typeinfo/ti_Aushort.d,
	phobos/std/typeinfo/ti_Awchar.d: Removed in DMD 1.004

	* phobos/internal/gc/gcold.d: New in DMD 1.004

2007-02-01  David Friedman  <dvdfrdmn@users.sf.net>

	* d-lang.cc (d_write_global_declarations): Emit debug info.

	* d-codegen.cc (twoFieldType): Fix debugging information.
	* d-objfile.cc (initTypeDecl): Ditto.

	* d-glue.cc (PtrExp::toElem): Don't wrap the result in
	a NOP_EXPR.

	* Make-lang.in: Add d-tree.def to dependencies

2007-01-30  David Friedman  <dvdfrdmn@users.sf.net>

	GCC 4.1.x changes:

	* GDC.html, INSTALL, INSTALL.html, README: update

	* dmd/idgen.c, dmd/impcnvgen.c, dmd/mtype.h: Change to allow
	compilation as C.

	* patch-gcc-4.1.x, patch-toplev-4.1.x: New files

	* Make-lang.in: Use $(version) instead of $(gcc_version).
	Add d-bi-attrs-41.h.  Use C for generator programs instead of C++.

	* d-bi-attrs-41.h: New file.

	* d-builtins.c: update

	* d-builtins2.cc: Do not associate d_gcc_builtin_va_list_d_type with
	va_list_type_node.  Do this for GCC 4.0 and 4.1.

	* d-codegen.cc: Use CtorEltMaker.
	(maybeExpandSpecialCall): Cast d_gcc_builtin_va_list_d_type to
	va_list_type_node.
	(hostToTargetString): Update.

	* d-codegen.h: Add CtorEltMaker class for before/after 4.1.x
	compatibility.

	* d-convert.cc: Add special case for pointer/int comparison

	* d-decls.cc: Do not use SET_DECL_ASSEMBLER_NAME for CONST_DECLs

	* d-gcc-includes.h: Include vec.h

	* d-glue.cc: Use CtorEltMaker.
	(gcc_d_backend_init): Call default_init_unwind_resume_libfunc

	* d-lang.cc: Add d_types_compatible_p hook for va_list conversion

	* d-lang.h: Update

	* d-objfile.cc: CtorEltMaker.

	* phobos/std/conv.d: Do not assume signed integer wraparound.

2007-01-28  David Friedman  <dvdfrdmn@users.sf.net>

	* d-asm-i386.h, d-codegen.cc, d-gcc-real.cc,
	d-decls.cc, d-glue.cc, d-lanc.cc: various fixes

	* d-codegen.cc, d-codegen.h, d-glue.cc, d-lang.h:
	Remove bit array code

2007-01-27  David Friedman  <dvdfrdmn@users.sf.net>

	* d-asm-i386.h: fix fistp, lmsw, lldt, mov[sz]x, setCC, smsw, and
	sldt instructions (Bugzilla 836, 837, 838, 839, 841, 843, 844).
	Also r[co][lr].

	* d-glue.cc (StringExp::toElem): Correct termination of wchar
	and dchar (Bugzilla 889)

2007-01-11  David Friedman  <dvdfrdmn@users.sf.net>

	* INSTALL.html: fix corruption

2007-01-03  David Friedman  <dvdfrdmn@users.sf.net>

	Release GDC 0.21

	* GDC.html: New file.

	* README: Update, refer to GDC.html

	Rest of DMD 1.00 merge:

	* d-codegen.cc: Patch from Anders Bjšrklund for GCC 3.3

	* d-glue.cc (FuncDeclaration::toObjFile): Fix shouldDefer/outputStage
	logic.

	* dmd/attrib.c (PragmaDeclaration::semantic): uint -> unsigned

	* dmd/module.c (load): output to stdmsg

	* dmd/mtype.c: revert '@' mangling changes

	* gdc-version, gcc-mars.cc: update

	* phobos/config/unix-mid: Support more functions

	* phobos/acinclude.m4, phobos/config/gen_unix.c (c_pthread):
	Support more types

	* phobos/configure, phobos/config.h.in: update

	* phobos/config/darwin8/frag-unix: update

	Initial merge of DMD 1.00:

	* dmd/cond.c, dmd/constfold.c, dmd/delegatize.c, dmd/dsymbol.c,
	dmd/enum.c, dmd/expression.c, dmd/expression.h, dmd/init.c,
	dmd/inline.c, dmd/mars.c, dmd/module.c, dmd/module.h, dmd/mtype.c,
	dmd/parse.c, dmd/statement.c, dmd/struct.c, dmd/template.c,
	dmd/todt.c: Merge 1.00

	* internal/gc/gc.d, phobos/linux.mak,
	phobos/std/c/linux/linux.d.orig-dmd, phobos/std/c/stdlib.d,
	phobos/std/conv.d, phobos/win32.mak: Merge 1.00

	* phobos/std/c/linux/pthread.d.orig-dmd: New file (originally
	pthread.d DMD)

	------------------------

	* dmd/init.c (ArrayInitializer::semantic),
	* dmd/root.c (OutBuffer::write4): 64-bit host cleanup

	* d-asm-i386.h: cleanup, saftey

2007-01-02  DF  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (convertTo): Use 64-bit for Tarray, Tsarray conversion.

	* d-codegen.{h, cc} (darrayVal): use uinteger_t arg


Copyright (C) 2007 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.