aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog.csl
blob: 006aa1be92324b19b7c536c8209e2162dbaac0d2 (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
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
2006-05-19  Nathan Sidwell  <nathan@codesourcery.com>

	* libiberty/make-relative-prefix.c (split_directories): Add
	ignore_final arg.
	(make_relative_prefix): Keep the final path component if it was a
	directory.  Adjust calls to split_directories.

2006-05-13  Richard Sandiford  <richard@codesourcery.com>

	gcc/
	* config/m68k/m68k.md (movdf_cf_hard): Use output_move_double for
	GPR<-GPR moves.

2006-05-12  Sandra Loosemore <sandra@codesourcery.com>

        * gcc/config/m68k/m68k.md ("clzsi2"):  Define for ColdFire
        architectures that support ff1 instruction.
        * gcc/config/m68k/m68k.h (CLZ_DEFINED_VALUE_AT_ZERO): Ditto.
        * gcc/longlong.h (count_leading_zeros, COUNT_LEADING_ZEROS_0): Ditto.

2006-05-11  Richard Sandiford  <richard@codesourcery.com>

	gcc/
	* config/m68k/m68k.c (m68k_output_function_epilogue): Fix the lea
	instruction that restores the stack pointer from the frame pointer.

2006-05-09  Nathan Sidwell  <nathan@codesourcery.com>

	* gcc/config/m68k/m68k-none.h (ASM_CPU_DEFAULT_SPEC): Undefine it
	before setting it.

2006-05-07  Nathan Sidwell  <nathan@codesourcery.com>

	* configure.in (TOPLEVEL_CONFIGURE_ARGS): Protect args with active
	characters.
	(baseargs): Simplify protection, use ac_arg temp name, correct $
	to $$ conversion.
	* configure: Rebuilt.

2006-05-05  Mark Mitchell  <mark@codesourcery.com>

	* configure.in: Do not mangle arguments like "--with-foo=A B C" when
	storing in baseargs.
	* configure: Regenerated.
	* gcc/configure.ac: Add --with-versuffix and --with-bugurl.
	* gcc/version.c (VERSUFFIX): Remove.
	(bug_report_url): Do not hard-code initializer.
	* gcc/Makefile.in (VERSUFFIX_s): Define.
	(BUGURL_s): Likewise.
	(version.o): Define VERSUFFIX and BUGURL.
	* gcc/doc/install.texi: Document them.
	* gcc/configure: Regenerated.

2006-04-28  Richard Sandiford  <richard@codesourcery.com>

	gcc/
	* config/m68k/linux.h (MD_UNWIND_SUPPORT): Define.
	* config/m68k/linux-unwind.h: New file.

2006-04-28  Richard Sandiford  <richard@codesourcery.com>

	Merge from csl/sourcerygxx-4_1 branch:

	2006-04-26  Joseph Myers  <joseph@codesourcery.com>

	From Bugzilla:
	2006-04-26  Joshua Kinard  <kumba@gentoo.org>

	PR target/25871
	* gcc/config/mips/mips.h (TRAMPOLINE_TEMPLATE): Avoid 32-bit moves
	with 64-bit pointers.

	2006-04-25  Joseph Myers  <joseph@codesourcery.com>

	* gcc/config/mips/linux64.h (DWARF_OFFSET_SIZE): Remove.

	2006-04-22  Carlos O'Donell  <carlos@codesourcery.com>

	* gcc/Makefile.in: Correct dependencies for gcc, cpp, 
	gccint, and cppinternals html manuals.

	2006-04-22  Joseph Myers  <joseph@codesourcery.com>

	* gcc/testsuite/gcc.c-torture/compile/20060421-1.c: New testcase.

	2006-04-21  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.tpl: Add install-html to install target.
	* Makefile.in: Regenerate.

	2006-04-21  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.tpl: Add install-html target.
	* Makefile.def: Add install-html target.
	* Makefile.in: Regenerate.
	* configure.in: Add --with-datarootdir, --with-docdir,
	and --with-htmldir options. AC_SUBST datarootdir, docdir and htmldir.
	* configure: Regenerate.
	* gcc/Makefile.in: Rename htmldir to gcc_htmldir. Add install-html 
	target. Define HTMLS for all manuals. Simplify html target.
	* gcc/configure.ac: AC_SUBST datarootdir, docdir, and htmldir.
	* gcc/configure: Regenerate.
	* gcc/fortran/Make-lang.in: Rename htmldir to gcc_htmldir.
	* gcc/java/Make-lang.in: Likewise.
	* gcc/treelang/Make-lang.in: Likewise.
	* fixincludes/Makefile.in: Add install-html target.
	Fixup .PHONY listing.
	* intl/Makefile.in: Add html info ps pdf and dvi and install-html 
	to .PHONY. Add install-html target.
	* libcpp/Makefile.in: Add install-html target. Add install-html to
	.PHONY list.
	* libstdc++-v3/Makefile.am: Add install-html target.
	* libstdc++-v3/aclocal.m4: Regenerate.
	* libstdc++-v3/Makefile.in: Regenerate.
	* libstdc++-v3/include/Makefile.in: Regenerate.
	* libstdc++-v3/libmath/Makefile.in: Regenerate.
	* libstdc++-v3/libsupc++/Makefile.in: Regenerate.
	* libstdc++-v3/po/Makefile.in: Regenerate.
	* libstdc++-v3/src/Makefile.in: Regenerate.
	* libstdc++-v3/testsuite/Makefile.in: Regenerate.
	* libmudflap/Makefile.am: Add install-html target.
	* libmudflap/Makefile.in: Regenerate. 
	* libssp/Makefile.am: Add install-html target.
	* libssp/Makefile.in: Regenerate.
	* fastjar/Makefile.am: Add install-html target.
	* fastjar/Makefile.in: Regenerate.
	* fastjar/aclocal.m4: Regenerate.
	* zlib/Makefile.am: Add install-html target.
	* zlib/Makefile.in: Regenerate.
	* zlib/aclocal.m4: Regenerate.
	* libobjc/Makefile.in: Add install-html target.
	* libffi/Makefile.am: Add install-html target.
	* libffi/Makefile.in: Regenerate.
	* libffi/aclocal.m4: Regenerate.
	* libffi/include/Makefile.in: Regenerate.
	* libffi/testsuite/Makefile.in: Regenerate.
	* libjava/Makefile.am: Add install-html target.
	* libjava/Makefile.in: Regenerate. 
	* libjava/aclocal.m4: Regenerate.
	* libjava/classpath/Makefile.in: Regenerate.
	* libjava/classpath/aclocal.m4: Regenerate.
	* libjava/classpath/doc/Makefile.in: Regenerate.
	* libjava/classpath/doc/api/Makefile.am: Conditionalize html target.
	* libjava/classpath/doc/api/Makefile.in: Regenerate.
	* libjava/classpath/examples/Makefile.in: Regenerate.
	* libjava/classpath/external/Makefile.in: Regenerate.
	* libjava/classpath/external/sax/Makefile.in: Regenerate.
	* libjava/classpath/external/w3c_dom/Makefile.in: Regenerate.
	* libjava/classpath/include/Makefile.in: Regenerate.
	* libjava/classpath/lib/Makefile.in: Regenerate.
	* libjava/classpath/native/Makefile.in: Regenerate.
	* libjava/classpath/native/fdlibm/Makefile.in: Regenerate.
	* libjava/classpath/native/jawt/Makefile.in: Regenerate.
	* libjava/classpath/native/jni/Makefile.in: Regenerate.
	* libjava/classpath/native/jni/classpath/Makefile.in: Regenerate.
	* libjava/classpath/native/jni/gtk-peer/Makefile.in : Regenerate.
	* libjava/classpath/native/jni/java-io/Makefile.in: Regenerate.
	* libjava/classpath/native/jni/java-lang/Makefile.in: Regenerate.
	* libjava/classpath/native/jni/java-net/Makefile.in : Regenerate.
	* libjava/classpath/native/jni/java-nio/Makefile.in : Regenerate.
	* libjava/classpath/native/jni/java-util/Makefile.in: Regenerate.
	* libjava/classpath/native/jni/midi-alsa/Makefile.in: Regenerate.
	* libjava/classpath/native/jni/midi-dssi/Makefile.in: Regenerate.
	* libjava/classpath/native/jni/qt-peer/Makefile.in: Regenerate.
	* libjava/classpath/native/jni/xmlj/Makefile.in: Regenerate.
	* libjava/classpath/native/target/Linux/Makefile.in: Regenerate.
	* libjava/classpath/native/target/Makefile.in: Regenerate.
	* libjava/classpath/native/target/generic/Makefile.in: Regenerate.
	* libjava/classpath/resource/Makefile.in: Regenerate.
	* libjava/classpath/scripts/Makefile.in: Regenerate.
	* libjava/gcj/Makefile.in: Regenerate.
	* libjava/include/Makefile.in : Regenerate.
	* libjava/testsuite/Makefile.in: Regenerate.
	* boehm-gc/Makefile.am: Add install-html target.
	* boehm-gc/Makefile.in: Regenerate.
	* boehm-gc/aclocal.m4: Regenerate.
	* boehm-gc/include/Makefile.in: Regenerate.
	* gnattools/Makefile.in: Add html and install-html targets.
	* libgfortran/Makefile.am: Add install-html target.
	* libgfortran/Makefile.in: Regenerate. 
	* libada/Makefile.in: Add install-html target.
	
	2006-04-21  Carlos O'Donell  <carlos@codesourcery.com>

	Backport from mainline.
	2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
	* libiberty/Makefile.in: Add install-html, install-html-am, and
	install-html-recursive targets. Define mkdir_p and 
	NORMAL_INSTALL. 
	* libiberty/configure.ac: AC_SUBST datarootdir, docdir, htmldir.
	* libiberty/configure: Regenerate.
	* libiberty/testsuite/Makefile.in: Add install-html and html targets.

	2006-03-30  Carlos O'Donell  <carlos@codesourcery.com>
	* gcc/Makefile.in: Rename docdir to gcc_docdir.
	* gcc/java/Make-lang.in: Rename docdir to gcc_docdir.
	* gcc/ada/Make-lang.in: Rename docdir to gcc_docdir.
	* gcc/fortran/Make-lang.in: Rename docdir to gcc_docdir.
	* gcc/treelang/Make-lang.in: Rename docdir to gcc_docdir.

	2006-04-11  Kazu Hirata  <kazu@codesourcery.com>

	Backport from mainline.
	2006-03-13  Roger Sayle  <roger@eyesopen.com>
	PR middle-end/26557
	* gcc/stmt.c (emit_case_nodes): Handle the case where the
	index is a CONST_INT, where the comparison mode is specified
	by the index type.

	2006-03-13  Roger Sayle  <roger@eyesopen.com>
	PR middle-end/26557
	* gcc/gcc.c-torture/compile/switch-1.c: New test case.

	2006-04-04  Carlos O'Donell  <carlos@codesourcery.com>

	* gcc/testsuite/gcc.dg/struct-parse-1.c: New test case.

	2006-03-31  Nathan Sidwell  <nathan@codesourcery.com>
	* gcc/stor-layout.c: Place invalid field at the current end of
	the structure or start of union, to maintain placement
	invariants.

	2006-04-02  Paul Brook  <paul@codesourcery.com>

	Backport form mainline.
	* gcc/testsuite/gcc.c-torture/execute/loop-ivopts-3.c: New test.

	2006-01-14  Zdenek Dvorak <dvorakz@suse.cz>
	* gcc/tree-ssa-loop-niter.c (number_of_iterations_cond): Split into
	several functions.
	(number_of_iterations_ne, number_of_iterations_lt_to_ne,
	assert_no_overflow_lt, assert_loop_rolls_lt, number_of_iterations_lt,
	number_of_iterations_le): New functions.
	(number_of_iterations_special): Removed.
	(number_of_iterations_exit): Do not use number_of_iterations_special.
	* gcc/tree.c (unsigned_type_for): Always return integer type.
	* gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c: Update outcome.
	Add new test loop.
	* gcc/testsuite/gcc.dg/tree-ssa/pr19210-2.c: Ditto.

	2005-01-06  Zdenek Dvorak <dvorakz@suse.cz>
	PR tree-optimization/18527
	* gcc/tree-ssa-loop-niter.c (number_of_iterations_cond,
	number_of_iterations_special, number_of_iterations_exit):
	Move base and step of an iv to a single structure.  Add
	no_overflow flag, and use it in # of iterations analysis.
	* gcc/tree-scalar-evolution.c (analyze_scalar_evolution_in_loop): Add
	folded_casts argument.
	(simple_iv): Pass base and step in a structure.  Set no_overflow
	flag.
	(scev_const_prop): Add argument to analyze_scalar_evolution_in_loop.
	Evaluate expensiveness of computing # of iterations instead of
	the final expression.
	* gcc/tree-scalar-evolution.h (affine_iv): New structure.
	(simple_iv): Declaration changed.
	* gcc/tree-chrec.c (chrec_apply): Handle chrecs containing symbols.
	* gcc/tree-ssa-loop-ivopts.c (determine_biv_step,
	find_givs_in_stmt_scev, find_givs_in_stmt): Changed due to simple_iv
	change.

	2006-03-30  Mark Mitchell  <mark@codesourcery.com>

	* libiberty/cygpath.c (fopen): Allocate MAX_PATH + 1 bytes for the
	filename. 
	(open): Likewise.
	(stat): Likewise.
	(access): Likewise.

	2006-03-30  Mark Mitchell <mark@codesourcery.com>

	* libiberty/configure.ac: Add cygpath for mingw hosts.
	* libiberty.configure: Rebuilt.
	* libiberty/Makefile.in: Add cygpath.
	* libiberty/cygpath.c: New.

	2006-03-28  Paul Brook  <paul@codesourcery.com>

	PR middle-end/23623
	* gcc/targhooks.c (default_narrow_bitfield): New fuction.
	* gcc/targhooks.h (default_narrow_bitfield): add prototype.
	* gcc/target-def.h (TARGET_NARROW_VOLATILE_BITFIELD): Define.
	* gcc/doc/tm.texi: Document TARGET_NARROW_VOLATILE_BITFIELDS.
	* gcc/config/arm/arm.c (TARGET_NARROW_VOLATILE_BITFIELD): Define.

	2006-03-28  Paul Brook  <paul@codesourcery.com>

	* gcc/reload1.c (choose_reload_regs): Check for all RTX_AUTOINC
	operators.
	(inc_for_reload): Handle PRE_MODIFY and POST_MODIFY addresses.

2006-04-27  Richard Sandiford  <richard@codesourcery.com>

	gcc/testsuite/
	* lib/target-supports.exp (check_effective_target_tls): Use
	${tool}_target_compile instead of target_compile.
	(check_effective_target_tls_runtime): Likewise.

2006-04-27  Richard Sandiford  <richard@codesourcery.com>

	gcc/testsuite/
	* gcc.dg/m68k-fp-1.c: Use -mcpu=547x instead of -mcpu=m5485.

2006-04-27  Richard Sandiford  <richard@codesourcery.com>

	gcc/testsuite/
	* lib/target-supports.exp (check_effective_target_coldfire_fpu):
	New procedure.
	* gcc.c-torture/execute/ieee/mul-subnormal-single-1.x: XFAIL for
	Coldfire GNU/Linux.

2006-04-27  Richard Sandiford  <richard@codesourcery.com>

	gcc/
	* combine.c (replaced_rhs_insn): New variable.
	(combine_instructions): Set replaced_rhs_insn when trying to replace
	a SET_SRC with a REG_EQUAL note.
	(distribute_notes): Use replaced_rhs_insn when determining the live
	range of a REG_DEAD register.

	gcc/testsute
	* gcc.c-torture/compile/pr25514.c: New test.

2006-04-27  Richard Sandiford  <richard@codesourcery.com>

	gcc/
	* config/m68k/m68k-protos.h (m68k_secondary_reload_class): Declare.
	(m68k_preferred_reload_class): Declare.
	* config/m68k/m68k.c (m68k_regno_mode_ok): Don't prevent address
	registers from storing bytes.  Fix formatting.
	(m68k_secondary_reload_class): New function.
	(m68k_preferred_reload_class): Likewise.
	* config/m68k/m68k.h (HARD_REGNO_MODE_OK): Remove duplicated comment.
	(SECONDARY_RELOAD_CLASS): Define.
	(PREFERRED_RELOAD_CLASS): Use m68k_preferred_reload_class.
	(LIMIT_RELOAD_CLASS): Delete.

	gcc/testsuite/
	* gcc.c-torture/compile/m68k-byte-addr.c: New test.

2006-04-27  Richard Sandiford  <richard@codesourcery.com>

	gcc/
	* config.gcc (m68k-*-linux*): Add to tmake_file instead of
	replacing it.  Don't include m68k/t-crtstuff.  Don't include
	m68k/t-slibgcc-elf-ver.
	* config/m68k/linux.h (MULTILIB_DEFAULTS): Delete.
	(SYSROOT_SUFFIX_SPEC): Delete.
	(SYSROOT_HEADERS_SUFFIX_SPEC): Delete.
	* config/m68k/uclinux.h (SYSROOT_HEADERS_SUFFIX_SPEC): Remove undef.
	* config/m68k/t-linux (MULTILIB_OPTIONS): Delete.
	(MULTILIB_DIRNAMES): Delete.
	(MULTILIB_EXCEPTIONS): Delete.
	(NATIVE_SYSTEM_HEADER_DIR): Delete.
	(LIBGCC): Delete.
	(INSTALL_LIBGCC): Delete.
	(EXTRA_MULTILIB_PARTS): Override.
	* config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Define __mcffpu__
	when using the Coldfire FPU.

2006-04-27  Richard Sandiford  <richard@codesourcery.com>

	gcc/
	* config/m68k/m68k.c (override_options): Restrict the -fPIC error
	to -mpcrel.
	(m68k_output_function_prologue): Use a (d8,%pc,Xi) lea to load the
	PIC register on Coldfire targets.
	(m68k_output_pic_call): Use bsr.l for ISA B too.
	(print_operand_address): Only use GOT displacement lengths for
	m68k_arch_68020.
	(m68k_output_mi_thunk): Use bra.l for ISA B too.

2006-04-27  Richard Sandiford  <richard@codesourcery.com>

	gcc/
	* config/m68k/m68k.c (m68k_save_reg): Save the PIC register in
	functions that need a constant pool.

2006-04-27  Richard Sandiford  <richard@codesourcery.com>

	gcc/
	* config/m68k/m68k.c (m68k_save_reg): Save the PIC register in
	functions that call eh_return.

2006-04-27  Richard Sandiford  <richard@codesourcery.com>

	gcc/
	* real.c (encode_ieee_single): Use canonical_nan_lsbs_set instead
	of qnan_msb_set to determine the lower bits of a canonical
	NaN significand.
	(encode_ieee_double): Likewise.
	(encode_ieee_quad): Likewise.
	(ieee_single_format): Initialize canonical_nan_lsbs_set.
	(mips_single_format): Likewise.
	(ieee_double_format): Likewise.
	(mips_double_format): Likewise.
	(ieee_extended_motorola_format): Likewise.
	(ieee_extended_intel_96_format): Likewise.
	(ieee_extended_intel_128_format): Likewise.
	(ieee_extended_intel_96_round_53_format): Likewise.
	(ibm_extended_format): Likewise.
	(mips_extended_format): Likewise.
	(ieee_quad_format): Likewise.
	(mips_quad_format): Likewise.
	(vax_f_format): Likewise.
	(vax_d_format): Likewise.
	(vax_g_format): Likewise.
	(i370_single_format): Likewise.
	(i370_double_format): Likewise.
	(c4x_single_format): Likewise.
	(c4x_extended_format): Likewise.
	(real_internal_format): Likewise.
	(coldfire_single_format): New real_format.
	(coldfire_double_format): Likewise.
	* real.h (real_format): Add a canonical_nan_lsbs_set field.
	(coldfire_single_format): Declare.
	(coldfire_double_format): Likewise.
	* config/pdp11/pdp11.c (pdp11_f_format): Initialize
	canonical_nan_lsbs_set.
	(pdp11_d_format): Likewise.
	* config/m68k/m68k.c (override_options): Override REAL_FORMAT_MODE
	if TARGET_COLDFIRE_CPU.

2006-04-27  Richard Sandiford  <richard@codesourcery.com>

	gcc/
	* config/m68k/m68k.md (cmpsi): Remove PIC handling.
	(movsi): Remove predicates.  Use LEGITIMATE_PIC_OPERAND_P.
	* config/m68k/m68k.h (LEGITIMATE_PIC_OPERAND_P): Define.

2006-04-27  Richard Sandiford  <richard@codesourcery.com>

	gcc/
	* config/m68k/m68k.c (m68k_output_function_epilogue): Use a stack-
	based restore sequence for big frames on Coldfire if we need to
	use a movem or fmovem instruction.  Fix formatting.  Use proper
	MOTOROLA syntax for Coldfire fmoves from %fp + offset.

2006-04-27  Richard Sandiford  <richard@codesourcery.com>

	gcc/
	* config/m68k/m68k.c (m68k_output_function_prologue): Fix handling
	of %sp-based CFA offsets on Coldfire.

2006-04-27  Richard Sandiford  <richard@codesourcery.com>

	gcc/
	* config/m68k/m68k-cores.def (68000, 68010): Remove FL_PCREL_16
	from these isa_00 entries.
	(68020, 68030): Remove FL_BITFIELD from these isa_20 entries.
	(68040): Remove FL_BITFIELD and FL_68881 from this isa_40 entry.
	(68060): Likewise this isa_60 entry.
	(5202, 5204, 5206, 5206e, 5249, 5250, 5272, 5307): Remove FL_PCREL16
	from these isa_a entries.
	(5207, 5208, 5211, 5212, 5213, 5214, 5216, 523x, 5270, 5271, 5274)
	(5275, 528x, 532x): Likewise these isa_aplus entries.
	* config/m68k/m68k.c (FL_FOR_isa_00): Include FL_PCREL_16.
	(FL_FOR_isa_20): Include FL_BITFIELD.
	(FL_FOR_isa_40): Include FL_FOR_isa_20 instead of FL_ISA_68020.
	Include FL_68881.
	(FL_FOR_isa_60): Include FL_FOR_isa_40 instead of FL_ISA_68020
	and FL_ISA_68040.
	(FL_FOR_isa_a): Include FL_PCREL_16.
	(FL_FOR_isa_aplus): Include FL_FOR_isa_a instead of FL_COLDFIRE
	and FL_ISA_A.
	(FL_FOR_isa_b): Likewise.
	(FL_FOR_isa_c): Include FL_FOR_isa_b instead of FL_COLDFIRE,
	FL_ISA_A, FL_ISA_B and FL_CF_HWDIV.
	(m68k_isa): Add isa_cpu32.
	(all_architectures): Use FL_FOR_isa_* macros.  In so doing,
	fix the isab entry so that it includes FL_ISA_A and FL_PCREL_16.
	Likewise include these flags and FL_ISA_B in the isac entry.
	(all_tunings): Use FL_FOR_isa_* macros, and in so doing, add
	the FL_ISA_A and FL_PCREL_16 flags to the cfv4 and cf4ve entries.

2006-04-13  Richard Sandiford  <richard@codesourcery.com>

	gcc/testsuite/
	* lib/target-supports.exp (check_missing_uclibc_feature): Make test
	produce an error unless the required condition is known not to hold.
	(check_effective_target_uclibc): New procedure.
	(check_effective_target_uclibc_lax_strtofp): Likewise.
	(check_effective_target_uclibc_dummy_wcsftime): Likewise.

	libstdc++-v3/testsuite/
	* 22_locale/time_put/put/wchar_t/1.cc: XFAIL if uclibc_dummy_wcsftime.
	* 22_locale/time_put/put/wchar_t/5.cc: Likewise.
	* 22_locale/time_put/put/wchar_t/9.cc: Likewise.
	* 22_locale/time_put/put/wchar_t/10.cc: Likewise.
	* 22_locale/num_get/get/wchar_t/2.cc: XFAIL if uclibc_lax_strtofp.
	* 22_locale/num_get/get/char/2.cc: Likewise.
	* 27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc: Likewise.
	* 27_io/basic_istream/extractors_arithmetic/wchar_t/09.cc: Likewise.
	* 27_io/basic_istream/extractors_arithmetic/char/12.cc: Likewise.
	* 27_io/basic_istream/extractors_arithmetic/char/09.cc: Likewise.
	* 27_io/basic_ostream/inserters_arithmetic/wchar_t/6.cc: Likewise.
	* 27_io/basic_ostream/inserters_arithmetic/char/6.cc: Likewise.
	* 26_numerics/cmath/c99_classification_macros_c++.cc: XFAIL
	for uClibc.
	* 26_numerics/cmath/c99_classification_macros_c.cc: Likewise.

2006-04-08  Richard Sandiford  <richard@codesourcery.com>

	* gcc/regrename.c (scan_rtx_address): Use REG_MODE_OK_FOR_INDEX_P
	instead of REG_OK_FOR_INDEX_P.  Use MODE_INDEX_REG_CLASS instead
	of INDEX_REG_CLASS.
	(replace_oldest_value_addr): Likewise.
	* gcc/doc/tm.texi (MODE_BASE_REG_CLASS): Clarify what a VOIDmode
	argument means.
	(REGNO_MODE_OK_FOR_BASE_P): Likewise.
	(REG_MODE_OK_FOR_BASE_P): Likewise.
	(MODE_INDEX_REG_CLASS): Document.
	(REGNO_MODE_OK_FOR_INDEX_P): Likewise.
	(REG_MODE_OK_FOR_INDEX_P): Likewise.
	* gcc/defaults.h (REGNO_MODE_OK_FOR_INDEX_P): Provide default.
	(REG_MODE_OK_FOR_INDEX_P): Likewise.
	(MODE_INDEX_REG_CLASS): Likewise.
	* gcc/postreload.c (reload_combine): Compute the set of index
	registers that can be used for at least one mode.  Use that set
	instead of INDEX_REG_CLASS.
	* gcc/reload.c (find_reloads): Use operand_mode[i] as the argument
	to MODE_BASE_REG_CLASS.
	(find_reloads_address): Use MODE_INDEX_REG_CLASS instead of
	INDEX_REG_CLASS.  Check MODE_INDEX_REG_CLASS (mode) as well
	as double_reg_address_ok.
	(find_reload_address_1): Use REG_MODE_OK_FOR_INDEX_P instead
	of REG_OK_FOR_INDEX_P.  Use REGNO_MODE_OK_FOR_INDEX_P instead
	of REGNO_OK_FOR_INDEX_P.  Use MODE_INDEX_REG_CLASS instead of
	INDEX_REG_CLASS.
	* gcc/recog.c (preprocess_constraints): Pass recog_data.operand_mode[i]
	as the argument to BASE_REG_CLASS.
	* gcc/regclass.c (record_operand_costs): Pass the mode of the
	addressed data to record_address_regs.
	(scan_one_insn): Likewise.  Also pass the mode of the memory reference
	to MODE_BASE_REG_CLASS.
	(record_reg_classes): Pass the operand mode to MODE_BASE_REG_CLASS.
	(record_address_regs): Add a mode argument.  Update recursive calls.
	Pass the mode argument to REG_MODE_OK_FOR_REG_BASE_P and
	MODE_BASE_REG_REG_CLASS.  Use REG_MODE_OK_FOR_INDEX_P instead
	of REG_OK_FOR_INDEX_P.  Use MODE_INDEX_REG_CLASS instead of
	INDEX_REG_CLASS.
	* gcc/config/m68k/m68k.md (tst<mode>_cf): Use "m" instead of "<Q>U".
	(cmp<mode>_cf): Likewise.
	(movsf_cf_hard): Likewise.
	(movdf_cf_hard): Likewise.
	(extendsfdf2_cf): Likewise.
	(truncdfsf2_cf): Likewise.
	(floatsi<mode>2_cf): Likewise.
	(ftrunc<mode>2_cf): Likewise.
	(add<mode>3_cf): Likewise.
	(sub<mode>3_cf): Likewise.
	(fmul<mode>3_cf): Likewise.
	(div<mode>3_cf): Likewise.
	(neg<mode>2_cf): Likewise.
	(sqrt<mode>2_cf): Likewise.
	(abs<mode>2_cf): Likewise.
	* gcc/config/m68k/m68k-protos.h (m68k_legitimize_reload_address):
	Delete.
	* gcc/config/m68k/m68k.c (REG_OK_FOR_INDEX_STRICT): Add a mode
	argument.  Use REGNO_MODE_OK_FOR_INDEX_P.  Test MODE_OK_FOR_INDEX_P.
	(LEGITIMATE_INDEX_REG_P): Add a mode argument.  Update calls to
	REG_OK_FOR_INDEX_STRICT.
	(LEGITIMATE_INDEX_P): Add a mode argument.  Update calls to
	LEGITIMATE_INDEX_REG_P.
	(m68k_legitimate_address_p): Update calls to LEGITIMATE_INDEX_P.
	(m68k_legitimize_reload_address): Delete.
	* gcc/config/m68k/m68k.h (INDEX_REG_CLASS): Delete in favor of...
	(MODE_INDEX_REG_CLASS): ...this new macro.
	(MODE_OK_FOR_INDEX_P): New macro.
	(REGNO_OK_FOR_INDEX_P): Delete in favor of...
	(REGNO_MODE_OK_FOR_INDEX_P): ...this new macro.
	(REG_OK_FOR_INDEX_P): Delete in favor of...
	(REG_MODE_OK_FOR_INDEX_P): ...this new macro.
	(LEGITIMIZE_RELOAD_ADDRESS): Delete.
	* gcc/reload1.c (maybe_fix_stack_asms): Pass operand_mode[i]
	to MODE_BASE_REG_CLASS.

2006-04-08  Richard Sandiford  <richard@codesourcery.com>

	* gcc/testsuite/gcc.c-torture/execute/builtins/lib/chk.c: Include
	<sys/types.h>.  Use __UCLIBC__ rather than __uClinux__ to guard
	the definition of vsnprintf.

2006-04-04  Richard Sandiford  <richard@codesourcery.com>

	* gcc/config/m68k/m68k.h (PREFERRED_STACK_BOUNDARY): Define to 32
	for Coldfire targets.

2006-04-01  Richard Sandiford  <richard@codesourcery.com>

	* gcc/config/m68k/uclinux.h (STARTFILE_SPEC): Reinstate defintion.
	(END_SPEC): Likewise.
	(LINK_SPEC): Make -elf2flt the default.

2006-03-31  Richard Sandiford  <richard@codesourcery.com>

	* config/no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.
	* libstdc++-v3/aclocal.m4 (GLIBCXX_ENABLE_C99): Temporarily add
	-fno-exceptions to CXXFLAGS.  Use GCC_TRY_COMPILE_OR_LINK.
	Make the tests assign results to volatile variables.
	* libstdc++-v3/libmath/Makefile.in: Regenerate.
	* libstdc++-v3/configure: Regenerate.
	* libstdc++-v3/Makefile.in: Regenerate.
	* libstdc++-v3/include/Makefile.in: Regenerate.
	* libstdc++-v3/src/Makefile.in: Regenerate.
	* libstdc++-v3/libsupc++/Makefile.in: Regenerate.
	* libstdc++-v3/testsuite/Makefile.in: Regenerate.
	* libstdc++-v3/acinclude.m4: Regenerate.
	* libstdc++-v3/po/Makefile.in: Regenerate.

2006-03-30  Mark Mitchell  <mark@codesourcery.com>

	* libiberty/cygpath.c (fopen): Allocate MAX_PATH + 1 bytes for the
	filename. 
	(open): Likewise.
	(stat): Likewise.
	(access): Likewise.

2006-03-30  Mark Mitchell <mark@codesourcery.com>

	* libiberty/configure.ac: Add cygpath for mingw hosts.
	* libiberty.configure: Rebuilt.
	* libiberty/Makefile.in: Add cygpath.
	* libiberty/cygpath.c: New.

2006-03-29  Richard Sandiford  <richard@codesourcery.com>

	* gcc/configure.ac: Allow $tm_file to contain names of the form ./*.
	Look for them in the build directory rather than $srcdir/config.
	* gcc/configure: Regenerate.
	* gcc/config.gcc (tm_file): Update commentary.
	(m68k-*-uclinux*): Add ./sysroot-suffix.h to tm_file.
	* gcc/config/m68k/print-sysroot-suffix.sh: New file.
	* gcc/config/m68k/t-mlib-matches (sysroot-suffix.h): New rule.
	* gcc/config/m68k/t-uclinux (MULTILIB_OPTIONS): Remove -mcpu=5206.
	(MULTILIB_DIRNAMES): Update accordingly.
	(NATIVE_SYSTEM_HEADER_DIR): Delete.
	* gcc/config/m68k/uclinux.h (MULTILIB_DEFAULTS): Delete.
	(SYSROOT_SUFFIX_SPEC): Delete.
	(SYSROOT_HEADERS_SUFFIX_SPEC): Just undefine; don't redefine.

2006-03-29  Richard Sandiford  <richard@codesourcery.com>

	* gcc/config.gcc (m68k-*-uclinux*): Reorder includes to match
	m68k-*-linux.  Include linux.h and m68k/linux.h.  Include linux.opt
	and define UCLIBC_DEFAULT.
	* gcc/config/m68k/uclinux.h (STARTFILE_SPEC): Delete.
	(ENDFILE_SPEC): Delete.
	(HAS_INIT_SECTION): Delete.
	(TARGET_OS_CPP_BUILTINS): Use LINUX_TARGET_OS_CPP_BUILTINS.
	(CPLUSPLUS_CPP_SPEC): Delete.
	(TARGET_ASM_FILE_START_APP_OFF): Delete.
	(MULTILIB_DEFAULTS): Undefine before redefining.
	(SYSROOT_SUFFIX_SPEC): Likewise.
	(SYSROOT_HEADERS_SUFFIX_SPEC): Likewise.

2006-03-29  Richard Sandiford  <richard@codesourcery.com>

	* gcc/testsuite/lib/target-supports.exp (check_missing_uclibc_feature):
	New procedure.
	(check_gc_sections_available): Return false if ldflags includes
	-elf2flt.
	(check_profiling_available): Return false for m68k-*-uclinux.
	(check_effective_target_wchar): New procedure.
	* gcc/testsuite/gcc.dg/wint_t-1.c: Require { target wchar }.
	* gcc/testsuite/gcc.dg/wchar_t-1.c: Likewise.

2006-03-29  Nathan Sidwell  <nathan@codesourcery.com>

	* gcc/config/m68k/m68k-none.h (ASM_SPEC): Add some whitespace.
	* gcc/config/m68k/m68k.h (OPTION_DEFAULT_SPECS): Add deprecated
	cpu selectors to inhibit default.

	* gcc/config/m68k/uclinux.h (SYSROOT_SUFFIX_SPEC): Add 532x.

	* gcc/config/m68k/m68k-cores.def (532x, 537x): Use 532x multilib.
	* gcc/config/m68k/t-m68kelf (MULTILIB_OPTIONS): Remove m68k
	options.  Add mcpu=532x.
	(MULTILIB_DIRNAMES): Likewise.
	(MULTILIB_EXCEPTIONS): Likewise.
	* gcc/config/m68k/t-uclinux (MULTILIB_OPTIONS): Add mcpu=532x
	(MULTILIB_DIRNAMES): Likewise.

	* gcc/gcc.c (LINK_COMMAND_SPEC): Place T* options before
	endfile_spec.
	* gcc/doc/invoke.texi (M680x0 Options): Revert previous change.
	* gcc/config/m68kenb.h (LIB_SPEC): Revert previous change.
	* gcc/config/m68k.opt (mboard, mbsp): Revert previous change.

2006-03-29  Richard Sandiford  <richard@codesourcery.com>

	* gcc/testuite/lib/target-supports.exp (check_no_compiler_messages):
	New procedure.
	(check_visibility_available): Use it.
	(check_effective_target_default_packed): Likewise.
	(check_effective_target_pcc_bitfield_type_matters): Likewise.
	(check_effective_target_freorder): Likewise.
	(check_effective_target_fpic): Likewise.
	(check_named_sections_available): Likewise.
	(check_effective_target_ilp32): Likewise.
	(check_effective_target_lp64): Likewise.

2006-03-29  Richard Sandiford  <richard@codesourcery.com>

	* gcc/testsuite/gcc.c-torture/execute/builtins/lib/chk.c (vsnprintf):
	Don't define for uClinux targets.
	* gcc/testsuite/gcc.c-torture/execute/20030125-1.x: Restrict the
	test *-linux* rather than *linux* targets.
	* gcc/testsuite/g++.dg/init/array15.C: Don't run on m68k-uclinux.
	* gcc/testsuite/g++.dg/init/array16.C: Likewise.

2006-03-28  Nathan Sidwell  <nathan@codesourcery.com>

	* gcc/gcc.c (do_spec_1): <case '*'> Don't append space here.
	(process_marked_switches): Put a space between each marked switch.
	(process_brace_body): Put a space between each live switch.
	(give_switch): Don't append space here.
	* gcc/config/m68k/m68kemb.h (LIB_SPEC): Add BSP lib and linker
	script here.  Group with LIBGCC spec.
	* gcc/config/m68k/m68k.opt (mboard, mbsp): New switches.
	* gcc/config/m68k/m68020-elf.h (LIB_SPEC): Do not define here.
	* gcc/doc/invoke.texi (M680x0 Options): Document new switches.

2006-03-28  Richard Sandiford  <richard@codesourcery.com>

	Merge from csl/sourcerygxx-4_1 branch:

	2006-03-27  Jim Blandy	<jimb@codesourcery.com>

	* include/libiberty.h (pex_write_input): New declaration.

	* libiberty/pex-common.c (pex_write_input): New function.
	* libiberty/pexecute.txh (pex_write_input): Document it.
	* libiberty/pex-common.h (struct pex_funcs): New function ptr fdopenw.
	* libiberty/pex-unix.c (pex_unix_fdopenw): New function.
	(funcs): List it as our fdopenw function.
	* libiberty/pex-win32.c (pex_win32_fdopenw): New function.
	(funcs): List it as our fdopenw function.
	* libiberty/pex-djgpp.c (funcs): Leave fdopenw null.
	* libiberty/pex-msdos (funcs): Same.
	* libiberty/functions.texi: Regenerated.

	* libiberty/pex-common.h (struct pex_obj): Doc fixes.

	* libiberty/functions.texi: Regenerate.

	2006-03-27  Mark Mitchell  <mark@codesourcery.com>

	* libiberty/pex-win32.c (pex_win32_exec_child): Close stdout/stderr
	in parent.

2006-03-28  Nathan Sidwell  <nathan@codesourcery.com>

	* gcc/config/m68k/m68k.h (DWARF_FRAME_RETURN_COLUMN): Define.
	* gcc/config/m68k/m68k.c (m68k_output_function_prologue): Output
	dwarf to allow unwinding from interrupt_handlers.

2006-03-27  Nathan Sidwell  <nathan@codesourcery.com>

	* gcc/config.gcc (m68k-*-linux*): Add default --with-cpu.
	* gcc/config/m68k/netbsd-elf.h (FUNCTION_VALUE_REGNO_P): Fix thinko
	in previous change.
	* gcc/testsuite/gcc.dg/m68k-pic-1.c: New.

2006-03-26  Nathan Sidwell  <nathan@codesourcery.com>

	* libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add): Add
	coldfire fragments.

	* gcc/config/gcc (m68k-*-linux*): Add t-linux.
	(m68k/t-rtems): Reorder include files.
	* gcc/config/m68k/linux.h (TARGET_DEFAULT): Do not define.
	(TARGET_CPU_DEFAULT, ASM_CPU_DEFAULT_SPEC): Default to 68040.
	(STRICT_ALIGNMENT): Do not define here.
	(ASM_SPEC): Define earlier.
	(TARGET_OS_CPP_BUILTINS): Do not define mc68000 or mc68020 here.
	(CPP_SPEC): Simplify.
	(FUNCTION_VALUE_REGNO_P): fp0 is only a return on 68k, not
	coldfire.
	(TARGET_ASM_FILE_START_APP_OFF): Undef.
	(MULTILB_DEFAULTS, SYSROOT_SUFFIX_SPEC,
	SYSROOT_HEADERS_SUFFIX_SPEC): Define.
	* gcc/config/m68k/m68k-none.h (TARGET_DEFAULT, ASM_CPU_DEFAULT,
	OPTION_DEFAULT_SPECS): Do not process here, move to m68k.h.
	(EXTRA_SPECS, CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS):
	Likewise.
	* gcc/config/m68k/m68k.h (OPTION_DEFAULT_SPECS, TARGET_DEFAULT,
	ASM_CPU_DEFAULT_SPEC, EXTRA_SPECS, CPP_SUBTARGET_SPECS,
	SUBTARGET_EXTRA_SPECS): Moved here from m68k-none.h.
	* gcc/config/m68k/t-linux: New.
	* gcc/config/netbsd-elf.h (FUNCTION_VALUE_REGNO_P): fp0 is not a
	return reg on coldfire.

	* gcc/config/m68k/t-mlib-matches (MULTILIB_MATCHES): m5206e is
	equivalent to isaa.
	* gcc/config/m68k/t-m68kelf (MULTILIB_OPTIONS): Add 5211.
	(MULTILIB_DIRNAMES): Likewise.
	(MULTILIB_EXCEPTIONS): Inhibit all 68k multilibs.  Allow
	m547x/soft-float.

	* gcc/config/m68k/m68k.md (cmpsi): Split symbol+const for Coldfire.

2006-03-25  Richard Sandiford  <richard@codesourcery.com>

	Merge from csl/sourcerygxx-4_1 branch:

	2006-03-24  Mark Mitchell  <mark@codesourcery.com>
	            Joseph S. Myers  <joseph@codesourcery.com>

	PR libstdc++/20448
	PR libstdc++/20451
	* libstdc++-v3/scripts/testsuite_flags.in (--cxxflags): Don't
	define LOCALEDIR.
	* libstdc++-v3/testsuite/lib/libstdc++.exp (libstdc++_init):
	Always define LOCALEDIR to ".".
	(v3-build_support): Build MO files.

	2006-03-20  Mark Mitchell  <mark@codesourcery.com>

	* libiberty/pex-win32.c (<errno.h>): Include.
	(fix_argv): Remove.
	(argv_to_cmdline): New function.
	(std_suffixes): New variable.
	(no_suffixes): Likewise.
	(find_executable): New function.
	(win32_spawn): Likewise.
	(spawn_script): Use win32_spawn instead of _spawnv[p].
	(pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
	(pex_win32_wait): Likewise.

	2006-03-17  Joseph Myers  <joseph@codesourcery.com>

	* gcc/dwarf2.h (DW64_CIE_ID): Define.
	* gcc/dwarf2out.c (DWARF_CIE_ID): Define.
	(output_call_frame_info): Output 0xffffffff before standard 8-byte
	length header.  Use DWARF_CIE_ID.
	(value_format): Use DW_FORM_data4 or DW_FORM_data8 for
	dw_val_class_loc_list depending on DWARF_OFFSET_SIZE.

	2006-03-17  Carlos O'Donell  <carlos@codesourcery.com>

	* gcc/doc/invoke.texi: Define -femit-class-debug-always.
	* gcc/common.opts: Likewise.
	* gcc/cp/search.c (maybe_suppress_debug_info): Suppress
	debug info if flag_emit_class_debug_always is zero.

	2006-03-17  Richard Sandiford  <richard@codesourcery.com>

	Backport from mainline:
	* gcc/config.gcc (mips64*-*-linux*): Keep existing tm_defines.
	(mips*-*-linux*): Likewise.

	2006-03-16  Joseph S. Myers  <joseph@codesourcery.com>

	* gcc/config.gcc (tm_defines): Always add to previous value rather
	than replacing it.

	2006-03-15  Paul Brook  <paul@codesourcery.com>

	Backport from mainline.
	* gcc/config/arm/arm.c (minipool_pad): New.
	(add_minipool_forward_ref): Unclude pool alignment padding in address
	calculation.
	(push_minipool_fix): Set minipool_pad.
	(minipool_pad): Ditto.

	2006-02-27  Nathan Sidwell  <nathan@potter.codesourcery.com>

	Backport the following
	* gcc/config.gcc (mt-*-*): Add --with-arch support.
	(--with): Print accepted options on error.
	* gcc/config/mt/mt.h (OPTION_DEFAULT_SPECS): Define.

	* gcc/config/mt/mt.c (DEF_VEC_P(basic_block),
	DEF_VEC_ALLOC_P(basic_bloc,heap)): Remove from here.

	* gcc/config/mt/mt.md (UNSPEC_LOOP): New constant.
	(loop_end, loop_init, doloop_end): New insns.
	* gcc/config/mt/mt.h (LOOP_FIRST, LOOP_LAST): New.
	(SPECIAL_REG_FIRST, FIRST_PSEUDO_REGISTER): Adjust.
	(FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
	(REG_CLASS_CONTENTS, REGISTER_NAMES): Adjust.
	* gcc/config/mt/mt.c: #include basic-block.h
	(struct machine_function): Add has_loops field.
	(mt_add_loop): New.
	(MAX_LOOP_DEPTH, MAX_LOO_LENGTH): New.
	(struct loop_info, struct loop_work): New.
	(mt_loop_nesting, ms1_block_length, ms1_scan_loop): New workers.
	(mt_reorg_loops): New loop optimization.
	(mt_machine_reorg): Call it.
	* gcc/config/mt/mt-protos.h (mt_add_loop): Declare.

	* gcc/vec.h (VEC_block_remove): New.

	* gcc/loop-doloop.c (add_test): Only add jump notes if we did emit a
	jump.

	2006-02-18  Joseph S. Myers  <joseph@codesourcery.com>

	PR target/24837
	* gcc/config.gcc: Define UCLIBC_DEFAULT to 0 or 1.
	* gcc/opth-gen.awk: Handle Var and InverseMask together.
	* gcc/config/linux.opt (muclibc, mglibc): Use Var(linux_uclibc).
	* gcc/config/linux.h: Use #if not #ifdef for testing
	UCLIBC_DEFAULT.
	(TARGET_C99_FUNCTIONS): Test OPTION_GLIBC not TARGET_GLIBC.
	(CHOOSE_DYNAMIC_LINKER): Give an error for -mglibc and -muclibc
	used together.
	(UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
	LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64): Define.
	* gcc/config/alpha/linux-elf.h (GLIBC_DYNAMIC_LINKER,
	UCLIBC_DYNAMIC_LINKER, CHOOSE_DYNAMIC_LINKER,
	LINUX_DYNAMIC_LINKER): Define.
	(ELF_DYNAMIC_LINKER): Define to LINUX_DYNAMIC_LINKER.
	* gcc/config/alpha/linux.h (TARGET_C99_FUNCTIONS): Define to
	TARGET_GLIBC.
	* gcc/config/cris/linux.h (GLIBC_DYNAMIC_LINKER): Define.
	(CRIS_LINK_SUBTARGET_SPEC): Pass a -dynamic-linker option.
	* gcc/config/frv/linux.h (GLIBC_DYNAMIC_LINKER): Define.
	(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
	(TARGET_C99_FUNCTIONS): Don't define.
	* gcc/config/i386/linux.h (DYNAMIC_LINKER): Rename to
	GLIBC_DYNAMIC_LINKER.
	(SUBTARGET_EXTRA_SPECS): Use LINUX_DYNAMIC_LINKER.
	* gcc/config/i386/linux64.h (GLIBC_DYNAMIC_LINKER32,
	GLIBC_DYNAMIC_LINKER64): Define.
	(LINK_SPEC): Use LINUX_DYNAMIC_LINKER32 and
	LINUX_DYNAMIC_LINKER64.
	* gcc/config/ia64/linux.h (GLIBC_DYNAMIC_LINKER): Define.
	(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
	* gcc/config/m32r/linux.h (GLIBC_DYNAMIC_LINKE): Define.
	(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
	* gcc/config/m68k/linux.h (GLIBC_DYNAMIC_LINKER): Define.
	(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
	* gcc/config/mips/linux64.h (GLIBC_DYNAMIC_LINKER32,
	GLIBC_DYNAMIC_LINKER64, GLIBC_DYNAMIC_LINKERN32,
	UCLIBC_DYNAMIC_LINKERN32, LINUX_DYNAMIC_LINKERN32): Define.
	(LINK_SPEC): Use LINUX_DYNAMIC_LINKERN32, LINUX_DYNAMIC_LINKER64
	and LINUX_DYNAMIC_LINKER32.
	* gcc/config/mn10300/linux.h (GLIBC_DYNAMIC_LINKER): Define.
	(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
	* gcc/config/pa/pa-linux.h (GLIBC_DYNAMIC_LINKER): Define.
	(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
	* gcc/config/rs6000/linux.h (TARGET_C99_FUNCTIONS): Define to
	TARGET_GLIBC.
	* gcc/config/rs6000/linux64.h (TARGET_C99_FUNCTIONS): Likewise.
	(GLIBC_DYNAMIC_LINKER32, GLIBC_DYNAMIC_LINKER64,
	UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
	CHOOSE_DYNAMIC_LINKER, CHOOSE_DYNAMIC_LINKER,
	LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64): Define.
	(LINK_OS_LINUX_SPEC32): Use LINUX_DYNAMIC_LINKER32.
	(LINK_OS_LINUX_SPEC64): Use LINUX_DYNAMIC_LINKER64.
	* gcc/config/rs6000/sysv4.h (GLIBC_DYNAMIC_LINKER,
	UCLIBC_DYNAMIC_LINKER, CHOOSE_DYNAMIC_LINKER,
	LINUX_DYNAMIC_LINKER): Define.
	(LINK_OS_LINUX_SPEC): Use LINUX_DYNAMIC_LINKE.
	* gcc/config/s390/linux.h (GLIBC_DYNAMIC_LINKER32,
	GLIBC_DYNAMIC_LINKER64): Define.
	(LINK_SPEC): Use LINUX_DYNAMIC_LINKER32 and
	LINUX_DYNAMIC_LINKER64.
	* gcc/config/sh/linux.h (GLIBC_DYNAMIC_LINKER): Define.
	(SUBTARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
	* gcc/config/sparc/linux.h (GLIBC_DYNAMIC_LINKER,
	UCLIBC_DYNAMIC_LINKER, CHOOSE_DYNAMIC_LINKER,
	LINUX_DYNAMIC_LINKER): Define.
	(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
	(TARGET_C99_FUNCTIONS): Define to TARGET_GLIBC.
	* gcc/config/sparc/linux64.h (GLIBC_DYNAMIC_LINKER32,
	GLIBC_DYNAMIC_LINKER64, UCLIBC_DYNAMIC_LINKER32,
	UCLIBC_DYNAMIC_LINKER64, CHOOSE_DYNAMIC_LINKER,
	LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64): Define.
	(LINK_ARCH32_SPEC): Use LINUX_DYNAMIC_LINKER32.
	(LINK_ARCH64_SPEC, LINK_SPEC): Use LINUX_DYNAMIC_LINKER64.
	(TARGET_C99_FUNCTIONS): Define to TARGET_GLIBC.
	* gcc/config/xtensa/linux.h (GLIBC_DYNAMIC_LINKER): Define.
	(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
	* gcc/doc/invoke.texi (-muclibc): Remove caveat about supported
	targets.
	* gcc/testsuite/gcc.dg/glibc-uclibc-1.c,
	gcc/testsuite/gcc.dg/glibc-uclibc-2.c: New tests.

	2006-02-16  Joseph S. Myers  <joseph@codesourcery.com>

	PR libstdc++/14939
	PR target/20353
	PR target/24578
	PR target/24837
	* gcc/config/linux.opt: New file.
	* gcc/config/linux.h (CHOOSE_DYNAMIC_LINKER,
	UCLIBC_DYNAMIC_LINKER, LINUX_DYNAMIC_LINKER): Define.
	(TARGET_C99_FUNCTIONS): Define depending on TARGET_GLIBC.
	* gcc/config.gcc (*-*-linux*): Define extra_options.
	(*-*-*uclibc*): Define UCLIBC_DEFAULT.
	(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
	* gcc/config/arm/linux-eabi.h (LINUX_TARGET_INTERPRETER): Change
	to GLIBC_DYNAMIC_LINKER.
	* gcc/config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): Likewise.
	(LINUX_TARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
	* gcc/config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Define.
	(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
	* gcc/doc/invoke.texi (GNU/Linux Options): New section.
	* gcc/testsuite/gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't
	define if __UCLIBC__ is defined.
	* libstdc++-v3/config/os/uclibc/ctype_base.h,
	libstdc++-v3/config/os/uclibc/ctype_inline.h,
	libstdc++-v3/config/os/uclibc/ctype_noninline.h,
	libstdc++-v3/config/os/uclibc/os_defines.h: New.
	* libstdc++-v3/acinclude.m4 (GLIBCXX_CONFIGURE): Test whether
	using uClibc.
	* libstdc++-v3/configure.host: Use os/uclibc for uClibc.
	* libstdc++-v3/crossconfig.m4 (*-linux*): Use link tests.  Don't
	hardcode presence of math functions.
	* libstdc++-v3/configure: Regenerate.

	2005-02-16  Paul Brook  <paul@codesourcery.com>

	* reload1.c (emit_reload_insns): Invalidate dead input registers used
	for reloads.

	2006-02-01  Paul Brook  <paul@codesourcery.com>

	Backport form mainline.
	* gcc/function.c (assign_parm_setup_reg): Use function argument
	promotion rules.
	* gcc/expr.c (expand_expr_real_1): Use function argument promotion
	rules for PARM_DECLs.

	2006-01-27  Paul Brook  <paul@codesourcery.com>

	* version.c: Mark as CodeSourcery build.

	2006-01-24  Joseph Myers  <joseph@codesourcery.com>

	Backport from mainline.
	2006-01-23  Adam Nemet  <anemet@caviumnetworks.com>

	* fix-header.c (read_scan_file): Add new parameter imultilib when
	calling register_include_chains.

	2006-01-23  Julian Brown  <julian@codesourcery.com>

	Backport from mainline.
	2006-01-23  Kazu Hirata  <kazu@codesourcery.com>
	PR testsuite/25590
	* gcc/testsuite/gcc.dg/tree-ssa/gen-vect-11.c: Add -fwrapv.

2006-03-25  Richard Sandiford  <richard@codesourcery.com>

	* gcc/config/m68k/uclinux.h (CPLUSPLUS_CPP_SPEC): Override and
	define _GNU_SOURCE.

2006-03-23  Richard Sandiford  <richard@codesourcery.com>

	* gcc/doc/tm.texi (TARGET_USE_COMDAT_GROUPS): Document.
	* gcc/target.h (use_comdat_groups): New hook.
	* gcc/crtstuff.c (USE_PT_GNU_EH_FRAME): Don't define if
	OBJECT_FORMAT_FLAT.
	* gcc/varasm.c (default_function_rodata_section): Test the
	use_comdat_groups target hok instead of HAVE_COMDAT_GROUP.
	(default_elf_asm_named_section): Likewise.
	(default_unique_section): Likewise.
	* gcc/target-def.h (TARGET_USE_COMDAT_GROUPS): Define if undefined.
	(TARGET_INITIALIZER): Include it.
	* gcc/config.gcc (m68k-*-uclinux*): Add flat.h to tm_defines.
	Remove t-crtstuff from tmake_file.
	* gcc/config/flat.h: New file.
	* gcc/config/m68k/t-uclinux (EXTRA_MULTILIB_PARTS): Define.
	* gcc/config/m68k/uclinux.h (EH_FRAME_IN_DATA_SECTION): Delete.

2006-03-23  Richard Sandiford  <richard@codesourcery.com>

	* gcc/config/m68k/m68k.h (M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P):
	Move definition outside !REG_OK_STRICT block.

2006-03-21  Richard Sandiford  <richard@codesourcery.com>

	* gcc/config/m68k/m68k.c (TARGET_ASM_FILE_START_APP_OFF): Don't
	override here.
	* gcc/config/m68k/m68k.h (TARGET_ASM_FILE_START_APP_OFF): Define.
	* gcc/config/m68k/uclinux.h (TARGET_ASM_FILE_START_APP_OFF): Override.
	(M68K_NO_ASM_FILE_START_APP_OFF): Delete.

2006-03-21  Richard Sandiford  <richard@codesourcery.com>
	    Nathan Sidwell <nathan@codesourcery.com>

	* gcc/rtlanal.c: Include tree.h.
	(offset_within_block_p): New function, taken from
	mips_offset_within_object_p.
	(constant_may_be_outside_section_p): Likewise.
	* gcc/rtl.h (offset_within_section_p): New function.
	(constant_may_be_outside_section_p): Likewise.
	* gcc/Makefile.in (rtlanal.o): Depend on $(TREE_H).
	* gcc/config/m68k/m68k.md (movsi): Split possbily out-of-section
	constants if M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P.
	* gcc/config/m68k/m68k.c (TARGET_CANNOT_FORCE_CONST_MEM): Override.
	(m68k_cannot_force_const_mem): New function.
	* gcc/config/m68k/m68k.h (CONSTANT_ADDRESS_P): Check
	LEGITIMATE_CONSTANT_P.
	(LEGITIMATE_CONSTANT_P): Reject possibly out-of-section constants if
	M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P.
	(M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): New macro.
	* gcc/config/m68k/uclinux.h (M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P):
	Override.
	* gcc/config/mips/mips.c (mips_offset_within_object_p): Delete.
	(mips_symbolic_constant_p): Use offset_within_section_p.

2006-03-17  Richard Sandiford  <richard@codesourcery.com>

	* gcc/config.gcc (m68k-*-uclinux*): Set with_cpu to 5206 by default.
	* gcc/config/m68k/m68k-cores.def (5211, 5212, 5213): Use the -mcpu=5211
	multilibs instead of the -mcpu=5207 ones.
	* gcc/config/m68k/t-uclinux (MULTILIB_OPTIONS): Restrict to coldfire
	cores.
	(MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Update accordingly.
	(NATIVE_SYSTEM_HEADER_DIR): Override default.
	* gcc/config/m68k/uclinux.h (MULTILIB_DEFAULTS): Define.
	(SYSROOT_SUFFIX_SPEC): Define.
	(SYSROOT_HEADERS_SUFFIX_SPEC): Define.

2006-03-16  Nathan Sidwell  <nathan@codesourcery.com>

	* gcc/config/m68k/m68k-protos.h (m68k_out_of_object_offset): New.
	* gcc/config/m68k/m68k.c (m68k_out_of_object_offset): New.
	(m68k_legitimate_address_p): Check out of object offset.
	* gcc/config/m68k/m68k.md (movsi): Split if out of object offset.
	* gcc/config/m68k/predicates.md (general_src_operand): Check out of
	object offset.
	* gcc/config/m68k/uclinux.h (M68K_NO_OUT_OF_OBJECT_OFFSETS): Declare.
	
	* gcc/config/m68k/m68k.c (m68k_output_function_epilogue): Prevent
	compilation warning.

	* gcc/config/m68k/m68k-protos.h (m68k_legitimize_reload_address): Declare.
	* gcc/config/m68k/m68k.c (m68k_legitimize_reload_address): New.
	* gcc/config/m68k/m68k.h (LEGITIMIZE_RELOAD_ADDRESS): New.
	* gcc/testsuite/gcc.dg/m68k-fp-1.c: New.
	
	* gcc/config/m68k/m68k-protos.h (m68k_legitimiate_address_p): Declare.
	* gcc/config/m68k/m68k.c (REG_OK_FOR_INDEX_STRICT,
	REG_OK_FOR_BASE_STRICT, LEGITIMATE_BASE_REG_P,
	LEGTIMATE_INDEX_REG_P): Copied & adjusted from m68k.h.
	(m68k_legitimate_address_p): New, converted from
	GO_IF_LEGITIMATE_ADDRESS.
	* gcc/config/m68k/m68k.hh (PCREL_GENERAL_OPERAND_OK,
	LEGTIMIATE_PIC_OPERAND_P): Remove.
	(GO_IF_LEGITIMATE_ADDRESS): Call m68k_legitimate_address_p.
	(LEGTIMIATE_BASE_REG_P, INDIRECTABLE_1_ADDRESS_P,
	GO_IF_NONINDEXED_ADDRESS, GO_IF_INDEXABLE_BASE, GO_IF_INDEXING,
	GO_IF_INDEXED_ADDRESS, LEGTIMIATE_INDEX_REG_P, LEGITIMATE_INDEX_P,
	GO_IF_COLDFIRE_FPU_LEGITIMATE_ADDRESS): Remove.

2006-03-14  Nathan Sidwell  <nathan@codesourcery.com>

	* gcc/config/m68k/fpgnulib.c (__truncdfsf2): Implement round to
	nearest even, fix denormal rounding overflow.

2006-03-10  Nathan Sidwell  <nathan@codesourcery.com>

	* libstdc++-v2/configure.ac (LIBSUPCXX_PRONLY): Protect against unset
	environment variable.
	* libstdc++-v3/configure: Rebuilt.

	* gcc/config.gcc (m68k-*-uclinux*): Include t-crtstuff.
	* gcc/config/m68k/t-uclinux (MULITLIB_EXCEPTIONS): Disable
	mid-shared-library & msep-data on coldfire chips without 32bit PC
	rel addressing.
	(EXTRA_MULTILIB_PARTS): Don't define here.
	* gcc/config/m68k/m68k.c (TARGET_ASM_FILE_START_APP_OFF): Protect
	with M68K_NO_ASM_FUILE_START_APP_OFF.
	(override_options): Avoid signed/unsigned warning. Give more
	informative error message when TARGET_SEP_DATA or
	TARGET_ID_SHARED_LIBRARY are unsupported.
	* gcc/config/m68k/uclinux.h (STARTFILE_SPEC): Define here.
	(ENDFILE_SPEC): Likewise.
	(INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Don't define.
	(TARGET_OS_CP_BUILTINS): Remove duplicared mc68000 #define.
	(M68K_NO_ASM_FILE_START_APP_OFF): New.

2006-03-08  Nathan Sidwell  <nathan@codesourcery.com>

	* gcc/config/m68k/m68k-none.h (ASM_SPEC): Pass -mno-float for
	soft-float.

2006-03-07  Nathan Sidwell  <nathan@codesourcery.com>

	* gcc/config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Detect -mtune
	usage to set multiple 68k core #defines.

2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>

	* gcc/config/m68k/m68k-cores.def: Set FL_PCREL_16 as appropriate.
	* gcc/config/m68k/m68k.c (FL_NOPIC): Remove.
	(FL_PCREL_16): Define.
	(all_architectures): Set FL_PCREL_16 as appropriate.
	(all_tunings): Likewise.
	(override_options): Replace 68k specific FL_NOPIC test with general
	FL_PCREL_16 one.

2006-02-26  Nathan Sidwell  <nathan@potter.codesourcery.com>

	* libstdc++-v3/testsuite/lib/libstdc++.exp (check_v3_target_fileio,
	check_v3_target_time): New.
	* libstdc++-v3/testsuite/lib/dg-options.exp (dg-require-fileio,
	dg-require-time): New.
	* libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: Use it.
	* libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: Use it.
	* libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: Use it.
	* libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: Use it.
	* libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/1.cc: Use it.
	* libstdc++-v3/testsuite/ext/stdio_filebuf/char/2.cc: Use it.
	* libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-1.cc: Use it.
	* libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-2.cc: Use it.
	* libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-3.cc: Use it.
	* libstdc++-v3/testsuite/22_locale/time_put/put/char/12439_1.cc: Use it.
	* libstdc++-v3/testsuite/22_locale/time_put/put/char/12439_3.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/objects/char/12048-2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/objects/char/12048-4.cc: Use it.
	* libstdc++-v3/testsuite/27_io/objects/char/12048-1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/objects/char/12048-3.cc: Use it.
	* libstdc++-v3/testsuite/27_io/objects/char/10.cc: Use it.
	* libstdc++-v3/testsuite/27_io/objects/char/12048-5.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_istream/get/char/2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/3.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_istream/getline/char/5.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/sstream.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/fstream.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/sstream.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/fstream.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/4.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_ifstream/open/char/1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_ifstream/cons/char/1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/is_open/char/1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/open/12790-1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/3.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9988.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9169.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/close/12790-1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-4.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/4.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/10096.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: Use it.
	* libstdc++-v3/testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Use it.
	* libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: Use it.
	* libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/11.cc: Use it.
	* libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: Use it.

2006-02-23  Nathan Sidwell  <nathan@codesourcery.com>

	* gcc/doc/invoke.text (M680x0 Options): Update.
	* gcc/config/m68k/m68k.opt (mdiv): Rename from mhwdiv, to match
	assembler.
	(musp): Remove.
	(mbitfield, mrtd, mshort): Allow negated.
	* gcc/config/m68k/m68k.c (m68k_cf_usp): Remove.
	(all_architectures): isaa defaults to HWDIV and 5206e. isaa+
	defaults to HWDIV.
	(override_options): Remove m68k_cf_usp setting.
	* gcc/config/m68k/m68k.h (m68k_cf_usp): Remove.

	* gcc/config/m68k/m68k-cores.def: Add 5202, 5204, 5250.

	* gcc/config/m68k/m68k.h (TARGET_COLDFIRE): Remove, use
	m68k_arch_coldfire directly.  Update all users.
	* gcc/config/m68k/m68k.c: Update all users.
	* gcc/config/m68k/m58k.md: Update all users.
	* gcc/config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Update.
	* gcc/config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Update.
	* gcc/config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Update.
	* gcc/config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Update.

2006-02-22  Nathan Sidwell  <nathan@codesourcery.com>

	* gcc/config/m68k/m68k.c (m68k_cpu_cpp_builtins): Move to ...
	* gcc/config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): ... here.
	* gcc/config/m68k/m68k-protos.h (m68k_cpu_cpp_builtins): Remove.

2005-02-21  Julian Brown  <julian@codesourcery.com>

	* gcc/config/m68k/m68k.c (fpu_impl, fpu_select): Remove.
	(m68k_handle_option): Remove msoft-float, mhard-float, m68881 handling
	from here.
	(override_options): Handle default CPU setting. Handle bitfield, hwdiv,
	usp options. Use FL_NOPIC.
	* gcc/config/m68k/m68k.h (TARGET_BITFIELD): Define to m68k_bitfield,
	temporarily.
	(target_cpus): New enumeration of CPU identifiers, TARGET_CPU_<core>.
	* gcc/config/m68k/m68k-none.h: Remove old TARGET_CPU_DEFAULT handling.
	(OPTION_DEFAULT_SPECS): Define macro for handling default CPU/float.
	(EXTRA_SPECS): Remove CC1_CPU_DEFAULT_SPEC.
	* gcc/config/m68k/m68k.opt (mbitfield): Use m68k_flag_bitfield.
	(mnobitfield): Likewise.
	(mhwdiv, musp): Fix options.
	(m68881, msoft-float, mhard-float): Use m68k_flag_hardfloat.
	(mfpu): Remove.
	* gcc/config/m68k/t-m68kelf (MULTILIB_EXCEPTIONS): Add msoft-float,
	mhard-float.
	* gcc/config.gcc (m68k*-linux*): Rename to...
	(m68k*-*): Implement --with-cpu, --with-float. Remove old
	compile-time CPU selection options.

2006-02-16  Julian Brown  <julian@codesourcery.com>

	* gcc/config.gcc (m68k-*-aout*): Use t-mlib-matches file.
	(m68k-*-coff*): Likewise.
	(m68010-*-netbsdelf*, m68k*-*-netbsdelf*): Likewise.
	(m68k-*-uclinux*): Likewise.
	(m68k-*-linux*): Likewise.
	(m68k-*-rtems*): Likewise.
	* gcc/config/m68k/t-rtems: Use -mcpu= options for multilibs.
	* gcc/config/m68k/t-m68kelf: Likewise.
	* gcc/config/m68k/t-m68kbare: Likewise.
	* gcc/config/m68k/t-uclinux: Likewise.
	* gcc/config/m68k/m68k-cores.def: Add multilib field. Add missing HWDIV
	flag to various cores. Replace 5280, 5281, 5282 with 528x.
	* gcc/config/m68k/t-mlib-matches: Find canonical multilib for
	CPU/arch settings.
	* gcc/config/m68k/m68k-none.h (ASM_SPEC): Add -mcpu/-march options.
	* gcc/config/m68k/m68k.c (all_cores): Ignore new multilib field in
	m68k-cores.def.
	(m68k_handle_option): Use 528x instead of 5280.
	(override_options): Don't set CPU/arch if tuning option only is given.
	* gcc/config/m68k/m68k.h (processor_type): Ignore new multilib field in
	m68k-cores.def.

2006-02-13  Julian Brown  <julian@codesourcery.com>

	* gcc/config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Implement 'R'
	constraint for immediates which can be handled by mov3q.

2006-02-10  Julian Brown  <julian@codesourcery.com>

	* gcc/config/m68k/m68k.md: Replace uses of TARGET_68020, TARGET_68040,
	TARGET_68060, TARGET_68040_ONLY, TARGET_CPU32, TARGET_CFV4 with
	TUNE_68000, TUNE_68020, TUNE_68040, TUNE_CFV4, m68k_arch_68020,
	m68k_arch_68040, m68k_arch_68060, m68k_arch_isab as appropriate,
	throughout.
	* gcc/config/m68k/linux.h (MASK_68881): Change spelling to MASK_HARDFP.
	* gcc/config/m68k/m68k-cores.def (68020-40, 68020-60): Remove CPU
	names.
	(68332, cpu32): Use cpu32 as microarchitecture.
	* gcc/config/m68k/m68k-protos.h (m68k_cpu_cpp_builtins): Add prototype.
	* gcc/config/m68k/m68k-none.h (MASK_68881): Change spelling to
	MASK_HARDFP. Use -mhard-float instead of -m68881.
	* gcc/config/m68k/m68k.opt (-m5200, -m5206e, -m528x, -m5307, -m5407)
	(-mcfv4e, -m68881): Don't use target flags to handle legacy options.
	(-mhard-float): Add option to enable ColdFire FPU or 68881 depending
	on context.
	(-msoft-float): Negation of above.
	(-mhwdiv): Enable/disable ColdFire hardware divide instructions
	(unimplemented).
	* gcc/config/m68k/m68k.c (m68k_cpu, m68k_arch_68020, m68k_arch_68040)
	(m68k_arch_68060, m68k_arch_coldfire, m68k_arch_isaaplus)
	(m68k_arch_isab, m68k_arch_isac, m68k_tune, m68k_fpu, m68k_bitfield)
	(m68k_cf_hwdiv, m68k_cf_usp): New variables describing target
	capabilities.
	(FL_FOR_isa_40, FL_FOR_isa_60): Alter definitions.
	(FL_FOR_isa_20_40, FL_FOR_isa_20_60): Remove.
	(m68k_isa): Remove isa_20_40 and isa_20_60.
	(all_cores): Alter last entry.
	(all_architectures): Reformat. Update various fields. Remove 68020-40
	and 68020-60. Remove cfvX entries.
	(all_tunings): New array. Describe different tuning options.
	(m68k_select): Tune for microarch not CPU.
	(MASK_ALL_CPU_BITS): Remove.
	(m68k_handle_option): Handle legacy options using new CPU/tuning
	selection code. Add support for -mhard-float and fix support for
	-msoft-float, -m68881.
	(override_options): Add tuning support. Remove legacy target flag
	support.
	(m68k_cpu_cpp_builtins): New function (from TARGET_CPU_CPP_BUILTINS
	in m68k.h). Handle legacy defines, and support new __mcfisaX__ and
	__mcfvX__ defines to be used in new code.
	(m68k_output_function_prologue): Use TUNE_* macros and m68k_arch_*
	predicates.
	(m68k_output_function_epilogue): Likewise.
	(m68k_output_pic_call): Likewise.
	(output_scc_di): Likewise.
	(const_method): Likewise.
	(m68k_rtx_costs): Likewise.
	(output_move_simode_const): Likewise.
	(output_move_himode): Likewise.
	(output_move_qimode): Likewise.
	(output_move_stricthi): Likewise.
	(output_move_strictqi): Likewise.
	(output_addsi3): Likewise.
	(standard_68881_constant_p): Likewise.
	(print_operand): Likewise.
	(m68k_output_mi_thunk): Likewise.
	* gcc/config/m68k/netbsd-elf.h (MASK_68881): Spell MASK_HARDFP.
	* gcc/config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Implement as
	function call to m68k_cpu_cpp_builtins.
	(TARGET_CPU32): Remove.
	(TARGET_COLDFIRE): Define as m68k_arch_coldfire.
	(TARGET_COLDFIRE_FPU, TARGET_68881, TARGET_HARD_FLOAT): Define in terms
	of m68k_fpu.
	(TARGET_FLT_EVAL_METHOD): Use m68k_arch_68040.
	(CONST_OK_FOR_LETTER_P): Add 'R' constraint.
	(INDIRECTABLE_1_ADDRESS_P, GO_IF_INDEXED_ADDRESS, LEGITIMATE_INDEX_P):
	Use m68k_arch_68020.
	(uarch_type): Remove u68030, ucfv2m. Add ucpu32.
	(TUNE_68000, TUNE_68020, TUNE_68040, TUNE_68060, TUNE_68040_60)
	(TUNE_CPU32, TUNE_CFV2, TUNE_CFV3, TUNE_CFV4): Add tuning macros.
	(m68k_cpu, m68k_arch_68020, m68k_arch_68040, m68k_arch_68060)
	(m68k_arch_coldfire, m68k_arch_isaaplus, m68k_arch_isab)
	(m68k_arch_isac, m68k_tune, m68k_fpu, m68k_bitfield, m68k_cf_hwdiv)
	(m68k_cf_usp): Declare extern variables describing target capabilities.

2006-02-01  Nathan Sidwell  <nathan@voldemort.voldemort.codesourcery.com>

	* gcc/config/m68k/lb1sf68.asm (__divsf3, __divdf3, __mulsf3,
	__muldf3): Return a correctly signed zero.

2006-01-31  Nathan Sidwell  <nathan@voldemort.voldemort.codesourcery.com>

	* gcc/config/m68k/lb1sf68.asm: Use moveq to load small constants.

2006-01-30  Julian Brown  <julian@codesourcery.com>

	* gcc/config/m68k/m68k-cores.def: New file. Define various 68k/ColdFire
	cores.
	* gcc/config/m68k/m68k.opt (-mcpu, -march, -mtune, -mfpu): New
	options.
	* gcc/config/m68k/m68k.c (FL_NOPIC, FL_BITFIELD, FL_68881, FL_COLDFIRE)
	(FL_CF_HWDIV, FL_CF_MAC, FL_CF_EMAC, FL_CF_EMAC_B, FL_CF_USP)
	(FL_CF_FPU, FL_ISA_68000, FL_ISA_68020, FL_ISA_68040, FL_ISA_68060)
	(FL_ISA_A, FL_ISA_APLUS, FL_ISA_B, FL_ISA_C): Define flags for
	m68k-cores.def.
	(FL_FOR_isa_00, FL_FOR_isa_20, FL_FOR_isa_40, FL_FOR_isa_60)
	(FL_FOR_isa_20_40, FL_FOR_isa_20_60, FL_FOR_isa_a, FL_FOR_isa_aplus)
	(FL_FOR_isa_b, FL_FOR_isa_c): Define base flags for ISAs.
	(m68k_isa): New enumerated type for instruction-set architectures.
	(processors): New type for processors.
	(all_cores): New array. All m68k cores, read from m68k-cores.def.
	(all_architectures): New array. All m68k architectures.
	(m68k_cpu_select): New type for selecting cpu/arch.
	(m68k_select): New array for selecting cpu/arch/tuning.
	(fpu_impl): New type for floating-point units.
	(fpu_select): New array for selecting FPU.
	(M68K_OPT_SET_TUNE, M68K_OPT_SET_ARCH, M68K_OPT_SET_CPU): New defines
	for indices into m68k_select array.
	(m68k_handle_option): Handle -mcpu=, -march=, -mtune=.
	(override_options): Handle new -mcpu, -march options. Translate to old
	target flags.
	* gcc/config/m68k/m68k.h (uarch_type): New enumeration for
	microarchitecture types.
	(processor_type): New enumeration for processor core identifications.
	(fpu_type): New enumeration for FPU types.

2006-01-27  Paul Brook  <paul@codesourcery.com>

	* version.c: Mark as CodeSourcery build.

2006-01-23  Julian Brown  <julian@codesourcery.com>

	Backport from mainline.
	2006-01-23  Kazu Hirata  <kazu@codesourcery.com>
	PR testsuite/25590
	* gcc.dg/tree-ssa/gen-vect-11.c: Add -fwrapv.

2006-01-23  Julian Brown  <julian@codesourcery.com>

	* gcc/config/m68k/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Make
	64-bit on Coldfire.
	* gcc/config/m68k/m68k.h (LONG_DOUBLE_TYPE_SIZE): Likewise.
	(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Likewise. 

2006-01-23  Julian Brown  <julian@codesourcery.com>

	* Merge from csl/sourcerygxx-4_1 branch, revision 110050.

2006-01-22  Paul Brook  <paul@codesourcery.com>
	Peter Barada  <peter@the-baradas.com>

	* gcc/config/m68k/m68k.md: Add Coldfire FPU support.
	Define FP mode macro and associated attributes.
	Use it for float mode patterns.
	* gcc/config/m68k/linux.h (FUNCTION_VALUE): Use m68k_function_value.
	(LIBCALL_VALUE): Use m68k_libcall_value.
	* gcc/config/m68k/m68k-protos.h (m68k_libcall_value): Add prototype.
	(m68k_function_value): Ditto.
	(emit_move_sequence): Ditto.
	* gcc/config/m68k/m68kemb.h (LIBCALL_VALUE): Use m68k_libcall_value.
	* gcc/config/m68k/m68k-none.h (ASM_SPEC): Add mcfv4e.
	* gcc/config/m68k/t-m68kelf (MULTILIB_OPTIONS): Add mcfv4e.
	(MULTILIB_EXCEPTIONS): Ditto.
	* gcc/config/m68k/m68k.opt: Add mcfv4e.
	* gcc/config/m68k/m68k.c (m68k_handle_option): Handle OPT_mcfv4e.
	(m68k_compute_frame_layout): Include space for ColdFire FPU regs.
	(m68k_output_function_prologue): Save ColdFire FPU registers.
	(m68k_output_function_epilogue): Restore ColdFire FPU registers.
	(force_mode, fp_reg_operand, emit_move_sequence): New functions.
	(m68k_regno_mode_ok): Don't allow types larget than 8 bytes in
	ColdFire FPU registers.
	(m68k_libcall_value, m68k_function_value): New functions.
	* gcc/config/m68k/netbsd-elf.h (FUNCTION_VALUE): Use
	m68k_function_value.
	(LIBCALL_VALUE): Use m68k_libcall_value.
	* gcc/config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Define __mcfv4e__.
	(MASK_COLDFIRE): Add MASK_CFV4E.
	(TARGET_COLDFIRE_FPU, TARGET_HARD_FLOAT, TARGET_FP_REG_SIZE): New.
	(MODES_TIEABLE_P): Use TARGET_HARD_FLOAT.
	(REG_CLASS_FROM_LETTER, PREFERRED_RELOAD_CLASS): Ditto.
	(GO_IF_COLDFIRE_FPU_LEGITIMATE_ADDRESS): Define.
	(GO_IF_LEGITIMATE_ADDRESS): Use it.
	(LEGITIMIZE_ADDRESS): Handle ColdFire FPU addresses.
	* gcc/doc/invoke.tex: Document -mcfv4e on m68k.

=======
>>>>>>> .merge-right.r112375
2006-01-20  Paul Brook  <paul@codesourcery.com>

	Merge from csl-arm-branch.
	2005-09-21  Kazu Hirata  <kazu@codesourcery.com>
	* gcc/config/arm/arm.md (movdi): Force operands[1] to a register
	if we have a non-register source.
	(*arm_movdi, *movdf_soft_insn): Require that one of the
	operands be a register.
	* gcc/config/arm/iwmmxt.md (*iwmmxt_arm_movdi): Likewise.
	* gcc/config/arm/vfp.md (*arm_movdi_vfp, *movdf_vfp): Likewise.

2006-01-20  Joseph S. Myers  <joseph@codesourcery.com>

	PR libstdc++/25524
	* gcc/cppdefault.h (struct default_include): Add multilib flag.
	* gcc/cppdefault.c (cpp_include_defaults): Set it.
	* gcc/c.opt (-imultilib): New option.
	* gcc/c-opts.c (imultilib): New.
	(c_common_handle_option): Handle -imultilib.
	(c_common_post_options): Likewise.
	* gcc/c-incpath.c (add_standard_paths, register_include_chains):
	Likewise.
	* gcc/c-incpath.h (register_include_chains): Add extra parameter.
	* gcc/gcc.c (do_spec_1): Generate -imultilib option.
	(The Specs Language): Update %I description.
	(process_command): Update copyright notice.
	* gcc/doc/cppopts.texi (-imultilib): Document.
	* gcc/doc/invoke.texi (-imultilib): Include in option summary.
	(%I): Update specs documentation.
	* libstdc++-v3/include/Makefile.am: Install host-specific headers
	in multilib subdirectory.
	* libstdc++-v3/include/Makefile.in: Regenerate.

2006-01-20  Julian Brown  <julian@codesourcery.com>

	Merge from csl-gxxpro-3_4-branch.
	2005-11-28  Mark Mitchell  <mark@codesourcery.com>
	Backport:
	2004-10-28  Pascal Obry  <obry@act-europe.fr>
	* unwind-dw2-fde.c: Import from MingW build for ZCX support.
	* unwind-sjlj.c: Idem.
	* config/i386/cygming.h: Idem.
	* config/i386/mingw32.h: Idem.
	* config/i386/t-cygming: Idem.
	* config/i386/t-mingw32: Idem.
	* config/i386/win32-ehfb.c: New file to support unwinding through
	signals on Windows.
	Provides support for ZCX on Windows platforms. This set of patch
	comes from the MingW compiler (Danny Smith) adapted and enhanced to
	support unwinding through signals for example.
	2005-07-29  Pascal Obry  <obry@act-europe.fr>
	Support for crtbegin/crtend.o on MingW.
	* config.gcc: Add crtbegin.o and crtend.o as extra_parts on MingW.
	* crtstuff.c: Add support for MingW.
	Provides support for ZCX on Windows platforms. This set of patch
	comes from the MingW compiler (Danny Smith) adapted to GCC 3.4.

2006-01-20  Julian Brown  <julian@codesourcery.com>

	Backport from mainline.
	2006-01-02  Mark Mitchell  <mark@codesourcery.com>
	* libstdc++-v3/src/Makefile.am (LTLDFLAGS): New variable.
	(CXXLINK): Use LTLDFLAGS.
	* libstdc++-v3/src/Makefile.in: Regenerated.
	* libstdc++-v3/libsupc++/Makefile.am (LTLDFLAGS): New variable.
	(CXXLINK): Use LTLDFLAGS.
	* libstdc++-v3/libsupc++/Makefile.in: Regenerated.

	2006-01-02  Mark Mitchell  <mark@codesourcery.com>
	* libtool-ldflags: New script.

2006-01-20  Julian Brown  <julian@codesourcery.com>

	Merge from csl-gxxpro-3_4-branch:
	2005-09-14  Mark Mitchell  <mark@codesourcery.com>
	* gcc/config/vx-common.h (DBX_DEBUGGING_INFO): Define to 1.

2006-01-20  Julian Brown  <julian@codesourcery.com>

	Backport from mainline.
	2005-11-23  Mark Mitchell  <mark@codesourcery.com>
	* gcc/doc/invoke.texi: For man pages, include gcc-vers.texi.
	List @file in the option summary.  Include the libiberty documentation
	for @file.
	* gcc/gcc.c (main): Call expandargv.
	* gcc/Makefile.in (gcc-vers.texi): Define srcdir.

	2005-11-23  Mark Mitchell  <mark@codesourcery.com>
	* maintainer-scripts/update_web_docs_svn: Set @srcdir in gcc-vers.texi.

2006-01-20  Paul Brook  <paul@codesourcery.com>

	Merge from csl-arm-branch.
	2005-10-20  Paul Brook  <paul@codesourcery.com>
	* config/arm/arm.c (arm_default_cpu): New.
	(arm_override_options): Set arm_default_cpu.
	(arm_file_start): Output EABI attribute directives.

2006-01-20  Paul Brook  <paul@codesourcery.com>

	Merge from csl-arm-branch.
	2005-10-20  Paul Brook  <paul@codesourcery.com>
	* config/arm/arm.c (arm_elf_asm_constructor): Remove ATTRIBUTE_UNUSED
	from priority argument.  Use different section names for non-default
	priority.
	* config/arm/elf.h: Remove definition of SUPPORTS_INIT_PRIORITY.

2006-01-18  Paul Brook  <paul@codesourcery.com>

	Merge from csl-arm-branch.
	2005-03-14  Julian Brown  <julian@codesourcery.com>
	* gcc/config/arm/lib1funcs.asm (ashldi3): Don't define on SymbianOS.
	(aeabi_llsl): Likewise.
	(ashrdi3): Likewise.
	(aeabi_lasr): Likewise.
	(lshrdi3): Likewise.
	(aeabi_llsr): Likewise. 
	2005-03-10  Julian Brown  <julian@codesourcery.com>
	* gcc/config.gcc: Disable shared libgcc for SymbianOS.
	* gcc/config/arm/t-symbian (LIB2ADDEH): Include config/arm/pr-support.c.

2006-01-18  Paul Brook  <paul@codesourcery.com>

	Merge from csl-arm-branch
	2005-03-10  Julian Brown  <julian@codesourcery.com>
	* libstdc++configure.ac (LIBSUPCXX_PRONLY): New AM_CONDITIONAL: yes
	if we are compiling for SymbianOS on ARM.
	* libstdc++include/Makefile.am: Don't install C++ headers if
	LIBSUPCXX_PRONLY is true.
	* libstdc++libsupc++/Makefile.am: Include only eh_personality.cc
	in libsupc++ if LIBSUPCXX_PRONLY is true.
	* libstdc++Makefile.in: Regenerate.
	* libstdc++configure: Regenerate.
	* libstdc++include/Makefile.in: Regenerate.
	* libstdc++libmath/Makefile.in: Regenerate.
	* libstdc++libsupc++/Makefile.in: Regenerate.
	* libstdc++po/Makefile.in: Regenerate.
	* libstdc++src/Makefile.in: Regenerate.
	* libstdc++testsuite/Makefile.in: Regenerate.

2005-01-17  Paul Brook  <paul@codesourcery.com>

	Backport from mainline.
	2005-12-13  Carlos O'Donell <carlos@codesourcery.com>
	* gcc/c-cppbuiltin.c (builtin_define_float_constants): Add
	fp_cast parameter, pass to builtin_define_with_hex_fp_value.
	Define __FLT_HAS_DENORM__, __DBL_HAS_DENORM__, __LDBL_HAS_DENORM__.
	(builtin_define_with_hex_fp_value): Use fp_cast when building macro.
	(c_cpp_builtins): If flag_single_precision_constant then set fp_cast
	to "((double)%sL)" otherwise "%s".
	* gcc/testsuite/gcc.dg/single-precision-constant.c: New test.
	* libstdc++-v3/include/std/std_limits.h (struct numeric_limits):
	Use __DBL_HAS_DENORM__, __FLT_HAS_DENORM__, __LDBL_HAS_DENORM__.

2005-01-17  Paul Brook  <paul@codesourcery.com>

	Backport from mainline.
	2005-12-15  Richard Sandiford  <richard@codesourcery.com>
	* gcc/config/arm/predicates.md (call_memory_operand): New.
	* gcc/config/arm/arm.md (*call_mem, *call_value_mem): Use it.
	* gcc/testsuite/gcc.dg/20051215-1.c: New file.

	* gcc/config/arm/arm.md: Provide a big-endian version of the
	(zero_extend:SI (subreg:QI ...)) splitter.

2006-01-16  Paul Brook  <paul@codesourcery.com>

	* config/m68k/m68k.c (output_move_const_into_data_reg):
	Output correct mnemonic for mvz and mvs.

2006-01-03  Paul Brook  <paul@codesourcery.com>

	* config/m68k/m68k.c (m68k_output_mi_thunk): Use jmp, not jsr.

2005-12-30  Paul Brook  <paul@codesourcery.com>

	* config/m68k/m68k.md: Convert define_peephole to define_peephole2.
	(UNSPEC_MOVEQ_MEM): New constant.
	(movsi_smallconst): New pattern.
	* config/m68k/m68k.h (HARD_FP_REG_P): Define.

2005-12-30  Paul Brook  <paul@codesourcery.com>

	PR target/23482
	* doc/md.texi: Document m68k Q, S, T and U constraints.
	* config/m68k/m68k.h (EXTRA_CONSTRAINTS): Restrict U to 16-bit
	offsets.

2005-12-29  Paul Brook  <paul@codesourcery.com>

	* config/m68k/m68k.h (RETURN_ADDR_RTX): Define.
	* config/m68k/m68k.c (m68k_initial_elimination_offset): Remove FIXME.
	Include offset due to FIRST_PARM_OFFSET.

2005-12-29  Paul Brook  <paul@codesourcery.com>

	* config/m68k/lb1sf68.asm (__cmpdf2): Fix typo in immediate mask.
	Create wrapper and rename body...
	(__cmpdf2_internal): ... to this.  Return correct value for unordered
	result.
	(__cmpsf2): Create wrapper and rename body...
	(__cmpsf2_internal): ... to this.  Return corerct value for unordered
	result.
	(__eqdf2, __nedf2, __gtdf2, __gedf2, __ltdf2, __ledf2): Use
	__cmpdf2_internal.
	(__eqsf2, __nesf2, __gtsf2, __gesf2, __ltsf2, __lesf2): Use
	__cmpsf2_internal.

2005-12-29  Paul Brook  <paul@codesourcery.com>

	* config/m68k/fpgnulib.c (__extendsfdf2): Handle negative zero.
	(__truncdfsf2): Ditto.
	(__extenddfxf2): Ditto.
	(__truncxfdf2): Ditto.
	* config/m68k/lb1sf68.asm (__addsf3): Return -0.0 for -0.0 + -0.0.
	(__adddf3): Ditto.

2005-12-29  Daniel Jacobowitz  <dan@codesourcery.com>
	Paul Brook  <paul@codesourcery.com>

	* gcc/config/m68k/m68k.c (m68k_output_pic_call): Don't use bsr.l for
	!TARGET_68020.
	* gcc/config/m68k/t-m68kelf (EXTRA_PARTS): Remove.
	(EXTRA_MULTILIB_PARTS): Set.
	* gcc/config/m68k/t-uclinux (EXTRA_PARTS): Remove.
	(EXTRA_MULTILIB_PARTS): Set.

2005-12-21  Paul Brook  <paul@codesourcery.com>

	* gcc/testsuite/gcc.dg/pr19340.c: Skip on m68k targets.

2005-12-20  Paul Brook  <paul@codesourcery.com>

	* gcc/testsuite/lib/target-supports.exp (check_profiling_available):
	Add m68k-*-elf.

2005-12-17  Paul Brook  <paul@codesourcery.com>

	* gcc/config/m68k/m68k.md (m68k_output_function_prologue): Always call
	dwarf2out_def_cfa. Only add space for frame pointer to cfa_offset
	when frame_pointer_needed. 

2005-12-02  Paul Brook  <paul@codesourcery.com>

	* config/m68k/fpgnulib.c (__unordsf2, __unorddf2, __unordxf2,
	__floatunsidf, __floatunsisf, __floatunsixf): New functions.

2005-11-28  Paul Brook  <paul@codesourcery.com>

	* config.gcc: Don't use fixproto on m68k-elf.