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
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
|
Sun Jun 14 16:30:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Version 2.2.2 released.
* Makefile.in (gcc.xtar.Z): Don't give up if texinfo files not updated.
Just sleep to emphasize the message.
* i860.h (PREFERRED_RELOAD_CLASS): Avoid f regs for HI and QI if poss.
* protoize.c: Don't include wait.h.
(gen_aux_info_file): Test wait_status as in gcc.c.
Report fatal signals explicitly. Report exit status.
* xm-next.h (wait): Definition deleted.
* sparc.c (print_operand): In `r' case, recognize any kind of zero.
Sat Jun 13 02:51:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* va-sparc.h (va_arg): Handle all 8-byte types, not just double.
Fri Jun 12 23:40:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* i860v4.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT):
Use `e' format, not `g' format.
Fri Jun 12 12:52:48 1992 Tim Moore (moore at fast.cs.utah.edu)
* pa.md (absdf2): Fix bug in output template.
Fri Jun 12 10:25:25 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* ultrix.h (WCHAR_*): Set to correct values.
Fri Jun 12 10:07:43 1992 Michael Meissner (meissner@osf.org)
* x-mips, x-mipsv, x-decstatn, x-iris (OLDCC): Add -Olimit 3000 to
bump the number of basic blocks that the MIPS compiler handles, so
that it doesn't issue warning messages saying to bump the limit.
Move the -O1 option here from X_CFLAGS, so that it doesn't
get passed when bootstraping.
(X_CFLAGS): Delete.
Thu Jun 11 15:08:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* sparc.h (RETURN_IN_MEMORY): Do nothing for structs and unions.
(EXTRA_CONSTRAINT): During reload, accept pseudo reg for Q.
* va-sparc.h (va_arg): Handle unaligned doubles.
* fixincludes: Fix return type of `free' in malloc.h.
Recognize #define.NULL only at start of line.
In sys/types.h, find size_t only in a typedef.
In netdnet/dnetdb.h, don't add semicolon in wrong place.
* configure: Set use_collect2 to empty rather than unsetting.
* gstddef.h (__need_wchar_t): Fix typo in #undef.
Wed Jun 10 04:30:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gcc.c (process_command): In gcc_exec_prefix, machine precedes vers.
* i386sco4.h (CPP_SPEC): Don't redefine __STDC__.
fixincludes knows how to fix the conditionals in system headers.
* collect2.c (scan_prog_file): Initialize ldptr.
* dbxout.c (dbxout_symbol): Make tag precede typedef.
* configure: Initialize host, host_xm_file, host_xmake_file,
host_broken_install, and broken_install.
* Makefile.in (enquire.o): Add `./' when removing enquire.c.
Tue Jun 9 20:52:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Version 2.2.1 released.
* Makefile.in (clean): Don't delete unprotoize.c.
* configure: Fix typo in modifying INSTALL variable in Makefile.
Mon Jun 8 15:14:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Version 2.2 released.
* Makefile.in (extraclean): Delete *.rej and *.orig under config.
Delete *.xtar.
(dist): Update README *before* making tar file.
Fix quoting of error message about gcc.texi; exit if that test fails.
Don't print error messages from ln.
* assert.h [__cplusplus]: Use `extern "C"' around __eprintf decl.
* configure (rs6000-*-mach*, pyramid-*-*, mips-sgi-*):
Patterns made canonical.
(rs6000-*-mach*): Fix typo in `xmake_file'.
* configure (i386-*-osfrose*): Renamed from i386-osfrose*.
* Makefile.in (.NOEXPORT): Moved after `all'.
Comments put on separate lines.
Mon Jun 8 18:33:01 1992 Michael Meissner (meissner@osf.org)
* configure (mips-dec-osf*): Set xmake_file to x-mips.
Sun Jun 7 15:55:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gcc.c (set_spec): Fix braino in "appending" spec values.
* integrate.c (expand_inline_function): Fix dumb bug in last change.
Sun Jun 7 07:16:25 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* romp.md: Disable two more define_splits during the first sched
pass until long-standing sched.c bug is fixed.
Thu Jun 4 16:49:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* reorg.c (dbr_schedule): Global registers are needed at function end.
Sat Jun 6 17:07:16 1992 Torbjorn Granlund (tege at david.ultra.nyu.edu)
* pyr.md (shift patterns): Declare output_shift.
(movdi, movdf): Declare output_move_double.
Sat Jun 6 15:07:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (c-parse.o): Depend on c-parse.h.
* reload.c (find_reloads): Fix typo in format string.
* mips.c (override_options): BSD 4.3 does line buffering differently.
* Makefile.in (SYSCALLS.c.X): Put GCC output in file, not /dev/null.
(mostlyclean): Delete temp file.
* configure (handling broken_install): Add -c option.
Sat Jun 6 11:34:00 1992 James Van Artsdalen (james at bigtex.cactus.org)
* gstdarg.h (va_arg): Fix typo incrementing AP.
Sat Jun 6 16:27:18 1992 Michael Meissner (meissner@osf.org)
* mips-n5.h, mips-sysv.h: Include sys/param.h, not types.h.
Fri Jun 5 19:00:36 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov)
* fx2800.h (ASM_OUTPUT_FUNCTION_PREFIX): Output a nop before
every function, to accomodate tdescs. Also, save function
name in current_function_original_name for use in i860.c.
Also define OUTPUT_TDESC to get ABI-compliant tdesc info
generated for each function.
* i860.c (function_epilogue): Add code to output tdesc info
after each function. Tdesc structure versions 1-4 are
supported.
* i860v4.h (ASM_FILE_END) [OUTPUT_TDESC]: Output a null tdesc entry
after the last function in a file.
Fri Jun 5 19:03:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* collect2.c (main, scan_prog_file): Use bcopy, not memcpy.
Fri Jun 5 16:27:18 1992 Michael Meissner (meissner@osf.org)
* mips.h, mips.c, mips.md: Undo June 3 changes.
* mips-n5.h, mips-sysv.h (getpagesize): If _SC_PAGE_SIZE is undefined,
use NBPC defined in sys/types.h.
Thu Jun 4 14:36:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cse.c (delete_dead_from_cse): Don't delete anything inside a libcall.
* Makefile.in (install-libgcc): Depend on install-dir.
* c-lex.c (yylex): Suppress int out of range warning if -traditional.
Thu Jun 4 23:34:05 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov)
* fx2800.h (DBX_OUTPUT_ENUM): Add missing argument, add a
missing semi-colon.
(ASM_OUTPUT_DOUBLE): undef definition from i860v4.h, replace
with definition used in i860.h.
(ASM_OUTPUT_FLOAT): same as above
Also undef MD_EXEC_PREFIX which is defined in i860v4.h.
Also define I860_STRICT_ABI_PROLOGUES for ABI-compliant function
prologues.
Thu Jun 4 13:15:30 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* enquire.c (fake_f_rep): Use __extension__ to avoid pedantic warnings.
* cse.c (cse_process_notes): Don't stick VOIDmode into *_extract.
* c-decl.c (get_parm_info): For forward parm decls, check for
non-parm before checking TREE_ASM_WRITTEN.
Thu Jun 4 13:57:47 1992 Tim Moore (moore at defmacro.cs.utah.edu)
* pa.h (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Delete
FP_OR_SNAKE_FP_REGS (useless), add GENERAL_OR_FP_REGS,
GENERAL_OR_SNAKE_FP_REGS.
(ASM_DECLARE_FUNCTION_NAME): Handle DImode arguments correctly.
(PROFILE_BEFORE_PROLOGUE, FUNCTION_PROFILER): Do the same thing
for BSD and HPUX.
* pa.c (output_function_prologue): Do profiling right (compatible
with HPUX).
(output_arg_descriptor): Handle DImode argument registers.
Thu Jun 4 13:48:24 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload1.c (reload): Count reload register used by caller-save
handling in any basic block that contains a CALL_INSN.
Thu Jun 4 09:23:19 1992 Ron Guilmette (rfg at ncd.com)
* i860v4.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Remove leading 0r.
(ASM_OUTPUT_FLOAT): Use .float (not .single).
Fri Jun 5 14:58:43 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* pyr.h (REGNO_OK_FOR_{INDEX,BASE}): Correctly test reg_renumber.
* configure (pyramid): Turn it back on.
Thu Jun 4 11:26:55 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu)
* pa.c (output_move_double): Handle overlapping moves between
registers.
Wed Jun 3 22:08:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* fold-const.c (fold, NOP_EXPR case): Don't drop intermediate in
(unsigned int) (unsigned short) char-variable.
Wed Jun 3 11:18:43 1992 Ron Guilmette (rfg at ncd.com)
* stdarg.h (va_arg): Use casts to avoid doing (pedantically invalid)
arithmetic on `void *' values when __svr4__ is defined.
Wed Jun 3 17:51:21 1992 Torbjorn Granlund (tege@zevs.sics.se)
* longlong.h (sparc): Test symbol __sparcv8__ for sparc.h conformance.
Wed Jun 3 16:22:38 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* sparc.c (print_operand): Correct typo.
(sparc_type_code): Correctly handle C int and float types.
* sparc.h (CONSTANT_ALIGNMENT): Align strings to 8 byte boundary.
(DATA_ALIGNMENT): Likewise for character arrays.
* i960.c (function_prologue): Fixed calculation of offsets for
compiler's register save area.
* sparc.md (mulsi3,mulsidi3,umulsidi3,divsi3,udivsi3): Patterns
added to support V8 sparc architectures.
* sparc.h (TARGET_DEFAULTS): Add -mv8 and -msparclite options.
* reload1.c (reload): If can't satisfy reload for a group of more
than two registers, then abort to avoid an infinite loop.
(count_possible_groups): Skip to last reg of group, not first reg
of next group.
Wed Jun 3 14:35:00 1992 Tom Wood (wood at gen-rtx)
* c-lex.c (yylex): Let skip_white_space handle \r.
* expr.c (expand_builtin, fsqrt case): Stabilize the argument in
case a library call is done.
* final.c (final_scan_insn): Function begin, and block begin/end
notes are "real" in that they depend on the current line number.
Wed Jun 3 14:34:28 1992 Michael Meissner (meissner@osf.org)
* mips.md (andsi3_internal2): Fix typo in previous change, to
use %3, the clobbered register, instead of %@, the assembler
temporary.
(iorsi3_internal2): Ditto.
(xorsi3_internal2): Ditto.
* mips.h (MIPS_VERSION): Bump Meissner version # to 20.
(final_prescan_insn): Add declaration.
(lui_int): Add declaration.
(FINAL_PRESCAN_INSN): Just call final_prescan_insn.
* mips.c (lui_int): New function, return true if value fits in a
LUI instruction.
(final_prescan_insn): Move the checking for filling the delay
slots here from the FINAL_PRESCAN_INSN macro. If the safe
attribute is set, we do not need a NOP to fill a load delay slot.
* mips.md (safe attribute): New attribute to indicate that the
current insn is safe to fill a delay slot even if the register
operand(s) are set in the load instruction which has the delay
slot. This is for and/ior/xor expansions that have a large
constant integer as operand[2]. The load of the constant can
overlap the load.
(andsi3, iorsi3, xorsi3): Replace logical define_insn's with
define_expand's that either map directly to the hardware
instruction, or have a clobbered register to load the large
constant into. This is instead of using $1 to hold the
intermeidate value. Set the safe attribute to yes for the cases
where we need to load the integer. Add define_split's to break
the large logical operations into the separate pieces.
Wed Jun 3 00:00:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cccp.c (do_warning): Do just a warning, not an error.
Tue Jun 2 17:30:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cse.c (cse_basic_block): When a jump becomes unconditional,
check whether this caused TO to be deleted.
Tue Jun 2 16:11:42 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* combine.c (subst, case IF_THEN_ELSE): Don't try reversing
something that isn't a comparison.
Tue Jun 2 16:50:47 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* cccp.c (do_pragma): Don't warn about #pragma once if used in a
system header file.
Tue Jun 2 15:21:07 1992 Michael Meissner (meissner@osf.org)
* mips.h (MIPS_VERSION): Bump Meissner version # to 19.
(ASM_OUTPUT_DOUBLE): Call mips_output_double.
(ASM_OUTPUT_FLOAT): Call mips_output_float.
* mips.c (mips_output_double): If REAL_VALUE_TO_TARGET_DOUBLE is
defined, use it to split the floating point value into 2 long
integers, and print them out in hex. Otherwise use .double.
(mips_output_float): If REAL_VALUE_TO_TARGET_FLOAT is defined, use
it to split the floating point value into a long integer, and
print in out in hex. Otherwise use .float.
* dec-osf1.h (new file): Config file for DEC's offical OSF/1
product (as opposed to the OSF/1 reference port from OSF).
* configure: Support mips-dec-osf1 target.
* config.sub: Support mips-dec-osf1 target.
* decstatn.h (CPP_PREDEFINES): If CPP_PREDEFINES is defined, don't
supply another definition. Also, define _SYSTYPE_BSD.
Mon Jun 1 00:04:01 1992 Ron Guilmette (rfg at ncd.com)
* gstdarg.h (va_list) [__svr4__]: Typedef it to `void *'.
* va-sparc.h (__va___list) [__svr4__]: Typedef this as `void *'.
Sun May 31 15:26:32 1992 John F Carr (jfc at Achates.mit.edu)
* calls.c (stack_arg_under_construction): New variable.
(store_one_arg): Set stack_arg_under_construction before calling
expand_expr if expand_expr might call a constructor to initialize
a stack argument.
(expand_call): Push the stack around function calls if
stack_arg_under_construction is nonzero.
Also copy structure_value_addr in that case.
Push the stack around an inline function if it makes calls
and there are outgoing arguments on the stack which must be preserved.
Move the call to expand_cleanups_to before that.
Do this stack adjustment before computing argument locations.
Sun May 31 01:03:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* sdbout.c (sdbout_symbol): Test DECL_IGNORED_P only for
variables and types.
* dwarfout.c (output_decl): Never ignore a FUNCTION_DECL
even if DECL_IGNORED_P is set.
Sat May 30 07:07:55 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* rs6000.h, romp.h (FUNCTION_ARG): Fix typo in last change.
* combine.c (subst, significant_bits, simplify_comparison):
Only look at STORE_FLAG_VALUE if comparison result is integer.
Fri May 29 18:04:45 1992 Ron Guilmette (rfg at ncd.com)
* dwarfout.c (output_decl): Moved test for ERROR_MARK node out of
switch statement and added a test for DECL_IGNORED_P after that.
(dwarfout_file_scope_decl): Check input node to see if it is an
ERROR_MARK before checking for DECL_IGNORED_P. Also makes sure that
any node marked as DECL_IGNORED_P isn't also a function definition.
Fri May 29 14:46:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* integrate.c (expand_inline_function):
Don't discard setting return value from a volatile source.
* c-decl.c (init_decl_processing): If traditional, strlen returns int.
(sizet_ftype_string): Deleted.
* expr.c (expand_builtin, fsqrt case): Return proper mode if arg error.
Fri May 29 13:36:32 1992 Tom Wood (wood@dg-rtp.dg.com)
* m88k.c (m88k_builtin_saveregs): Don't copy result to a register.
* m88k.h (FIXED_REGISTERS): Allow use of r1.
(REG_LEAF_ALLOC_ORDER): Choose r1 last.
(REG_ALLOC_ORDER): Choose r1 before any preserve register.
(ORDER_REGS_FOR_LOCAL_ALLOC): Switch between orderings.
* m88k.c (m88k_layout_frame): Save r30 when used as an ordinary
register.
* m88k.h (CHECK_FLOAT_VALUE): Delete, not needed.
* m88k.c (check_float_value): Delete, not needed.
* m88k.c (mostly_false_jump): Fix return check.
* m88k.md (mstore type): Delete.
(return, indirect_jump): These are jumps, not branches.
* m88k.c (eligible_for_epilogue_delay): No TYPE_MSTORE insns.
Fri May 29 12:33:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* reload1.c (emit_reload_insns): Add missing arg to gen_input_reload.
Fri May 29 06:43:15 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* rs6000.h, romp.h (FUNCTION_ARG): Don't put variable-sized
operands in registers.
* explow.c (emit_stack_{save,restore}): Don't call validize_mem
on a null rtx.
* cse.c (cse_insn): Don't call canon_reg on entry from
hash table; instead, call it after we did the substitution.
Thu May 28 18:47:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* fixincludes (malloc.h): Allow space or tab btwn typedef and char.
Thu May 28 17:35:37 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload1.c (reload_as_needed): Properly disable optional reload
that we can't do.
Don't abort if disabled reload uses a register we don't have.
Thu May 28 14:43:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* next.c (get_directive_line): Declare it.
* defaults.h (ASM_OUTPUT_ASCII): Use unsigned chars.
* i860v4.h, i386v4.h, sparcv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE):
Use the override definitions only if word order matches host.
Wed May 27 17:32:36 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* unroll.c (find_splittable_givs): When completely unrolling loop,
precompute giv value into a reg before loop if it is complex.
* sparc.c (singlemove_string): Handle SFmode CONST_DOUBLE.
* sparc.h (PREFERRED_RELOAD_CLASS): Don't allow reloads of
constants to FP registers, nor reloads of FP constants that won't
match the 'E' constraint.
* sparc.md (movsf-1): Add pattern to efficiently handle SFmode
constants.
* sparc.md (lo_sum:DI pattern): Use constraint "0" for operand 1.
* i960.h (OVERRIDE_OPTIONS): Disable function inlining.
* function.c (assign_parms): When MAYBE_REG_PARM_STACK_SPACE,
don't assume that register parameters already have a stack slot.
* i960 (*): Change all tests of current_functions_args_size from
48 to 0 due to above change.
* i960.md (*): Likewise.
* sparc.h (LONG_DOUBLE_TYPE_SIZE): Add ifdefed out definition.
(FIXED_REGISTERS): g4 is not a fixed register.
(RETURN_IN_MEMORY): Define.
(FUNCTION_ARG_PASS_BY_REFERENCE): Also pass TFmode by reference.
* fixincludes: Fix stdio.h and math.h for Ultrix 4.0.
Tue May 26 15:29:21 1992 Brendan Kehoe (brendan@cs.widener.edu)
* x-we32k: new file, need alloca.o
* xm-we32k.h [NO_SYS_SIGLIST]: define this
* we32k.h [STRICT_ALIGNMENT] define as `1'
[NO_WAIT_H]: also define this
* collect2.c [NO_WAIT_H]: don't include sys/wait.h if this is
defined.
* Makefile.in (clean): rm libgcc1.null.
Wed May 27 15:36:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* real.h (REAL_VALUE_TO_TARGET_SINGLE): Test HOST_BITS_PER_WORD right.
* i386sco.h (SIZE_TYPE): New definition.
* c-typeck.c (build_binary_op): When shortening, handle case
where op0 and arg0 are different but have same width. op1/arg1 too.
* toplev.c (compile_file): Cast xmalloc when arg to setvbuf.
* expmed.c (expand_divmod): Clear can_clobber_op0 if doing mod.
* Makefile.in (protoize.1, unprotoize.1): Delete target before mv'ing.
(mostlyclean): Delete tmp-unproto.1.
* sdbout.c (sdbout_symbol, sdbout_toplevel_data): Test DECL_IGNORED_P.
* dwarfout.c (dwarfout_file_scope_decl): Likewise.
Wed May 27 13:48:36 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.md (ashldi3,ashrdi3,lshrdi3): Fix typo in comparison.
Wed May 27 02:11:22 1992 Ron Guilmette (rfg at ncd.com)
* i386v4.h, i860v4.h, sparcv4.h: Include real.h.
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE):
New definitions, if host and target formats match.
* real.h (REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE):
Defined, but only if host and target formats match.
Wed May 27 06:20:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload1.c (reload_as_needed): For asm insn, check all reload
insns for validity.
(emit_reload_insns, gen_input_reload): Remove previous change that
checked them here.
* recog.c (constrain_operands, case 'm', 'o', 'g'): Accept pseudo if
reload is in progress.
Tue May 26 19:24:21 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* combine.c (combinable_i3pat): Allow a hard register as the
destination even if SMALL_REGISTER_CLASSES if source is a CALL.
* emit-rtl.c (gen_lowpart_common): Fix handling of int->float
union conversions.
Tue May 26 19:23:43 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* a29k.h (HARD_REGNO_MODE_OK): Don't let anything larger than
UNITS_PER_WORD be allocated to an odd numbered register.
Tue May 26 15:22:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* config.sub (defaulting the OS): Separate subversions with periods.
* limits.h: Fix condition for defining long-long macros, to suit libc.
* Makefile.in (specs): New target.
(gcc): Don't write `specs' here.
(start.encap): Depend on `specs'.
(all.cross): Depend on EXTRA_PARTS.
(rest.cross): New target.
* c-common.c (declare_function_name):
Set TREE_USED, not TREE_NO_UNUSED_WARNING.
Tue May 26 04:52:53 1992 Michael Meissner (meissner@osf.org)
* loop.c (loop_has_volatile): New static variable to record
whether the loop has any volatile references in it.
(prescan_loop): Set loop_has_volatile.
(check_dbra_loop): Don't reverse loop if there are any volatile
references in it.
Mon May 25 16:04:08 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386gas.h (ASM_OUTPUT_OPCODE): Translate "repnz" to "repne".
* seq386gas.h (ASM_OUTPUT_OPCODE): Likewise.
Mon May 25 15:53:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* optabs.c (emit_indirect_jump): Emit barrier here.
* stmt.c (expand_computed_goto): Not here.
Mon May 25 06:22:59 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* cse.c (canon_reg): Must call validate_change if insn has any
MATCH_DUPs even if replacing a pseudo with another pseudo.
* explow.c (emit_stack_{save,restore)}: Call validize_mem on save area.
* combine.c (simplify_shift_const, case PLUS): Simplify cases where
the PLUS is just turning on bits that will be shifted out.
* emit-rtl.c (gen_lowpart_common): Add new case for single-word
float->integer conversion; all others already present.
Check for -fpretend-float in this and the other cases.
* stmt.c (expand_goto): Fix typo in previous change.
* reload1.c (gen_input_reload): When checking for validity of
reloads made for asms, also check the constraints.
* explow.c (allocate_dynamic_stack_space): Don't add to size
if we aren't going to need to align the size.
* fold-const.c (fold, case *_DIV_EXPR): Fold (a * C1) / C2 for
some C1 and C2.
Sun May 24 14:07:53 1992 Ron Guilmette (rfg at ncd.com)
* toplev.c (main):
Fix typo setting use_gdb_dbx_extensions in xcoff case.
* c-decl.c (pushdecl): Call `build_type_copy' rather than calling
`c_build_type_variant' to duplicate a type.
Sun May 24 16:56:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload1.c (reload): Refine setting of basic_block_needs.
Sun May 24 15:43:08 1992 John F Carr (jfc at Achates.mit.edu)
* combine.c (try_combine): Don't split an insn if that would move
a use of a register across a set of the same register.
Sun May 24 14:50:38 1992 James Van Artsdalen (james at bigtex.cactus.org)
* reg-stack.c (constrain_asm_operands): Ignore constraint letters
following '#' in each alternative.
Sun May 24 02:28:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gcc.c (pexecute): New alternative definition for OS2.
Take SEARCH_FLAG as arg instead of FUNC.
(execute): Change call to pexecute.
* toplev.c (main): Don't run ps for -dm if on OS2.
* cccp.c (main): Use PATH_SEPARATOR computing num_dirs.
(path_include): Likewise, setting q.
* gcc.c: Include sys/file.h.
* Makefile.in (extraclean): Delete install1.texi.
Sat May 23 14:14:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* crtstuff.c (__do_global_ctors) [not INVOKE__main]: Make body empty.
* fold-const.c (float_error): Renamed from const_binop_error.
(const_binop, fold_convert):
Call set_float_handler around REAL_VALUE_TRUNCATE.
* Makefile.in ($(srcdir)/INSTALL): New target.
(doc): Depend on that.
($(srcdir)/gcc.info, $(srcdir)/cpp.info): Delete $(srcdir) from deps.
($(srcdir)/gcc.info): List all subfiles as deps.
* math-68881.h: Use %! instead of fpcr.
* install.sh: New file.
* configure: Changed install_with_cp to broken_install.
Test that flag for the host, not for the target.
If set, use install.sh.
* Makefile.in (EXTRA_HEADERS): New variable.
(USER_H): Use that.
* configure: Let alternatives set EXTRA_HEADERS via var header_files.
(m68k-...): Set header_files to install math-68881.h.
* Makefile.in (install-dir): Create (libsubdir)/include.
(install-limits-h, install-float-h): Depend on install-dir.
* Makefile.in (gcc.xtar): Warn if version in gcc.texi is old.
* genconfig.c (main): Add 1 when outputting MAX_RECOG_OPERANDS.
Initialize to just 9.
* gcc.c (MD_STARTFILE_PREFIX_1): New config macro.
(main): Use that like MD_STARTFILE_PREFIX.
Sat May 23 08:13:38 1992 John F Carr (jfc at Achates.mit.edu)
* reload1.c (reload): Copy MEM_IN_STRUCT_P flag when converting
pseudo register to equivalent memory location.
Sat May 23 07:12:15 1992 Michael Meissner (meissner@osf.org)
* x-iris (OLDCC): Add -cckr to turn off strict ANSI checking.
* mips.c (current_function_name): Delete definition, function.c
defines this and mips.h has a declaration.
* longlong.h (mips umul_ppmm): Use "d" constraint instead of "r", so
that we know the value is an integer register.
Sat May 23 01:14:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* vax.h (PRINT_OPERAND): Undo last change.
Fix the comment instead.
* x-dpx2200, x-dpx2300 (ALLOCA_FINISH, AS): New variables.
Fri May 22 01:52:22 1992 Ron Guilmette (rfg at ncd.com)
* svr4.h (MD_EXEC_PREFIX): Added definition.
* protoize.c [POSIX]: Include dirent.h rather than sys/dir.h.
(_POSIX_SOURCE): Undef before defining.
(getpwd): Change declaration to an `extern'.
(open): Add declaration in the #if 0 section along with fprintf.
(link, unlink, access, execvp): Add `extern' declarations.
(strlen): Don't mention arg type in declaration.
(main): Declare `params' as `const char *' to avoid botch when doing
test-protoize-simple.
Fri May 22 17:15:36 1992 John F Carr (jfc at Achates.mit.edu)
* calls.c (expand_call): Allocate stack space for arguments passed
in registers when OUTGOING_REG_PARM_STACK_SPACE is defined and
stack space has not been preallocated.
Fri May 22 17:16:55 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* combine.c (simplify_comparison): Try to reduce size of a
constant by changing comparison code; don't only do for 1 and -1.
* reload.h (reg_equiv_memory_loc): Declare.
* reload.c (refers_to_regno_for_reload_p): Use reg_equiv_memory_loc
instead of reg_equiv_mem and reg_equiv_address; look for constant.
(reg_overlap_mentioned_for_reload_p): LIkewise.
Use new function to check for MEM.
(refers_to_mem_for_reload_p): New function.
* reload1.c (reg_equiv_memory_loc): No longer static.
Fri May 22 17:15:12 1992 Ron Guilmette (rfg at ncd.com)
* Makefile.in (test-protoize-simple): Only delete files made by this
target (not the man pages!)
(test-protoize-simple): Use -x option to avoid munging getopt.h.
(test-protoize-simple): Fixed number of differences message.
(mostly-clean): Properly remove all temp files relating to protoize/
unprotoize.
(install-common): Force removal of previously installed g++ and c++
command files before trying to install new ones.
* spc-sol2.h: New file.
* configure (sparc-*-solaris2*): New configuration added.
* x-sparcv4 (X_CFLAGS): Removed -Bstatic and -dn options.
Fri May 22 15:30:05 1992 Chip Salzenberg (chip@tct.com)
* c-common.c (declare_function_name): Move from c-decl.c.
Construct function names instead of expecting them as parameters.
Set TREE_READONLY and other attributes before calling pushdecl.
* c-decl.c (init_decl_processing, store_parm_decls): Calls changed.
(declare_function_name): Remove to c-common.c.
* cp-decl.c (init_decl_processing, store_parm_decls):
Call declare_function_name.
Fri May 22 12:15:16 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* sparcv4.h (ASM_OUTPUT_CASE_LABEL): Define.
Fri May 22 11:40:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* x-dpx2200, x-dpx2300 (CFLAGS): Definition deleted.
* c-decl.c, cp-decl.c (pushdecl): No shadow warnings if DECL_IGNORED_P.
* c-decl.c (declare_function_name):
Change names to __FUNCTION__ and __PRETTY_FUNCTION__
* vax.h (PRINT_OPERAND): In M case, don't complement after subtract 1.
* c-lex.c (yylex): Use pedwarn for overflow warnings.
Pedwarn if constant doesn't fit its type.
Fri May 22 13:32:39 1992 Chip Salzenberg (chip@tct.com)
* xcoffout.h (DBX_TYPE_DECL_STABS_CODE): Was DBX_DECL_STABS_CODE.
Fri May 22 08:31:16 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* longlong.h (all machines): Define UMUL_TIME and UDIV_TIME.
Auxiliary formatting changes.
(header): Define __CLOBBER_CC and __AND_CLOBBER_CC.
(__sparc__ macros): Use them.
(__hppa__ add_ssaaaa,sub_ddmmss): Accept zero using `M' constraint.
(__hppa__ umul_ppmm): Define if _PA_RISC1_1.
(__mc88110__ umul_ppmm,udiv_qrnnd): New.
(__pyr__ umul_ppmm): Rewrite.
(default count_leading_zeros): Make it work for 64 bit longs.
Fri May 22 06:27:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* cse.c (cse_insn): Invalidate a volatile destination.
* expmed.c (expand_divmod): Correctly handle volatile operands.
Fri May 22 06:26:50 1992 Chip Salzenberg (chip@tct.com)
* rs6000.h (ASM_DECLARE_FUNCTION_NAME): Use new function
xcoffout_declare_function.
* rs6000.c (output_epilog): Shorten internal label.
(output_toc, output_function_profiler): Likewise.
* xcoffout.c (xcoffout_declare_function): New function, created
to localize knowledge of end-of-function internal label.
(xcoffout_end_epilogue): Shorten internal label.
Thu May 21 15:31:42 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* reorg.c (relax_delay_slots): Clear INSN_FROM_TARGET_P when
remove insns from a delay slot.
Thu May 21 13:54:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* reload.c (find_reloads):
Don't abort for % in last operand in asm_operands.
* alloca.c: Make symlink to master copy.
* stmt.c (expand_asm_operands): Count nclobbers properly.
* explow.c (allocate_dynamic_stack_space): Call mark_reg_pointer.
* c-parse.y (stmt, WHILE case): Start loop *after* parsing end test.
(do_stmt_start): Broken out from DO rule.
(stmt, DO case): Use that.
Add error-handler rule for parse error in end test.
* sparc.h (ADDITIONAL_REGISTER_NAMES): Support `cc'.
* c-lex.c (yylex): Pedwarn if `f' constant exceeds range of `float'.
Just once even if `f' appears twice.
This and the like warning for `double' are only if -pedantic.
Thu May 21 08:46:30 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* Makefile.in (STAGESTUFF): Add stamp-proto.
Thu May 21 04:04:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* svr3.h (LOCAL_LABEL_PREFIX): Override as a period.
(ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL):
Use LOCAL_LABEL_PREFIX.
* dpx2.h (LOCAL_LABEL_PREFIX): Definition deleted.
* tower-as.h (LOCAL_LABEL_PREFIX): Override as empty.
Wed May 20 23:29:15 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
* config-gcc.com: Take care of situation if sources are NFS mounted.
Wed May 20 14:35:10 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* jump.c (jump_optimize): Add additional validation check to
case that detects "if (foo) bar++;".
Wed May 20 13:18:09 1992 Tim Moore (moore@defmacro.cs.utah.edu)
* pa.md : Changed "xy" constraints to "x" constraints.
(movsi+6): Let "r" registers match too. Add define_split to change
into 2 insns if needed.
(decrement_and_branch_until_zero): New pattern.
* pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Fix for TYPE == 0.
(REGISTER_MOVE_COST): Do stuff for SNAKE_FP_REGS.
(PRINT_OPERAND_ADDRESS): Write CONST_INT case.
Wed May 20 00:04:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* ns32k.h (NS32K_DISPLACEMENT_P): Fix typo.
* ns32k.md (extzv-1): New pattern for extracting from SImode.
* c++: -M suppresses -lg++.
* svr3.h (DO_GLOBAL_CTORS_BODY): Flush spurious #endif.
* reload1.c (gen_input_reload): New arg IS_ASM. Can now return 0.
(emit_reload_insns): Pass new arg. Error if it returns 0.
* configure: Use $cpu_type to default $tm_file.
* configure, config.sub: Correct we32 to we32k.
* configure (decstation-dec): Deleted--doesn't fit as machine alias.
(we32k): Add company default.
(fx2800): This is a machine alias, not a company default.
* configure (i386-*-bsd*, we32-att-sysv*, m68k-crds-unos*):
Missing *'s added at ends of config names.
* c-typeck.c (convert_arguments): Use warn_for_assignment to handle
-Wconversion. Fix typo in width-mismatch test.
* svr3.h (ASM_GENERATE_INTERNAL_LABEL): Put a * at the front.
Tue May 19 21:53:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (clean): Add -f in rm *.dvi.
* x-dpx2200, x-dpx2300 (CFLAGS): Make value conditional on CC.
* genattrtab.c (simplify_test_exp, evaluate_eq_attr):
Delete tests of current_alternative_string; they caused bugs.
* cross-test.c: New file.
* Makefile.in (cross-test, cross-test.o): New targets.
(all.cross): Depend on cross-test.
* c-decl.c (declare_function_name): Fix bug in previous change.
Tue May 19 19:57:39 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* i960.h (FUNCTION_ARG_BOUNDARY): Return mode's alignment if type 0.
* calls.c (expand_call): Set MEM_IN_STRUCT_P for aggregate return
values in memory.
* function.c (locate_and_pad_parm): Use MAYBE_REG_PARM_STACK_SPACE
if defined.
* i960.c (i960_function_arg_advance): Put MUST_PASS_IN_STACK
parameters on the stack.
(i960_function_arg): Likewise.
* m68k.md (zero_extendqisi2+1): Add condition to exclude MEM/MEM
case which would require reloading.
* unroll.c: Delete incorrect Feb 26 1992 change.
(copy_loop_body): For combined address givs, scale giv_inc by the
two giv's multiplicative factors if they are different.
* i960.md (zero_extendqisi2): Add comment.
* combine.c (apply_distributive_law): Don't distribute subregs
which change the mode class.
* fixincludes: Fix memory.h for SunOS.
* sparc.h (EXTRA_CC_MODES, EXTRA_CC_NAMES): Add CCFPEmode, for
compares which should generate exceptions for qNaNs.
(SELECT_CC_MODE): Use CCFPEmode for non EQ/NE FP compares.
* sparc.c (normal_comp_operator): Handle CCFPEmode.
(C_MODES, output_cbranch): Likewise.
* sparc.md (cmpdf, cmpsf): Modify patterns to use fcmpe for CCFPE
mode, and fcmp for CCFP mode.
From rfg:
* sparc.h: Declare output_move_quad, output_fp_move_quad and
output_floatsitf2.
* sparc.c (mem_aligned_8): New function.
(output_move_double): Clean up a little. Call mem_aligned_8.
Load operands[] into register variables for efficiency.
(output_move_quad, output_fp_move_quad): New functions.
(output_floatsitf2): New function.
(print_operand): Support 'S' and 'T'.
* sparc.md (cmptf, movtf, extendsftf2, extenddftf2, trunctfsf2,
trunctfdf2, floatsitf2, fix_trunctfsi2, addtf3, subtf3, multf3,
divtf3, negtf2, abstf2, sqrttf2): New patterns added for TFmode
support.
Tue May 19 19:34:10 1992 Ron Guilmette (rfg at ncd.com)
* i386v4.h (DBX_REGISTER_NUMBER): Fixed DWARF numbers for
x86 floating-point registers.
Tue May 19 15:30:32 1992 Mats Lofkvist (d87-mal@nada.kth.se)
* fixincludes: Fix return type of malloc and friends.
Tue May 19 13:30:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* config.sub (iris4d): If $os is some kind of Irix, don't clobber it.
Make the default -irix4.
* c-decl.c (declare_function_name): New arg printable_name.
Declare __PRINTABLE_NAME__.
(init_decl_processing, store_parm_decls): Pass the new arg.
Tue May 19 09:50:01 1992 Tom Wood (wood@dg-rtp.dg.com)
* m88k.c (output_options): Check profile_block_flag.
(m88k_layout_frame): Ditto.
(output_function_block_profiler): Save and restore the parameter
registers when calling __bb_init_func.
(output_block_profiler): Use @LPBX2.
* m88k.h (CASE_VECTOR_INSNS): Choose a table of branch
instructions or addresses. The latter is a win for the m88110.
(ASM_OUTPUT_CASE_END): Nothing needed for table of addresses.
(ASM_OUTPUT_ADDR_VEC_ELT): Use "br" or "word".
* m88k.md (casesi, casesi_jump): Updated.
* m88k.md (m88110 function units): Count in half cycles.
* m88k.md (call insns): Clobber rather than use r1.
* m88k.c (m88k_layout_frame): Fix m88k_fp_offset for zero case.
Mon May 18 10:38:20 1992 Michael Meissner (meissner@osf.org)
* iris.h (DEFAULT_SIGNED_CHAR): Define as 0 for compatibility with
IRIS defaults. Patch from kevin@tamri.com (Kevin Dalley).
* xm-irix4.h (HAVE_VPRINTF): Define.
* x-iris (CLIB): Add -lmalloc.
* mips.md (fp_comp functional unit): Use adder functional unit
instead to more closely model MIPS behavior and make genattrtab
faster.
(transfer functional unit): Use memory functional unit instead.
(sqrt functional unit): Use divide functional unit instead.
(branch_zero): If CSE has folded a value which is constant, and
the jump would be omitted, do not eliminate putting a jump there.
This causes bad code to be generated when using gas, since the
previous instruction may be a load which had it's delay slot
filled by the 'branch', and the next instruction depends on the
value loaded.
* mips-at.c (whole file): Delete, no longer needed.
* mips-at.md (whole file): Delete, no longer needed.
* Makefile.in (stamp-attrtab): Remove $(srcdir) in front of
$(PREMADE_ATTRTAB) so that MIPS builds can be done in
subdirectories.
* t-decrose (PREMADE_ATTRTAB*): Don't define, genattrtab is now fast
enough that we don't have to save a pre-made genattrtab.c.
(LIBGCC1): Use libgcc1.null rule to turn off building libgcc1.a.
* t-decstatn (PREMADE_ATTRTAB*): Don't define, genattrtab is now fast
enough that we don't have to save a pre-made genattrtab.c.
(LIBGCC1): Use libgcc1.null rule to turn off building libgcc1.a.
* t-mips (PREMADE_ATTRTAB*): Don't define, genattrtab is now fast
enough that we don't have to save a pre-made genattrtab.c.
(LIBGCC1): Use libgcc1.null rule to turn off building libgcc1.a.
* mips.h (ASM_OUTPUT_CONSTRUCTOR,ASM_OUTPUT_DESTRUCTOR): Define.
Patch from wilson@cygnus.com.
(DEFAULT_SIGNED_CHAR): Don't define if already defined.
Mon May 18 01:34:38 1992 Kayvan Sylvan (kayvan@satyr.Sylvan.COM)
* svr3.h (DO_GLOBAL_CTORS_BODY): Start at end, if STACK_GROWS_DOWNWARD.
Mon May 18 01:34:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (protoize.o, unprotoize.o):
Do nothing, but depend on stamp-proto.
(stamp-proto): New target. Compile both protoize.o and unprotoize.o.
* configure (ns32k-ns-genix): Commented out.
* expmed.c (expand_mult): Use synth_mult even if not -O.
Sun May 17 02:54:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-decl.c (push_parm_decl): Pedantic warning if shadowing typedef.
* c-typeck.c (constant_expression_warning): New function.
(store_init_value): Call that.
* tree.h (TREE_CONSTANT_OVERFLOW): New flag.
* c-lex.c (yylex): "exceeds range" warning changed to pedwarn.
* c-decl.c (grokdeclarator): Likewise for duplicate keywords.
* c-typeck.c (build_unary_op): For increment operators,
test TREE_READONLY in operand, not the data type.
* unprotoize.c: New file.
* Makefile.in (unprotoize.o): Use that.
* c-decl.c (init_decl_processing): Make global decl for __NAME__.
(store_parm_decls): Make local decl for __NAME__.
(declare_function_name): Subroutine for that.
* toplev.c (rest_of_decl_compilation):
Ignore initialized statics if DECL_IGNORED_P is set.
* c-lex.c (yylex): Convert invisible initialized char array vars
to string constants.
* c-decl.c (get_parm_info): Change error message.
Sat May 16 21:25:21 1992 Paul Eggert (eggert@twinsun.com)
* fold-const.c (fold): Do not fold X-X to 0 if X is floating point.
* cse.c (simplify_unary_operation): - -X simplifies to X even
with IEEE floating point.
Sat May 16 14:14:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (clean): Delete *.dvi.
(distclean): Not here.
* Makefile.in (install-man): Ignore errors in all commands.
* combine.c (expand_compound_operation):
Don't simplify extending a const_int.
* ns32k.h (NS32K_DISPLACEMENT_P): New macro.
(INDIRECTABLE_1_ADDRESS_P): Use that.
* ns32k.md (addsi3): Likewise.
Sat May 16 07:47:11 1992 Tom Wood (wood@dg-rtp.dg.com)
* m88k.h: Override SET_ASM_OP in svr4.h.
Sat May 16 00:10:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-parse.y (parmlist_1): Add pedantic warning.
Fri May 15 13:10:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* configure (i386-*-sco3.2v4*): New file.
* config.sub: For SCO, produce -sco3.2v2. For ISC, make just -isc.
* dbxout.c (DBX_TYPE_DECL_STABS_CODE): Was DBX_DECL_STABS_CODE.
(DBX_OUTPUT_ENUM): Pass type as arg; make it do the whole job.
* svr4.h (ASM_BYTE_OP): Delete the tab.
(SET_ASM_OP): New definition.
* Makefile.in (gcc.xtar): Depend on doc.
(gcc.info, cpp.info): Duplicate rules deleted.
* i386.c (handle_pragma): Use SET_ASM_OP, not DEF_ASM_OP.
Fri May 15 12:38:18 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* final.c (final_scan_insn): Don't set new_block when within a
sequence. Set it after the last insn of the sequence.
Fri May 15 07:23:09 1992 Tom Wood (wood@dg-rtp.dg.com)
* m88k.c (m88k_handle_pragma_token, output_short_branch_defs):
Use SET_ASM_OP.
Fri May 15 14:54:54 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov)
* fx2800.h: Replace Ron Guilmette's version with working version.
Tested on Concentrix 2.1 and 2.2.
* i860.c (singlemove_string): Comparison of const0_rtx was in the
wrong place and would never be reached. Added check for negative
short int constants.
(output_size_for_block_move): call singlemove_string instead of
just emitting a mov.
(sfmode_constant_to_ulong): eliminate bogus "# error" directive.
* t-fx2800, x-fx2800, xm-fx2800.h: New files.
* configure: Corresponding changes.
* dbxout.c (DBX_MEMPARM_STABS_LETTER): New macro.
(dbxout_type): Check for DBX_OUTPUT_ENUM.
(dbxout_parms): Use DBX_MEMPARM_STABS_LETTER.
(dbxout_block): Check for DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC.
Thu May 14 18:26:13 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* sparcv4.h (ASM_OUTPUT_ALIGN_JUMP_TABLE, ASM_OUTPUT_INTERNAL_LABEL,
ASM_GENERATE_INTERNAL_LABEL): Delete.
Thu May 14 13:51:01 1992 Chip Salzenberg (chip@tct.com)
* toplev.c (compile_file): Use IO_BUFFER_SIZE for finput.
* xm-i386sco.h, xm-rs6000.h (IO_BUFFER_SIZE): Defined.
Thu May 14 15:21:24 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* config.sub: Recognize "none" as a valid os.
Thu May 14 13:37:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* function.c (assign_parms): Make new stack slot if entry stack
slot isn't aligned as much as the mode wants.
And don't make an eqv for entry_parm in that case.
* sparc.c (output_move_double): Assume memory always ok for ldd, std
except when explicit offset from stack.
* c-decl.c (duplicate_decls):
Don't warn about qualifier mismatch for a function.
* c-decl.c (grokdeclarator): Give explicit list of types to promote
to int (and sometimes to unsigned int) for parms.
* Makefile.in (gcc.info, cpp.info): New targets.
(gcc.xtar): Depend on those.
* expmed.c (extract_bit_field): Don't fail to compute
all of a DImode value.
* dwarfout.c (SET_ASM_OP): Renamed from DEF_ASM_OP.
(ASM_OUTPUT_DEF): Use SET_ASM_OP.
* m88k.h (SET_ASM_OP): Renamed from DEF_ASM_OP.
* sparcv4.h (DEF_ASM_OP): No need for #undef.
* cccp.c (main): Handle -iprefix option instead of GCC_EXEC_PREFIX.
* gcc.c (process_command): Set gcc_exec_prefix.
(do_spec_1): Handle %I.
(default_compilers): Use %I when running cpp.
* protoize.c (savestring, savestring2): Change parm decls.
* i860.h, we32k.h (CONST_COSTS): Add missing parm OUTER_CODE.
* i386v4.h (DEF_ASM_OP, WEAK_ASM_OP): Deleted.
Wed May 13 17:23:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* rtl.c (init_rtl): For byte_mode and word_mode, use first fit.
* protoize.c (munge_compile_params): Increase size of temp_params.
Wed May 13 13:30:40 1992 Chip Salzenberg (chip@tct.com)
* i386sco4.h: New file.
Tue May 12 23:23:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* expr.c (expand_increment): A subreg as op0 is not necessarily a copy.
Treat subregs like regs.
* c-typeck.c (mark_addressable): Different messages for reg var
if reason is a use in a nested function.
Tue May 12 14:28:22 1992 Tom Wood (wood at gen-rtx)
* gcc.c (process_command): -save-temps uses a switches entry.
Tue May 12 21:24:46 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* collect2.c (vfork): Declaration deleted.
Tue May 12 06:16:49 1992 Niklas Hallqvist (niklas@appli.se)
* tower-as.h: Added support for basic block profiling.
Tue May 12 02:34:45 1992 James Van Artsdalen (james at bigtex.cactus.org)
* unx386.h (AS3_SHIFT_DOUBLE): New macro to print shift-double
opcodes.
* i386gas.h (AS3_SHIFT_DOUBLE): Redefine for GAS shift-double rules.
(GAS_MNEMONICS): New macro to force use of opcodes for GAS.
* seq386gas.h (AS3_SHIFT_DOUBLE,GAS_MNEMONICS): Likewise.
* i386.c (print_operand): Use GAS_MNEMONICS to choose long-long
opcode suffix.
* i386.md (ashldi3,ashrdi3,lshrdi3): Split into separate
recognizers for constant and variable shifts.
Use AS3_SHIFT_DOUBLE for variable shifts.
(all shifts and rotates): Don't allow memory operands for shift
count.
(bit set/clear): Don't allow non-CONST_INT constants as SET_SRC.
(movstrsi,cmpstrsi,strlensi): Allow any address_operand within
a MEM:BLK, not just register_operand.
(movstrsi): Rewrite to avoid match_dup on the address_operand
above.
Mon May 11 23:31:47 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu)
Sun May 10 18:44:58 Per Bothner (bothner@cygnus.com)
* dbxout.c (dbxout_type_methods): Only emit final semi-colon
of method list of we have emitted any methods. (The converse
of only emitting the operation name initially if needed.)
Mon May 11 22:45:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload.c, reload1.c: Use reg_overlap_mentioned_for_reload_p and
refers_to_regno_for_reload_p instead of the normal versions.
* reload.c (reg_overlap_mentioned_for_reload_p): New function.
Mon May 11 22:44:50 1992 Ron Guilmette (rfg at ncd.com)
* integrate.c (expand_inline_function): Copy LABEL_NAMEs to new
copies of CODE_LABELs.
* tree.c (decl_function_context, decl_type_context): Renamed `fndecl'
formal parameter to `decl' throughout these functions.
Mon May 11 18:43:45 1992 Paul Eggert (eggert@twinsun.com)
* cccp.c: (deps_file): Deleted.
(main): Do not open deps_file until needed.
Check error status of dep_stream and stdout more carefully.
(timestamp): New function; avoids calling localtime unless needed.
(special_symbol, initialize_builtins): Use new timestamp function.
Mon May 11 20:48:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* genix.h: Added #error, since this hasn't been updated.
Mon May 11 14:33:32 1992 Ron Guilmette (rfg at ncd.com)
* dwarfout.c (is_pseudo_reg): New function.
(location_attribute): Use `is_pseudo_reg'.
(location_or_const_value_attribute): Use DECL_INCOMING_RTL as the
basis for forming the location decsriptor for any register parameter
which was optimized into non-exitance.
* dwarfout.c (DWARF_VERSION): New (default) definition.
(ASM_OUTPUT_DWARF_STACK_OP, ASM_OUTPUT_DWARF_FMT_BYTE,
ASM_OUTPUT_DWARF_TYPE_MODIFIER, ASM_OUTPUT_DWARF_DATA1): Output tab
before ASM_BYTE_OP.
(ASM_OUTPUT_DWARF_ADDR_CONST): Encapsulate all statements in a
`do { ... } while (0)'
(data_member_location_attribute, bit_offset_attribute): Both fixed
to use alignment of declared type of field as the "containing object"
size.
(location_or_const_value_attribute): Fixed to use DECL_INCOMING_RTL
only for parms passed in memory.
(output_decl): Don't output DIEs for externals if DWARF_VERSION == 1.
Sun May 10 17:18:33 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* pa.h (CPP_PREDEFINES): Define for BSD here.
Remove conditional #ifdef hpux.
* pa-hpux.h, pa-ghpux.h (CPP_PREDEFINES): Define for hpux here.
* pa.h (CPP_SPEC): Define.
Sun May 10 12:12:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (clean): Delete unprotoize.c.
* stmt.c (expand_decl): Set MEM_IN_STRUCT_P right in dynamic case.
* expr.c (get_inner_ref): Handle ARRAY_REF only if constant offset.
Handle non-PLUS_EXPR variable offset by assuming multiple of byte.
(expand_assignment, expand_expr): Fix gen_rtx added in last change.
Sat May 9 02:39:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* expr.c (get_inner_reference): New output arg poffset.
(expand_assignment, expand_expr): Pass new arg. Handle nonzero offset.
(do_jump): Pass new arg but ignore result.
* fold-const.c (optimize_bit_field_compare, decode_field_reference):
Pass the new arg. Just return 0 if offset comes back nonzero.
* reload.c (find_equiv_reg): Always test valueno >= 0.
* c-aux-info.c: Don't include param.h or errno.h; don't declare errno.
* rtl.c (read_rtx): Fix error in prev change.
* gcc.c (process_command): Handle -print-libgcc-file-name.
(main): Handle print_libgcc_file_name by printing the name.
* c-decl.c (finish_struct): Use TYPE_PRECISION to see whether
bitfield's type is narrower than int, for promoting to int.
* cccp.c (struct definition, struct reflist): New field `rest_args'.
(struct arglist): Likewise.
(rest_extension, REST_EXTENSION_LENGTH): New var and macro.
(create_defnition): Recognize `...' and set flag in arglist.
(collect_expansion): Propagate flag to definition.
(macroexpand): Check flag when parsing arglist.
Special handling for ## next to a rest arg.
(macarg, macarg1): New arg rest_arg affects parsing in macarg1.
* genattrtab.c: Misc speedups and size reductions.
(check_attr_test): Set RTX_UNCHANGING_P for tests of const attributes.
Also for symbol_ref and comparison ops.
(make_canonical): Likewise. Also check for degenerate cond values.
(operate_exp, simplify_cond, insert_right_side, evaluate_eq_attr):
Avoid copying in some cases. Detect opportunities to simplify.
(compute_alternative_mask): Avoid atoi in most cases.
(copy_rtx_unchanging): New function.
(evaluate_eq_attr, simplify_test_exp): Use that.
* genattrtab.c (optimize_attrs): Work pattern by pattern,
doing all the work for each pattern before moving on.
Use temp_obstack during simplification, then copy the end result.
(temp_obstack): New obstack.
(clear_struct_flag): New subroutine.
(SIMPLIFY_TEST_EXP): Test MEM_IN_STRUCT_P.
(simplify_test_exp): Add code for debugging stop.
Avoid consing when possible; sometimes free storage.
Check MEM_IN_STRUCT_P. Add shortcuts.
* genattrtab.c: Add simplification per alternative (not in use now).
(insn_n_alternatives): New array filled in by gen_insn.
(current_alternative_string): Nonzero means we are simplifying
for a particular alternative. Value is string for that numeral.
(SIMPLIFY_ALTERNATIVE): New macro simplifies eq_attr for alternative.
(evaluate_eq_attr, simplify_test_exp): Call SIMPLIFY_ALTERNATIVE.
(simplify_by_alternatives, count_sub_rtxs): New functions.
* genattrtab.c (attrs): Now an array indexed by first char.
(MAX_ATTRS_INDEX): Length of above.
(find_attr, main): Use that new data structure.
* genattrtab.c: Clarify use of hash-consing:
(hash_obstack): New obstack.
(attr_hash_add_rtx, attr_hash_add_string): Use hash_obstack.
(attr_rtx): Use hash_obstack if object is hashed.
Set RTX_INTEGRATED_P if object is hashed.
Don't hash object if subexpressions aren't hashed.
If making symbol_ref, hash the symbol name.
Uniquize const_int with value 0 or 1.
(attr_equal_p): New compare function; uses RTX_INTEGRATED_P.
(simplify_and_tree, simplify_or_tree, simplify_test_exp): Use that.
(attr_copy_rtx): New; copy all but hashed subexpressions.
(attr_eq): New function.
(attr_numeral): New function.
(check_attr_test): Use attr_eq. Hash symbol_ref and comparison ops.
(check_attr_value): Return modified value. Callers changed.
Hash symbol_ref.
(convert_set_attr_alternative): Use attr_eq and attr_numeral.
(convert_const_symbol_ref): Hash symbol_ref and eq.
(make_alternative_compare): Use attr_numeral.
(alternative_name): Fill in using hasher.
(copy_boolean): Hash a boolean expression if possible.
Fri May 8 23:10:18 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.md (ashldi3,ashrdi3,lshrdi3): Fix typo in output template.
* cse.c (cse_insn): Handle SUBREGs in CLOBBERs.
Fri May 8 14:55:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (PREMADE_ATTRTAB, PREMADE_ATTRTAB_MD): New vars.
(stamp-attrtab): Use them, to use presupplied file if suitable.
* t-mips, t-decstatn, t-decrose (PREMADE_ATTRTAB, PREMADE_ATTRTAB_MD):
Defined.
* mips-at.md, mips-at.c: New files.
* c-common.c (shorten_compare): Extend "always 0" warning
to fencepost case with le or ge.
* cccp.c (pass_thru_directive): Don't output a newline.
(initialize_builtins): Add explicit newlines in sprintfs.
Fri May 8 14:49:12 1992 Michael Meissner (meissner@osf.org)
* mips.md (adddi3): Force -32768 into a register, since the
define_insn's won't accept that one value.
(all attributes): Where an attribute is set to the same value in all
alternatives, don't use the alternative notation, since it will make
genattrtab somewhat faster.
* rtl.c (read_rtx): Use the current obstack to read in strings,
rather than repeated malloc/realloc's.
Thu May 7 18:41:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* calls.c (expand_call): Never set must_preallocate if no stack args.
Thu May 7 16:52:56 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* pa1*: New names for pa1.1*.
* configure: Corresponding changes.
* m68k.md (u?mulsidi3): Don't permit immediates for operand 2.
(u?mulsidi3 recognizers): Split into immediate/nonimmediate cases.
* m68k.md ({zero,sign}_extend recognizers): Remove `n' from constraint
if predicate doesn't permit constants.
Thu May 7 15:42:32 1992 Michael Collison (collison at osf.org)
* i386rose.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Fix these to
avoid printing NaNs, and infinity.
(SUBTARGET_SWITCHES): Add OSF dependent switches for half-pic
support.
(MASK_HALF_PIC, TARGET_HALF_PIC): Likewise.
(CC1_SPEC): Map pic-none, pic-lib, pic-extern and pic-calls
to appropriate half-pic compiler switches.
(LINK_SPEC): If not -noshrlib or -pic-none, pass -warn_nopic.
Allow user to pass -noshrlib directly.
(OPTIMIZATION_OPTIONS): Customize levels for OSF.
(CONSTANT_ADDRESS_P: Add check to determine if we have a
half-pic constant.
(ENCODE_SECTION_INFO): Check to see if we have a half-pic
declaration.
(ASM_DECLARE_OBJECT_NAME): Output the label (definition) for a
object and check to see if it is half-pic.
(ASM_DECLARE_FUNCTION_NAME): Likewise but for functions.
Thu May 7 15:56:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* reload.c (find_reloads): Remover unterm comment from recent changes.
* genattrtab.c (compute_alternative_mask): Usually bypass atoi.
Thu May 7 15:56:51 1992 Tom Wood (wood@dg-rtp.dg.com)
* genattrtab.c (fill_attr): Do nothing for constant attribute.
(check_attr_test): Set unchanging flag for constant attribute.
(write_test_expr): Expand constant attributes here.
Thu May 7 06:01:46 1992 Michael Meissner (meissner@osf.org)
* decrose.h (CPP_SPEC): Fix typo in last change.
Wed May 6 17:39:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* convex.h (HAVE_STRERROR, vfprintf, WTERMSIG, WEXITSTATUS): Deleted.
* dbxout.c (dbxout_type): Don't repeat a cross-reference
merely because full is nonzero.
* calls.c (expand_call):
Avoid rounding error testing copy_to_evaluate_size.
* xm-mipsbsdn.h: Renamed from xm-mipsbsdnews.h.
* xm-sun386.h: Renamed from xm-xm-i386sun.h.
* configure: Corresponding changes.
Wed May 6 23:11:55 1992 John F Carr (jfc at Achates.mit.edu)
* cse.c (simplify_binary_operation): Support MIN and MAX for
SImode and narrower integers.
Wed May 6 17:25:37 1992 Michael Meissner (meissner@osf.org)
* mips.h (MIPS_VERSION): Bump Meissner version # to 18.
(mips_cpu_attr): New define, which is the mips_cpu variable recast
to the attr_cpu enumeration for mips.md.
(HALF_PIC_NUMBER_PTRS, HALF_PIC_NUMBER_REFS): Add dummy
definitions if halfpic.h is not included.
* mips.c (function_epilogue): Print half-pic stats if -mstats and
the stats are non-zero.
* mips.md (cpu attribute): Just use symbol_ref "mips_cpu_attr"
instead of a four way if statement.
(movsi_internal, movhi, movqi): Use 'z' constraint for fpsw, not 's'.
* halfpic.h (half_pic_number_ptrs): Add counter for the number of
pointers generated.
(half_pic_number_refs): Add counter for the number of references.
* halfpic.c (half_pic_number_ptrs): Add counter for the number of
pointers generated.
(half_pic_number_refs): Add counter for the number of references.
(half_pic_ptrs): Update new counters.
* decstatn.h (CPP_SPEC): Define __LANGUAGE_x__ and __LANGUAGE_x
where x is C_PLUS_PLUS, OBJECTIVE_C, C, or ASSEMBLY. Fix
undef'ing LANGUAGE_C for .S files.
(HALF_PIC_PREFIX): Define as '$Lp.'.
* decstatn.h (CPP_SPEC): Define __LANGUAGE_x__ and __LANGUAGE_x
where x is C_PLUS_PLUS, OBJECTIVE_C, C, or ASSEMBLY.
* mips-tfile.c (toplevel): Don't define anything in the standard
headers, such as open, etc.
(add_procedure): Delete unused variable orig_fdb.
* mips-tdump.c (toplevel): Don't define anything in the standard
headers, such as open, etc.
* collect2.c (main): Don't pass -f<xxx> switches to GCC when
building the constructor table.
(write_c_file): Put extern in front of all external declarations.
(scan_prog_file, COFF varient): On ECOFF systems, check whether
the header pointer is non-NULL before using it.
* cp-lex.c (store_pending_inline): Cast obstack_copy arg to char *.
(copy_lang_decl): Cast bcopy args to char *.
Wed May 6 13:28:58 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* i960.h, i960.c (hard_regno_mode_ok): Use unsigned int not short.
* Makefile.in (USER_H): Add va-i960.h.
Wed May 6 07:31:54 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* explow.c (emit_stack_{save,restore}): New functions.
* expr.h: Declare them and enum save_level.
* calls.c (expand_call): Call emit_stack_save.
* expr.c (expand_builtin, case BUILT_IN_ALLOCA): Likewise.
* function.c (delete_handlers): Make test for insn that sets
a slot more general.
(expand_function_end): Call emit_stack_{save,restore}.
* stmt.c (declare_nonlocal_label): Call emit_stack_save.
(expand_goto_internal): Likewise.
(expand_goto): Likewise.
Copy slots so they don't get instantiated incorrectly; also
update use of virtual regs and frame pointer.
(expand_end_bindings): Call emit_stack_restore.
(expand_decl): Call emit_stack_save.
Set current_function_calls_alloca when allocating variable-sized
objects.
* rs6000.md ({save,restore}_stack_{block,function,nonlocal}): New.
Tue May 5 13:17:29 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* configure (a29k-*-*, i960-*-*): New default configurations.
* i960.c, i960.h, i960.md, xm-i960.h, va-i960.h: New files.
* gstdarg.h, gvarargs.h: Include va-i960.h for i960.
* calls.c (expand_call): Call REG_PARM_STACK_SPACE once and save
result. Add code to Use new macros MAYBE_REG_PARM_STACK_SPACE and
FINAL_REG_PARM_STACK_SPACE.
(store_one_arg): New parameter reg_parm_stack_space.
* function.c (assign_parms): Use MAYBE_REG_PARM_STACK_SPACE.
* cse.c (NONZERO_BASE_PLUS_P): Don't consider arg pointer by itself
to be non-zero, because it isn't on the i960.
* dbxout.c (dbxout_symbol): Use decl_function_context not
TREE_PERMANENT to identify function local statics.
* integrate.c (copy_rtx_and_substitute): Also remap SYMBOL_REFs
that point to LABEL_REFs in the constant pool.
* expr.c (expand_expr, PLUS case): Canonicalize MULT
when associating a constant.
Tue May 5 12:56:29 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu)
* pa.c (singlemove_string): Make it global.
* pa.md: Add high:DI and lo_sum:DI patterns.
Tue May 5 12:04:56 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-typeck.c (build_array_ref): Require int index *after* promotion.
* convex.h (REG_OK_FOR_{BASE,INDEX}_P): Virtual regs that will
turn into stack_pointer_rtx are not valid for indexing.
* config.sub: NeXT is BSD, not SysV.
* att386.h (ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL):
Undef before defining.
* dbxout.c (dbxout_parms): Handle invisible reference parms.
Tue May 5 22:48:54 1992 Niklas Hallqvist (niklas@appli.se)
* Makefile.in (test-protoize-simple):
Change tmp-protoize* to tmp-proto*.
(mostlyclean): Remove that temporary file.
Tue May 5 09:35:30 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.c (print_operand): Handle VOIDmode CONST_DOUBLE correctly.
* reload.c (find_reloads): Recompute `code' before preferred_class.
Mon May 4 00:23:29 1992 Ron Guilmette (rfg at ncd.com)
* svr3.h (ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL):
Added definitions appropriate for most svr3 systems.
* protoize.c (volatile): Define to nothing if !defined(__STDC__).
(setjmp, longjmp): Declared external if not defined as pp-macro.
(include_defaults): Fix type of `fname' field.
(compiler_file_name): Fixed type.
(savestring): Fixed type of `size' parameter.
(savestring2): New function.
(string_list_cons): Removed trailing blanks from parm declaration.
(find_file): Moved comments out of formal parm declarations area.
(munge_compile_params): Fixed type of `temp_parms'.
(gen_aux_info_file): Construct new filename using `savestring2'.
(find_extern_def): Suppress annoying warnings about missing
definitions for extern functions.
(edit_fn_declaration): Declare `clean_text_p' as `volatile' not as
`VOLATILE'.
(scan_for_missed_items): Make text of warning more obvious.
(edit_file): Make text of warning shorter.
* libgcc2.c (__builtin_new): Changed arg type to `size_t'. Moved
nested declaration of malloc out to file-scope.
(__builtin_vec_new): Prototype preceeding function declarations.
(__builtin_vec_new, __builtin_vec_delete): Changed types of non-pointer
arguments and local variables to `size_t'.
(__clear_cache): Use type `void *' variables to store addresses.
(__do_global_dtors): Use unsigned type for counters.
(__main): Add explicit type to declaration of `initialized'.
Mon May 4 16:16:56 1992 Tom Wood (wood at dg-rtp.dg.com)
* dwarfout.c (dwarfout_file_scope_decl): Ignore a global register
variable.
Mon May 4 08:28:18 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu)
* pa-ghpux.h, pa-hpux.h: #define HAVE_ATEXIT.
* genextract.c (print_path, main): Make the generated code use
`pat', not `insn', except for fatal_insn_not_found. Remove
insn_code variable from generated code, and switch directly on
INSN_CODE (insn).
* hppa*: Rename to be unique in first 8 characters.
* configure: Corresponding changes.
Mon May 4 00:20:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* reload.c (find_reloads): Compute preferred_class after
calling find_reloads_toplev or equivalent.
* vax.h (PRINT_OPERAND): Add codes M, h, b.
* ns32k.h (PREFERRED_RELOAD_CLASS): Change GEN_AND_MEM_REGS
to GENERAL_REGS.
* config.sub: Recognize we32 and 3b*.
* varasm.c (readonly_data_section): Move after data_section.
* Makefile.in (print-rtl.o): Compile also for host machine.
(genattrtab): Link in host's print-rtl.o.
* i386v4.h (ASM_OUTPUT_ALIGNED_LOCAL): Deleted. Dfn in svr4.h is good.
Sun May 3 21:39:22 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.h (RTX_COSTS): Add missing break.
Sun May 3 19:40:50 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
From law:
* sparc.md (fp unit attributes): Change result ready delays to
match how the FP unit really works.
* sched.c (schedule_block): Don't move USE at the end of any block.
From rfg:
* sparc.c (handle_pragma_token): Added new function (based on original
`handle_pragma_token' in i386.c).
* sparcv4.h (INIT_SECTION_PREAMBLE): Definition added.
(PUSHSECTION_FORMAT): Added leading tab.
(HANDLE_PRAGMA): Added definition to handle #pragma weak (based on
original definition in i386v4.h).
From jfc:
* sched.c (insn_costs): New variable.
(insn_cost): Save cost of insn in insn_costs to avoid recomputation.
(sched_analyze_2): Handle UNSPEC_VOLATILE.
(schedule_insns): Init insn_costs.
* sparc.c (output_move_double): Correctly check for constant
DFmode addresses. Assume that DFmode addresses with MEM_IN_STRUCT_P
set are always aligned.
Sun May 3 16:52:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gcc.c (PATH_SEPARATOR): New macro. From Alex Zatsman.
(process_command): Use it when scanning a path.
* expr.c (expand_builtin): Cast icode to int for indexing.
* xm-i386dos.h: New file.
* configure.bat: Use that file.
* gcc.c (EXECUTABLE_SUFFIX): Remove special default for MSDOS.
(putenv): Remove conditionals for MSDOS, since HAVE_PUTENV now defined.
* c-typeck.c (build_array_ref): Promote after -Wchar-subscripts test.
* c-decl.c (builtin_function): If traditional and name is user-visible,
set DECL_BUILT_IN_NONANSI.
* cccp.c (PATH_SEPARATOR): Add default definition.
(main): Use that.
Sun May 3 08:17:02 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* pyr.h (FRAME_POINTER_REGNUM): Work around pyr cpp bug.
* xm-hppa.h (NO_SYS_SIGLIST): Define.
Sat May 2 15:03:08 1992 James Van Artsdalen (james at bigtex.cactus.org)
* callc.c (emit_call_1): Restore inhibit_defer_pop after popping args.
Thu Apr 30 20:00:00 1992 DJ Delorie (dj@ctron.com)
* configure.bat: Complete rewrite to use Makefile.in.
* Makefile.dos: File deleted.
Thu Apr 30 23:38:00 1992 Per Bothner (bothner@rtl.cygnus.com)
* xcoffout.h (DBX_FINISH_SYMBOL): Use DECL_ASSEMBLER_NAME
instead of DECL_NAME when writing out a global symbol.
(Makes a big difference for C++ static class members.)
Thu Apr 30 23:13:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* fold-const.c (fold, comparisons): Don't call omit_one_operand in
a case where the operand isn't really being omitted.
* combine.c (distribute_notes, case REG_DEAD): Don't write a USE for
a partially-dead register if we already wrote one.
Thu Apr 30 21:51:29 1992 Tom Wood (wood at dg-rtp.dg.com)
* Makefile.in (enquire.o, install-common-headers): Make these work
when $(srcdir) is .
* c-decl.c (init_decl_processing): Use void_ftype_any as the type
for _exit, exit and abort.
Wed Apr 29 21:42:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* genattrtab.c (insn_name_ptr): Define so we could link with
debug_rtx.
* genattrtab.c (check_attr_test, simplify_test_exp): Copy expression
before setting as unchanging.
(make_canonical): Set result as unchanging after calling
convert_const_symbol_ref.
(evaluate_eq_attr): When returning original expression, set it
as unchanging.
Wed Apr 29 13:30:33 1992 Michael Meissner (meissner@osf.org)
* halfpic.c (half_pic_ptr): Allocate space for the NULL byte.
Wed Apr 29 06:28:35 1992 Ron Guilmette (rfg at ncd.com)
* dwarfout.c (src_coords_attribute): Don't #ifdef code based on
DWARF_DECL_COORDINATES.
(name_and_src_coords_attributes): Do #ifdef calls to `lookup_filename'
and `src_coords_attribute' based on DWARF_DECL_COORDINATES. Also,
pop out of .debug section temporarily while calling `lookup_filename'.
Wed Apr 29 02:01:03 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu)
* Complete another Cygnus <--> FSF merge.
Tue Apr 28 19:24:52 1992 Mike Stump (mrs at rtl.cygnus.com)
* cp-init.c (do_friend): Handle overloaded and extern "C"
friends correctly.
Mon Apr 27 21:04:40 1992 Mike Stump (mrs at rtl.cygnus.com)
* cp-search.c (build_vbase_vtables_init): Don't set
flag_this_is_variable to -2 when not doing a ctor.
* cp-class.c (build_vbase_path): Don't unconditionally set
code to be a PLUS_EXPR.
Mon Apr 27 14:14:08 1992 Mike Stump (mrs at rtl.cygnus.com)
* cp-decl.c (grokdeclarator): Allow contructors to be friends.
Cannot find anything prohibiting it.
Mon Apr 27 13:26:20 1992 Mike Stump (mrs at rtl.cygnus.com)
* cp-init.c (do_friend): bullet proof handling of friends,
fixes problem introduced on Apr 26 18:24:35.
Sun Apr 26 23:18:24 1992 Mike Stump (mrs at rtl.cygnus.com)
* cp-call.c (ideal_candidate): Allow one to overload static
member functions without dumping core.
Sun Apr 26 18:44:57 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* cp-tree.c (break_out_calls): Call build1 instead of build for
trees with only one operand to avoid abort in build.
Sun Apr 26 18:24:35 1992 Mike Stump (mrs at rtl.cygnus.com)
* cp-init.c (do_friend): Allow extern "C" functions to be
friends.
Sat Apr 25 02:57:07 1992 Mike Stump (mrs at rtl.cygnus.com)
* cp-*.[chy]: Fix all pedantic warnings to be pedwarn.
Sat Apr 25 01:46:50 1992 Mike Stump (mrs at rtl.cygnus.com)
* cp-tree.c (break_out_calls): Handle NULL_TREE properly.
Fri Apr 24 23:49:39 1992 Mike Stump (mrs at rtl.cygnus.com)
* cp-type2.c (store_init_value): Provide an error message
about bad syntax instead of core dumping.
Fri Apr 24 16:46:03 1992 Mike Stump (mrs at rtl.cygnus.com)
Fri Apr 24 18:55:45 1992 Chip Salzenberg (chip@tct.com)
* cp-parse.y (component_decl): Fix small problem to take us
back down to 14 reduce/reduce errors.
Thu Apr 23 19:48:54 1992 Mike Stump (mrs at rtl.cygnus.com)
Wed Apr 22 22:47:15 1992 Chip Salzenberg (chip@tct.com)
* cp-type2.c (readonly_warning_or_error): Eliminate arbitrary
limit of 80 characters per warning message.
Thu Apr 23 04:14:59 1992 Mike Stump (mrs at rtl.cygnus.com)
* cp-decl.c (grokdeclarator): Handle const and volatile
member functions properly.
Tue Apr 28 22:05:05 1992 Niklas Hallqvist (niklas@appli.se)
* tower-as.h (svr3 support): Generic svr3.h included.
(SELECT_RTX_SECTION): m68k.h's version #undef'd in favour of svr3.h's.
(CPP_PREDEFINES): Overriding svr3.h version.
(STARTFILE_SPEC): Added crtbegin.o.
(ASM_OUTPUT_SOURCE_FILENAME): Added ugly section directives to get
rid of NCR assembler bug.
(ASM_OUTPUT_IDENT): #undef'd svr3.h version.
(NO_{DOLLAR,DOT}_IN_LABEL): Defined.
(ASM_LONG): Defined.
({INIT,FINI,CONST}_SECTION_ASM_OP): Overrides svr3.h versions.
(CTOR_LIST_{BEGIN,END}): New macros.
(BSS_SECTION_ASM_OP): New macro.
(ASM_OUTPUT_CONSTRUCTOR): New macro.
(ASM_OUTPUT_LABELREF): Redefined svr3.h version.
* tower.h (LIB_SPEC): Added -shlib support plus crtend.o.
* configure (m68k-ncr-sysv): Defined xmake_file and tmake_file.
Tue Apr 28 21:27:10 1992 Michael Meissner (meissner@osf.org)
* mips.md (floatsidf2, floatsisf2): Fix typo in last change.
Tue Apr 28 18:21:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* objc-actions.c: Include obstack.h, etc.
(util_obstack, util_firstobj): New obstack, and 1st object in it.
(init_objc): Init those two.
(encode_*): Rewrite to use util_obstack, Callers changed.
(handle_class_ref, handle_impent): New subroutines, broken out
from finish_objc so each can use alloca (instead of utlbuf).
(utlbuf): Variable deleted.
* c-decl.c (init_decl_processing): Treat abort and exit as ANSI.
-traditional no longer affects ANSI builtins; use -fno-builtin.
* configure: Insert assignment of INSTALL where old one was.
Tue Apr 28 17:14:57 1992 John F Carr (jfc at Achates.mit.edu)
* vax.md (cmpdf, cmpsf): Use tstf/tstd if second argument is zero.
(movsi, movhi, movqi): Patterns changed to reflect different
space/time tradeoffs for modern VAXes.
(movstricthi, movstrictqi): New patterns.
(extv, extzv): Use rotl/bicl sequence when possible.
Tue Apr 28 10:00:25 1992 Michael Meissner (meissner@osf.org)
* mips-tfile.c (read_line): Make read_line act like the assembler,
and use ';' to separate multiple logical lines.
* mips.h (MIPS_VERSION): Set Meissner version # to 17.
(MASK_DEBUG_C): Swap meaning of -mdebugc.
(ADDITIONAL_REGISTER_NAMES): Use 'cc' for the floating point status
register, so user asm's can clobber it. Allow $fp for the frame
pointer in addition to fp and $30, and also $sp for the stack
pointer in addition to sp and $29.
* mips.c (gen_int_relational): Emit faster sequence for NE.
(mips_asm_file_start): Don't call data_section for gcc2_compiled.
* mips.md (branch define_delay): Specify all of the preconditions
correctly for branch likely (mips2) support.
(floatsidf2): Update dslots_load_total. Support getting the
integer value from memory as well as from an integer register.
Fix the length attribute.
(floatsisf2): Ditto.
(All set from condition code patterns): Swap meaning of -mdebugc,
so that if used, it means support all of the set condition code
patterns as if the machine can do them equally well. If not
-mdebugc, call gen_int_relational to generate an appropriate set
of INSNs.
* decrose.h (ASM_IDENTIFY_GCC): Define as null on OSF/1.
* encrose.h (ASM_IDENTIFY_GCC): Define as null on OSF/1.
* i386rose.h (ASM_IDENTIFY_GCC): Define as null on OSF/1.
* decrose.h (CPP_SPEC): If .S files, add an explicit
-ULANGUAGE_C to mimic the OSF GCC 1.39 behavior.
Mon Apr 27 16:44:30 1992 Tom Wood (wood at dg-rtp.dg.com)
* dwarf.h (AT_... values): Correct typos present in version 1.0.1
of the DWARF spec. The values should be unchanged.
* dwarfout.c (data_member_location_attribute): Use INTEGER_CST.
* dwarfout.c (data_member_location_attribute): Use TYPE_MODE.
(bit_offset_attribute): Ditto.
* dwarfout.c (name_attribute): Add the tests back.
* m88k.h (WEAK_ASM_OP): Override svr4.h.
Mon Apr 27 15:48:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* limits.h: Use _LIMITS_H___, not _LIMITS_H_, to protect contents.
Mon Apr 27 15:15:25 1992 Michael Meissner (meissner@osf.org)
* mips.h (MIPS_VERSION): Set Meissner version # to 16.
(delay_type enum): Add DELAY_FCMP for specifing the
c.{eq,lt,le}.{d,s} delay.
(fpsw_register_operand): New declaration.
(gen_int_relational): New declaration.
(pc_or_label_operand): New declaration.
(MASK_DEBUG_C): Use -mdebugc for new relational code.
(REG_CLASS_FROM_LETTER): Use 'z' for fpsw register, not 's' which
is already used.
(EXTRA_CC_MODES): Add CC_REV_FPmode to handle fp comparisons,
which need to be reversed (!=).
(EXTRA_CC_NAMES): Add CC_REV_FP.
(SELECT_CC_MODE): Use SImode for all integer comparisons,
CC_REV_FP for floating point != comparisons.
* mips.c (internal_test enum): Move and rename the enumeration
used in gen_conditional to make the comparison RTL codes to
something that can be indexed out to top level.
(fpsw_register_operand): New function to return true if the
operand is the FP status register.
(pc_or_label_operand): New function to return true if the operand
is either a label_ref or the pc for if_then_else tests.
(mips_fill_delay_slot): Add support for DELAY_FCMP, the delay
after a floating point comparison is done and it can be tested.
(map_test_to_internal_test): New function to take a RTL code of a
comparison operator, and return the internal_test enumeration.
(gen_int_relational): New function to generate the appropriate
INSNS for comparing two integers for either branches, or the set
from condition code insns.
(gen_conditional_branch): Rewrite to not use the CISC condition
code register CC0, but instead generate the appropriate INSNs so
that the test can be scheduled independely of the branch.
(override_options): Use 'z' for the fpsw register, not 's'. Only
allow the fp comparison condition codes in the fpsw register. Do
not allow non float or int things in FP registers, even if
-mdebugh. Don't allow ints in the fpsw.
* mips.md (various): Rewrite comparisons and branches so that we
do not use CC0, but instead put the comparison in a pseudo and
generate the appropriate branch instructions directly. This
eliminates calls to the various b<xx> macros provided by the
assembler. Change the type of integer comparisons from the
various CCxx modes used to SImode. Make fp != use CC_REV_FPmode.
(mode attribute): Add FPSW mode for floating compare.
(fp_comp): New functional unit for comparing fp values.
(divmodsi4): No longer use -mdebugc to turn off divmodsi4.
(divsi3): Ditto.
(modsi3): Ditto.
(udivmodsi4): No longer use -mdebugc to turn off udivmodsi4.
(udivsi3): Ditto.
(umodsi3): Ditto.
* mips-gn5.h: Rename from mips-gnews5.h for MSDOS.
* mips-n5.h: Rename from mips-news5.h.
* xm-mipsbsdnews.h: Rename from xm-mipsnbsd.h.
* configure (mips-sony*): Handle the above changes.
* README-mips (whole file): Remove bogus patches, and update with
some common warnings about the MIPS.
Mon Apr 27 12:41:21 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* unroll.c (find_splittable_givs): Don't split a giv combined with
a giv that was not reduced.
* c-parse.y (primary): Clear the TREE_USED flag of a block tree
put in a BIND_EXPR.
* print-tree.c (print_node): Print the block operand of a BIND_EXPR.
* flow.c (find_basic_blocks): Assume MEM source in jump insn makes
it an indirect jump.
* collect2.c (strip_flag, strip_file_name): New variables.
(main): Don't pass -s to the first ld call. Pass it to the second
ld call, or else run strip.
* Makefile.in (bootstrap): Only build C compiler for stage1.
* sparc.h (GO_IF_LEGITIMATE_ADDRESS): Rewrite to accept SUBREGs.
* combine.c (force_to_mode): Correctly form mask from BITS.
* Makefile.in (bootstrap): Fix a typo (\n between b and ootstrap).
Sun Apr 26 14:14:23 1992 Ron Guilmette (rfg at ncd.com)
* getattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c,
genextract.c, genflags.c, genoutput.c, genpeep.c, genrecog.c (main):
Move nested extern declaration of `read_rtx' out to file-scope.
Sun Apr 26 21:41:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* Makefile.in (varasm.o): Includes defaults.h.
Sun Apr 26 21:15:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* enquire.c (f_rep, f_define): Handle NO_LONG_DOUBLE_IO.
(f_define): Print defn of union __convert_long_double, just once,
with #ifndef to protect it.
(fake_f_define): New function.
Sat Apr 25 15:04:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* stmt.c (expand_end_case): Test DI index against range before casesi.
Don't truncate before calling do_tablejump.
Use expand_expr to turn RANGE into rtl.
* expr.c (do_tablejump): Convert to Pmode after testing vs range.
* stmt.c (expand_end_case): Delete test default_label != 0; always is.
* configure (i386-ibm-aix): Set install_with_cp.
Fri Apr 24 21:32:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* xm-spcv4.h: Renamrd from xm-sparcv4.h.
* configure: Changed accordingly.
* Makefile.in (unprotoize.o): Leave unprotoize.c around.
* c-common.c (decl_attributes): Change warnings to errors.
Fri Apr 24 11:17:53 1992 Ron Guilmette (rfg at ncd.com)
* dwarf.h: Added copyleft.
Revised to use enumerators instead of #defines.
Updated to conform to version 1.0.1 of the DWARF spec.
Added implementation-defined fundamental type codes for GCC
mode-specific types.
* dwarfout.c: Include defaults.h.
(getpwd): Declare as `extern'.
(BITFIELD_OFFSET_BITS, BITFIELD_OFFSET_UNITS,
BITFIELD_OFFSET_WORDS_IN_UNITS): Unnecessary definitions deleted.
(ASM_BYTE_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Delete
leading tabs from definitions.
(PUSHSECTION_FORMAT): Add leading tab to definition.
(*_LABEL): Changed to all start with `.L' to internalize these
symbols for *all* svr4 assmeblers (including sparc).
(ASM_OUTPUT_POP_SECTION): Add leading tab.
(ASM_OUTPUT_DWARF_TAG, ASM_OUTPUT_DWARF_ATTRIBUTE,
ASM_OUTPUT_DWARF_STACK_OP, ASM_OUTPUT_DWARF_FUND_TYPE,
ASM_OUTPUT_DWARF_FMT_BYTE, ASM_OUTPUT_DWARF_TYPE_MODIFIER): Print
DWARF comments only if flag_verbose_asm set.
(ASM_OUTPUT_ASCII): Moved to defaults.h
(tag_name): Renamed `dwarf_tag_name' to avoid possible conflicts.
(dwarf_tag_name): Updated for version 1.0.1 DWARF spec.
(attribute_name): Renamed `dwarf_attr_name' to avert conflicts.
(dwarf_attr_name): Updated for version 1.0.1 DWARF spec.
(stack_op_name): Renamed `dwarf_stack_op_name' to avert conflicts.
(format_byte_name): Renamed `dwarf_fmt_byte_name' to avert conflicts.
(fundamental_type_name): Renamed `dwarf_fund_type_name' to avoid
possible conflicts.
(dwarf_fund_type_name): Added support for implementation-defined
GCC mode specific fundamental types codes (to support new `mode'
attribute).
(data_member_location_attribute): Rewritten to avoid major lossage
primarily for little-endian targets.
(location_or_const_value_attribute): Fixed comments and removed
spurious code.
(name_attribute): Removed test for NULL name (now done in
`name_and_src_coords_attributes').
(byte_size_attribute): Fixed to get size from DECL_BIT_FIELD_TYPE
for bit-fields.
(bit_offset_attribute): Rewritten to avoid major lossage primarily
for little-endian targets.
(src_coords_attribute): GNU-specific extension added.
(name_and_src_coords_attributes): New function.
(output_entry_point_die, output_formal_parameter_die,
output_global_subroutine_die, output_global_variable_die,
output_inline_subroutine_die, output_label_die,
output_local_variable_die, output_member_die,
output_local_subroutine_die, output_typedef_die): Call
`name_and_src_coords_attributes' rather than `name_attribute' for
all potentially-named declarations.
(output_global_subroutine_die, output_inline_subroutine_die,
output_local_subroutine_die, dwarfout_file_scope_decl): Use
DECL_ASSEMBLER_NAME rather than DECL_NAME when referencing
assembly level names (e.g. in AT_low_pc attributes).
(output_type): Revised to produce DWARF info for C++ member functions
even for classes with no constructors & destructors.
* flags.h (flag_verbose_asm): Option flag added.
* toplev.c (flag_verbose_asm): Option flag added.
* defaults.h: New file.
* varasm.c: Include defaults.h.
(ASM_OUTPUT_ASCII): Deleted.
* c-common.c (decl_attributes): Call `type_for_mode' rather than
`type_for_size'. Also, `break' after a matching mode is found.
* 3b1.h (ASM_OUTPUT_ASCII): Tab before ASCII_DATA_ASM_OP.
* amix.h (ASM_OUTPUT_CASE_END): Tab before SET_ASM_OP.
(ASM_OUTPUT_ASCII) Tab before BYTE_ASM_OP.
* i860b.h (ASM_OUTPUT_ASCII): Tab before ASCII_DATA_ASM_OP.
* i860v3.h (ASM_OUTPUT_ASCII): Tab before BYTE_ASM_OP.
* sparcv4.h (*_ASM_OP): Delete the initial tabs.
* assert.h: Modified to treat source line numbers as `unsigned'.
* Makefile.in (test-protoize): New target.
* svr4.h (WEAK_ASM_OP): Default svr4 definition added.
(ASM_DECLARE_FUNCTION_SIZE): Use `assemble_name' to output
generated internal label.
Thu Apr 23 11:31:58 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* optabs.c (emit_libcall_block): Correct code which determines
whether it is safe to emit an insn setting a pseudo before the block.
Thu Apr 23 18:13:08 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.md (sleu): Finish Apr 21 change.
Thu Apr 23 14:15:05 1992 Michael Meissner (meissner@osf.org)
* Makefile.in (enquire.o): Delete enquire.c from the current
directory before moving it in from the source directory, unless
the current directory is the same as the source directory. This
occurs if the user keeps GCC under source control, like RCS.
(install-common-headers): Ditto for byteorder.h.
Thu Apr 23 12:39:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* amix.h (ASM_OUTPUT_CASE_END): Add missing \.
Thu Apr 23 07:14:38 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* cse.c (simplify_binary_operation, case MINUS): Don't do any
of the simplifications for IEEE floating-point.
Wed Apr 22 23:20:59 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu)
Tue Apr 21 02:21:42 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-method.c (build_overload_value): Handle function names as
constant expressions for template arguments. Also, make double
values work again as template arguments.
Mon Apr 20 17:08:17 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-call.c (ideal_candidate): remove incorrect error message about
``ambiguous request for function from distinct base classes of
type'' when base and parent are switched.
Mon Apr 20 14:14:35 1992 Mike Stump (mrs@rtl.cygnus.com)
* Makefile.in: Now expect 15 reduce/reduce conflicts, instead of 14.
Mon Mar 16 14:02:09 1992 Chip Salzenberg (chip at tct.com)
* cp-parse.y (maybe_attributes, attribute_list): clone
from c-parse.y.
cp-parse.y: call decl_attributes between start_decl and
finish_decl, and after grokfield.
Mon Apr 20 09:21:00 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* cp-tree.h (break_out_calls): Declare.
Mon Apr 20 08:29:16 1992 Michael Tiemann (tiemann@cygnus.com)
* cp-tree.c (break_out_calls): New function.
(break_out_cleanups): Added comment.
* cp-typeck.c (build_modify_expr): Call `break_out_calls' instead of
`copy_to_permanent'.
Mon Apr 20 06:29:16 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-type2.c (my_friendly_abort): New function, please see
Rational there.
* cp-*.[chy]: Change all calls from abort to my_friendly_abort.
Mon Apr 20 05:45:08 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-cvt.c (build_up_reference): Fix a latent const problem.
Mon Apr 20 03:08:12 1992 Michael Tiemann (tiemann@cygnus.com)
* cp-decl.c (pop_from_top_level): Deleted duplicate code in C_C_D
restoration.
* cp-call.c (build_method_call): Call `error_with_aggr_type' with
correct number of arguments.
Sun Apr 19 18:39:25 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-class.c (finish_struct): Only provide a warning about
non-virtual destructors if the user asks for -Wall.
Sun Apr 19 17:36:16 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-typeck.c (build_modify_expr): Make a deep copy of lhs, as
expr.c expects to be able to preexpand_calls on the conditional
parts without insuring that it would even be legal to do so.
* cp-tree.c (make_deep_copy): Fix comment.
Fri Apr 17 04:55:18 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-cvt.c (convert_pointer_to): Provide the user with a meaningful
error message instead of a core dump when dealing with bad syntax.
* cp-typeck.c (build_binary_op): Make error message on undefined
operator call more readable.
* cp-decl.c (grok_reference_init): Handle T& = const T&
error messages.
Thu Apr 16 18:59:15 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-typeck.c (convert_arguments): Disable code that auto converted
functions and methods to pointers and left them that way without error.
Thu Apr 16 17:35:13 1992 Mike Stump (mrs@rtl.cygnus.com)
Sat Apr 4 22:28:23 1992 Gerald Baumgartner (gb at cs.purdue.edu)
* cp-decl.c (finish_decl): Call `abstract_virtuals_error'
when the return type of a method is an abstract class.
* cp-type2.c (abstract_virtuals_error): Print error message
for an invalid method declaration.
Thu Apr 16 16:18:35 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-decl2.c (lang_decode_option): Handle import by ignoring it.
Wed Apr 22 19:46:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* objc-actions.c (synth_id_with_class_suffix, finish_class):
Don't use utlbuf; alloca a buffer.
(forward_declare_categories): Use build_decl directly since
create_builtin_decl wants a string, not an id.
* Makefile.in (STAGESTUFF): Add USE_COLLECT2.
* dbxout.c (dbxout_symbol): Clean up last change.
Wed Apr 22 17:06:16 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* rs6000.c (gpc_reg_operand): Renamed from gen_reg_operand.
* rs6000.h (PREDICATE_CODES): Likewise.
* rs6000.md: Likewise.
* a29k.c (gpc_reg*_operand): Renamed from gen_reg*_operand.
* a29k.h (PREDICATE_CODES): Likewise.
* a29k.md: Likewise.
* romp.c (output_fpop): Extend workaround for RT FP codegen bug.
Wed Apr 22 06:20:09 1992 Tom Wood (wood at dg-rtp.dg.com)
* fold-const.c (fold, comparison cases): Use omit_one_operand to
yield a simplified result to avoid loosing a side-effect.
Tue Apr 21 13:19:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* dbxout.c (dbxout_symbol): For TYPE_DECL, always make requisite tag
one way or another even if !have_used_extensions.
* configure: Specifically detect unrecognized options.
Tue Apr 21 08:16:05 1992 Tom Wood (wood at dg-rtp.dg.com)
* c-convert.c (convert_to_integer): Don't distribute a truncation
down past an ABS_EXPR.
* m88k.md (bxx insn): Choose bb0 over bb1 if the branch is likely
to fall-through (m88110 optimization).
* m88k.c (mostly_false_jump): New function.
* m88k.h (INIT_SECTION_ASM_OP): Define only for svr3 and svr4 targets.
* m88k.c (output_call): Use the insn address of the sequence.
* m88k.h (ADJUST_INSN_LENGTH): Account for space added at barriers
due to ASM_OUTPUT_ALIGN_CODE.
Tue Apr 21 07:30:46 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* jump.c (mark_jump_label, case MEM): New case to look for label
in a constant-pool entry.
Tue Apr 21 00:41:39 1992 James Van Artsdalen (james at bigtex.cactus.org)
* reg-stack.c (compare_for_stack_reg): link cc0 user and setter
before separating them.
* reorg.c (link_cc0_insns): Move function from here -
* emit-rtl.c (link_cc0_insns): to here.
* i386.h (TARGET_IEEE_FP): New macro.
(TARGET_SWITCHES): Add switches for ieee floating point support.
(EXTRA_CC_MODES,EXTRA_CC_NAMES): Add CCFPEQmode.
(SELECT_CC_MODE): Select CCFPEQmode for FP equality comparisons.
(i386_compare_gen*,i386_compare_op*): Declare new variables to
generate comparisons from within branch and sCC insns.
(RTX_COSTS): Fix argument name typo.
* i386.c (i386_compare_gen*,i386_compare_op*): Define variables here.
(notice_update_cc): Notice if a comparison involves FP values.
(output_float_compare): Add support for "unordered" compare.
Use output_fp_cc0_set to set flags after a compare.
(output_fp_cc0_set): New function.
* i386.md (tstM,cmpM): New expanders. Don't generate RTL; just
save data for when cc0 user is generated.
(bCOND,sCOND): New expanders. Generate the compare/test as well
as the bCOND or sCOND.
(tstsf,tstdf): Disable patterns if generating ieee compliant code.
(tstsf,tstdf,cmpsf,cmpdf): Use output_fp_cc0_set to set flags
after test.
Don't change cc_status here: that won't work with REG_CC_SETTER
and REG_CC_USER.
(all COMPAREs): Use CCmode as mode of a COMPARE.
Mon Apr 20 11:17:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* limits.h (LONG_LONG_MIN, LONG_LONG_MAX, ULONG_LONG_MAX): New macros.
* configure: Clear out_file before the big case, like tm_file, etc.
* expr.c (expand_expr, case LABEL_DECL): Handle label from outer fcn.
Mon Apr 20 10:17:49 1992 Tom Wood (wood at dg-rtp.dg.com)
* x-m88kluna: Delete.
* x-m88kv3: Renamed from x-m88k.
* configure (m88k-*): Rearrange.
Mon Apr 20 21:29:00 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
* config-gcc.com: Generate libgcc2.list from Makefile.in
* make-l2.com: Use libgcc2.list; supply gcc version number to gas.
* config-gacc.com: Generate linker options files from Makefile.in
* make-cc1.com: Use said linker options files instead of static
list of files.
* make-cc1.com: Handle errors better.
Mon Apr 20 10:05:34 1992 Michael Meissner (meissner@osf.org)
* mips.md (divmodsi4, udivmodsi4): Remove unneeded PARALLEL. Patch
from Richard Kenner.
Mon Apr 20 08:38:26 1992 Tom Wood (wood at dg-rtp.dg.com)
* expr.c (expand_expr, case CONSTRUCTOR): For static CONSTRUCTOR,
require a valid memory address only if modifier does.
Sun Apr 19 15:09:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* genemit.c (gen_insn): Mode of SCRATCH must match in clobber lists.
* sched.c (add_dependence, remove_dependence): Moved from rtl.c.
* rtl.c: Functions deleted here.
* Make installation of collect2 automatic.
* configure: Define use_collect2 for all BSD and Mach and HP/UX
configurations, plus the ones below, and a few others.
* t-decrose, t-decstatn, t-encrose, t-i386rose, t-mips, t-next:
(EXTRA_PROGRAMS): Deleted.
* t-apollo68, t-convex, t-dpx2, t-rs6000: Files deleted.
* libgcc1.c (nongcc_SI_type): Renamed from SItype.
* recog.c (constrain_operands): Check only earlyclobbers that are REGs.
* m68k.h (TRANSFER_FROM_TRAMPOLINE): Delete comma in globalize cmd.
* m68k.md (movhi): Don't use switch_table_difference_label_flag
except in ports that need it. (Again!)
Sun Apr 19 14:06:59 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* sched.c (sched_analyze_2): Add missing comment close.
* rtl.c (add_dependence): Make next point to last insn with
SCHED_GROUP_P set, not after the last insn with the bit set.
Sun Apr 19 06:06:03 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* genextract.c (walk_rtx): Fix typo in vector case.
* hppa.h (RTX_COSTS): Add new argument OUTER_CODE.
* Makefile.in (compare, compare3): Change $file to $$file.
* romp.h (CONST_CONSTS): Clean up formatting of definition.
* rs6000.md (extzv): Correct when we can use andi[lu].
Sat Apr 18 21:56:20 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* sparc.md (ashldi3): Compact operand numbers.
From Jeffrey Law:
* sparc.md (ldd, std peepholes): New peepholes to recognize cases
where two ld (or st) insns could be replaced by a single ldd or std.
* sparc.c (registers_ok_for_ldd): New function. Return true if the
given register pair is suitable for an ldd or std instruction.
(memory_ok_for_ldd): Likewise, but for memory locations.
Sat Apr 18 17:22:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-lex.c (skip_white_space): Warn only for first carriage return.
Sat Apr 18 10:08:45 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* genemit.c (struct clobber_ent): New structure.
(gen_insn): See if the clobbers required to be added were seen
for another insn.
(output_add_clobbers): Write case statements for all insn codes
using a particular clobber pattern.
* cse.c (mention_regs): Always retun a value.
* rs6000.md (call): Compact operand numbers.
* genextract.c: Now includes insn-config.h.
(struct extraction, struct code_ptr): New structures.
(gen_insn): Record what extractions are needed and compare with
those for previous insns.
(mark_operand_seen): Function deleted.
(walk_rtx): Use strings as path and just record; don't write.
(print_path): Use strings for paths.
(copystr): New function.
(main): Write out all extractions here.
* Makefile.in (genextract.o): Includes insn-config.h.
* hppa*.h: Change references from hp800* files to hppa*.
* rs6000.md (lshrdi3, ashrdi3): Fix typos.
* rs6000.md (extzv): Correctly install last change.
Sat Apr 18 12:37:54 1992 John F Carr (jfc at Achates.mit.edu)
* expmed.c (store_bit_field): Storing into a bitfield in memory
which is the size of a standard machine mode can be done with a
simple move instruction.
* c-lex.c (skip_white_space): carriage return (^M) is whitespace,
but warn about ^M if pedantic.
* cse.c (rtx_cost): New argument OUTER_CODE, the rtx code of the
expression in which the rtx argument is contained.
* expmed.c (init_expmed): Pass second argument to rtx_cost.
* optabs.c (expand_binop, expand_twoval_binop, emit_cmp_insn): Likewise.
* loop.c (init_loop, general_induction_var): Likewise.
* vax.c (vax_rtx_cost, vax_address_cost): New functions.
* vax.h (CONST_COSTS, RTX_COSTS, ADDRESS_COST): Call these
functions.
* romp.h (CONST_COSTS): Give constants different costs depending
on whether they can fit into a 2 byte instruction, a 4 byte
instruction, or would require insn splitting to use.
* i386.h (CONST_COSTS, RTX_COSTS): Move PLUS case to RTX_COSTS.
* m68k.h (CONST_COSTS): Constant in range -254..-136 is only cheap
in a move insn, not as an operand to some other instruction.
* config/*.h: Update machine descriptions to define CONST_COSTS
and RTX_COSTS macros with 3 arguments.
Fri Apr 17 11:14:02 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload.c (safe_from_earlyclobber): New function.
* recog.c (constrain_operands): Verify that earlyclobber
operands don't conflict with inputs.
* combine.c (subst, case SUBREG): Don't fold paradoxical SUBREGs
of constants.
* cse.c (fold_rtx, case SUBREG): Extend previous change so it
folds widened operations with one operand a constant.
* expr.c (safe_from_p, case BIND_EXPR): Only look at operand 1.
* cse.c (fold_rtx, case SUBREG): Don't fold paradoxical SUBREGs.
Instead, when we have a narrowing SUBREG, see if it is narrowing
the result of a widened arithmetic operation.
Fri Apr 17 09:16:56 1992 Charles Hannum (mycroft@hal.gnu.ai.mit.edu)
* Makefile.in (install-dir): Don't use '-' prefix on continuation line.
Fri Apr 17 06:52:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* toplev.c (rest_of_compilation):
If -Wreturn-type, don't stop before jump.c.
* calls.c (expand_call): Delete unused arg MODIFIER.
* expr.c: Arg deleted from calls (those which had it).
* ns32k.c (print_operand_address): Handle UTEK_ASM.
(print_operand): Handle NO_IMMEDIATE_PREFIX_IF_SYMBOLIC.
Abort if must get fp number as bits but cannot do so.
* ns32k.h (TRAMPOLINE_TEMPLATE): Use PUT_ABSOLUTE_PREFIX.
* ns32k.md (call, call_value): Handle ENCORE_ASM.
* encore.h (PRINT_OPERAND): Just call print_operand.
(CALL_MEMREF_IMPLICIT): Defined.
* config.sub: encore implies bsd, not sysv.
* stmt.c (expand_expr_stmt): Handle reference of volatile BLKmode.
* vax.md (indirect_jump): Delete the extra condition.
* configure (...-hpux): Set install_with_cp.
* jump.c (delete_insn): After a label, go past other deleted labels.
* m68k.md (movhi): Don't use switch_table_difference_label_flag
except in ports that need it.
* stmt.c (warn_if_unused_value): Don't warn for constant after comma.
Don't warn for volatile decl or ref.
* c-typeck.c (build_unary_op): ++ on void * warns if -Wpointer-arith.
Thu Apr 16 22:56:20 1992 Michael Meissner (meissner@osf.org)
* mips.h (enum block_move_type): New enumeration for classing what
type of block move is used when splitting the last store off.
(RTX_COSTS): Don't use -mdebugd to set multiply costs to 2.
* mips.c (output_movstrsi): Take an additional argument to determine
whether this block move is a normal block move, or one that has been
split. For the split block moves, there are two parts -- the first
part is everything but the last store, and the second part is the
last store, suitable to fill a delay slot.
* mips.md (all define_splits): Don't do any define_split if
-mdebugd.
(movstrsi_internal*): Add support to split block moves into two
pieces, one that is everything except for the last store, and the
second piece, which is the last store that can fill a delay slot.
Thu Apr 16 21:52:59 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* x-rs6k-mach: New file.
* configure (rs6000-*-mach): Use it.
Thu Apr 16 21:52:17 1992 John F Carr (jfc at Achates.mit.edu)
* cse.c (cse_end_of_basic_block): Fix test for infinite loop.
Thu Apr 16 21:50:38 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* rs6000.h (bss_section): Delete. No longer needed.
* a29k.c (print_operand, case 'F'): Always emit insn to fill empty
delay slot.
Thu Apr 16 18:45:41 1992 Tom Wood (wood at dg-rtp.dg.com)
* cse.c (simplify_ternary_operation): Correctly sign-extend result.
Thu Apr 16 18:43:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* objc-actions.c: Rename OBJC_NONUNIQUE_SELECTORS to
OBJC_SELECTORS_WITHOUT_LABELS.
* c-decl.c (duplicate_decls): Allow extern vs extern inline.
* c-parse.y (parmlist_or_identifiers_1): Use parmlist_1.
* c-decl.c (get_parm_info): Treat forward parm decls like nonparm
decls.
* m68k.md (movhi before dispatch table):
Set switch_table_difference_label_flag.
* 3b1.h, amix.h, m68ksgs.h (ASM_OUTPUT_CASE_END): Test that flag.
Declare the flag.
* m68k.c (output_function_prologue, print_operand_address): Add
HPUX_ASM conds.
* mips.c (output_block_move): If we get a case we can't handle,
don't print anything--just abort, because that implies a bug.
* c-decl.c (c_decode_option): -ansi sets flag_no_nonansi_builtin,
not flag_no_builtin.
(init_decl_processing): Check flag_no_nonansi_builtin for alloca, etc.
* dbxout.c (dbxout_symbol): Make pointer, not reference,
when variable's address is in a register.
* c-decl.c (c_decode_option): Ignore -Wimport, -Wno-import.
Thu Apr 16 16:17:13 1992 Mike Stump (mrs@mole.gnu.ai.mit.edu)
* merge in Cygnus changes...
Thu Apr 16 12:23:06 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-call.c (build_method_call): propagate const around to avoid an
incorrect error message. This type of fix may now be necessary in
other parts of the compiler. This solves all but one known const
problems.
Wed Apr 15 14:18:27 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-type2.c (readonly_warning_or_error): because the compiler
is now warning about const alot more, for a release or two,
lets just warn about const problems, just in case it is a compiler
problem and not a user problem.
* cp-cvt.c (build_up_reference): Lets get tougher on const problems
on COMPONENT_REFs.
Wed Apr 15 11:59:42 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* cp-decl.c (finish_function): Check for any debug info enabled,
not just DBX_DEBUG.
Wed Apr 15 10:03:36 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-cvt.c (build_up_reference): Propagate const and volatile
down into the type so error checking works better.
Tue Apr 14 11:44:32 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-decl.c (start_decl): Shouldn't use flag_this_is_variable
to make what this points to const, but I don't have the heart
to do it right now.
* cp-decl2.c (grokclassfn): Don't use flag_this_is_variable
to make what this points to const.
* cp-typeck.c (convert_arguments): Let build_up_reference handle
const errors correctly. Removes April 10 change.
* cp-cvt.c (build_up_reference): Don't let people subvert const
when passing const argements to non-const functions.
* cp-tree.c (build_cplus_method_type): Don't use
flag_this_is_variable to make what this points to const.
From Wed Apr 1 12:00:59 1992 Chip Salzenberg (chip at tct.com)
* cp-class.c (import_export_vtable): New function to set
TREE_PUBLIC and/or TREE_EXTERNAL on vtables.
(build_vtable): Use it.
(prepare_fresh_vtable): Use it.
* cp-decl.c (finish_decl): Don't assume that TREE_PUBLIC means
"exported"; it can mean "imported". Decide with TREE_EXTERNAL.
(finish_function): Ditto.
* cp-decl2.c (write_vtable_entries): Ditto.
(finish_vtable_typedecl): Ditto.
(finish_vtable_vardecl): Ditto.
(finish_file): Ditto.
* cp-lex.c (set_vardecl_interface_info): Public objects always
have TREE_PUBLIC, whether exported or imported.
* cp-pt.c (instantiate_member_templates): Ditto.
Fri Apr 10 21:44:15 1992 Per Bothner (bothner@cygnus.com)
* cp-method.c (build_overload_name): Mangle 'signed char'
as 'Sc' (i.e. differently from 'char'!).
Fri Apr 10 17:38:04 1992 Mike Stump (mrs@cygnus.com)
* cp-typeck.c (convert_arguments): don't allow people to wipe const.
Thu Apr 9 18:28:36 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-tree.h: Add entry for $vb and $vf so that NO_DOLLAR_IN_LABEL
works.
* cp-class.c (finish_struct): Use the new macros from cp-tree.h.
* cp-tree.c (layout_basetypes): Use the new macros from cp-tree.h.
Thu Apr 9 02:11:01 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-typeck.c (build_function_call_real): Merge in a change made to
the C front end into the C++ front end to handle volatile functions.
Thu Apr 9 03:45:03 1992 Mark Eichin (eichin at cygnus.com)
* cp-class.c (finish_struct): sanity check before calling popclass.
If we're already hosed due to previous parse errors (specifically,
we're not inside a class anymore) just report an error rather than
crashing in popclass (if there wasn't a previous parse error, as the
message suggests, we should get reports; this closes gcc/p0000525.)
Wed Apr 8 08:56:49 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-decl.c (grokdeclarator): Fix an eichin bug introduced seconds
ago. Shame, he didn't put:
Workaround for p869:
1) grokdeclarator (around cp-decl.c:7462) is using popclass(1)
uses popclass(1) to close the pushclass(3) done by
build_push_scope; however, it's coming around another time and
popping all the way out, which leads to the core dump when
do_friend is called from global scope (do_friend uses
current_class_name to figure out whose friendship it is
bestowing.) Current workaround: if (friendp) don't allow
popping all the way out. We still need to figure out how to
make sure it only gets called the *right* time; we also need
to figure out if the correct scope is being used, but that's a
matter of regression testing.
into a ChangeLog entry.
Wed Apr 8 01:10:44 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-decl.c: Cleanup binding_levels_sane related code. Deleted
argument, and changed to void type. Removed extraneous asserts.
* cp-parse.y: Add fourth parameter to all finish_decl calls.
Defaulted the guess to 0.
* cp-decl.c: consistently use #if on all PARANOIDs.
Wed Apr 15 14:00:14 1992 Michael Meissner (meissner@osf.org)
* mips.md (movstrsi_internal): Add '&' constraint on clobbers.
* mips.c (output_movstrsi): If one of our temporary registers is
used as an address register, don't use it and emit a warning. This
is a temporary measure.
Wed Apr 15 09:04:22 1992 Richard M. Stallman (rms at lyssenko)
* xm-ns32k.h (memcpy, memcmp, memset): New macro definitions.
* rtl.c (gcc_memset): New function.
Wed Apr 15 09:03:28 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88k.md (umulsidi3): Define for m88110.
(unit attribute): Define.
* x-m88kdgux (INSTALL_HEADERS): Define as empty.
Tue Apr 14 13:28:11 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* c-lex.c (yylex): When warn_traditional, don't abort for harmless
type differences. Instead warn of possible problems on other systems.
* rtl.c (add_dependence): Skip notes when HAVE_cc0.
* sched.c (sched_analyze_2): Likewise.
* sparc.md (movdf-1): Delete special case for moving 0.0 to integer
registers; it resulted in poor code.
(fix_truncdfsi2+1): Add patterns to optimize float->fix and
float->fix->float conversions.
* sparc.c (output_move_double): Clean up ldd/std code. Don't emit
ldd/std for obviously unaligned address even when TARGET_HOPE_ALIGN.
(output_fp_move_double): Call output_move_double for MEM cases.
It is not safe to assume double reg addresses are always aligned.
Tue Apr 14 07:55:47 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* *hp800*, *hp700*: Rename to *hppa* and *hppa1.1*, respectively.
* config.sub: Recognize PA model numbers for PA 1.0 and 1.1.
Disable "hppa" with no model number.
* configure: Update for new PA file names and basic_machine names.
* README-PA-HPUX: New name for README-PA-RISC, with some corrections.
Tue Apr 14 05:46:37 1992 Tom Wood (wood at dg-rtp.dg.com)
* Makefile.in ("if" and "["): Romp, 4.3 BSD, and Ultirx systems
fail when the condition is false. Change troublesome instances to
either use "case" or use '-' as a prefix to the compilation rule.
Mon Apr 13 18:20:56 1992 Mike Stump (mrs@cygnus.com)
* dwarfout.c: Add default definition for ASM_OUTPUT_ASCII
as that is what varasm.c does now. This really maybe should go
into a file like tree.h or some machine independant file, for
maintainability.
Mon Apr 13 18:16:32 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* sun3.h, sparc.h (LINK_SPEC): Change nostdlib to !nostdlib.
Mon Apr 13 07:17:36 1992 John F Carr (jfc at Achates.mit.edu)
* rs6000.md (extzv): Generate andi[ul] when practical.
Mon Apr 13 07:17:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* cse.c (rtx_cost, case SUBREG): If modes can't be tied, make
expensive.
(cse_insn): Make extra entries when DEST is a multi-word SUBREG
as long as it is the same number of words as its inner REG.
* emit-rtl.c (gen_lowpart_common): Handle casting integer to
float and vice versa.
* emit-rtl.c (gen_lowpart_common): Rework code to truncate a
constant so we don't convert negative values into positive values;
use same code as in simplify_binary_operation in cse.
Mon Apr 13 07:16:56 1992 Richard M. Stallman (rms at mole.gnu.ai.mit.edu)
* cccp.c (handle_directive): When find quote during copying,
give bp as limit arg in skip_quoted_string.
When find \ while copying, copy next char without special handling.
Mon Apr 13 06:57:18 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88kv3.h (CTOR_LIST_BEGIN): Avoid complex #if.
* tree.h (saved_insns): Make this a union holding an rtx or an int.
(DECL_FIELD_SIZE): New macro for overloaded uses of DECL_FRAME_SIZE.
* c-decl.c (finish_struct): Use DECL_FIELD_SIZE for bitfields.
* cp-class.c (finish_struct): Ditto.
* objc-actions.c (objc_copy_list, encode_field_decl): Ditto.
* stor-layout.c (layout_decl): Ditto.
Sun Apr 12 17:46:30 1992 James Van Artsdalen (james at bigtex.cactus.org)
* expr.c (expand_builtin, case SQRT): Don't defer popping args on
function calls, as the call might be deleted.
* i386.c (print_operand): Delete references to unused codes.
Abort if an unrecognized code is seen.
* i386.md (bit opcode recognizers): Accept starting bit numbers
that are constants but not CONST_INT.
(QI/HI register bit test): Delete.
(SImode bit test): Don't accept CONST_INT starting bit number.
Sun Apr 12 17:05:25 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* rs6000.h (ADDITIONAL_REGISTER_NAMES): Add "cc" as alias for cr0.
* cse.c (equiv_constant): See if a MEM is foldable or has a
constant equivalent.
* expr.c (store_constructor): If building a static constructor
into a register, start out by zeroing the register so we can
constant-fold the constructor to a single constant.
(expand_expr, case CONSTRUCTOR): Don't write constant objects
into memory if the target is a register.
(expand_expr, case *_REF): Simplify getting field or array
entry from a CONSTRUCTOR.
Don't use value of const array unless -O.
Sun Apr 12 14:15:33 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu)
* Makefile.in (compare, compare3): New targets.
(mostlyclean): Delete temporary files made by those targets.
* stmt.c (expand_asm_operands): Ignore `cc' as clobbered reg if name
not known.
* varasm.c (decode_reg_name): Ret -3 if `cc' not recognized.
(make_decl_rtl): Understand -3 as value.
* configure (i386-sequent-bsd*): Use collect2.
Sun Apr 12 13:28:00 1992 Niklas Hallqvist (niklas@appli.se)
* configure: Correctly interpret use_collect2.
Sun Apr 12 10:34:58 1992 Tom Wood (wood at dg-rtp.dg.com)
* c-typeck.c (digest_init): Use INIT to pass to convert_for_assignment
for a raw constructor.
* fold-const.c (fold, case COND_EXPR): Get the type right when
the test is folded away.
* loop.c (strength_reduce): Correct off-by-one error in INSN_LUID
safety check.
* stor-layout (layout_record, layout_union): When limiting the
effect of PCC_BITFIELD_TYPE_MATTERS to bitfields, use
DECL_BIT_FIELD_TYPE to determine if it was a bitfield.
Sat Apr 11 19:54:00 1992 Per Bothner (bothner@wombat.gnu.ai.mit.edu)
* config.sub: Don't "standardize" an os of newsos* to bsd
(it breaks gdb/readline/configure.in, which checks for newsos*).
Sat Apr 11 16:32:21 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* Makefile.in: Remove spaces after reg-stack.o deps.
Sat Apr 11 16:32:15 1992 Michael Meissner (meissner@osf.org)
* c-decl.c (init_decl_processing): Make -fno-builtin supress all
builtin functions in the user's name space like memcpy, strlen,
etc.
Sat Apr 11 14:00:53 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* rs6000.h (LEGITIMIZE_ADDRESS): Add missing force_reg call.
Jump to WIN when we do something.
* rs6000.c (non_{short,add,logical,and}_cint_operand): New functions.
* rs6000.h (PREDICATE_CODES): Add these predicates.
* rs6000.md (addsi3, andsi3, iorsi3, xorsi3, cmpsi3): Remove
define_expands; instead, add define_split for long constants.
* combine.c (try_combine): Try to split the pattern using
split_insns before trying find_split_point.
(find_split_point, case MEM): Try to split an invalid address that
is a PLUS with a CONST_INT.
* combine.c (try_combine): Correctly check if an auto-inc
side-effect has been duplicated.
* expr.c (expand_expr, case PARM_DECL): Return zero of proper mode
if no DECL_RTL.
* tree.c (save_expr): Must do something with read-only tree that
has side-effects.
(stabilize_reference_1): Don't ignore read-only trees.
* reload.c (find_replacement): New function.
* reload.h (find_replacement): Declare it.
* reload1.c (gen_input_reload): Use it to ensure substitutions
get done if we need to recreate a PLUS.
Sat Apr 11 14:00:02 1992 John F Carr (jfc at Achates.mit.edu)
* cse.c (cse_end_of_basic_block): Don't stop scanning insns if a
jump is found that can't be followed.
* genextract.c: Make insn_extract copy the address of
recog_operand and recog_operand_loc into register variables.
Sat Apr 11 13:59:17 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu)
* c-parse.y (stmt): Parse entire parens of `for'
before actually starting the loop.
Sat Apr 11 10:35:06 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu)
* caller-save.c (restore_referenced_regs): Do not call XEXP on
reg_equiv_address since reg_equiv_address is already an address.
* expr.c (expand_builtin, case SQRT): Note the dangers involved in
changing the argument test condition.
* m68k.md (sqrtdf2): New pattern to take advantage of the 68881
sqrt function.
Fri Apr 10 18:37:08 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* hp800.c (output_function_epilogue): Output code to restore gr2 in
non-frame-pointer case correctly.
Fri Apr 10 15:24:57 1992 Michael Meissner (meissner@osf.org)
* decrose.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are
provided.
* i386rose.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are
provided.
* encrose.h (TARGET_MEM_FUNCTION): Define, memcpy/memset are
provided.
* mips-tfile.c (copy_object): Omit the test for zero flags, since
MIPS vendors are now putting bits in there.
* mips-svr4.h (HAVE_ATEXIT): Define, atexit is provided.
(TARGET_MEM_FUNCTIONS): Define, memcpy/memset are provided.
* mips-sysv.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are
provided.
* mips-news5.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are
provided.
(getpagesize): Define a getpagesize that uses sysconf, just like the
MIPS V.4 port.
* mips.c (output_block_move): Don't emit ulw/usw if GAS is the
assembler, use the lwl/lwr/swl/swr building blocks instead, since
GAS doesn't yet support the ulw/usw macro instructions.
* configure (mips-sgi-irix4): Use config/iris4.h instead of
config/iris.h.
* iris4.h (new file): Just like iris.h, atexit is provided (unlike
IRIX revision 3).
* iris.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are provided.
Fri Apr 10 11:59:02 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.md (cmpstr patterns): Correctly handle zero length
compares. Rewrite to avoid needing scratch register.
Thu Apr 9 14:05:04 1992 Michael Collison (collison at osf.org)
* i386rose.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Fix these to
avoid printing NaNs, and infinity.
Thu Apr 9 11:34:31 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88kluna.h (DEFAULT_GDB_EXTENSIONS): Define as 0.
Wed Apr 8 20:21:59 1992 Michael Meissner (meissner@osf.org)
* halfpic.c (all functions): Add a hash table for the lookup instead
of linear search. Don't use bits in the IDENTIFIER node, store the
information in the hash table. Always rebuild the SYMBOL_REF
returned by half_pic_ptr, instead of storing it away, since the RTL
gets reused at the end of the function.
(half_pic_declare): New function, called when a label is laid down
to say that it is no longer half-pic.
* halfpic.h (half_pic_declare, HALF_PIC_DECLARE): Add function
defintion, and accessor macro.
* mips.h (HALF_PIC_DECLARE): Add dummy macro if not OSF/rose.
(ASM_DECLARE_OBJECT_NAME): Invoke HALF_PIC_DECLARE on name.
(ASM_DECLARE_FUNCTION_NAME): Ditto.
(*_SECTION_ASM_OP): Put the leading tab back in.
* mips.md (dslot attribute): 'pic' type requires a delay slot, since
it is really a load.
(movsi): Make movsi a define_expand, and if it's moving the address
of a half-pic item into a register, convert it into a load.
(movsi_internal): The old movsi define_insn renamed.
(movstrsi_internal): Add '=' constraint on all stores and clobbers.
* decrose.h (LINK_SPEC): If not -noshrlib or -pic-none, pass
-warn_nopic. Allow user to pass -noshrlib directly.
Wed Apr 8 00:11:56 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* sparc.h (MOVE_MAX): Set to 8 instead of 4.
* sched.c (sched_analyze_2): Don't abort if find note before a CC0
using insn.
* sparc.h (ADDITIONAL_REGISTERS_NAMES): Add. Define fake reg name
ccr, for use in asm clobbers.
* sparc.h (TARGET_FORCE_ALIGN): Add comment explaining that it
is for experimental purposes only.
(FIRST_PARM_OFFSET): Add 4 when TARGET_FORCE_ALIGN to ensure that
stack is double-word aligned.
(FIRST_PARM_CALLER_OFFSET): Delete obsolete macro.
From Tom Wood:
* unroll.c (final_giv_value): Put the subtracts in the right place.
* sparc.c (compute_last_arg_offset): Delete, no longer needed.
(FRAME_POINTER_REQUIRED): Do not depend on frame size.
Tue Apr 7 22:36:33 1992 Michael Meissner (meissner@osf.org)
* halfpic.c (whole file): Flesh out initial half-pic implementation
for the OSF/1 reference ports. This is still a work in progress.
* halfpic.h (toplevel): Add declarations for half_pic_finish and
half_pic_ptr. Add macros HALF_PIC_FINISH, HALF_PIC_PTR, and
HALF_PIC_PREFIX.
* mips.h (call_memory_operand): Delete call_memory_operand
function declaration.
(PREDICATE_CODES): Ditto.
(CONSTANT_ADDRESS_P): Correctly reject half-pic addresses.
* mips.c (call_memory_operand): Delete function.
* mips.md (call* patterns): Use memory_operand instead of
call_memory_operand for predicates. Use the test not register and
not CONSTANT_ADDRESS_P instead of call_memory_operand in the
define_expand body to test whether the function address needs to be
forced to a register.
* decrose.h (HALF_PIC_DEBUG): Define as true if -mdebugb, to debug
the half-pic code, just like debugging normal addressing.
(CPP_SPEC): Use the __<name>__ form of the language macros instead
of __<name>.
(LINK_SPEC): If -pic-lib and not -noshrlib, pass -warn_nopic.
(LIB_SPEC): Don't pass -L/usr/ccs/lib.
* x-decrose (CCLIBFLAGS): Pass -pic-extern when building libgcc1.a.
(LIBGCC2_CFLAGS): Pass -pic-extern when building libgcc2.a.
Tue Apr 7 19:00:56 1992 Tom Wood (wood at dg-rtp.dg.com)
* xm-m88k.h (NO_SYS_SIGLIST): Not provided by the 88open standards.
* m88k.c (output_ascii): Generalize to support ident
* m88k.h (ASM_OUTPUT_IDENT, ASM_OUTPUT_ASCII): Use output_ascii.
* m88k.c, m88k.md, m88k.h: Integrate all changes to support the m88110.
Mon Apr 6 22:51:02 1992 John Wroclawski (jtw@lcs.mit.edu)
* mips-tfile.c (read_seek): Fix argument order in calls to
fatal.
Mon Apr 6 21:17:38 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu)
* merged in Cygnus sources.
Mon Apr 6 15:26:09 1992 Mike Stump (mrs@cygnus.com)
* cp-spew.c (hack_more_ids): Reimplement. Change from Niklas
Hallqvist.
Thu Apr 2 02:36:36 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-*: Simplify DECL_NAME (TYPE_NAME into TYPE_IDENTIFIER.
* cp-call.c (build_method_call): Fix an error message.
* cp-parse.y (LC): Renamed to left_curly.
(TYPENAME_SCOPE): Renamed to typename_scope.
Mon Apr 6 14:04:49 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* sparc.h (TARGET_HOPE_ALIGN): Fix typo, `-fast' -> `-dalign'.
* expr.c (expand_expr, INDIRECT_REF case): Set MEM_IN_STRUCT_P if
this is an indirect of the address of an array, struct, or union.
* jump.c: Delete declaration of squeeze_notes.
(jump_optimize): Use new return value from squeeze_notes.
(squeeze_notes): Handle the case where START may be a note that
must be moved outside the range. Now returns the new start value.
* loop.c (find_and_verify_loops): Use squeeze_notes return value.
* stmt.c (expand_end_case): Call squeeze_notes before reorder_insns.
* rtl.h: Declare squeeze_notes.
* rs6000.h (PTRDIFF_TYPE): Define to int.
Mostly from tege@sics.se:
* sparc.c (eligible_for_epilogue_delay): Clarify comment. Delete
unreachable test of leaf_function.
(singlemove_string): Correct test for when can use sethi alone.
(output_function_prologue): Declare leaf_function. More
efficiently frame sizes greater than 4095. Correctly handle leaf
functions with frame greater than 4095.
(output_function_epilogue): Likewise.
(output_return): Likewise.
Mon Apr 6 10:11:08 1992 Tim Moore (moore@defmacro.cs.utah.edu)
* config.sub : Add hp700 cpu type.
* configure : Make hp700-bsd and hp700-hpux cases, with use of gas
an option.
* hp700hpuxg.h, hp800hpuxg.h : New files for using gas under hpux.
* hp800.h (REGISTER_NAMES): Change to use %r style register names;
required to name PA-RISC 1.1 fp registers.
* x-hp800hpux : Don't invoke the assembler to compile alloca.c.
* README-PA-RISC: New file.
Mon Apr 6 08:00:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reorg.c (relax_delay_slots): Don't get confused when a label
becomes zero (meaning end of function).
Sun Apr 5 13:45:37 1992 Ron Guilmette (rfg at ncd.com)
* i860.md (floatsidf3): Fixed to expand to a correct insn sequence.
Sun Apr 5 12:33:02 1992 John F Carr (jfc at Achates.mit.edu)
* rs6000.h (EXTRA_CC_MODES, EXTRA_CC_NAMES): Add CCEQmode.
(SELECT_CC_MODE): Select it for equality comparison of comparison.
* rs6000.c (scc_comparison_operator): Reject improper use of
CCEQmode.
(ccr_bit): Handle CCEQmode, where bit is always third in field.
(print_operand, case 'E'): New case.
* rs6000.md: New pattern to compare two comparisons with
creqv/crxor.
Add peephole for two consecutive scc insns.
* combine.c (subst, case FFS): (ffs (*_extend X)) -> (ffs X)
(make_compound_operation): Handle (and (rotate X C) M).
* flags.h (flag_cse_skip_blocks): New variable.
* toplev.c (flag_cse_skip_blocks): Define it here.
(f_options): Add it to table.
(main): -O2 turns it on.
* cse.c (invalidated_skipped_{set,block}): New functions.
(enum taken): New value, AROUND.
(cse_end_of_basic_block): New argument SKIP_BLOCKS. If it is
nonzero, follow a branch around a block of code which contains
no labels and set status = AROUND for the jump.
(cse_main): Pass FLAG_CSE_SKIP_BLOCKS argument to
cse_end_of_basic_block.
(cse_basic_block): If jump status is AROUND, call scan_skipped_block
before following jump.
Sun Apr 5 04:16:46 1992 James Van Artsdalen (james at bigtex.cactus.org)
* optabs.c (emit_cmp_insn): Add missing parameter type declaration.
* expr.c (expand_builtin, case SQRT): Fix typo emitting insns.
Reformat to look like the rest of gcc. Use accessor macros to
access fields of an RTX. Make comments match code.
* i386.md (cmpstr patterns): Handle zero length compares.
Sat Apr 4 04:40:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload.c (find_equiv_reg): Avoid passing zero to true_regnum.
* expr.c (expand_expr, case COMPONENT_REF): Handle case where we
are extracting a field of a constant.
* a29k.h ({TEXT,READONLY_DATA,DATA}_SECTION_ASM_OP): Put tab back.
* rs6000.c (output_epilog): Reduce number of lines generated to
write traceback table.
* combine.c (move_deaths): A destination is used in this insn
unless is it completely overwritten.
Sat Apr 4 04:39:16 1992 John Carr (jfc at ATHENA.MIT.EDU)
* expmed.c (store_bit_field, extract_bit_field): Remove redundant
tests for MEM.
* c-common.c (binary_op_error): Handle FLOOR_DIV_EXPR, FLOOR_MOD_EXPR,
*ROTATE_EXPR.
* c-typeck.c (build_binary_op): Handle FLOOR_MOD_EXPR.
Sat Apr 4 00:29:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-decl.c (c_decode_option): `-' was missing in -Wno-redundant-decs.
* Makefile.in (USE_COLLECT2, MAYBE_USE_COLLECT2): New variables.
(GCC_PARTS, native, install-common): Use USE_COLLECT2.
(toplev.o): Use MAYBE_USE_COLLECT2.
* configure: Let particular cases set use_collect2
and have that control use of collect2 through editing Makefile.
Handle --with-gnu-as and --with-gnu-ld options. Ignore --with-*.
--with-gnu-ld turns off use_collect2.
* i386rose.h (CC1PLUS_SPEC): Deleted.
* gcc.c (do_spec_1): In case 'D', strip final / from prefixes.
* c-decl.c (push_c_function_context): Add pedantic warning.
* collect2.c (main): Figure STANDARD_EXEC_PREFIX into clen.
* c-typeck.c (get_spelling): Move alloca outside fn call.
Fri Apr 3 16:36:54 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* varasm.c (output_constant_def): Set MEM_IN_STRUCT_P if nec.
Fri Apr 3 05:32:39 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* m88k.md (call_block_move{,_loop}): Don't write USE for regs
we don't set; remove unneeded CLOBBERs for call-used registers.
* caller-save.c (insert_save_restore): Abort rather than writing
out an insn having a null source or destination.
* explow.c (allocate_dynamic_stack_space): Don't reference
STACK_BOUNDARY if it isn't defined.
* explow.c (allocate_dynamic_stack_space): Don't use TARGET if it
isn't a pseudo reg.
Fri Apr 3 01:50:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* fixinc.svr4: Don't reconvert __i386 if have _ after.
* c-decl.c (grokdeclarator): Use size_binop to get array hbound - 1.
* enquire.c: Include sys/types.h.
* c-typeck.c (check_format): Don't use type name for integer types
or pointers to them.
* explow.c (allocate_dynamic_stack_space): New arg KNOWN_ALIGN.
All callers changed.
Thu Apr 2 15:24:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* dbxout.c (dbxout_type): Output just xref for var-size struct/union.
* reload.c (find_equiv_reg): In previous change, verify valtry != 0.
Thu Apr 2 08:34:38 1992 Michael Meissner (meissner@osf.org)
* iris.h (SIZE_TYPE): Make type unsigned int, not unsigned long.
(PTRDIFF_TYPE): Define to be 'int', not 'long int'.
(WCHAR_TYPE): Define to be 'unsigned char', not 'int'.
(WCHAR_TYPE_SIZE): Define to be 8, not 32.
Thu Apr 2 06:01:07 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* fold-const.c (fold, case COND_EXPR): Add missing test for zero.
* expr.c (expand_expr, case ARRAY_REF): Handle case of constant
array whose initializer is a string.
* optabs.c (emit_libcall_block): Don't move up insns that set
pseudos whose old values are used in previous insns.
* genattrtab.c (attr_rtx): Add some casts to int from enum rtx_code.
Thu Apr 2 04:20:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* xm-mipsnbsd.h: New file.
* configure (mips-sony-bsd*): Use that.
* stmt.c (expand_end_case): Move the convert_to_mode after emit_queue.
Thu Apr 2 00:49:18 1992 James Van Artsdalen (james at bigtex.cactus.org)
* stmt.c (expand_end_case): Fix typo.
Wed Apr 1 19:01:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* fold-const.c (size_int): Always switch to permanent_obstack
to make a node that will be saved
Wed Apr 1 15:36:19 1992 Michael Meissner (meissner@osf.org)
* xm-irix4.h (alloca.h): Don't include <alloca.h> if not using the
GNU compiler, since the Silicon Graphics compiler's alloca complains
if the result of alloca is stored in something that is not a simple
variable. Just use the C version of alloca.c.
Wed Apr 1 14:42:24 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu)
* pyr.md (HImode compare recognizers): Don't match if subsequent
branch has unsigned predicate.
Wed Apr 1 14:20:13 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* sparc.c (output_function_epilogue): Drop unused true_epilogue
parameter. Delete obsolete tail-call support code, which worked
by passing -1 for leaf_function.
(tail_call_valid_p): Delete obsolete function.
(output_tail_call): Likewise.
* sparc.h (TARGET_TAIL_CALL): Delete obsolete option.
(FUNCTION_EPILOGUE): Fix call to output_function_epilogue.
* sparc.md (tail_call): Delete obsolete pattern.
* rs6000.c (output_epilogue): Output a traceback table.
Wed Apr 1 06:42:54 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88k.h: Override ASM_OPs added to svr4.h.
Wed Apr 1 03:12:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* emit-rtl.c (operand_subword): Swap words from const_double if nec
* ns32k.h (GO_IF_INDEXING): New arg MODE; caller changed.
Pass to INDEX_TERM_P.
Tue Mar 31 18:10:10 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* genattrtab.c (check_attr_value): Fix some backwards tests.
* expr.c (move_by_pieces{,_ninsns}): Only look at MODE_INT modes.
* fold-const.c (fold, case COND_EXPR): Fix typo in last change.
* stor-layout.c (layout_record): Add missing call to size_int.
* expr.c (do_store_flag): Handle case where EXP is a TRUTH_NOT_EXPR.
Tue Mar 31 17:18:20 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu)
* c-decl.c (init_decl_processing): Enable `sqrt'.
* expr.c (expand_builtin, case SQRT): By default check that the
argument to sqrt is in sqrt's domain. If the argument is not in the
domain, then call the library function. Skip argument checking if
-ffast-math is in use.
* flags.h (flag_fast_math): Declare new variable.
* toplev.c (f_options): Add flag_fast_math to table.
Tue Mar 31 17:11:09 1992 Per Bothner (bothner@wombat.gnu.ai.mit.edu)
* cccp.c: Add new flag -nostdinc++ to disable searching
standard C++-specific include directories. This is useful
for building libg++.
* gcc.c: Pass -nostdinc* to cpp, not just -nostdinc.
* cpp.texi: Document -nostdinc++.
Tue Mar 31 15:32:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gcc.c (link_command_spec): Use %l before %X.
* svr4.h (MULTIBYTE_CHARS): Turned off.
* sun3.h, sparc.h (LINK_SPEC): Inhibit -e if -nostdlib.
* collect2.c (my_strerror): Renamed from strerror.
* reload.c (find_equiv_reg): Find constants in REG_EQUIV notes.
* m68k.h (PRINT_OPERAND_PRINT_FLOAT): Fix typo in #ifdef.
* Makefile.in (install-dir): Create include subdir.
Tue Mar 31 18:03:21 1992 Thorsten Ohl (ohl@apollo.desy.de)
* x-apollo68 (CFLAGS, LIBGCC2_CFLAGS): Defined.
* t-apollo68: new file, use collect2.
* configure: use `t-apollo68'.
* apollo68.h (ASM_SPEC): Delete -C.
(STRUCT_VALUE_INCOMING): Now 0.
(HAVE_ATEXIT): Defined.
(PROMOTE_PROTOTYPES): Delete #undef.
(USER_LABEL_PREFIX): Undef.
(LOCAL_LABEL_PREFIX, REGISTER_PREFIX, REGISTER_PREFIX_MD): Override.
(ASM_RETURN_CASE_JUMP): Defined.
(REGISTER_NAMES): Override.
Tue Mar 31 14:59:53 1992 Tim Moore (moore@defmacro.cs.utah.edu)
* hp800.md (movsi+4, call_value+1): Add x,y constraints for Snake
fp registers.
* hp800.h (INITIAL_FRAME_POINTER_OFFSET): Fix for Snake stack
alignment.
(REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Fix for Snake fp
registers.
* hp800.c (output_function_prologue): Align stack for Snakes.
(output_arg_descriptor): Fix Snake typos.
* hp700.h, hp700hpux.h : New files
(TARGET_DEFAULT): Emit Snake code by default.
* hp700hpux.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Define to work
around assembler syntax difference between 700 and 800 series HPUX.
* hp800.h (ASM_DOUBLE_ARG_DESCRIPTORS): Conditionalize on the
above symbol.
Tue Mar 31 09:58:52 1992 Michael Meissner (meissner@osf.org)
* mips-sysv.h (getpagesize): When compiling the trampoline code,
define a macro getpagesize which uses the POSIX sysconf function.
* mips-svr4.h (getpagesize): When compiling the trampoline code,
define a macro getpagesize which uses the POSIX sysconf function.
Mon Mar 30 19:25:48 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* loop.c (strength_reduce): In recent maybe_multiple code, only
apply INSN_LUID to insn when safe.
Mon Mar 30 17:24:33 1992 Michael Meissner (meissner@osf.org)
* mips.c (output_block_move): Fix typos that would generate
incorrect code if either the source or destination is a global or
static memory address. Increment appropriate -mstats counters.
* x-iris (INSTALL): Use cp to install stuff, not install -c.
Mon Mar 30 16:39:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* m68k.md: Use `\;', not `;', to separate insns.
* toplev.c (main): Add cast when setting debug_info_level.
* m68k.h (GLOBAL_ASM_OP): New macro.
(ASM_GLOBALIZE_LABEL): Use that.
* hp320.h, m68ksgs.h, mot3300.h (GLOBAL_ASM_OP): Override this.
(ASM_GLOBALIZE_LABEL): Not this.
* libgcc2.c (__builtin_saveregs) [sparc]: Define both assembler labels
__builtin_saveregs and ___builtin_saveregs, to handle all systems.
* m68k.h (TRANSFER_FROM_TRAMPOLINE): Add a globalize command.
(TRAMPOLINE_TEMPLATE): Make the JSRs really JSRs.
Always use precisely ___trampoline.
Mon Mar 30 07:17:50 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload1.c (inc_for_reload): Declare CODE consistently.
(constraint_accepts_reg_p): Add missing cast.
* fold-const.c (fold, case TRUTH_ANDIF_EXPR): Fix typo in last change.
Mon Mar 30 01:07:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* rtl.h: Don't continue #if lines.
Mon Mar 30 03:30:54 1992 Mike Stump (mrs@cygnus.com)
* Merge in Cygnus cp-* sources, below are the ChangeLog entries from
the Cygnus ChangeLog file. Note, I am experimenting with a slightly
different format, as Tiemann would like the dates to remain intact,
but Stallman does not want the dates out of order and would rather
have the entries altogether anyway.
Sun Mar 29 16:57:31 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-decl.c (grokdeclarator): Handle typedef before other
specifiers, as typedef is now more complex in c++ than in c.
Sun Mar 29 12:00:03 1992 Michael Tiemann (tiemann@cygnus.com)
* cp-decl.c (start_function): Always set TREE_PUBLIC if DECL1 is
part of any interface.
* cp-cvt.c (convert_to_reference): Don't type to convert a type to
itself.
(build_type_conversion): Don't look for alternatives to default
type conversion except to integral and real types. Fixes bug
exposed in 19 March change.
Tue Mar 24 07:53:46 1992 Michael Tiemann (tiemann@cygnus.com)
* cp-tree.c (lvalue_p): POST{INC,DEC}REMENT_EXPR is not an lvalue.
* cp-typeck.c (build_modify_expr): Ditto.
* cp-init.c (emit_base_init): If debugging, force out a line note so
we can step into ctors for base initializers.
(build_virtual_init): Note that we need to do some more work to
handle replicated base classes in multiple inheritance lattices.
Mon Mar 23 00:33:35 1992 Michael Tiemann (tiemann@cygnus.com)
* cp-init.c (expand_aggr_init_1): Finish Mar 15 change concerning
INDIRECT_REFs that have TREE_HAS_CONSTRUCTOR set.
* cp-call.c (build_overload_call_real): Ensure FINAL_CP->EVIL is set
when FINAL_CP is non-NULL and we encounter an ERROR_MARK_NODE in the
operands we are processing.
* cp-cvt.c (convert_to_reference): Propagate ERROR_MARK_NODE from
failed type conversions.
Sun Mar 22 20:01:51 1992 Michael Tiemann (tiemann@cygnus.com)
* cp-init.c (is_aggr_typedef): Don't give an error message if NAME
is ERROR_MARK_NODE.
Sun Mar 29 09:29:10 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
* make-gcc.com: Remove patch from March 7.
* make-l2.com: Use compiler that was just built, if available,
otherwise use system compiler if it is version 2.
Sun Mar 29 19:53:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* fold-const.c ({invert,swap}_tree_comparison): New functions.
(comparison_equiv_p): Deleted.
(operand_equal_for_comparison_p): New function.
(invert_truthvalue): Use invert_tree_comparison.
(fold): Use variables T1 and TEM consistently.
Don't mix arg[01] and TREE_OPERAND (t, [01]); they aren't
identical.
(fold, comparison cases): Use new functions to adjust comparison
codes; add var INVERT.
Convert f >= f to f == f for FP and similar.
Correctly compute FP <= and >= when one arg is a NaN.
Clean up handling of constant results.
(fold, case COND_EXPR): Rework considerably to catch more forms
of abs, min, max, and -abs and also clean up; use new function
operand_equal_for_comparison_p.
Sun Mar 29 00:00:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cse.c (simplify_relational_operation): Arg ptr reg may be 0.
* gcc.c: Always define R_OK, etc. if system headers don't.
* c-parse.y (maybe_attribute): Accept `mode (m)' attribute.
* c-common.c (decl_attributes): Handle that attribute.
* tower.h (REGISTER_NAMES): Discard the fpa regs.
* tower-as.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE):
Don't handle fpa regs.
(PUT_SDB_START_DIM, PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM):
New macros.
(PUT_SDB_DIM): Deleted.
* m68k.h (RTX_COSTS): Smaller multiply costs on 68040.
* stmt.c (expand_end_case): Reduce amount of specific modes
used in handling casesi.
* collect2.c (savestring): Copy only SIZE bytes of string.
* gstddef.h: Handle __need_size_t, __need_wchar_t, __need_ptrdiff_t,
and _need_null.
* c-typeck.c (digest_init): Save INIT with nops not stripped
to pass to convert_for_assignment.
Sun Mar 29 12:27:01 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
* vms.h (FUNCTION_PROLOGUE): Redefine to add 4 bytes to local
storage on the stack.
(STARTING_FRAME_OFFSET): Redefine as -4.
Sun Mar 29 19:58:57 1992 Paul Eggert (eggert@twinsun.com)
* c-decl.c (store_parm_decls): Function prototypes now override
old-style definitions if argument types disagree only because of
promotions.
Sun Mar 29 17:40:56 1992 Fred Fish (fnf at fishpond)
* fixincludes (stdlib.h): Fix free/calloc/malloc/realloc return types.
Sun Mar 29 15:12:39 1992 Ron Guilmette (rfg at ncd.com)
* sparc.c (sparc_type_code): Added this new routine.
(tree.h): Included to support `sparc_type_code'.
(output_block_move): Cleaned up code to handle assembler-specific
aspects of internal labels.
* sparc.h: (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER, LEAF_REGISTERS):
Deleted spurious semicolons.
(ASM_DECLARE_RESULT): New macro to generate the .proc directive.
(ASM_DECLARE_FUNCTION_NAME): Changed to use ASM_DECLARE_RESULT.
(ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Changed to use
ASM_GENERATE_INTERNAL_LABEL when generating jump table elements.
* svr4.h (SVR4): Don't define this symbol here. (It was never
needed, and it will be used to indicate an SVR4 *host* from now on.)
(SKIP_ASM_OP): Define this new macro.
(ASM_OUTPUT_SKIP): Use SKIP_ASM_OP.
(ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Added
new definitions appropriate for most SVR4 assemblers.
(COMMON_ASM_OP, LOCAL_ASM_OP): Define these new macros.
(ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL): Use them.
(ASM_OUTPUT_ALIGNED_LOCAL): Allocate things in common rather than
trying for the .bss section (which may not work).
(ASM_DECLARE_RESULT): Define this to do nothing (if not already
defained for target machine).
(ASM_DECLARE_FUNCTION_NAME): Add invocation of ASM_DECLARE_RESULT.
* dwarfout.c (ASM_DWARF_POP_SECTION): Renamed ASM_OUTPUT_POP_SECTION.
(PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): New macro definitions.
(SECTION_ASM_OP): Deleted. Replaced by PUSHSECTION_ASM_OP.
(ASM_OUTPUT_PUSH_SECTION, PUSHSECTION_FORMAT): New macro definitions.
(*_SECTION): New macro definitions for important section name strings.
(ASM_DWARF_*_SECTION): Deleted all macros to change to specific
sections and replaced them globally with calls to the new parameterized
ASM_OUTPUT_PUSH_SECTION macro.
Sat Mar 28 17:28:17 1992 Michael Meissner (meissner@osf.org)
* mips.h (MIPS_VERSION): Bump Meissner version # to 15.
(output_block_move): Add function defintion.
(HALF_PIC_PTR, HALF_PIC_FINISH): Provide dummy definitions.
(OPTIMIZATION_OPTIONS): Set flag_gnu_linker to FALSE, and
flag_no_cse_function to TRUE.
(CC1PLUS_SPEC): Delete -- it just passed -fno-gnu-binutils to
cc1plus.
* mips.c (block_move function): Use movstri_internal, instead of
emitting the moves directly.
(output_block_move): New function to emit the correct code for block
moving a constant amount of data.
(siginfo): Change options to ps.
* mips.md (movstrsi_internal): New block move pattern.
(movsi_ulw): Add an appropriate REG_EQUIV regnote.
(movsi_usw): Type attribute is store, not load.
* mips-gbsd.h (toplevel): Include mips-bsd.h, not mips-gbsd.h.
* mips-bsd.h (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX): Use explicit
BSD43 prefixes.
* mips-sysv.h (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX): Use explicit
System V prefixes.
* mips-svr4.h (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX): Use explicit
System V.4 prefixes.
* decstatn.h (TARGET_MEM_FUNCTIONS): Define.
Sat Mar 28 15:12:39 1992 Ron Guilmette (rfg at ncd.com)
* libgcc2.c (eprintf): Make argument types comsistant with assert.h.
(__builtin_new, __builtin_vec_new): Declare all external functions.
(default_new_handler): Use a macro for the "memory exausted" message.
* sparcv4.h: File completely replaced (with one that works).
Sat Mar 28 15:09:46 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* toplev.c (flag_gnu_linker): Default to 0 if USE_COLLECT2.
* i386.h (TARGET_SWITCHES): Add svr3-shlib.
(TARGET_SVR3_SHLIB): New macro.
* i386v.h (ASM_OUTPUT_LOCAL): Override definition here.
* Makefile.in (gcc.xtar): Update version in README.
* libgcc2.c [sparc] (__builtin_saveregs): Add optional .proc,
.type and .size assembler commands.
* dbxout.c (dbxout_type): New arg SHOW_ARG_TYPES. All calls changed.
(dbxout_type_methods): Mostly rewritten, with Tiemann's help.
* Eliminate limit on alignment value of a variable or field.
* tree.h (DECL_ALIGN): Use frame_size slot.
(struct tree_decl): `align' slot deleted.
* print-tree.c (print_node): Print `align' or `frame_size', not both.
* expr.c (get_pointer_alignment): Don't use DECL_ALIGN of function.
* c-decl.c (duplicate_decls, finish_enum): Likewise.
* tree.c (make_node): Likewise.
* c-common.c (decl_attributes): Eliminate limit of 255 on alignment.
* collect2.c: Don't include gstdarg.h or gvarargs.h.
Make error messages follow standards.
(error, fatal, fatal_perror): Don't use varargs.
Accept as many args as anyone tries to use.
* cp-decl2.c: Get rid of -fgnu-binutils.
* ns32k.h (INDIRECTABLE_ADDRESS_P): Deleted.
(GO_IF_NONINDEXED_ADDRESS): Delete dupllicate test for reg+offset.
(MEM_REG): Don't accept constant here.
(INDIRECTABLE_2_ADDRESS_P): Adapt usage of MEM_REG.
(GO_IF_INDEXING, GO_IF_INDEXABLE_ADDRESS): New macros.
(GO_IF_LEGITIMATE_ADDRESS): Use them.
Sat Mar 28 20:48:20 1992 Chip Salzenberg (chip at tct.com)
* stor-layout.c (layout_record, layout_union):
Limit effect of PCC_BITFIELD_TYPE_MATTERS to actual bitfields.
(layout_decl): Do not override a packed decl's alignment.
* c-common.c (decl_attributes): Don't expect a simple
attribute like "packed" to be in a LIST_NODE.
* c-decl.c (finish_struct): If a field has the "packed"
attribute, don't override it with type's normal alignment.
Sat Mar 28 06:51:12 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* integrate.c (initialize_for_inline): Replace DECL_INCOMING_RTL
if it has an address shared with DECL_RTL, not just when the entire
value is shared.
* rs6000.c (input_operand): Clean up and make comments agree with
code; no changes to what is matched.
* loop.c (add_label_notes): Handle operands of type 'E'.
* rs6000.c (print_operand, case 'A'): Fix typo.
Sat Mar 28 01:29:06 1992 James Van Artsdalen (james at bigtex.cactus.org)
* output.h (current_function_uses_const_pool): New declaration.
* i386.c (function_{prologue,epilogue}, simple_386_epilogue):
If the constant pool is used, the PIC reg will be used.
* expr.c (expand_builtin): Add support for named pattern strlenM.
* expr.h (strlen_optab): New declaration.
* optabs.c (init_optabs): Initialize strlen_optabs.
* i386.md (strlensi): New pattern.
Fri Mar 27 12:11:03 1992 Fred Fish (fnf at fishpond)
* fixinc.svr4 (dbm.h): Fix unconditional redefinition of NULL
* config.sub: Add i486 as a distinct CPU type. Recognize i486v4
as distinct from i386v4. Change ncr3000 to i486.
* configure: Add i486-ncr-sysv4.
* config/x-ncr3000: New file.
Fri Mar 27 18:44:45 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* fold-const.c (twoval_comparison_p, eval_subst): New functions.
(fold): If an operand of a comparison is a COMPOUND_EXPR, move
it outside the comparison.
(case GT_EXPR, ...): Replace old code to fold comparisons
of comparisons with new code using new functions above.
When changing code of unsigned comparisons, set variable CODE.
* expr.c (get_inner_reference): Return BLKmode and -1 size for a
variable-sized object instead of aborting.
(do_jump, case COMPONENT_REF): If get_inner_reference returns a
size of -1, don't do anything special.
* fold-const.c (optimize_bit_field_compare, decode_field_reference):
Likewise.
* combine.c (reg_bitfield_target_p): Replace test with one that
compares the register number of X with that of a register which
is the target of the assignment.
* loop.h (struct_induction): New field maybe_multiple.
* loop.c (strength_reduce): Track when code may be executed more
than once per iteration; pass to record_biv.
Call update_giv_derive on every JUMP_INSN.
(record_biv): Copy new maybe_multiple arg to struct induction.
(record_giv): Clear maybe_multiple.
(update_giv_derive): If passing JUMP_INSN, look at maybe_multiple
in biv update.
* expr.c (expand_expr, case MODIFY_EXPR): Add missing call to
do_pending_stack_adjust.
* rs6000.h (OBJECT_FORMAT_COFF): Add definition.
Fri Mar 27 15:58:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-typeck.c (check_format): If arg wants void *, accept any ptr.
* ns32k.md (CALL_MEMREF_IMPLICIT, MOVD_FLOAT_OK):
New parameters replace GAS_SYNTAX.
* pc532.h (CALL_MEMREF_IMPLICIT, MOVD_FLOAT_OK): Define both.
* sequent.h (CALL_MEMREF_IMPLICIT): Defined.
* sequent.h (INDEX_RATHER_THAN_BASE): Defined.
* ns32k.c (print_operand_address): Check it here.
* ns32k.c (print_operand_address): Treat all non-ints as symbolic.
(print_operand): Likewise. Also fix typo, use PUT_ABSOLUTE_PREFIX,
and test NO_ABSOLUTE_PREFIX_IF_SYMBOLIC.
* svr4.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
Output newline after section op.
* i860v3.h (DTORS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP):
Delete newlines.
* Makefile.in (clean): Don't delete stage*.
(distclean): Do it here.
(extraclean): Delete config/patch*.
* Makefile.in (SYSCALLS.c): Target deleted.
(SYSCALLS.c.X): Create SYSCALLS.c and use it in one rule. Delete also.
* Makefile.in (ld): New target.
* t-* (ld, collect2*): Targets deleted.
(EXTRA_PROGRAMS): Moved ld here if it was in EXTRA_PASSES.
(EXTRA_PASSES): Delete ld.
* gcc.c, cccp.c: Don't include sys/file.h.
* fold-const.c (operand_equal_p): Floats must match bit for bit.
* gcc.c (link_command_spec): Put back -u*.
Fri Mar 27 11:33:46 1992 Simon J. Gerraty (sjg@melb.bull.oz.au)
* configure (m68k-bull-sysv*): Added config for Bull DPX/2
* dpx2.h, dpx2g.h: New files.
* x-dpx2200, x-dpx2300, t-dpx2: New files.
* gstddef.h: Added _SIZET_ to the list of protection for size_t
Fri Mar 27 14:47:47 1992 Paul Eggert (eggert@twinsun.com)
* c-typeck.c (convert_arguments): -Wconversion wrongly warned when
passing enums, and didn't warn about int precision mismatches.
* fold-const.c (fold): If IEEE, 0-x is not x.
* cse.c (simplify_unary_operation): fabs(-0.0) is 0.0, not -0.0.
* fold-const.c: Replace target_minus_zero with target_negative.
(fold_convert): Warn when converting NaN constants to integer.
(fold): fabs(-0.0) is 0.0, not -0.0. 0-x may not equal -x.
Do not optimize X++ == C to ++X == C+1 if C is floating point,
because it runs afoul of rounding error.
* real.h (REAL_VALUE_NEGATIVE): Add.
Fri Mar 27 09:19:11 1992 Tom Wood (wood@dg-rtp.dg.com)
* m88k.c (emit_move_sequence): Check the size required for a zero
constant.
* varasm.c (const_hash, compare_constant_1, record_constant_1):
For constructor of an array, include the size of the array in bytes.
Fri Mar 27 09:09:53 1992 Michael Meissner (meissner@osf.org)
* t-decstatn (ALL): Remove variable.
* t-decrose (ALL): Ditto.
* t-i386rose (ALL): Ditto.
* t-encrose (ALL): Ditto.
Fri Mar 27 17:51:32 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* rs6000.c (first_reg_to_save): When profiling, save space for the
argument registers, which need to be saved around the mcount call.
(output_prolog): Mark the link register as live when profiling.
(output_function_profiler): New function. Output code to call
mcount.
* rs6000.h (LIB_SPEC): Replace incorrect definition. Add
-L/lib/profiled and -L/usr/lib/profiled when profiling, -lg when
debugging, and -lc always.
(OVERRIDE_OPTIONS): No longer zero profile_flag.
(FUNCTION_PROFILER): Call output_function_profiler.
* .gdbinit (complaints): Set to 20.
(pbs): New command to call the cc1plus print_binding_stack function.
* calls.c (expand_call): Delete obsolete references to is_builtin_new.
* Makefile.in (Makefile): Add dependence on version.c.
Thu Mar 26 19:21:00 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.md (fixuns_truncMN2,fix_truncMdf2): Make a copy of the input
operand and clobber that, rather than clobbering the operand itself.
Thu Mar 26 18:06:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* protoize.c (shortpath): Add early check of size of shortname.
* expr.c (do_jump): Adjust stack after any code that might be skipped.
Thu Mar 26 06:37:35 1992 Michael Meissner (meissner@osf.org)
* mips.c (toplevel): If NO_STAB_H is defined, include gstab.h
instead of stab.h.
Thu Mar 26 02:21:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (STAGESTUFF): Add EXTRA_PROGRAMS.
* configure: Reorder mips alternatives; put mips-mips-* at end.
* sparc.h (FRAME_POINTER_REQUIRED): 0 if frame is too big.
* sparc.c (compute_last_frame_offset): New function.
Wed Mar 25 21:17:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* genattrtab.c (check_attr_test): Use XSTR instead of XEXP in one
place.
* genextract.c (mark_operand_seen): Call xrealloc properly.
Wed Mar 25 17:05:56 1992 Torbjorn Granlund (tege at zevs.sics.se)
* hp800.c (srcsi_operand): New function.
* hp800.md (mulsi, divsi, udivsi, modsi, umodsi): Use srcsi_operand
for inputs.
(mulsi): Use general_operand for output.
(one_cmplsi2): Use register_operand for output.
Wed Mar 25 15:50:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* m68k.md (fsgldiv pattern): If FSGLDIV_USE_S, opcode has .s, not .x.
* amix.h (FSGLDIV_USE_S): Defined.
* xm-rs6000.h (REAL_NM_FILE_NAME): Defined.
* x-i386sco (CCLIBFLAGS): Define as empty.
Wed Mar 25 16:52:53 1992 Michael Meissner (meissner at osf.org)
* collect2.c (OSF/rose scan_prog_file): If we are building a
program instead of a shared library, don't create an initializer
function entry.
Tue Mar 24 04:00:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Version 2.1 released.
* xcoffout.h: Renamed from xcoff.h.
* dbxout.c, final.c, toplev.c, varasm.c, xcoffout.c: Use new name.
* Makefile.in: Corresponding changes.
* dbxout.c (dbxout_type): Don't check DECL_IGNORED_P.
* t-rs6000: Complete replacement, to build collect2 properly.
* Makefile.in (mostlyclean): Delete sorted indices that aren't used.
(extraclean): Delete patch outputs, *.d, *.Z, *.tar.
* Makefile.dos (getpwd.o): New target.
(OBJS, protoize, unprotoize): Add getpwd.o.
(SYSCALLS.c, SYSCALLS.c.X): Copy from Makefile.in.
Tue Mar 24 06:26:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* cse.c (cse_insn): When deleting dead code after
making unconditional branch, check for end of chain.
* sched.c (update_flow_info): Add code for REG_LABEL case.
* function.c (instantiate_virtual_regs_1): Don't modify a MEM
without copying it unless the modified MEM is valid.
* cse.c (rtx_cost): Assign ASM_OPERANDS a high cost.
Tue Mar 24 05:48:25 1992 Ken Raeburn (raeburn@wombat.gnu.ai.mit.edu)
* cp-*: Disabled 22 March changes relating to dbxout.c; the problem
will be fixed properly, with more extensive reworking of the C++
front end, later. This fix was buggy.
* dbxout.c (dbxout_type_methods): Reverted 22 March changes; if a
template class is passed, print a warning message and emit no info
about methods.
Mon Mar 23 14:18:30 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
* make-cc1.com: Add getpwd.c.
Mon Mar 23 12:53:02 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi)
* pc532-min.h (HAVE_ATEXIT): Defined.
* ns32k.c (print_operand) [PC_RELATIVE]:
Always use output_address for MEM.
* pc532.h (BASE_REG_NEEDED): Defined.
Mon Mar 23 07:28:14 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* combine.c (try_combine): Correct error in last change; don't
pass STRICT_LOW_PART or ZERO_EXTRACT to reg_overlap_mentioned_p.
* sun3.h (CPP_SPEC): Delete extra brace.
Mon Mar 23 02:43:56 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu)
* cp-decl.c (pop_from_top_level): Take care of C_C_D.
Sun Mar 22 17:24:09 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* pyr.h: Remove TARGET_INDEX. Update other TARGET switches.
Fix several comments.
(REGNO_OK_FOR_BASE_P): Allow reg 0.
(REGNO_OK_FOR_INDEX_P): Reformulate.
(REG_OK_FOR_INDEX_P): Disallow reg 0.
Sun Mar 22 15:10:49 1992 Michael Meissner (meissner@osf.org)
* mips-tfile.c (mark_stabs): Make function defintion agree with
prototype.
* mips.md (cpu, branch_likely attributes): Make these attributes
const.
(all functional units): Restore functional units that look at the
-mcpu= switch for scheduling now that genattrtab uses less memory.
Sun Mar 22 13:57:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-typeck.c (convert_for_assignment):
Only explicit 0 converts to pointer.
* Makefile.in (doc): Don't depend on gplus.info.
(gplus.info): Target deleted.
* c-decl.c (store_parm_decls): Call build_type_copy with just one arg.
* cccp.c (do_include): Use entire filename when checking for repeat.
Use lookup_include.
(lookup_include): New function.
* protoize.c (find_extern_def): Store ??? one char at a time.
* sparc.h (ASM_OUTPUT_FLOAT): Fix typo.
* fold-const.c (operand_equal_p): Reject NaNs and infinities.
* varasm.c (immed_real_const): Distinguish minus zero from zero.
* sparc.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT):
Use `inf' for infinities. Use hex for minus-zero.
* objc-actions.c (build_selector_translation_table):
Don't make a duplicate decl here for _OBJC_SELECTOR_REFERENCES.
Just call finish_decl to store the initial value.
Call push_obstack_nochange to balance with finish_decl.
Use selector_type for declaring individual selector names.
Sun Mar 22 13:11:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* loop.c (update_giv_derive): Correctly handle the case where
more than one biv update occurs after a giv is defined.
* cse.c (rehash_using_reg): Add missing arg to call to exp_equiv_p.
* expmed.c (expand_mult_add): Add missing arg to call to type_for_mode.
* reorg.c (fill_slots_from_thread): In the case where have a reg-reg
copy and will substitute our destination for our source in the
following insn, correctly check for it modifying our destination.
Sun Mar 22 09:20:16 1992 Michael Tiemann (tiemann@cygnus.com)
* cp-typeck.c (unary_complex_lvalue): Don't complain about taking
the ``address'' of a bound static method or member.
* cp-init.c (resolve_offset_ref): Fix bug in handling of static
members and member functions.
* cp-decl2.c (finish_file): If CURRENT_CLASS_TYPE is non-NULL on
entry to this function, punt.
* cp-parse.y (template_parm): Use CLASS_TYPE_NODE instead of
CLASS_TYPE value.
* cp-cvt.c (build_type_conversion): Add another add-hoc rule to find
unsigned->int conversion (if conversion to long does not exist).
* cp-method.c (build_overload_name): Don't call `array_type_nelts'
if the TYPE_DOMAIN of an array type is NULL_TREE.
* cp-init.c (build_offset_ref): Set up and use DECL even in case
where NAME resolves to a method.
* cp-call.c (ideal_candidate): Half of Jan 28 change was missing.
Now PARMS are not converted in place if BASETYPE is NULL.
* cp-typeck.c (build_component_ref): Don't return a TYPE_DECL.
* cp-type2.c (build_functional_cast): If CURRENT_FUNCTION_DECL is
NULL, don't wrap EXPR_AS_CTOR in a NEW_EXPR. This make it possible
to parse default initializers that involve constructor calls.
* cp-typeck.c (convert_for_initialization): Handle this change.
* cp-method.c (dump_init): Grok INDIRECT_REFs that have
TREE_HAS_CONSTRUCTOR set.
* cp-decl.c (push_overloaded_decl): Don't use the
DECL_ASSEMBLER_NAME for GLOB as the TREE_PURPOSE of the new GLOB.
Use ORIG_NAME instead.
* cp-decl.c (grokvardecl): If FIELD has incomplete type, complete it
with TYPE.
* cp-decl2.c (flag_this_is_variable): Define the value -2 to mean an
object of known type is being constructed.
* cp-decl.c (resolves_to_fixed_type_p): Test FLAG_THIS_IS_VARIABLE
for the value -2 instead of testing DECL_CONSTRUCTOR_P in case we
are looking at `current_class_decl'.
* cp-search.c (init_vbase_pointers): Set FLAG_THIS_IS_VARIABLE to -2
instead of 0.
(build_vbase_vtables_init): Ditto.
* cp-*.c: All tests of FLAG_THIS_IS_VARIABLE changed to reflect the
new semantics.
* cp-typeck.c (comptypes): Don't use IS_AGGR_TYPE_2; test explicitly
that both are RECORD_TYPE.
(build_binary_op_nodefault): Ditto.
(convert_for_assignment): Ditto.
* cp-cvt.c (convert_to_pointer): Ditto.
(convert_to_pointer_force): Ditto.
* cp-call.c (convert_harshness): Ditto.
* cp-search.c (get_first_matching_virtual): Fix typo.
* cp-tree.c (layout_basetypes): When warning about certain
inheritance relationships, only print "virtual" when the
inheritance is virtual.
Sun Mar 22 01:28:41 1992 Ken Raeburn (Raeburn@Cygnus.COM)
Fix dbx info for methods of template classes:
* cp-decl.c (make_type_decl): New function. Creates a TYPE_DECL
node and assigns as its DECL_ASSEMBLER_NAME the encoded form of the
type name as it will be used in assembler output. All calls to
build_decl(TYPE_DECL,...) changed to call this.
* dbxout.c (dbxout_type_methods): Instead of skipping digits and
assuming the human-readable type name follows in the assembler names
for methods, use DECL_ASSEMBLER_NAME of the type.
Handle the special DECL_NAME that is made for templates.
* cp-lex.c (build_lang_field_decl): Set DECL_ASSEMBLER_NAME
correctly if new decl is a TYPE_DECL.
(build_lang_decl): Ditto.
* cp-decl.c (pushdecl): Use DECL_ASSEMBLER_NAME only for
FUNCTION_DECL and VAR_DECL nodes; all others use DECL_NAME.
* cp-tree.h (make_type_decl): Declare it.
* cp-pt.c (overload_template_name, undo_template_name_overload):
Revert 4 March change.
* cp-decl2.c: No longer define NEW_OVERLOAD_SCHEME.
(grokfield): Use new encoding scheme always.
* cp-pt.c (overload_template_name): Deleted extra assignment to
IDENTIFIER_LOCAL_VALUE slot.
* cp-method.c (dump_aggr_type): Use DECL_CONTEXT rather than
DECL_CLASS_CONTEXT.
* cp-pt.c (instantiate_class_template): Move some common code from
two branches to before branch point.
* cp-method.c (dump_aggr_type): Don't discard last character of
context string; it's not whitespace.
Sun Mar 22 15:58:48 1992 Per Bothner (bothner@rtl.cygnus.com)
* cp-tree.h: Add more enum->int casts needed by some compilers.
Sun Mar 22 20:40:25 1992 Mike Stump (mrs@cygnus.com)
* cp-typeck.c (build_modify_expr): Handle preincrement and
predecrement as valid lvals.
* gplus.gperf: Finish off changing ASM to ASM_KEYWORD.
* cp-hash.h: Rebuilt.
Sat Mar 21 15:43:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-typeck.c (build_c_cast): Don't warn if convert explicit 0 to ptr.
* local-alloc.c (wipe_dead_reg): If insn has multiple sets and
the reg appears in a destination, extend life to end of insn.
* global-alloc.c (global_conflicts): Analogous change.
(mark_reg_conflicts): New function.
* combine.c (try_combine): If I2 has multiple dests, make sure
we don't change one of them to overlap anything used within another.
* configure (pyramid): Commented out.
* toplev.c (main): Handle -gen-aux-info, with argument.
(compile_file): Assume aux_info_file_name already computed.
Don't make it local here.
* protoize.c (munge_compile_params): Produce -aux-info.
Set aux_info_file_name_index.
(gen_aux_info_file): Produce and store the aux-info file name.
(input_file_name_index): Renamed from filename_index.
(aux_info_file_name_index): New var.
* Makefile.in (SYSCALLS.c.X): Use -aux-info.
* gcc.c, hp800.h, next.h, sparc.h, sun2.h, sun3.h, svr4.h:
(WORD_SWITCH_TAKES_ARG): Handle -aux-info.
* gcc.c (default_compilers): Pass -aux-info to cc1*.
* configure (mips-*-sysv*): Renamed from mips-*-sysv and moved down.
* gcc.c (execute): Undo Mar 12 change.
* configure (i386-*-bsd*): New alternative.
* i386bsd.h: New file.
Sat Mar 21 15:14:08 1992 Ron Guilmette (rfg at ncd.com)
* sparc.c (output_move_double): Check for XEXP (op2, 0) being a
LOW_SUM, rather than checking op2. Handle both ldd and std there.
Sat Mar 21 14:14:10 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
* vms.h (CPP_PREDEFINES): Do not define __GNU__.
Sat Mar 21 21:35:37 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi)
* ns32k.md (call_value): Added a missing "{".
* ns32k.c (print_operand): Fixed typo X -> x, FILE -> file.
Sat Mar 21 11:11:04 1992 Michael Meissner (meissner@osf.org)
* mips.h (MIPS_VERSION): Bump Meissner version # to 14.
(CPP_PREDEFINES): Always define SYSTYPE_BSD43.
(CPP_SPEC): Don't define it here.
(ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to MIPS assembler,
and only pass -nocpp by default unless .s files are assembled for
MIPS compatibility.
(LINK_SPEC): Pass -mips1/-mips2/-mips3 to MIPS linker.
(MD_STARTFILE_PREFIX): Define to be /usr/lib/cmplrs/cc/ if not
already defined.
(NM_FLAGS): Define as appropriate for most MIPS systems.
(PREFERRED_DEBUGGING_TYPE): If -ggdb prefer stabs over the normal
ECOFF debug format, but -g selects ECOFF.
(DEFAULT_GDB_EXTENSIONS): Define as 1.
(DOLLARS_IN_IDENTIFIERS): Don't define if already defined.
* mips.c (mips_output_filename): If emitting encapsulated stabs,
emit #@stabs immediately after the first .file, so that the @stabs
is the second symbol. GDB 4.4 only checks symbol #2 to see whether
it is encapsulated stabs, or ECOFF.
* mips.md (subdi define_splits): Use ltu instead of lt.
(branch_zero_true): Generate correct code when not optimizing, and
an always true/false branch is generated.
(branch_zero_false): Ditto.
* mips-bsd.h (CPP_PREDEFINES): Always define SYSTYPE_BSD43.
(CPP_SPEC): Don't define it here. Remove -Z{BSD43,SYSV} support.
Don't pass -I in here.
(SYSTEM_INCLUDE_DIR): Define to be /bsd43/usr/include.
(LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. Remove
-Z{BSD43,SYSV} support. Always pass -systype /bsd43/ to the linker.
* mips-sysv.h (CPP_PREDEFINES): Always define SYSTYPE_SYSV.
(CPP_SPEC): Don't define it here. Remove -Z{BSD43,SYSV} support.
Don't pass -I in here.
(SYSTEM_INCLUDE_DIR): Define to be /sysv/usr/include.
(LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. Remove
-Z{BSD43,SYSV} support. Always pass -systype /sysv/ to the linker.
(MD_STARTFILE_PREFIX): Remove, this is now defined in mips.h.
* mips-news.h (CPP_SPEC): Don't pass -I in here.
(SYSTEM_INCLUDE_DIR): Define to be /usr/include2.0.
(ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to MIPS assembler,
and only pass -nocpp by default unless .s files are assembled for
MIPS compatibility.
(LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker.
* mips-news5.h (CPP_PREDEFINES): Define SYSTYPE_SYSV.
(CPP_SPEC): Don't define it here. Remove -Z{BSD43,SYSV} support.
Don't pass -I here.
(LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker.
* iris.h (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to MIPS
assembler, and only pass -nocpp by default unless .s files are
assembled for MIPS compatibility.
(LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker.
* iris.h (DOLLARS_IN_IDENTIFIERS): Define as 0, for iris assembler.
(NO_DOLLAR_IN_LABEL): Define, to force static constructors to use a
period instead of a dollar sign.
* decstatn.h (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to
MIPS assembler, and only pass -nocpp by default unless .s files are
assembled for MIPS compatibility.
(LINK_SPEC): Pass -mips1/-mips2/-mips3 to the MIPS linker.
* decsrose.h (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to
MIPS assembler, and only pass -nocpp by default unless .s files are
assembled for MIPS compatibility.
(LINK_SPEC): Pass -mips1/-mips2/-mips3 to the MIPS linker.
* Makefile.in (collect2.o): Define macros where the standard places
binaries are installed, so that if it is invoked outside of gcc, it
has a better chance of finding the correct version of the tools to
invoke.
* mips-tdump.c (toplevel): Declare things void * on Silicon Graphics.
* mips-tfile.c (toplevel): Declare things void * on Silicon
Graphics.
(stabs_seen): Move static variable to file scope.
(mark_stabs): New function to put out the @stabs symbol for GDB to
switch to encapsulated stabs.
(pseudo_ops): Call mark_stabs if #@stabs found.
(parse_stabs_common): Call mark_stabs if needed to add @stabs.
* sdbout.c (sdbout_dequeue_anonymous_types): Don't core dump if
TREE_VALUE is null.
* decstabs.h (new file): DECstation w/encapsulated stabs.
* irisgdb.h (new file): SGI iris w/encapsulated stabs.
* mips-gbsd.h (new file): Mips BSD43 w/encapsulated stabs.
* mips-gdb.h (new file): Mips w/encapsulated stabs.
* mips-gnews.h (new file): Sony NEWS w/encapsulated stabs.
* mips-gnews5.h (new file): Sony NEWS 5.0 w/encapsulated stabs.
* mips-gsvr4.h (new file): Mips SV.4 w/encapsulated stabs.
* mips-gsysv.h (new file): Mips SV.3 w/encapsulated stabs.
* mips-svr4.h (new file): Mips System V.4.
* x-iris (new file): Specify that iris needs alloca.o since it's
alloca is buggy.
* dbxout.c (toplevel): If NO_STAB_H is defined, include gstab.h just
like if USG is defined.
* final.c (toplevel): Ditto.
* mips-tfile.c (toplevel): Ditto.
* xcoffout.c (toplevel): Ditto.
* xm-mips.h (NO_STAB_H): Define, except on OSF/1.
Fri Mar 20 23:51:54 1992 James Van Artsdalen (james at bigtex.cactus.org)
* reg-stack.c (subst_asm_stack_regs): A REG_UNUSED note never
applies to an input reg, even if that reg is tied to an output.
* reg-stack.c (record_asm_reg_life): Use XVECLEN only on a PARALLEL.
(subst_asm_stack_regs): Likewise.
Fri Mar 20 18:57:43 1992 Michael Meissner (meissner@osf.org)
* mips.h (MIPS_VERSION): Bump Meissner version # to 13.
(mips_declare_object): Declare new function.
(ASM_OUTPUT_LABEL): Remove cruft from when collect spit out assembly
language instead of C code.
(ASM_GLOBALIZE_LABEL): Ditto.
(ASM_OUTPUT_INT): Ditto.
(ASM_OUTPUT_INT_CONST): Remove, no longer used.
(ASM_OUTPUT_PTR_INT_SUM): Ditto.
(ASM_OUTPUT_LABEL): Don't set that we've seen an identifier here.
(ASM_DECLARE_OBJECT_NAME): New macro, call mips_declare_object to
emit the label, and mark that no .extern is needed for the name.
(ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Call mips_declare_object.
* mips.c (mips_declare_object): New function to output the stuff
needed for global variables, bss variables, and static bss
variables.
Fri Mar 20 14:13:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cp-xref.c (GNU_xref_file): Get rid of arbitrary limit--malloc nmbuf.
* cp-parse.y (scoped_id): Error if spec'd type is undefined.
* m68k.c (output_function_epilogue): Output at least a nop.
* xm-hp320.h (USG): Defined.
* m68k.c (output_function_prologue, output_function_epilogue):
Change %I to %0I.
(print_operand): Likewise.
* varasm.c (data_section): Add forward decl.
* m68k.c (print_operand): Make %! print fpcr.
* crds.h, hp320.h, mot3300.h, news.h, tower-as.h (PRINT_OPERAND):
Likewise.
* m68k.md (fix_trunc*): Use %!.
* toplev.c (compile_file): Optionally call setvbuf for output file.
* loop.c (move_movables): Fix typo.
Fri Mar 20 17:42:12 1992 Paul Eggert (eggert@twinsun.com)
* Makefile.in (SYSCALLS.c): Use `cat' to create this file, instead
of having it consist of `#include' directives.
(mostlyclean): Delete SYSCALLS.c.
* SYSCALLS.c: File deleted.
* getpwd.c (new file): Get and cache working directory, using PWD
if it works and getcwd otherwise.
* Makefile.in (OBJS, protoize): add getpwd.o
* cp-xref.c (GNU_xref_file): Likewise.
* dbxout.c (dbxout_init): Likewise.
* dwarfout.c (output_compile_unit_die): Likewise.
* protoize.c (main): Likewise.
Fri Mar 20 12:58:57 1992 Ron Guilmette (rfg at ncd.com)
* dwarfout.c (location_or_const_value_attribute): Fixed to use
DECL_INCOMING_RTL as the "location" for formal parameter variables.
Fri Mar 20 13:26:16 1992 Michael Collison (collison@osf.org)
* i386rose.h (INIT_SECTION_ASM_OP): OSF doesn't support a true
initialization section.
Fri Mar 20 07:23:15 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88k.md (set zero_extract patterns): Use the + constraint.
* crtstuff.c (__do_global_ctors_aux): Declare it.
* m88k.h (CONDITIONAL_REGISTER_USAGE): Mark the PIC register fixed,
but not call used.
* m88k.c (m88k_builtin_saveregs): Get a properly aligned block.
* m88k.md (cpu attribute): Use const form.
* m88k.h, m88k.c, m88kdgux.h (uses of *_ASM_OP): Add tabs.
Fri Mar 20 05:46:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* expmed.c (emit_store_flag): Need to prevent SUBTARGET from being
OP0 in one more case.
* loop.c (add_label_notes): New function.
(move_movables): Use it when hoisting a `move_insn' movable
to ensure we create any required REG_LABEL notes.
* hp800.h (CONDITIONAL_REGISTER_USAGE): Make reg 27 a global_reg
for now.
* combine.c (make_field_assignment): Use correct mode when shifting
the source of the assignment.
* fold-const.c (invert_truthvalue): Correct error in last change.
Thu Mar 19 18:59:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* stmt.c (expand_end_case): Convert do_tablejump arg to Pmode.
Thu Mar 19 16:54:15 1992 Michael Meissner (meissner@osf.org)
* collect2.c (main): Only pass -fxxx and -mxxx options to gcc when
building constructors.
Thu Mar 19 16:44:21 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* fold-const.c (invert_truthvalue): Correctly check for floating
comparison.
Thu Mar 19 14:42:49 1992 Tom Wood (wood at dg-rtp.dg.com)
* function.c (expand_main_function): Do so if INVOKE__main is defined.
* libgcc2.c (__main): Provide if INVOKE__main is defined.
* crtstuff.c (__do_global_ctors_aux): Renamed from __do_global_ctors.
(__do_global_ctors): Simple non-static function that invokes
__do_global_ctors_aux.
* crtstuff.c ({CTOR,DTOR}_LIST_{BEGIN,END}): Allow alternate way
to represent and define __{CTOR,DTOR}_LIST__.
* i386v.h, aix386.h (CTOR_LIST_{BEGIN,END}): Use these to push
instead of the funny definition of CTORS_SECTION_ASM_OP.
* svr3.h (CTORS_SECTION_ASM_OP): Use the .init section.
* m88kv3.h (CTOR_LIST_BEGIN): Emit code to .init to push a zero.
(CTOR_LIST_END): Do nothing.
(ASM_OUTPUT_CONSTRUCTOR): Emit code to .init to push the address.
(DTOR_LIST_{BEGIN,END}): Output a block of four words.
(ASM_OUTPUT_DESTRUCTOR): Output the address and three words of -1.
(DO_GLOBAL_DTORS_BODY): Ignore all values of -1.
* real.h (REAL_VALUE_ISNAN): Define.
* fold-const.c (target_isnan): New function.
* sun3.h, sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE}): Use REAL_VALUE_ISNAN.
* sun3.h: Delete extra #endif.
Thu Mar 19 14:25:50 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* hp800.c (output_move_double): Don't check for CONST_DOUBLE
when classifying operand types, CONSTANT_P now includes it.
Use split_double to assign operand vectors for CNSTOP.
Thu Mar 19 13:59:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* hp320.h (SPACE_AFTER_L_OPTION): Defined.
(LIB_SPEC): Defined.
* toplev.c (compile_file): Output aux_info_file in source file's dir.
Wed Mar 18 17:42:12 1992 Paul Eggert (eggert@twinsun.com)
* c-aux-info.c (gen_aux_info_record): Don't put the absolute path
name into the output file: it's useless, expensive, and often wrong.
Use "." instead.
* protoize.c (is_syscalls_file): Look for SYSCALLS.c only at the
end of the file name.
(abspath): Remove useless test of '\0' versus '/'. Add apollo fix.
(shortpath): Stop when replacement filename is longer than the
original; this avoids buffer overrun. Do not pretend that
`a/b/c' is a path prefix of `a/b/cd'.
(gen_aux_info_file): Report errors when compilation fails.
Do not use stdio in child process.
Don't say `exit(errno)'; errno might be too large.
(process_aux_info_file): Increment error count if aux info file cannot
be generated. Allow the invocation filename to be relative;
for now, it will always be ".".
(do_processing): Replace strlen (x) with sizeof (x) - 1.
Thu Mar 19 13:31:24 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* cse.c (simplify_binary_operation, PLUS and MINUS cases): Use
arg0s and arg1s instead of arg0 and arg1, so that resulting values
will be sign extended.
* sched.c (sched_analyze_1): Don't call sched_analyze_2 at the end.
This code was never executed, and is wrong.
(sched_analyze_2): Convert from if statements to a switch.
Add support for PRE_DEC/PRE_INC/POST_DEC/POST_INC; pass them to
sched_analyze_1 because they are writes.
(sched_analyze_insn): Delete special case code to handle REG_INC
notes, obsoleted by change above.
* sparc.c (output_block_move): Rewrite to more efficiently handle
constant length strings whose length is not a multiple of their
alignment. Also, the length of strings handled without a loop now
is a multiple of their alignment, instead of fixed size.
* objc-actions.c (build_selector_translation_table): Add cast for
array index from enum to int to satisfy old compiler.
* c-parse.gperf: Change ASM to ASM_KEYWORD.
* gplus.gperf: Likewise.
* Makefile.in (install-man): Delete duplicate lines.
Thu Mar 19 02:32:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-decl.c (init_decl_processing): Disable `sqrt'.
Thu Mar 19 01:09:16 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.c (output_move_double): Properly check for signedness in a
const_double.
Wed Mar 18 18:51:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gcc.c (link_command_spec) [not LINK_LIBGCC_SPECIAL]: Put back -s.
* config.sub (i486): Accept as CPU type.
* collect2.c (do_wait): Handle NO_SYS_SIGLIST.
* xm-hp320.h (NO_SYS_SIGLIST): Defined.
Wed Mar 18 15:58:31 1992 Tom Wood (wood at dg-rtp.dg.com)
* crtstuff.c, dwarfout.c, svr3.h, svr4.h (*_ASM_OP): Remove tabs
and newlines.
* dwarfout.c, svr3.h, svr4.h
(ASM_OUTPUT_*, ASM_DECLARE_*, ASM_DWARF_*): Put tabs here when needed.
Wed Mar 18 17:26:44 1992 Ron Guilmette (rfg at ncd.com)
* svr4.h (MULTIBYTE_CHARS): Added definition.
Wed Mar 18 17:36:30 1992 Michael Meissner (meissner@osf.org)
* gcc.c (collect_obstack): New static obstack to build the
environment variables to pass to collect, so that it can reliably
find the compiler passes.
(putenv): New function to add a variable to the environment.
Stubbed out for MSDOS and VMS at present, or if HAVE_PUTENV is
defined.
(putenv_from_paths): New function to take a path list, and build
the corresponding environment variable for it.
(main): Pass argv[0] to collect through the environment variable
COLLECT_GCC. Rebuild the COMPILER_PATH and LIBRARY_PATH
environment variables to include all prefixes specified with -B,
-b, and -V. Construct COLLECT_GCC_OPTIONS environment variable to
consist of all of the options passed to gcc, except for the -B,
-b, and -V options.
* collect2.c (main): Correctly size the number of arguments passed
to the compiler when building the constructor lists to account for
any options passed through the environment variable
COLLECT_GCC_OPTIONS. If the environment variable COLLECT_GCC
specifies a full pathname, use that for the pathname to invoke gcc
with. Print the name "collect2" in lowercase if -v.
* xm-mips.h (HAVE_PUTENV): Define if OSF/1.
Wed Mar 18 07:27:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* hp800.c (actual_fsize): Remove duplicate declaration.
(profile_flag): Remove definition; defined in flags.h.
(hp_profile_labelno, local_fsize, save_fregs): Move declarations to
top of file.
* hp800.h (OPTIMIZATION_OPTIONS): Do same thing as Sparc.
* combine.c (reg_bitfield_target_p): Use rtx_equal_p instead of
assuming the actual rtx is used.
Wed Mar 18 00:20:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gstddef.h: Handle _GCC_PTRDIFF_T, _GCC_SIZE_T, _GCC_WCHAR_T.
* fixincludes: Use those macros in inserted conditionals.
* gstddef.h: Handle _T_SIZE_ and _T_PTRDIFF_, like _T_WCHAR_.
* sun3.h (CPP_SPEC): Delete the alternative for fpa as default.
Define symbols with __ as well as without.
* hp320.h (LINK_LIBGCC_SPECIAL, RELATIVE_PREFIX_NOT_LINKDIR):
Define unless USE_GAS.
Tue Mar 17 17:19:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* fixincludes (making directories): Always use find.
* c-decl.c (pushdecl): Don't warn if define nonansi builtin as static,
or if define ANSI builtin as inline static.
* hp800hpux.h (LINK_LIBGCC_SPECIAL, RELATIVE_PREFIX_NOT_LINKDIR): New.
* fixinc.svr4: Special changes for Sony MIPS-NEWS.
Tue Mar 17 15:12:57 1992 Tim Moore (moore@defmacro.cs.utah.edu)
* hp800.h (INITIAL_FRAME_POINTER_OFFSET): Get sign right, include
fixed area.
Tue Mar 17 14:06:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (all.indirect): Renamed from all-internal.
* t-mips (ALL): Deleted.
Tue Mar 17 10:35:18 1992 Michael Meissner (meissner@osf.org)
* halfpic.c (half_pic_address_p): Fix typo in last change.
* x-decrose (CLIB): Add -lbsd, since vfork moved to libbsd.a.
* x-encrose (CLIB): Ditto.
* x-i386rose (CLIB): Ditto.
Tue Mar 17 07:02:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* mips.md (movdi): FP_REGS don't allow DImode, so remove them
from the constraints.
* mips.md (unaligned moves): Use UNSPEC to distinguish SETs that are
unaligned from those that aren't.
* combine.c (try_combine): Update LOG_LINKS correctly when we split a
PARALLEL that loads from memory both as a full-word and sign-extended.
Tue Mar 17 21:23:10 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
* vax.c (split_quadword_operands): Fix typo.
* make-cc1.com: Add xcoffout.c.
Mon Mar 16 17:12:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* configure (mips-dec-ultrix*): Use x-decstatn.
* x-decstatn (CLIB): Delete.
* expr.c (move_by_pieces_1): Add negative ints--don't subtract ints.
* next.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Turned off.
* t-next (EXTRA_PROGRAMS, ld): Use collect2.
* configure (m68k-next-*): Use t-next.
* mips-bsd.h (TARGET_MEM_FUNCTIONS): Defined.
Mon Mar 16 14:04:08 1992 Tim Moore (moore@defmacro.cs.utah.edu)
* hp800.md (movsi + 10, movsi + 11): Add '*' to constraints.
(fix_truncsfsi2, fix_truncdfsi2): Add an alternative to put result
directly in a general register.
* hp800.h (ASM_DECLARE_FUNCTION_NAME): If function is not
TREE_PUBLIC, don't do the argument descriptor magic.
(EXPAND_BUILTIN_SAVEREGS): call hppa_builtin_saveregs.
(LEGITIMIZE_ADDRESS): Don't legitimize CONST addresses.
(TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Put tabs back in.
* xm-hp800.h (S_ISDIR): Define for BSD.
* hp800.c (hppa_builtin_saveregs): New function.
* va-hp800.h : Rewrite.
Sun Mar 15 23:38:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* objc-actions.c (really_start_method): Dynamically allocate `buf'.
* sparc.h (TARGET_HOPE_ALIGN): Renamed from TARGET_ALIGN.
* sparc.c (output_move_double, output_fp_move_double): Use new name.
* sparc.h (TARGET_FORCE_ALIGN): New flag.
(FUNCTION_ARG_BOUNDARY): Defined.
(FUNCTION_ARG, FUNCTION_INCOMING_ARG, FUNCTION_ARG_ADVANCE):
(FUNCTION_ARG_PARTIAL_NREGS): Handle TARGET_FORCE_ALIGN.
(ROUND_REG): New subroutine macro.
* sparc.h (CC1_SPEC): Don't try to recognize -dalign.
* hp320.h (ASM_OUTPUT_ASCII): Put tab here.
(ASCII_DATA_ASM_OP): Not here.
* mot3300.h: Likewise.
* Makefile.in (mostlyclean): Don't delete .s or .i files.
(extraclean): Do that here.
* a29k.h, fx80.h, gmicro.h, i860v3.h, i860v4.h (*_ASM_OP): Remove tabs.
* m88kv4.h, m88kdgux.h, mips.h, romp.h, rs6000.h: Likewise.
* sun386.h, tower-as: Likewise.
* arm.h, hp800.h (*_ASM_OP): Remove extra tabs and newlines.
* m68ksgs.h (*_ASM_OP): Remove tabs.
(ASM_OUTPUT_*): Put the tabs here when appropriate.
* m68kv4.h, m88k.h, next.h: Likewise.
Sun Mar 15 18:37:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload1.c (inc_for_reload): Rework to try to do addition in
INCLOC rather than assuming when it can be done; this fixes a bug
on hp800 and generates better code on some CISC machines.
Sun Mar 15 15:12:39 1992 Ron Guilmette (rfg at ncd.com)
* crtstuff.c: If defined, invoke INIT_SECTION_PREAMBLE.
* xm-sparcv4.h, x-sparcv4: New files.
* configure (sparc-*-sysv4*): Use them.
Sun Mar 15 16:41:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* sparc.md (subdi3): Fix unterminated comment.
Sun Mar 15 04:08:59 1992 Torbjorn Granlund (tege at zevs.sics.se)
* hp800.c (output_block_move): Major rewrite.
* hp800.md (movstrsi): Rewrite to match new output_block_move. FAIL
if the actual operands are better handled by a library call.
(movstrsi recognizer): Rewrite.
* sparc.md (movstrsi): FAIL for all blocks with unknown size.
Sat Mar 14 19:06:02 1992 James Van Artsdalen (james at bigtex.cactus.org)
* c-decl.c (builtin_function): Don't declare static.
Sat Mar 14 15:57:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* expr.c (get_pointer_alignment): Convert bytes to bits
when handling PLUS_EXPR.
* cp-search.c (push_stack_level): Declare tp as char *.
* mips.c (mips_asm_file_end): Use TREE_ASM_WRITTEN to avoid
duplicate .extern commands.
* mips-tdump.c: Include fcntl.h.
* mips-tfile.c (open, fstat): Declarations deleted.
* xm-mipsnews.h: New file.
* mips-news5.h: New file. Needs papers from Ron Cole.
* configure (mips-sony-sysv*): New alternative.
Sat Mar 14 07:11:14 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* integrate.c (initialize_for_inline): If DECL_INCOMING_RTL is
the same object as DECL_RTL, store copy in both places.
Sat Mar 14 10:12:39 1992 Michael Tiemann (tiemann@cygnus.com)
* cp-spew.c (yylex): Fix some fencepost errors found by Chip
Salzenberg.
* cp-init.c (is_aggr_typedef): Now calls `error' instead of `fatal'
if NAME is non-AGGR type.
* cp-class.c (duplicate_tag_error): Set CLASSTYPE_VBASE_SIZE.
Sat Mar 14 00:28:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gcc.c (do_spec_1): Don't copy closing delim in %(...) or %[...].
(read_specs): Don't ignore newline that ends a comment.
(handle_braces): Properly terminate scan for %*.
(validate_all_switches): Scan any extra specs from specs file.
* x-iris: File deleted.
* cccp.c (output_line_command): Avoid outputting line number 0.
* final.c (asm_fprintf): Handle %O.
* m68k.c: Insert %O before `move' in MOTOROLA calls to asm_fprintf.
Fri Mar 13 20:17:40 1992 Mike Stump (mrs@cygnus.com)
* cp-typeck.c, cp-type2.c, cp-tree.c, cp-spew.c, cp-search.c,
cp-parse.y, cp-init.c, cp-decl.c, cp-cvt.c, cp-class.c, cp-call.c:
Merged in updated cp-* files for gcc-2.1.
Thu Mar 12 02:29:26 1992 Mike Stump (mrs@cygnus.com)
* cp-type2.c (build_functional_cast): remove incorrect error message.
Fri Mar 13 14:54:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* objc-actions.c (get_arg_type_list) [not NEXT_OBJC_RUNTIME]:
1st arg always an object.
(synth_module_prologue): Don't use parser interface, just build nodes.
Use `void *' to avoid problems with TAG_SUPER vs _TAG_SUPER.
(TAG_SUPER, _msg_id, _msgSuper_id): Deleted.
(objc_getClass_id, objc_getMetaClass_id): Deleted.
(selector_type): Renamed from _selector_type.
(forward_declare_categories, build_objc_symtab_template):
Don't use parser interface, just build nodes.
(create_builtin_decl): New function.
* hp800hpux.h (LIB_SPEC): New definition.
* arm.h (TARGET_WHEN_DEBUGGING): Name corrected.
* protoize.c (abspath): Make abs_buffer a little longer.
* encore.h (NO_ABSOLUTE_PREFIX_IF_SYMBOLIC): Defined.
(EXTERNAL_PREFIX, IMMEDIATE_PREFIX): Defined.
(TARGET_DEFAULT): Changed to 9.
(ENCORE_ASM): Defined.
* sequent.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Deleted.
(IMMEDIATE_PREFIX): Define as 0.
(SEQUENT_ASM): Defined.
* ns32k.c (print_operand): Output f.p. as ints if SEQUENT_ASM.
Output doubles using 0f, not 0d, if ENCORE_ASM.
* configure: If no configuration matches, print error and exit.
(m68k-sun-sunos*): Renamed from m68k-sun-sunos4*.
* configure (copy): New variable.
If hard link fails, make a copy.
* mips.c (mips_asm_file_end): Don't set flags in identifiers.
Just output every identifier found in extern_head.
* configure (sparc-tti-*): Renamed from sparc-unicom-*.
(m68k-tti-*): Replaced.
(m68k-tti2-*): Deleted
* config.sub (pbd): Alias for sparc-tti, not sparc-unicom.
(pbb): New machine alias.
(*-tti): Implies os=-sysv3.
(-oss*): Alias for -sysv3.
Fri Mar 13 17:20:52 1992 david d [zoo] zuhn (zoo at lynx.spa.umn.edu)
* x-mips: add -mld.
Fri Mar 13 14:48:05 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* hp800.h (REGISTER_NAMES): Name register 112, the shift amount
register, as "SAR". It was left out.
Fri Mar 13 04:08:53 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386isc.h (STARTFILE_SPEC): Use crt1, not crt0.
* x-i386sco (CC,OLDCC): Don't define `i386' here.
(RCCFLAGS): Define it here, along with other SCO symbols.
(XCFLAGS): Use that. New variable.
(CLIB): Use -lPW to get alloca.
Fri Mar 13 14:11:41 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu)
* Changes to enable use of sqrt builtin functions.
* c-decl.c (init_decl_processing): Enable BUILT_IN_FSQRT for
__builtin_sqrt. Also enable for sqrt if not traditional.
* cp-decl.c (init_decl_processing): Enable BUILT_IN_FSQRT for
__builtin_sqrt.
* expr.c (expand_builtin, case BUILT_IN_FSQRT): New case. Call
expand_unop to expand the operation. If that fails break and
emit a call to the library sqrt function.
* optabs.c (init_optabs): Initialize new optabs for sqrt functions.
* expr.h (sqrt_optab): Declare here so that expr.c can see it.
Fri Mar 13 08:56:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* cse.c (delete_dead_from_cse): Fix error in last change.
* a29k.h (PCC_BITFIELD_TYPE_MATTERS): Define as 1.
* reorg.c (fill_slots_from_thread): Add missing arg in call to
try_split call that was recently added.
* fold-const.c (invert_truthvalue, case COMPOUND_EXPR): New case.
Fri Mar 13 01:02:56 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* collect2.c (ordinary scan_prog_file): Don't count | in sym name.
* ns32k.md (movsf): Remove #if 0 around #ifndef GAS_SYNTAX.
* pc532.h (GAS_SYNTAX): Defined.
Thu Mar 12 00:10:23 1992 Stefan Petri (petri@jupiter.ibr.cs.tu-bs.de)
* configure (pyramid): Re-enable.
* pyr.h (STRUCTURE_SIZE_BOUNDARY): Restore definition from gcc-1.40.
(PCC_BITFIELD_TYPE_MATTERS): Define as 1 instead of empty.
* pyr.h (STATIC_CHAIN_INCOMING_REGNUM): Added.
* pyr.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, TRAMPOLINE_ALIGNMENT,
INITIALIZE_TRAMPOLINE): Added, inspired by convex.h
* pyr.h (INITIAL_FRAME_POINTER_OFFSET): New definition.
* pyr.md (indirect_jump): New pattern.
* libgcc2.c [L_trampoline]: Don't include gstddef.h in this case.
(__enable_execute_stack): Cloned definition for pyramid
from that for convex.
Thu Mar 12 13:23:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* collect2.c (FREAD, FWRITE): #undef if USG.
* x-mipsv: New file.
* configure (mips-*-sysv): Use it.
* cccp.c (skip_to_end_of_comment): New arg NOWARN. Callers changed.
(do_xifdef, do_endif): Pass 1 for NOWARN.
* i386.h, hp800.h (ENCODE_SECTION_INFO): Handle CONSTRUCTOR node.
* i386.h (ENCODE_SECTION_INFO): Only decls can be global.
* cccp.c (warn_import): New variable.
(do_include): Test that.
(main): Handle -Wimport.
* hp800hpux.h (DBX_DEBUGGING_INFO): #undef it.
* x-hp800hpux: New file.
* configure (hp800-hp-hpux*): Use it.
* config.sub: Make triton alias for sysv3.
* collect2.c: If CROSS_COMPILE, #undef the special OBJECT_FORMAT_*.
Thu Mar 12 10:35:50 1992 Ron Guilmette (rfg at ncd.com)
* gcc.c (default_compilers): Use .i suffix (instead of .cpp) for all
preprocessor output files.
(execute): Print commands used to invoke passes if -save-temps.
* Makefile.in (mostlyclean): Delete *.i, not *.cpp.
Don't delete *.co.
Thu Mar 12 07:13:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* xcoff.h (DBX_FINISH_SYMBOL): When writing function name, strip off
any storage class at the end.
Thu Mar 12 05:16:49 1992 Tom Wood (wood@dg-rtp.dg.com)
* config.sub (-triton*): Delete this OS (it's sysv3).
* configure (m88k-dolphin-sysv3): Rename alternative.
* xm-m88kdolph.h: Delete. Use xm-m88kv3.h instead.
* x-m88kdolph: New file.
Thu Mar 12 00:19:14 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.md (movstrsi recognizers): Fix reversed operands.
Thu Mar 12 00:01:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gcc.c (main):
Don't require machine_suffix for md_startfile_prefix or md_exec_prefix.
* toplev.c (main): Force flag_no_inline if not optimizing.
* dbxout.c (dbxout_type): Ignored names don't count in case UNION_TYPE.
* cp-decl.c (pushtag): Push on ->tags and make TYPE_STUB_DECL
even if type has no tag name.
* cp-class.c (finish_struct): Always call rest_of_type_compilation.
* cse.c (simplify_unary_operation): For SQRT, do nothing.
* byteorder.h: Test __i860_big_endian__.
* ns32k.c (print_operand_address): Test NO_ABSOLUTE_PREFIX_IF_SYMBOLIC.
Test BASE_REG_NEEDED inside indirect address too.
* sequent.h (NO_ABSOLUTE_PREFIX_IF_SYMBOLIC): Defined.
(SEQUENT_ADDRESS_BUG, SEQUENT_BASE_REGS): #if 0.
Wed Mar 11 22:55:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-decl.c (push_parm_decl): Clear immediate_size_expand temporarily.
* stor-layout.c (get_pending_sizes): Fix up SAVE_EXPR_CONTEXT.
(variable_size): No longer static.
* c-decl.c (grokdeclarator): Call variable_size, not save_expr.
Rename local `variable_size' to `size_varies'.
Wed Mar 11 18:53:23 1992 Chip Salzenberg (chip@tct.com)
* collect2.c (OBJECT_FORMAT_COFF, OBJECT_FORMAT_ROSE):
(OBJECT_FORMAT_NONE): Three alternative strategies for finding inits.
OBJECT_FORMAT_COFF is completely new.
(is_ctor_dtor): New function.
[OBJECT_FORMAT_NONE, OBJECT_FORMAT_ROSE] (scan_prog_file):
Use is_ctor_dtor.
* x-rs6000 (CLIB): Add -lld.
* t-rs6000: New file.
* configure (rs6000...): Use that file.
Wed Mar 11 17:31:13 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* reload1.c (inc_for_reload): Call gen_add2_insn with negated
constant instead of gen_sub2_insn.
Wed Mar 11 17:30:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-typeck.c (build_binary_op): For shifts, always use op0 type.
* stmt.c (expand_end_bindings):
Load virtual_incoming_args_rtx via a pseudo reg.
* math-68881 (pow): Add missing parens; typo in fp constant.
* i386isc.h (LIB_SPEC): Add -lg.
* libgcc2.c (__CTOR_LIST__, __DTOR_LIST__):
Don't define if CTOR_LISTS_DEFINED_EXTERNALLY.
(__builtin_saveregs): Handle NO_UNDERSCORES for sparc.
* pbb.h, pbd.h: New files from Mike Bloom.
* configure (m68k-tti2-*): Turned back on.
* c++: Add a colon command in case system doesn't handle #!/bin/sh.
Mon Mar 11 19:54:43 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.md (integer truncMN2): Delete patterns. Not needed on i386.
Wed Mar 11 16:58:56 1992 Tom Wood (wood@dg-rtp.dg.com)
* m88kv3.h (STARTFILE_SPEC, LIB_SPEC): Search for crt{begin,end}.o
(DO_GLOBAL_CTORS_BODY, CTORS_SECTION_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
DTORS_SECTION_ASM_OP): Implement new svr3 scheme.
Wed Mar 11 16:24:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* fold-const.c (fold): When correcting constant result of GE, LE, NE,
make sure we really have a constant result.
* ns32k.md (call, call_value): Support GAS_SYNTAX and GNX_V3 like 1.40.
* c-decl.c (pushdecl): Properly use prev implicit decl in warning.
Wed Mar 11 16:05:20 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* Makefile.in (OBJS): Add xcoffout.o.
(dbxout.o, final.o, toplev.o, varasm.o): Add xcoff.h dependency.
(xcoffout.o): Add rule to build.
* xcoffout.c: Change names of rs6000_*_section_name variables to
xcoff_*_section_name, and move definitions of them here from
rs6000.c.
* xcoff.h: Likewise, move declarations here from rs6000.h.
* rs6000.c: Delete definitions of rs6000_*_section_name variables.
* rs6000.h: Delete declarations of rs6000_*_section_name variables.
* rs6000.c (output_epilog): Add comment to note lack of traceback
table support.
* rs6000.h: Refine comment explaining ASM_SPEC definition.
(XCOFF_DEBUGGING_INFO): Define.
(DBX_CONTIN_LENGTH, DBX_NO_XREFS): Move to xcoff.h.
(ASM_FILE_START): When -g, emit private_data_section.
(ASM_DECLARE_FUNCTION_NAME): When -g, output .lglobl for static
functions. Also, output .function debug info.
(ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Add bss_section call.
* dbxout.c: Include xcoff.h when XCOFF_DEBUGGING_INFO is defined.
Define default values for DBX_DECL_STABS_CODE,
DBX_STATIC_CONST_VAR_CODE, DBX_REGPARM_STABS_CODE, and
DBX_REGPARM_STABS_LETTER. These exist to be overriden for xcoff.
Include entire file if either DBX_DEBUGGING_INFO or
XCOFF_DEBUGGING_INFO is defined.
(dbxout_type): Add early exit if DBX_TYPE_DEFINED, used for xcoff.
(dbxout_symbol): Use DBX_DECL_STABS_CODE instead of N_LSYM for
tags and typedefs. Use DBX_STATIC_CONST_VAR_CODE instead of N_FUN
for static const variables. Add DBX_STATIC_BLOCK_START and
DBX_STATIC_BLOCK_END around output of stab info, for xcoff use.
(dbxout_finish_symbol): Use DBX_FINISH_SYMBOL instead if defined.
(dbxout_syms, dbxout_parms): No longer static, referenced from
xcoffout.c.
(dbxout_parms): Use DBX_REGPARM_STABS_CODE instead of N_RSYM. Use
DBX_REGPARM_STABS_LETTER instead of 'P'.
(dbxout_reg_parms): No longer static.
* final.c: Also include gstab.h if XCOFF_DEBUGGING_INFO defined.
Include xcoff.h if XCOFF_DEBUGGING_INFO defined.
(final_start_function): Call xcoffout_output_first_source_line
when XCOFF_DEBUG. Set next_block_index if XCOFF_DEBUG.
(final_end_function): Call xcoffout_end_function if XCOFF_DEBUG.
Call xcoff_end_epilogue if XCOFF_DEBUG.
(final_scan_insn): Call xcoffout_begin_function,
xcoffout_begin_block, and xcoffout_end_block if XCOFF_DEBUG.
(output_source_line): Also call dbxout_source_file if XCOFF_DEBUG.
* flags.h: Define XCOFF_DEBUG. Also declare
use_gdb_dbx_extensions if XCOFF_DEBUGGING_INFO.
* toplev.c: Also declare use_gdb_dbx_extensions if
XCOFF_DEBUGGING_INFO. Include xcoff.h in XCOFF_DEBUGGING_INFO.
(compile_file): Also call dbxout_init, and dbxout_finish if
XCOFF_DEBUG.
(rest_of_decl_compilation): Also call dbxout_symbol if
XCOFF_DEBUG.
(rest_of_type_compilation): Also call dbxout_symbol if
XCOFF_DEBUG.
(main): Add support for recognizing -g when XCOFF_DEBUGGING_INFO.
* varasm.c: Include xcoff.h if XCOFF_DEBUGGING_INFO.
(assemble_variable): Also call dbxout_symbol when XCOFF_DEBUG.
Change all returns to goto finish. At finish label,
call dbxout_symbol if XCOFF_DEBUG.
* dbxstclass.h: New file. Define XCOFF specific storage classes.
* xcoff.h: New file, for XCOFF support. Included by xcoffout.c,
dbxout.c, final.c, toplev.c, and varasm.c.
* xcoffout.c: New file for XCOFF support. Most of the support is
implemented by dbxout.c, this just includes stuff that can not be
easily performed within dbxout.c.
* toplev.c (struct W_options): Add entry for warn_inline, so user
can turn this warning on.
Wed Mar 11 15:11:42 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* optabs.c (init_optabs): Fix typo (Imode instead of TImode) in
HAVE_subti3 case.
Wed Mar 11 13:10:20 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu)
* sparc.h (REG_ALLOC_ORDER): Make %g3 more desirable.
Wed Mar 11 12:35:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* fixincludes (egrep cmd): Delete misplaced `#e[nl]'.
* jump.c (jump_optimize): Try to fix last change.
* expmed.c (init_expmed): Use big, ugly factor in mult_is_very_cheap.
Wed Mar 11 08:00:18 1992 Tom Wood (wood@dg-rtp.dg.com)
* toplev.c (rest_of_compilation): Use sdbout_types to clear the
anonymous types queue if any.
* sdbout.c: Correct spelling of sdbout_dequeue_anonymous_types.
* genattrtab.c (attr_string): Don't assume a terminating null.
Wed Mar 11 07:05:38 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload1.c (reload_as_needed): Delete erroneous test of
basic_block_needs.
* stmt.c (expand_end_case): Know that we will obtain a constant
if we were passed a COMPOUND_EXPR whose second operand is constant.
Fold the MINUS_EXPR we make for casesi.
* reorg.c (update_block_from_store): Deleted.
(update_block): Always leave USE; don't try to update live regs.
* explow.c (copy_to_suggested_reg): Add new arg for mode to use.
* expmed.c (expand_divmod): Pass new arg to copy_to_suggested_reg.
* reload1.c (set_label_offsets, reload_as_needed): Consistently
ignore non-eliminables when computing num_not_at_initial_offset.
* rs6000.md (subsi3): Remove unnecessary call to force_reg.
* rs6000.c (output_epilog): Separate setting LR from loading
it from memory in some cases.
Branch to FP restore routine instead of calling it.
* flow.c (propagate_block): CC0 is not live when we delete a dead
insn.
* cse.c (delete_dead_from_cse): An insn setting CC0 is not live
if the next insn doesn't reference CC0.
* cse.c (cse_insn): If we see a narrow AND with a constant, check if
we have seen a wider AND.
* combine.c (can_combine_p): Allow SUBREG of non-tiable regs if we
are going to do is copy it to CC0.
* reload.c (find_secondary_reload): If X is a pseudo with an
equivalent MEM, use the MEM to see if a secondary reload is needed.
Don't call REG_CLASS_FROM_LETTER for 'r'.
* reload1.c (emit_reload_insns): Handle reloading pseudos
with equivalent MEM when we have secondary reloads; use the MEM
when required.
* romp.md (reload_outsi): Pattern should be a single PARALLEL
whose second component is a CLOBBER.
Wed Mar 11 03:11:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gcc.c (find_a_file, do_spec_1): Always obey require_machine_suffix.
(machine_explicit): Var deleted.
Tue Mar 10 23:12:24 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu)
* m68k.md (68000 special shifts): No longer accept a shift count
of 16. Delete support for shifts by 16 places.
(shift by 16 bits): New patterns which apply to all 68k models.
* m68k.h (RTX_COSTS): Shifts by 16 are cheap.
Tue Mar 10 20:37:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* dwarfout.c (location_or_const_value_attribute):
Reenable changes disabled on Feb 21.
* function.c (instantiate_decls): Likewise.
* sdbout.c (sdbout_symbol): Handle (mem (const...)).
* dbxout.c (dbxout_symbol): Likewise.
* xm-i386isc.h: New file.
* configure (i386-*-isc*): Use it.
* hp320.h (MD_STARTFILE_PREFIX): Deleted.
* m68k.h (RTX_COSTS): If MULT is a shift, jump to shift case.
* sun3.h (TARGET_MEM_FUNCTIONS): Defined.
* toplev.c (rest_of_compilation): Call sdbout_dequeue_anonymous_types
even if we don't output assembler code.
* jump.c (jump_optimize): In `if (foo) bar; else break;' optimization,
include in range1 and range2 any line numbers at the beginning.
* c-typeck.c (spelling_length): Initialize `size'.
(PUSH_SPELLING): `spelling_size' is measured in elements.
(get_spelling): Use xmalloc if there is no buffer yet.
Tue Mar 10 20:25:56 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* integrate.c (save_for_inline_copying):
Set up LABEL_NAME of label copies.
* sparc.md: Clean up attribute settings. Add default length of 2
for insns of type multi. Make sure all insns have correct type and
length attribute values.
Tue Mar 10 19:13:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-decl.c (warn_parentheses): Default is 0.
(c_decode_option): -Wall implies -Wparentheses.
Tue Mar 10 17:49:51 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu)
* hp800.md (shNadd recognizers): Put the MULT first, to obey insn
canonicalization rules.
* hp800.md (subsi3): Don't handle constants for operand 2, but
do handle them for operand 1, for the subi insn.
* hp800.md (compare into ordinary reg): Use "arith11_operand", not
"arith_operand" for operand 2. Use `I', not `J' as constraint.
Don't change the constant in the output code (i.e. undo Mar 10
change).
* hp800.c (arith11_operand): New predicate function. Fix comment.
hp800.md (mulsi3): Don't handle CONST_INT specifically, rely on
machine independent code.
* hp800.h (RTX_COST): Define.
* hp800.c (ABS, mul_operands, emit_mul_by_constant) Remove.
(mul_by_constant_aux, test_factor_and_output): Remove.
* hp800.md (addsi3): Use "register_operand" for operand 1, not
"arith_operand".
* hp800.md: Clean up spacing and comments in a few places.
* hp800.c (output_move_double): Handle auto increment and auto
decrement. Remove unused enums. Test for either operand being a
REGOP instead if RNDOP, since we require at least one operand to
be a register. Pass the MEM address to find_addr_reg, not the
entire MEM rtx (in two places).
* hp800.h (WORDS_BIG_ENDIAN): Fix typo in comment.
(RTX_COST): Return cost of a PLUS, to indirectly give the right
cost for the shNadd insns. Adjust the cost for division.
Tue Mar 10 15:57:24 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* sparc.md: Add pattern for optimizing bitfield compares. This
pattern was accidently lost when other (now-obsolete) bitfield
patterns were removed.
* sparc.c (arith32_operand): Deleted.
* sparc.md (movstrsi): Now uses nonmemory_operand for length.
* sparc.c (output_arc_profiler): Emit insns from first to last
instead of last to first, since it is much clearer. Eliminate
profiler_target, since it resulted in illegal rtx sharing.
* sparc.c (legitimize_pic_address): Make -fPIC work again, re the
Feb 27 cse.c LO_SUM fix. Put addresses inside UNSPEC when loading
them to ensure that cse won't mistakenly optimize them.
* sparc.md: Two new patterns, to match (HIGH (UNSPEC (..))) and
(LO_SUM (reg) (UNSPEC (..))) as generated above.
Tue Mar 10 14:58:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* mips-news.h (ASM_SPEC): Move %{G*} outside of -mgas conditional.
* nws3250v4.h, xm-nws3250v4.h, x-nws3250v4: New files. From cph.
* i860.c (sfmode_constant_to_ulong): Fix typo in last change.
* expr.c (store_expr): Initialize `label'.
* 3b1.h (HAVE_ATEXIT): #undef this.
* hp800.md (compare into ordinary reg): Make large ints "negative".
* hp800hpux.h: New file.
* configure (hp800-*-bsd*): Renamed from hp800-*-*.
(hp800-*-hpux*): New configuration.
Tue Mar 10 11:03:47 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* expmed.c (init_expmed): Make the lea pattern in the canonical way.
Tue Mar 10 10:32:30 1992 Tom Wood (wood@hal)
* m88k.h (ASM_OUTPUT_{COMMON,LOCAL}): Compute size consistently.
Tue Mar 10 07:41:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* recog.c (constrain_operands, case 'E'): Fix typo.
* function.c (setjmp_protect): Don't put vars from inline functions
on the stack.
* c-typeck.c (process_init_constructor): Don't use host integers for
bounds and index computation; use trees instead.
If specifying index in array with unset bounds, assume lower bound
of zero and check specified index against zero.
* tree.h (mode_for_size): Don't declare here.
* machmode.h (mode_for_size): Declare here instead.
* reorg.c (fill_slots_from_thread): Try to split THREAD immediately
so we don't get confused if it gets split later.
* reorg.c (fill_slots_from_thread): Don't take add from loop
head if the increment amount depends on the target register, since
we can't undo the operation.
Mon Mar 9 12:18:04 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* unroll.c (final_biv_value): Fail if the biv is not MODE_INT.
* combine.c (distribute_notes, case REG_DEAD): Call rtx_equal_p
to verify that it was the set that modified the register, and
not a clobber.
Sun Mar 8 22:20:24 1992 James Van Artsdalen (james at bigtex.cactus.org)
* c-parse.y,c-lex.c,cp-hash.h,cp-parse.y,cp-spew.c,objc-parse.y:
Rename `ASM' to `ASM_KEYWORD' to avoid trouble with SCO
<sys/signal.h>.
Sun Mar 8 23:16:37 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu)
* expr.c (move_by_pieces, move_by_pieces_ninsns): Remove March 4 and
March 5 changes. Set max_size to MOVE_MAX + 1 instead.
Sun Mar 8 17:08:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* expr.c (do_tablejump): New arg MODE.
* stmt.c (expand_end_case): Pass that arg.
* c-decl.c (pushtag): Push even anonymous types on tags list.
(parmlist_tags_warning): Handle anonymous types in the list.
Sun Mar 8 15:08:58 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386mach.h (perform_fixdfsi): Rename from *_fix_trundfsi2.
Restore float control word correctly.
* i386rose.h (perform_fixdfsi): Likewise.
* i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Allow float constants,
even if -msoft-float is used: reg-stack.c may emit an insn to load
the function value register with 0.0.
* i386.md (bit test insns): Don't allow memory operands as the
first argument of the zero_extract.
* i386isc.h (RETURN_POPS_ARGS): Comment this out: ISC uses the
standard definition.
* i386sco.h (STARTFILE_SPEC): Use crtbegin.o.
(ENDFILE_SPEC): Use crtend.o.
(CPP_SPEC): #undef before defining.
(RETURN_POPS_ARGS): Caller pops args on SCO.
Sun Mar 8 14:25:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* configure: Fatal error if srcdir has already been configured.
Remove periods from error messages.
* 3b1.h, mot3300.h (ASM_OUTPUT_OPCODE): Change swap to swap.w.
(SGS_SWAP_W): Deleted.
* m68ksgs.h (ASM_OUTPUT_OPCODE): If SGS_SWAP_W, change swap to swap.w.
* m68k.md: Delete all SGS_SWAP_W conditionals.
* m68k.md (shift using swap, dbra patterns): Change clrw to clr%.w.
* hp800.h (output_global_address): Use `-' for PLUS of neg integer.
Clean up spacing and braces in several places in file.
* byteorder.h (htons): Use unsigned int for arg type.
Sun Mar 8 07:36:44 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* rs6000.c (print_operand, case 'A'): New case.
* rs6000.md (sri): New %A to use "sli" for count of zero to work
around bug in RS/6000 assembler.
* config.sub (os): Add "aos" to basic list, no longer the same
as "bsd"; "acis" is an alternate for "aos".
(romp): No longer has a default system.
* configure (romp-*-aos*): Renamed from romp-*-bsd*; BSD means
real BSD (4.3 Tahoe+), AOS means IBM system.
* Makefile.in (crtbegin.o, crtend.o): Use -o for output instead of
putting in crtstuff.o and renaming to desired name.
* reload1.c (reload): Re-check eliminability of registers on each
reload pass.
* jump.c (mark_jump_label): Make multiple REG_LABEL notes if
more than one label is mentioned in an insn.
* integrate.c (copy_rtx_and_substitute): Properly initialize
const_equiv_map for the equivalents of AP and FP.
* rs6000.h (TARGET_MEM_FUNCTION): Define.
Sun Mar 8 00:05:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-decl.c (store_parm_decls): Copy function type before changing it.
* tree.c (build_type_copy): New subroutine.
* t-next (LIBGCC1): Assigned, instead of LIBGCC.
* m68k.h (SHIFT_COUNT_TRUNCATED): Deleted.
Sat Mar 7 23:47:57 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.md (xorsi3,xorhi3): Don't emit a byte opcode with an SImode
operand.
Sat Mar 7 22:49:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-typeck.c (convert_arguments): -Wconversion warning
if argument is passed as float.
For fixed arguments, warn if type passed doesn't match
what default_conversion produces.
* gcc.c (cross_compile): New variable, 1 if cross-compiling.
(read_specs): Read it from specs.
(process_command): Dump it to specs.
* gcc.c (process_command): Don't use MD prefixes and
standard_startfile_prefix* here.
(main): Use them here, if not cross-compiling.
Sat Mar 7 18:13:45 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload1.c (reload_as_needed): Eliminate regs in (use (mem ..))
and (clobber (mem ...)) insns.
* combine.c (distribute_notes): Fix minor bug in handling of
multi-register values when only one part is used.
* optabs.c, expr.c: Always call emit_library_call with no_queue == 1.
* function.c (fix_lexical_addr): Correctly set BASE in non-separate
AP case.
Sat Mar 7 15:39:57 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi)
* ns32k.h (TRANSFER_FROM_TRAMPOLINE): changed "ret" to "ret 0"
Sat Mar 7 15:41:46 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
* fixincludes: Don't do special fixes on signal.h, which were only
needed because of #endif comment fixes.
Sat Mar 7 15:11:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* m68k.h (ASM_OUTPUT_ALIGN): Don't crash if LOG is more than 1.
* varasm.c (decode_reg_name): Make various prefixes optional
whether or not they are in REGISTER_NAMES.
(strip_reg_name): New subroutine.
* i386.c: Fatal error if EXTRA_CONSTRAINT is defined.
* collect2.c [USG] (R_OK, W_OK, X_OK): Define them if missing.
* x-hp320g (RANLIB, RANLIB_TEST): Defined.
* Makefile.in (EXTRA_PROGRAMS): New variable is list of programs.
(native): Build them. Don't build EXTRA_PARTS.
(rest.encap): Build EXTRA_PARTS.
(GCC_PARTS): Include EXTRA_PROGRAMS.
(install-common): Build EXTRA_PROGRAMS.
* t-convex (EXTRA_PROGRAMS): Define instead of EXTRA_PARTS.
* Makefile.in (distclean): Don't delete backups, etc.
(extraclean): New target--delete those things here.
(gcc.xtar): Use extraclean.
(cleanconfig): Deleted.
(realclean): Depend on distclean.
Sat Mar 7 14:54:29 1992 Tom Wood (wood@dg-rtp.dg.com)
* genattrtab (attr_printf): Provide alternate based on HAVE_VPRINTF.
Sat Mar 7 14:25:58 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* hp800.c (secondary_reload_class): Change `=' to `==' in `if'.
Sat Mar 7 13:25:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cccp.c (do_line): Fix typo.
* configure (decoding args): Delete excess fi.
Sat Mar 7 09:29:41 1992 Michael Meissner (meissner@osf.org)
* mips.h (CONST_COSTS): Complete last change.
* mips.md (movsi_ulw, movsi_usw): Complete last change.
Sat Mar 7 07:28:03 1992 Tom Wood (wood at dg-rtp.dg.com)
* config.sub (*-dolphin, -triton*): New vendor/OS.
* configure (m88k-dolphin-trition): New alternative.
* m88kdolph.h: New file.
* xm-m88kdolph.h: New file.
Sat Mar 7 10:07:44 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
* make-l2.com: Do not allow the user to run this with gcc 1.nn.
* make-gcc.com: Use the new compiler to build libgcc2.c (through
make-l2.com).
Sat Mar 7 05:36:16 1992 K. Richard Pixley (pixley@nutrimat.gnu.ai.mit.edu)
* Makefile.in: added the exec_prefix variable for installing host
dependent programs and libraries.
Sat Mar 7 00:09:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* genextract.c (mybzero): New fn. Used instead of bzero.
* Makefile.in (all): Indirect to all-internal.
(all-internal): New rule, following where cross-make gets inserted.
* vms.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Defined.
* protoize.c: Don't declare fork or vfork.
* i860.c (sfmode_constant_to_ulong): Use REAL_VALUE_FROM_CONST_DOUBLE.
* gcc.c (handle_braces): Verify actual suffix length matches
desired.
* hp800.h (GO_IF_LEGITIMATE_ADDRESS): Add parens for clarity.
* c-typeck.c (pointer_int_sum): Handle intop which is sum or diff
of arguments with different types.
* c-typeck.c (PUSH_SPELLING): If no buffer yet, use xmalloc.
* m68k.c (output_dbcc_and_branch): Use \n\t between pair of insns.
* sparc.h (TARGET_MEM_FUNCTIONS): Defined.
Fri Mar 6 18:48:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Don't call ON_EXIT here.
* crtstuff.c, libgcc2.c (__do_global_ctors): Call it here.
* i386sco.h (HAVE_ATEXIT): Defined.
* collect2.c (my_exit, main): Avoid dereferencing 0.
* stmt.c (expand_decl_init): Don't alter TREE_USED of the variable.
Fri Mar 6 18:24:39 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* mot3300.h (SIZE_TYPE): Define as "unsigned int".
* combine.c (make_extraction): STRICT_ALIGNMENT is now non-zero if
true, instead of relying on whether it is defined or not.
* c-typeck.c, cp-typeck.c (build_c_cast): Likewise.
* stor-layout.c (layout_type) Likewise.
* expr.h (MUST_PASS_INSTACK_BAD_ALIGN): Likewise.
* expr.c: Set default value of SLOW_UNALIGNED_ACCESS to zero.
(move_by_pieces, move_by_pieces_ninsns, emit_push_insn):
SLOW_UNALIGNED_ACCESS and STRICT_ALIGNMENT now true if non-zero.
* function.c (assign_stack_local, assign_outer_stack_local):
Remove turned-off code using STRICT_ALIGNMENT.
* config/*.h: Change representation of STRICT_ALIGNMENT and
SLOW_UNALIGNED_ACCESS.
* gmicro.h (SLOW_UNALIGNED_ACCESS): Set to 1.
* Makefile.in (cleanconfig): Remove obsolete reference to
file aux-output2.c.
* c-lex.c (yylex): Don't make out-of-range shift for very wide chars.
Fri Mar 6 18:07:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* toplev.c (compile_file): No -Wunused warnings for static vars.
* collect2.c (main): Don't handle -B, -b, -V, -m or -f.
collect2 gets only the options that ld would get.
Process COLLECT_GCC_OPTIONS envvar.
(savestring): New function.
* genattrtab.c: Revert to previous version
because the new one uses vsprintf and it isn't trivial
to avoid it.
Fri Mar 6 17:26:09 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88k.md (<O5> expressions): Don't rely on the assembler being able
to handle constant expressions (Dolphin Triton88 can't).
* genattrtab.c: Add a hash table mechanism to share RTL and strings.
(attr_hash_add_rtx, attr_hash_add_string): New functions.
(attr_rtx): New function to generate a shared RTL.
(attr_printf, attr_printf): New functions to generate a shared string.
* genattrtab.c: Extend the treatment of DEFINE_ATTR to allow a CONST
expression as the default value, indicating a constant attribute.
(struct attr_desc): Add `is_const' field.
(check_attr_test): Add `is_const' parameter. Disallow use of insn
attributes and MATCH_OPERAND in a constant expression; allow
SYMBOL_REF in a constant expression. All callers updated.
(chech_attr_value): Allow a SYMBOL_REF as a constant expression.
(convert_const_symbol_ref): New function that converts a constant
SYMBOL_REF to a COND that explictly tests each value.
(make_canonical): Use `convert_const_symbol_ref' for constant
SYMBOL_REF expressions.
(make_length_attrs, find_attr, make_internal_attr): Mark `is_const'
as false.
(gen_attr): Get rid of a top-level CONST node and mark `is_const' true.
(walk_attr_value): Use of a constant SYMBOL_REF does not set
`must_extract' or `must_constrain'.
(write_attr_get): Deal with constant attributes.
Fri Mar 6 16:14:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cccp.c (main, path_include) [__MSDOS__]: Handle MSDOS syntax in path.
* expr.c (store_expr): Fix bugs in last change.
* objc-actions.c (receiver_is_class_object): Fix typos.
* ecoff-cmp: File deleted.
* config.sub (3b1): Convert to m68000, not m68k.
* cccp.c (do_line): Handle "syetem header" indicator flag `3'.
* t-i386isc: New file.
* configure (i386-*-isc*): Use the new file.
* i386isc.h (LIB_SPEC, ENDFILE_SPEC): Use crtbegin.o/crtend.o.
Fri Mar 6 14:37:25 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* expmed.c (expand_dec): Fix comment.
Fri Mar 6 09:49:54 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88k.c (emit_move_sequence): Check reload_in_progress in
addition to reload_completed.
* m88k.md (cpu attribute): Fix.
Fri Mar 6 06:24:08 1992 Michael Meissner (meissner@osf.org)
* mips.h (CONST_COSTS): Fix eliminate_constant_term calling
sequence.
* mips.c (simple_memory_operand): Move offset variable for calling
eliminate_constant_term into a local block by the call.
(mips_address_cost): Ditto.
* mips.md (movsi_ulw, movsi_usw): Fix eliminate_constant_term
calling sequence.
Fri Mar 6 00:30:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* fixincludes: Don't fix comments on #endif, #else.
It made the egrep string too long.
* expr.c (store_expr): Handle size mismatch copying from string cst.
Thu Mar 5 22:11:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* objc-actions.c (receiver_is_class_object): Clean up syntax.
* sun386.h (ASM_GENERATE_INTERNAL_LABEL): Start with a star.
* reload1.c (reload): Change `=' to `==' in `if'
inside REGISTER_CONSTRAINTS conditional.
Thu Mar 5 21:29:33 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu)
* cp-parse.y (yyprint): Make declarations declare __inline
consistently.
Thu Mar 5 18:34:32 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu)
* m68k.md (dbra patterns): Fix NO_ADDSUB_Q ifdef conditionals.
Fix location of comment regarding use of REG_NOTES in dbra insns.
Thu Mar 5 18:30:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (libgcc.a): If $(LIBGCC1) is empty, ignore it.
* cross-make (LIBGCC1): Make definition empty.
Thu Mar 5 17:48:38 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu)
* reload.c (find_reloads): Correctly detect different operand
constraint alternatives (by changing subscription from 0 to loop
variable i).
Thu Mar 5 16:58:38 1992 Tom Wood (wood at dg-rtp.dg.com)
* Makefile.in (libsubdir): Rename $(libdir)/gcc gcc-lib.
* gcc.c (STANDARD_EXEC_PREFIX): Ditto.
* c-typeck.c: Implement a spelling stack to store and print
compoment names for error messages.
(push_{string,member_name,array_bounds}): New functions.
(SPELLING_DEPTH, RESTORE_SPELLING_DEPTH, SAVE_SPELLING_DEPTH): New
macros to save and restore the spelling stack.
(digest_init, process_init_constructor): Use these.
(spelling_length, print_spelling): New functions.
(error_init, pedwarn_init): Use them.
(get_spelling): New function.
(convert_for_assignment): Use `get_spelling' to interpret messages
that are based on the spelling stack.
(process_init_constructor): Pass `&initialization_message'.
Thu Mar 5 15:22:22 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* expr.c (init_expr): Initialize forced_labels to zero.
(save_expr_status): Saved forced_labels away and initilize to
zero.
(restore_expr_status): Restore value of forced_labels.
* function.h (struct function): Add forced_labels field.
* integrate.c (function_cannot_inline_p): Reject function with
nonzero forced_labels.
Thu Mar 5 15:08:47 1992 Tom Wood (wood at dg-rtp.dg.com)
* regclass.c (fix_register): Use decode_reg_name.
* stmt.c (expand_asm_operands): Ditto.
* varasm.c (decode_reg_name): Ignore a leading '#'.
For RMS:
* cp-call.c (build_method_call): Delete now redundant tests of
TREE_EXTERNAL before calls to assemble_external.
* cp-init.c (build_virtual_init, build_builtin_call): Ditto.
* cp-method.c (hack_identifier): Ditto.
* cp-typeck.c (build_component_ref, build_function_call_real): Ditto.
* c-parse.y (primary): Ditto.
Thu Mar 5 13:49:29 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu)
* expr.c (move_by_pieces_ninsns): Finish Mar. 4 change. Do not
choose a mode which has a size greater than MOVE_MAX.
* m68k.c: Change all occurances of "mov." to "move%.l" so that
ASM_OUTPUT_OPCODE can choose the right syntax.
* m68k.md: Change "mov." to "move." in comments for consistency.
Thu Mar 5 10:04:52 1992 Tom Wood (wood at dg-rtp.dg.com)
* stmt.c (warn_if_unused_value): Handle NON_LVALUE_EXPR.
* limits.h (_LIMITS_H_): Correct misspellings.
* Makefile.in ("if" and "["): Romp, 4.3 BSD, and Ultirx systems
fail when the condition is false. Change troublesome instances to
either use "case" or use '-' as a prefix to the compilation rule.
Thu Mar 5 09:08:11 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* rs6000.md (lshrdi3): Add earlyclobber to first alternative.
* explow.c (stabilize): Copy RTX_UNCHANGING_P and MEM_VOLATILE_P.
Thu Mar 5 06:05:31 1992 Michael Tiemann (tiemann@cygnus.com)
* cp-parse.y (.pushlevel): Stack and unstack STMT_DECL_MSG.
* cp-parse.y (unary_expr): Add EXTENSION support.
({maybe_label,label}_decls, label_decl): Define these rules as from
c-parse.y.
* cp-decl.c ({lookup,shadow,define}_label): Update from c-decl.c.
* gplus.gperf: Add EXTENSION and LABEL.
* cp-hash.h: Remade using gperf.
Wed Mar 4 21:38:41 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu)
* expr.c (move_by_pieces): Do not choose a mode which has a size
greater than MOVE_MAX.
Wed Mar 4 23:24:25 1992 Per Bothner (bothner@cygnus.com)
* cp-class.c, cp-decl.c, cp-decl2.c, cp-init.c, cp-lex.c,
cp-method.c, cp-typeck.c: Casts from enum to int that
are necessary (not alas not quite sufficient) to get
cc1plus to compile using system cc on Sony NewsOS 3.2
(presumably Portable C Compiler).
Wed Mar 4 22:05:39 1992 Michael Tiemann (tiemann@cygnus.com)
* cp-type2.c (build_functional_cast): Fix typo in code searching
down type lattice looking for constructor.
Wed Mar 4 16:52:21 1992 Jim Wilson (wilson@cygnus.com)
* gstdarg.h: Include va-sparc.h on sparc systems. Delete now
obsolete `#ifndef __sparc__'.
* va-sparc.h (va_start): Provide alternate definition when
included via stdarg.h. Delete obsolete comment.
(va_arg): Add missing set of parentheses.
Wed Mar 4 15:21:20 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu)
* fixincludes: Make egrep pattern more general. Check for
additional special case problems in Ultrix, News-OS, and IRIX.
Wed Mar 4 15:15:45 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.c (function_epilogue): Don't make a special case for
current_function_returns_struct: this is done via
current_function_pops_args.
* sun386.h (DATA_SECTION_ASSM_OP): Fix typo in undef.
Wed Mar 4 14:21:37 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu)
* fixincludes, fixinc.svr4: Only change #else and #endif at the
beginnings of lines, aside from whitespace, so it doesn't change
them within comments.
Wed Mar 4 09:48:21 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu)
* cp-method.c (build_decl_overload): Braino in handling of DELETE
(NEW was handled correctly).
Wed Mar 4 09:14:57 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu)
* Makefile.in (install-man): Install the g++ manual page.
* m68k.md (dbCC peepholes): Two new peepholes to recognize cases
where a compare/branch can be done (for free) as part of a dbCC
insn. This turns jCC;dbf into dbCC;jCC (the jCC is now outside the
inner part of the loop).
* m68k.c (valid_dbcc_comparison_p): New function which returns TRUE
if the given comparison is a valid comparison operator for the dbCC
instruction.
(output_dbcc_and_branch): New function to output a dbCC;jCC
instruction sequence (including possible counter adjustments in
SImode)
Wed Mar 4 04:32:11 1992 Michael Tiemann (tiemann@cygnus.com)
* cp-dem.c (optable): Add entry for `operator='.
* cp-decl.c (finish_function): Emit a jump to RETURN_LABEL if
CLEANUP_LABEL is non-zero. (Suggested by niklas@appli.se)
Wed Mar 4 04:28:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* libgcc1.c (perform_lesf2): Condition tested was backwards.
Wed Mar 4 03:11:48 1992 Ken Raeburn (Raeburn@Cygnus.COM)
* cp-pt.c (overload_template_name): Extra pushlevel isn't needed;
omit it.
(undo_template_name_overload): Don't pop the level that isn't pushed
any more.
* cp-class.c (pushclass): Don't bother processing unnamed tags.
(popclass): Likewise.
* cp-init.c (build_vec_delete): If pointer is null, don't do
anything.
* cp-parse.y (member_init): Accept base class names that are
template type names.
* cp-decl.c (start_decl): Don't prepend decl of `this' to arg lists
of methods of uninstantiated types.
* cp-pt.c (instantiate_template): If no text has been saved away,
don't try to parse it; an external reference will result.
* cp-parse.y (yyprint): Declare this at head of file.
* cp-pt.c (instantiate_class_template): If the template specified
hasn't been defined, don't reject the instantiation; make it a
normal undefined type.
* cp-parse.y (template_def): Try to recover from errors more
gracefully.
Tue Mar 3 15:37:35 1992 Tom Wood (wood at dg-rtp.dg.com)
* protoize.c (munge_compile_params): Compute the maximum number of
params (`temp_parms' length) safely.
* dwarfout.c (const_value_attribute): Punt quasi-constant values.
(location_or_const_value_attribute): Ditto.
* Makefile.in (install-common): Install the cross compilation
driver program even when $(tooldir)/bin doesn't exist.
Tue Mar 3 14:39:55 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.h (enum reg_class): Undo Jan 17 change that deleted class BREG.
(REG_CLASS_NAMES,REG_CLASS_CONTENTS,REGNO_REG_CLASS): Likewise.
(REG_CLASS_FROM_LETTER): Likewise.
* i386.c (regclass_map): Likewise.
* svr4.h (LINK_SPEC): Don't do -z or -t here: it's already in
link_command_spec. But do handle -G.
* i386.md (casesi): Rewrite pattern to reflect the way to emitted
code actually works.
Tue Mar 3 09:59:15 1992 Jeffrey A. Law (law@super.super.org)
* m68k.md (dbra pattern in HImode): New pattern to match
decrement_and_branch insns when the loop counter is decremented in
HImode.
Tue Mar 3 07:57:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* rs6000.md (doz patterns): Add missing `I' constraint.
* reorg.c (mark_target_live_regs): A CALL_INSN livens all global regs.
* vax.h (EXTRA_CONSTRAINT): New macro to select non-mode-dependent
MEM operands.
* vax.md (jlbc/jlbs): Use jbc/jbs if mode-dependent memory.
* vax.c (reg_or_nxmem_operand): Function deleted.
* expr.c (do_store_flag): Swap comparison code when putting
constant arg second.
* m68k.md (addhi3): Convert, e.g., 65535 to -1 before seeing if
we can use subqw.
(addqi3): Similarly for QImode constants
* local-alloc (optimize_reg_copy_1): Renamed from optimize_reg_copy.
(optimize_reg_copy_2): New function.
(update_equiv_regs): Call optimize_reg_copy_[12].
* combine.c (make_compound_operation, case AND): Turn SUBREG case
back on now that bug in i386.md has been fixed.
(simplify_comparison, case ASHIFT): If shifting low-order bit to
sign bit and doing equality comparison, convert to AND with low-order
bit (inequality case was already handled).
Also remove redundant test of CONST_OP in an earlier case.
* sun2o4.h (LINK_SPEC): No longer need -Bstatic with -g.
* m68k.c, m68k.h: Avoid %X% for most upper-case X since it means
something special to SCCS.
* rs6000.md (type): Add new type, mtlr.
(function_unit branch): Add delay from mtlr to br.
(movsi): When moving to lr, type is "mtlr".
* unroll.c (reg_dead_after_loop): Check for infinite loop by
counting JUMP_INSNs we follow.
Use GET_RTX_CLASS, reg_referenced_p, and single_set.
* expr.c (expand_increment): Set op0_is_copy when we are referencing
the low-order part of some value in a register.
* combine.c (force_to_mode): New arg REG; pass in recursive call.
If X has the same value as REG, use REG.
(make_field_assignment): Handle case when DEST and part of source
aren't the same, but are equal; pass destination to force_to_mode.
* m68k.md (addhi3): Generate addqw, subqw, or addw for
STRICT_LOW_PART versions the same way we handle the normal case.
(addqi3): Similarly for addqb, subqb, and addb.
* genattrtab.c (write_test_expr, case MOD): Double `%' in printf call.
(write_eligible_delay): Internal attribute "*delay_type" is always
used literally; it has no suffix or prefix.
* m68k.md, vax.md (sob): Rewrite inequality versions so that they
have a PLUS inside the comparison; combine cannot remove the PLUS
due to overflow considerations.
Tue Mar 3 07:56:30 1992 Eric Youngdale (youngdale at v6550c.nrl.navy.mil)
* vms.h (L__main): Remove #include <stdio.h>
* make-gcc.com: Call make-l2.com.
Tue Mar 3 05:37:08 1992 Michael Tiemann (tiemann@cygnus.com)
* stor-layout.c (layout_type): Handle OFFSET_TYPE.
* cp-tree.c (build_member_type): Deleted.
* cp-typeck.c, cp-decl.c, cp-init.c: All callers of
`build_member_type' now call `build_offset_type'.
* cp-typeck.c (convert_arguments): An argument that's an OFFSET_REF
must be resolved by `resolve_offset_ref'. The OFFSET_REF case in
expand_expr does not do the right thing for G++ yet.
* cp-decl.c (grokdeclarator): Take CONSTP and VOLATILEP into account
when building METHOD_TYPEs.
(start_function): Ditto.
* cp-method.c (build_decl_overload): Change interface to take DNAME
instead of NAME. Also, special-case handling of the default
operator new and operator delete for the std. signatures.
* cp-*.c: All callers changed.
* cp-class.c (build_vtable_entry): Rewrite built-in limit check to
work on platforms where SIZETYPE is unsigned.
Mon Mar 2 08:49:16 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88k.c (m88k_debugger_offset): Delete warning.
* m88k.h (OVERRIDE_OPTIONS): Set `m88k_cpu' based on `target_flags'.
* m88k.md (cmpsi insn): Delete alternative that complements the
compare string for a swapped compare (it's wrong and unnecessary).
(cpu attribute): Define.
From Jyrki Kuoppala:
* pc532.h, pc532-mach.h, pc532-min.h, xm-ps532-min.h: New files.
* configure (ns32k-pc532-mach*, ns32k-pc532-minix*): New alternatives.
* dbxout.c (dbxout_type): Don't invoke dbxout_type_methods if
there are none.
* vax.c (print_operand_address): Allow REG+TERM.
* c-typeck.c (process_init_constructor): Reuse space for error
message strings.
Mon Mar 2 02:54:48 1992 James Van Artsdalen (james at bigtex.cactus.org)
* seq386gas.h: New file, for Sequent using 386 & GAS.
* xm-i386sco.h: New file.
* optabs.c (ldexp): New function. Used if host ldexp is broken.
* configure (i386-sequent-bsd*): Use seq386gas.h if --gas.
(i386-*-sco*): The host file is now xm-i386sco.h.
* i386.md (SImode and HImode logical compare): If we are only
testing one byte of a mem, use a byte test opcode.
(bit test patterns): Likewise when emitting test opcodes.
Sun Mar 1 14:47:31 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* longlong.h (_IBMR2 udiv_qrnnd): Switch off due to overflow problems.
Sun Mar 1 11:19:55 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* combine.c (force_to_mode): New function.
(make_field_assignment): Rework code that handles fixed-position
fields to make it both much more general and much simpler.
* m68k.md: Add missing insns for using byte operations with
STRICT_LOW_PART; add was missing commutative equivalent and
most operations other than add and subtract were missing.
* varasm.c (assemble_start_function): Add missing arg to call to
dbxout_begin_function.
* fold-const.c (const_binop): Make minor source change to work
around bug in IBM RT PC compiler.
Sun Mar 1 05:01:34 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
* cp-typeck.c (build_modify_expr): When wrapping NEWRHS in a
SAVE_EXPR, call `break_out_cleanups' first.
Sat Feb 29 23:19:20 1992 Jim Wilson (wilson@cygnus.com)
* reload.c (find_reloads): Reset preferred_class to NO_REGS after
substituting a reg_equiv_address for a pseudo reg.
* unroll.c (precondition_loop_p): Fix misplaced paren when checking
for MODE_FLOAT rtx.
Sat Feb 29 13:59:54 1992 Michael Tiemann (tiemann@cygnus.com)
* cp-typeck.c (build_modify_expr): To complete 24 Feb change,
COND_EXPRs must evaluate LHS in conditional slot if LHS has side
effects. Otherwise the SAVE_EXPRs in lhs will only be evaluated
once, even though they are referenced on both branches of the
conditional.
Sat Feb 29 13:32:35 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
* README.X11: Add warning to not use gas when compiling PIC code.
* fixincludes: Allow TAB as well as SPC before symbols to change.
Don't change "sun" if it's part of a multiword name that contains
underscores.
Make intermediate dir, if needed, when doing special-case fixes.
Use previously fixed file, if it exists, as source for all special
fixes. Do less copying when making special fixes.
Ignore errors when chmod'ing a file that might not exist.
* fixinc.svr4: Preserve whitespace around "#" when fixing #else and
#endif.
Allow TAB as well as SPC before symbols to change.
Combine "sun" cases as in fixincludes.
Sat Feb 29 11:10:55 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.md (movstrsi): Print opcode as "movsl" so that seq386.h can
change it into smovl.
Sat Feb 29 09:15:51 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* function.c (expand_function_end): Allocate rtl that points to
trampoline permanently.
* reload1.c (gen_input_reload): If one operand of a PLUS is a MEM,
move it into a reg and add the other (makes code agree with comments).
* explow.c (eliminate_constant_term): Rework so it does not directly
add integer values; call simplify_binary_operation instead.
Second arg is now pointer to rtx, not int.
Assume constant is always second operand of PLUS.
(memory_address): Pass rtx pointer to eliminate_constant_term.
* halfpic.c (half_pic_address_p): Likewise.
* mips.c (simple_memory_operand, mips_address_cost): Likewise.
(mips_debugger_offset): Likewise.
* expr.c (expand_expr, case PLUS_EXPR): Likewise.
Don't add INTVALs; use simplify_binary_operation instead.
Remove obsolete OLD_INDEXING code.
Put a MULT in the first operand of the PLUS.
* combine.c (combinable_i3pat): Don't combine if I3DEST is a hard
reg in a non-valid mode.
Sat Feb 29 09:14:19 1992 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
* vms.h (ASM_OUTPUT_COMMON): Use SIZE instead of ROUNDED bytes.
(DO_GLOBAL_CTORS_BODY): Do not call fflush(stdout).
* gcc.texi: Update GLOBAL[DEF,REF,VALUE] documentation.
* make-l2.com: Remove call to test_gcc2.
Sat Feb 29 02:52:59 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cccp.c (main): Rename envvars to CPLUS_INCLUDE_PATH and
OBJCPLUS_INCLUDE_PATH.
* m68k.h (TRANSFER_FROM_TRAMPOLINE): Use `move', not `mov'.
Fri Feb 28 19:39:09 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu)
* fixincludes: Don't change symbols that already start with `_'
into `__symbol__'. Merge all of the sun* substitutions so they
don't fight each other.
Comment out junk after #elses and #endifs, to prevent warnings
when -pedantic is given.
Fri Feb 28 13:42:05 1992 Jim Wilson (wilson@cygnus.com)
* sched.c (schedule_insns): Don't update value of reg_live_length
when it is negative, because negative values are special. Earlier
fix Dec 17 disabled the fprintf call, but not the assignment.
* unroll.c (copy_loop_body): After incrementing the base reg for a
split DEST_ADDR giv, must subtract the const_adjust from the base
reg to get its true current value.
* loop.c (maybe_eliminate_biv_1): When handling COMPARE, verify
that mult_val is positive, which makes the code match the comment,
and surrounding code.
* sparc.c (legitimize_pic_address): Always test reload_completed
in addition to reload_in_progress.
* sched.c (schedule_block): Don't reorder any USE insns at the end
of a function. Exclude them all from scheduling.
* c-typeck.c (build_array_ref): Check for when `ar' is an
error_mark_node and don't emit a second error message for that node.
* Makefile.in: Correct misc typos in comments or spacing.
(mostlyclean): Update names of files to delete.
* Makefile.in (install-man): Also install cccp man page.
(uninstall): Also delete cccp man page. Don't delete protoize and
unprotoize man pages twice.
* Makefile.in (libgcc2.a): Delete unnecessary -fstrength-reduce -O
flags on gcc command lines, superseded by LIBGCC2_CFLAGS.
* Makefile.in (config.status): Verify that file does not exist
before printing an error and failing. Prevents problem with Sun's
KEEP_STATE feature.
Fri Feb 28 05:15:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* stmt.c (expand_computed_goto): Call emit_queue.
* function.c (assign_parms): Don't generate convert whose operand
is register that is not valid in its mode.
* reload.c (find_reloads_toplev): Don't do anything with paradoxical
SUBREGs if BYTE_LOADS_ZERO_EXTEND.
Thu Feb 27 09:59:09 1992 Jeffrey A Law (law at b115.super.org)
* toplev.c (main): Enable caller-saves for all machines at
optimization levels of -O2 or higher.
* mips.h (OPTIMIZATION_OPTIONS): toplev.c will turn on
caller-saves at -O2 now. Do not do it here.
* sparc.h (OPTIMIZATION_OPTIONS): Likewise
Thu Feb 27 06:47:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* cp-call.c: Move some extern declarations to file level.
* emit-rtl.c (init_emit_once): Cast VOIDmode to int in array index.
* reorg.c (mark_target_live_regs): Don't make recursive call if
function being compiled has infinite loop.
* cse.c (fold_rtx, case 'o'): New case to support folding LO_SUM.
* global-alloc.c (global_alloc): When calling reload, pass the
result of get_insns instead of basic_block_head[0].
* c-typeck.c (process_init_constructor): Don't check array index
against limits if array bounds weren't specified.
* gcc.c (link_command_spec): Put back -s.
* gcc.c (find_a_file): Add missing paren in init of file_suffix.
* i386sun.h (LIB_SPEC): Insert missing blank.
* sun386.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Add #undef.
* sparc.h (LINK_SPEC): Correct comment.
* sun3.h, i386sun.h (LINK_SPEC): Don't force -Bstatic if -g.
* mips-news.h (ASM_SPEC): Add missing "}".
* Makefile.in (install-native): Don't include install-proto.
(.y.c): Suppress default rule for using Yacc.
* combine.c (apply_distributive_law, case SUBREG): Check that word
numbers are the same.
Don't change a single-word operation into a multi-word operation.
Put all checks on SUBREGs in one place.
(gen_lowpart_for_combine): Use correct word number when making
explicit SUBREG.
* README.SCO: Obsolete file deleted.
Wed Feb 26 21:23:02 1992 Jim Wilson (wilson@cygnus.com)
* sparc.md (DImode sethi): Correctly handle CONST_DOUBLE, was
wrong endian.
(DImode lo_sum): Don't output CONST_DOUBLES as 64 bit constants,
just output the low 32 bits.
* unroll.c (find_splittable_givs): For combined address givs, save
the increment amount in add_val.
(copy_loop_body): For combined address givs, increment by the
amount calculated by find_splittable_givs, not by the amount that
the giv it was combined with gets incremented by.
* expr.c (clear_pending_stack_adjust): Check flag_no_inline, not
optimize, to determine whether functions declared inline will be
inlined.
* dbxout.c: Delete all #ifndef DBX_DEBUGGING_INFO stubs. None of
them are needed.
* hp800.c, hp800.h: Fix typos in comments.
Wed Feb 26 02:39:52 1992 Michael Tiemann (tiemann at rtl.cygnus.com)
* cp-call.c (build_method_call): If conversion of INSTANCE_PTR
yields error_mark_node, return error_mark_node immediately.
Tue Feb 25 23:40:01 1992 Mike Stump (mrs at cygnus.com)
* tree.c (array_type_nelts): Fix documentation, really nelts-1
* cp-tree.c cp-tree.h cp-init.c (expand_vec_init): Fixed
multi-dimensional array inits.
Mon Feb 24 00:03:23 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-tree.c (build_cplus_new): Set TREE_SIDE_EFFECTS bit on
NEW_EXPR.
* cp-typeck.c (build_modify_expr): Handle WITH_CLEANUP_EXPRs
specially when they appear in expressions (not initializations).
Also handle COND_EXPRs on the right-hand-side specially (in case one
of the COND_EXPR's branches is a WITH_CLEANUP_EXPR).
Sun Feb 23 15:11:27 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-decl2.c (finish_anon_union): Make RTL for ANON_UNION_DECL based
on MAIN_DECL.
* cp-decl.c (lookup_tag): Deal with the fact that `clear_anon_tags'
may have been run.
* cp-decl.c (cplus_expand_expr_stmt): Give line number for usage
whcih incurs warning message.
Sat Feb 22 20:49:45 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-decl.c (init_decl_processing,auto_function): New approach to
defining the default functions `operator new' and `operator delete'.
* cp-init.c (init_init_processing): Rest of changes here.
* libgcc2.c (_builtin_{new,delete,New}): Gone.
* libgcc2.c (_new_handler): New name for section that defines the
default new handler.
Sat Feb 22 02:09:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Version 2.0 released.
* gcc.c (do_spec_1): Handle SPACE_AFTER_L_OPTION.
* hp320.h (SPACE_AFTER_L_OPTION): Defined.
Note: for 2.1, try making a space there on all systems.
* i386mach.h (perform_*): New macros, copied from i386rose.h.
* Makefile.in (distclean): New target.
(realclean): Avoid duplication with self or with distclean.
(gcc.xtar.Z): Depend on gcc.xtar.
(gcc.xtar): Fixes in copying files.
* expr.c (do_store_flag): Don't correct CODE before where it is set.
* cp-parse.y (stmt): Pass pushcase_range all the args it wants.
Fri Feb 21 18:14:52 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* combine.c (distribute_notes): Correctly handle the case of a
REG_DEAD note for a multi-word hard register when not all of
the words are used.
Fri Feb 21 16:47:32 1992 Michael Meissner (meissner@osf.org)
* mips.h (MIPS_VERSION): Change Meissner version # to 12.
(half_pic support): Move the halfpic support to halfpic.h which is
included in the decrose case, and nop the support in other MIPS
platforms.
(OPTIMIZATION_OPTIONS): Move setting caller-saves to -O2.
(OBJECT_FORMAT_COFF, EXTENDED_COFF): Define unless OSF/rose.
(INITIAL_FRAME_POINTER_OFFSET): Always recalculate the frame size,
don't rely on cached values.
* mips.c (half_pic support): Move the halfpic support to halfpic.c,
which is only compiled for OSF/rose.
(expand_block_move): Use copy_addr_to_reg instead of copy_to_reg in
case either the source or destination is an integer constant
converted to an appropriate pointer type.
(mips_debugger_offset): Use a local variable to hold function
result.
* decrose.h (toplevel): Include halfpic.h for halfpic support.
(PTRDIFF_TYPE): Change to 'int' to match current include files.
(WCHAR_TYPE): Change to 'unsigned int' to match include files.
(INIT_SECTION_ASM_OP): Delete, since the OSF/rose assembler doesn't
support a true initialization section.
* encrose.h (PTRDIFF_TYPE): Change to 'int' to match current include
files.
(WCHAR_TYPE): Change to 'unsigned int' to match include files.
* t-decrose (EXTRA_OBJS): Define as halfpic.o to provide halfpic
support.
(CONFIG2_H): Treat halfpic.h as another config file.
(halfpic.o): Add dependencies.
* halfpic.h (new file): Common include file for systems needing the
OSF/rose half-pic shared library support.
* halfpic.c (new file): Common support file for systems needing the
OSF/rose half-pic shared library support. Currently these are stub
functions.
Fri Feb 21 16:07:02 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-parse.y (get_current_declspecs): New function
(needed for naming sections).
Fri Feb 21 01:34:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* dwarfout.c (location_or_const_value_attribute): Use DECL_RTL again.
Seems to be safer for the moment.
* function.c (instantiate_decls): Don't instantiate DECL_INCOMING_RTL.
* dwarfout.c (output_mem_loc_descriptor): Handle CONST like SYMBOL_REF.
* collect2.c (errno): Declare if not macro.
* dbxout.c [MIPS]: Include gstab.h, not stab.h.
* dbxout.c (dbxout_symbol): No longer flush leading _ for C++ syms.
* cp-parse.y (.hush_warning): Set $$.
* gstdarg.h: Handle _HIDDEN_VA_LIST as in gvarargs.h.
Thu Feb 20 07:41:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* vax.c (reg_or_nxmem_operand): New function.
(split_quadword_operands): Add missing return type (void).
* vax.md (jlbc/jbc/jlbs/jbs): Handle QImode operands properly.
* caller-save.c (set_reg_live): Use mode of SUBREG to see how many
hard regs are written.
* combine.c (simplify_shift_const, case IOR, AND, XOR): Perform
logic computation in RESULT_MODE, not mode of VAROP.
Wed Feb 19 18:32:05 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* hp320.h (PRINT_OPERAND): Support codes '$' and '&'.
* reload1.c (reload): Add cast of enum in index.
* vms.h (CPP_PREDEFINES): Define __GNUC__ as 2.
Wed Feb 19 21:43:36 1992 Ron Guilmette (rfg at ncd.com)
* dwarfout.c (output_mem_loc_descriptor): Deleted useless blank line.
(output_mem_loc_descriptor) Added code to handle CONSTs in DECL_RTL
expressions.
(dwarfout_finish): Added code to put a null string at the end of
the terminating .debug_macinfo section.
Tue Feb 18 18:34:13 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu)
* cccp.c (main): Fix typo in comment or spacing.
* dbxout.c (dbxout_block): Likewise.
* expr.c (convert_move): Likewise.
* reload1.c (emit_reload_insn): Likewise.
* rtl.h (REG_NOTES): Likewise.
* sun4o3.h: Likewise.
* ultrix.h (CPP_PREDEFINES): Likewise.
* toplev.c (flag_no_common): Likewise.
* stmt.c (layout_type): Likewise.
* gcc.c (is_linker_dir, lookup_compiler): Likewise.
* sched.c (schedule_block): Comment code handling USE insns as
obsolete.
Tue Feb 18 14:44:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c++: Run gcc in same dir as c++ was in, if exists there.
Use `exec' to run it.
New var `havefiles'; special message if no input files specified.
Pass through any unrecognized options.
* g++: Now a link to c++.
Tue Feb 18 04:54:52 1992 david d [zoo] zuhn (zoo at lynx.spa.umn.edu)
* protoize.c (main): added support for -p flag, to specify which
gcc is the one to call for -fgen-aux-info support.
Tue Feb 18 07:29:23 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* combine.c (try_combine): Don't clobber OTHER_INSN's PATTERN if
we aren't able to change the insn.
* romp.md (bit_insv): Add missing CLOBBER when making pattern to
match mftb; likewise for the DEFINE_INSN.
Tue Feb 18 01:03:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* rs6000.h (bss_section): Set `in_section' correctly.
* expmed.c (synth_mult): Count second shift for alg_compound.
Count extra shift for lea case.
* m68k.h (RTX_COSTS): Reduce cost of multiply.
* function.c (instantiate_decls): Instantiate DECL_INCOMING_RTL.
Mon Feb 17 19:17:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* a29k.md (divmodsi4, udivmodsi4): Don't use reg 180 explicitly.
Instead use 'q' constraint letter.
Mon Feb 17 16:15:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* global-alloc.c (global_alloc): Always call `reload'.
Mon Feb 17 10:38:38 1992 Jim Wilson (wilson at sphagnum.cygnus.com)
* a29k.md (movdi define_split): Use DImode in operand_subword
calls, not DFmode.
Mon Feb 17 08:20:33 1992 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu)
* varasm.c (assemble_external): Check that DECL is some sort of
_DECL before referencing its DECL_RTL.
Sun Feb 16 13:05:36 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-call.c (build_method_call): Add call to `assemble_external' in
case this is the first use of FUNCTION.
* cp-class.c (build_vfn_ref): Ditto for VTBL.
* cp-decl2.c (write_vtable_entries): Ditto for FN.
* cp-init.c (build_offset_ref): Ditto for T.
* cp-typeck.c (build_function_call_real): Ditto for FUNCTION.
* cp-method.c (hack_identifier): Ditto for VALUE. Also remove
action that made call to `assemble_external' when !TREE_USED (VALUE).
* cp-lex.c (do_identifier): Remove call to `assemble_external' when
implicitly declaring ID.
* cp-parse.y (primary): Simplify the rules for calling
`assemble_external'.
* cp-decl.c (finish_function): For destructors, don't call
expand_expr_stmt if EXPRSTMT is VOID_ZERO_NODE.
* cp-typeck.c (default_conversion): Parallel Jan 21 change in
c-typeck.c.
Sun Dec 16 23:31:54 1992 Ron Guilmette (rfg at ncd.com)
* dwarfout.c (fundamental_type_code): Deleted gunk for handling
OFFSET_TYPEs. (They are *not* fundamental types).
(fundamental_type_code): Fixed typo.
(location_attribute, const_value_attribute): Changed to take one
rtx parameter rather than one tree parameter.
(location_or_const_value_attribute): Changed to use DECL_INCOMING_RTL
rather than DECL_RTL for formal parameters. Also changed calls to
location_attribute and const_value_attribute to provide the rtl
parameter.
(fund_type_attribute): Changed to accept an actual fundamental type
code as a parameter directly. Also changed all calls correspondingly.
(type_attribute): Separated tests for ERROR_MARK and for VOID_TYPE
and added comments.
(output_unspecified_parameters_die): Changed to take one tree param
and to generate *both* an AT_name and an AT_type attribute when the
input parameter represents of function definition. Also adjusted
all calls correspondingly.
Sun Feb 16 00:54:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* fixincludes: Add #ifndef around size_t declaration in types.h.
* varasm.c (assemble_external): Do nothing if arg isn't a decl.
* Makefile.in (cp-parse.c): Update "expect" msg.
* next.h (CPP_SPEC): Rename -bsd to -strict-bsd.
* Makefile.in (mostlyclean): Add ld, mips-tfile, mips-tdump.
* protoize.c (directory_specified_p): Don't match files in subdirs.
* xm-rs6k-m.h: Renamed from xm-rs6000-mach.h.
* configure (rs6000-*-mach*): Changed accordingly.
* collect2.c (handler): No error msg here. Just resend signal.
(write_c_file): Arg to write_list... is pointer.
(do_wait): Fix typo.
(scan_prog_file for non-OSF): Preserve all underscores.
* Makefile.in (install-collect2): Install gcc in libsubdir.
Sat Feb 15 15:26:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* varasm.c (decode_reg_name): Empty string is not a reg number.
* fold-const.c (merge_component_references): NE tests against
mismatched constants forces 1, not 0, as value.
* i386gas.h (ASM_OUTPUT_OPCODE): Convert repz to repe.
* collect2.c: Get rid of PROTO macro; use non-prototype decls.
Don't include gstddef.h (had conflicts). Use gstdarg.h, not stdarg.h.
(xcalloc, xmalloc): Add casts.
(do_wait): Avoid macros WTERMSIG, WEXITSTATUS missing on some machines.
* cp-typeck.c (default_conversion): Don't use initial value if BLKmode.
* objc-actions.c (finish_objc): Fix typos in last change.
* c-aux-info.c, dbxout.c, cccp.c (errno): Declare, if not a macro.
* i386.md (QI bit test recognizer): Split into separate patterns
for memory and register args. Make a scratch reg for memory.
Fri Feb 14 23:39:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* tree.c (get_identifier): Improve -Wid-clash message.
Fri Feb 14 16:22:48 1992 Michael Collison (collison at osf.org)
* i386rose.h (CPP_SPEC): Define the macros LANGUAGE_OBJECTIVE_C and
LANGUAGE_C_PLUS_PLUS if we are compiling Objective C or C++.
(INIT_SECTION_ASM_OP): Define as .init.
(CC1PLUS_SPEC): Define it.
(LINK_LIBGCC_SPECIAL): Define this to work around linker bug.
Fri Feb 14 00:38:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (protoize.o, unprotoize.o): g++-include is under libdir.
* Makefile.in (enquire.o): Make the command one long line.
* gcc.c (do_spec_1): Omit relative prefixes from -L'ing
only if RELATIVE_PREFIX_NOT_LINKDIR is defined.
* rs6000.h (RELATIVE_PREFIX_NOT_LINKDIR): Defined.
* varasm.c (assemble_external): Test TREE_EXTERNAL.
* jump.c (follow_jumps): If can't find chain end, return orig label
* mot3300.h (PRINT_OPERAND): Always print 16 hex digits for a double.
* objc-actions.c (build_module_descriptor) [NEXT_OBJC_RUNTIME]: Ret 0.
(finish_objc): Value 0 from build_module_descriptor means no ctor.
When referencing a class_name symbol, don't output a .globl for it.
(finish_objc): Put artificial refs in text section.
* cccp.c (pedwarn_with_file_and_line): Handle -w, -W.
Fri Feb 14 07:44:08 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.c (notice_update_cc): sCOND opcodes don't change the flags.
Don't record test or compares involving stack-like regs, since
final can't omits tests or compares involving such regs correctly.
* i386.c (seq,sne,beq,bne): These opcodes use the state of
cc_status from before the curren insn.
* reg-stack.c (stack_reg_mentioned_p): Don't make static.
Fri Feb 14 06:27:48 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* jump.c (jump_optimize): Disable "if (...) {... x = C;} if (x) ..."
optimization; there doesn't seem to be a way to fix it.
Thu Feb 13 18:06:06 1992 James Van Artsdalen (james at bigtex.cactus.org)
* seq386.h (ASM_OUTPUT_OPCODE): New macro. Change "movs" into
"smov" at the start of a string move mnemonic - Sequent as(1)
doesn't handle the former.
Thu Feb 13 17:21:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-decl.c (finish_struct): Use pedwarn for pedantic warning.
(grokdeclarator): Likewise.
* c-parse.y (component_decl_list2): Likewise.
Thu Feb 13 22:11:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* combine.c (make_extraction): Default modes to byte and register
size, as appopriate, when the bitfield insn doesn't exist.
* a29kunix.h (LINK_SPEC): Pass default option file to gld.
(LINK_LIBGCC_SPECIAL): Define to work around gld bug.
* explow.c (copy_to_suggested_reg): Try getting mode from TARGET.
* rs6000.h (ASM_FILE_END): New macro.
(EXTRA_SECTIONS): New section read_only_private_data.
(EXTRA_SECTION_FUNCTIONS): New function read_only_private_data_section.
(SELECT_RTX_SECTION): Always make non-toc data private, read-only.
(SELECT_SECTION): Put read-only data in appropriate sections.
* jump.c (jump_optimize): Place branch in correct place when
optimizing "if (...) {... x = C;} if (x) ...".
(redirect_jump): Ensure jump's UID is within range of jump chain.
* a29k.c (output_prologue): Correctly set LR1 when more than 64
registers are needed.
Wed Feb 12 22:22:46 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
* make-cccp.com: Define link as a local symbol to avoid
possible conflict with a user defined global symbol.
* make-cc1.com: Likewise.
Thu Feb 13 11:05:07 1992 Michael Meissner (meissner at osf.org)
* mips.c (make_temp_file): Store created filename into a static
file-scope variable, not an auto.
(mips_asm_file_end): Use the appropriate filename in printing
errors.
Thu Feb 13 01:15:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cccp.c (skip_if_group): Skip comments after the #.
* cccp.c (macarg): Don't assume stringify will compress spaces.
(macroexpand): In stringify, compress space only outside tokens.
* cexp.y (exp1): Use pedwarn for comma in #if.
* cp-decl.c (push_binding_level, pop_binding_level):
Change `inline' to `__inline'.
* combine.c (make_compound_operation): Undo previous change.
Wed Feb 12 18:47:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* function.c (instantiate_virtual_regs_1, case IF_THEN_ELSE):
Don't special case; allow all operands to be processed. The last
two operands are nontrivial on the Vax.
Wed Feb 12 18:58:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gcc.c (do_spec_1): Only absolute prefixes turn into -L's.
(link_command_spec): Handle LINK_LIBGCC_SPECIAL.
Wed Feb 12 18:38:29 1992 Chris Smith (csmith at convex.com)
* convex.h (DEFAULT_CALLER_SAVES): define again, bug is fixed.
* convex.h (BRANCH_COST): Define as 0, so we won't use complex
alternatives to branches (whose expansions contain branches
on convex).
Wed Feb 12 17:23:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* config.sub: Accept just `hppa' for machine.
* Makefile.in (Install-collect2): New target.
Wed Feb 12 13:55:24 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reorg.c (relax_delay_slots): Don't convert jump to return here.
* configure (a29k-ultra-*): Deleted.
(a29k-*-bsd*): Merged with a29k-ultra-*.
(romp-*-mach*): Fixed typo in xmake_file name.
* xm-a29kunix.h: Renamed from xm-a29k-ult.h.
* x-a29kunix: New file.
* reload.c (find_reloads): Don't use class from preference if it
is a single-register class.
Wed Feb 12 13:03:16 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88k.h (FUNCTION_BOUNDARY, ASM_OUTPUT_ALIGN): Pack code tightly
when compiling crtstuff.c (flag_inhibit_size_directive).
Wed Feb 12 10:34:09 1992 Michael Meissner (meissner at osf.org)
* decrose.h (*_SPEC): Compress some whitespace in the specs. Also,
simpify which LANGUAGE_xxx names are defined, to be the ones uses by
the system(s).
* decstatn.h (*_SPEC): Likewise.
* iris.h (*_SPEC): Likewise.
* mips.h (*_SPEC): Likewise.
* mips-bsd.h (*_SPEC): Likewise.
* mips-news.h (*_SPEC): Likewise.
* mips-sysv.h (*_SPEC): Likewise.
Wed Feb 12 10:34:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* caller-save.c (insert_save_restore): Properly check for insns that
reference CC0.
Wed Feb 12 03:17:00 1992 Chris Smith (csmith at convex.com)
* convex.h (DEFAULT_CALLER_SAVES): don't define, to sidestep a bug.
* convex.md (ffssi2): Comment out.
Wed Feb 12 00:08:42 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
* make-libgcc2.com: Do not save .s file.
* vms.h: Wrap #include <stdio.h> in #ifdef L__main/endif
Tue Feb 11 21:58:42 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
* libgcc2.c (DO_GLOBAL_DTORS_BODY): New macro.
* make-l2.com: New file to build libgcc2 on VMS.
* vms.h (DO_GLOBAL_CTORS_BODY): Replacement definition.
* vms.h (DO_GLOBAL_DTORS_BODY): Likewise.
* make-cccp.com: Define bison and rename as local symbols to avoid
possible conflict with user defined global symbols.
Tue Feb 11 22:17:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* sched.c (attach_deaths): Don't treat PIC offset table register
specially; flow.c doesn't.
* combine.c (make_compound_operation, case AND): We can have
a (and (subreg (lshiftrt ..) ..) ..); handle same as without SUBREG.
* Makefile.in (HOST_CLIB, HOST_ALLOCA, HOST_MALLOC, HOST_OBSTACK): New
variables to override.
(USE_HOST_*, HOST_LIBDEPS): Use HOST_PREFIX and new variables.
(HOST_LIBS): Use HOST_CLIB.
Tue Feb 11 21:32:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (install-common-headers): Copy byteorder.h to
compilation dir.
* config.sub: Allow unicos as operating system.
* m88kv4.h (INIT_SECTION_ASM_OP): Add #progbits.
* vax.h (DYNAMIC_CHAIN_ADDRESS): New macro.
* c++: Propagate quoted args properly.
Tue Feb 11 16:35:01 1992 Jim Wilson (wilson at cygnus.com)
* fixincludes: Define TERM to `unknown', to ensure that it is
valid. Otherwise, ex may fail.
* fixinc.svr4: Likewise.
Tue Feb 11 18:04:32 1992 Michael Meissner (meissner at osf.org)
* decrose.h (CPP_SPEC): Define the macros LANGUAGE_OBJECTIVE_C and
LANGUAGE_C_PLUS_PLUS if we are compiling Objective C or C++.
Silicon Graphics in particular uses LANGUAGE_C_PLUS_PLUS.
* decstatn.h (CPP_SPEC): Likewise.
* iris.h (CPP_SPEC): Likewise.
* mips-bsd.h (CPP_SPEC): Likewise.
* mips-news.h (CPP_SPEC): Likewise.
* mips-sysv.h (CPP_SPEC): Likewise.
* decstatn.h (CPP_PREDEFINES): Eliminate __<name> versions, since
gcc will do these automatically. Eliminate LANGUAGE_C, since it is
handled in CPP_SPEC.
Tue Feb 11 15:38:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* flow.c (find_basic_blocks): Don't delete labels used in non-jumps.
* vms.h (DO_GLOBAL_CTORS_BODY): Modify the return address
only the first time __main is called.
* fixinc.svr4: Change headers to test __STRICT_ANSI__ instead of
testing __STDC__ != 0.
* fixinc.svr4 (mman.h): Fix backward __STDC__ conditional.
Don't add declarations of munmap and mprotect.
* varasm.c (output_constant): Allow empty constructor for any type.
* dwarfout.c (ASM_OUTPUT_DWARF_DATA8): Just one definition;
test WORDS_BIG_ENDIAN "at run time".
Tue Feb 11 09:00:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload.c (find_reloads): Don't substitute in MATCH_DUPs if we
are not generating replacements.
Tue Feb 11 08:45:14 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88kv4.h ({CTORS,DTORS}_SECTION_ASM_OP): Fix typo.
Mon Feb 10 22:34:47 1992 Chris Smith (csmith at convex.com)
* convex.h(HARD_REGNO_NREGS): define correctly for 64-bit regs
Mon Feb 10 21:50:23 1992 Michael Meissner (meissner at osf.org)
* mips.h (MIPS_VERSION): Change Meissner version # to 11.
(CPP_SPEC): Define the macros LANGUAGE_OBJECTIVE_C and
LANGUAGE_C_PLUS_PLUS if we are compiling Objective C or C++.
Silicon Graphics in particular uses LANGUAGE_C_PLUS_PLUS.
(FP_DBX_FIRST): Change the test so that stabs in ECOFF uses the
value 38, in addition to stabs in GAS.
* mips.md (all function units): Make the function units simpler, and
not depend on the cpu type, to work around a memory hungry
genattrtab, which attempts to grow the data segment to than 32
megabytes.
Mon Feb 10 16:34:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* convex.h (REAL_VALUE_TRUNCATE): Obsolete definition deleted.
* config.sub (convex-*): These are BSD, not sysv.
* dbxout.c (have_used_extensions): New var.
(dbxout_type, dbxout_type_fields, dbxout_symbol):
Set have_used_extensions when use an extension.
(dbxout_symbol): Don't use `Tt' extension unless extensions
have been used.
Mon Feb 10 12:28:59 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* xm-a29k-ult.h: Fix typo in placement of copyright notice.
Mon Feb 10 05:36:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* dbxout.c (dbxout_type): Don't use GDB extensions if they are empty.
Mon Feb 10 00:10:20 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-class.c (finish_struct): Use DECL_CHAIN, not TREE_CHAIN to walk
through the list of methods identified by a visibility declaration.
* cp-cvt.c (convert_pointer_to): No longer need to abort if BINFO is
not a TREE_VEC or AGGR_TYPE node.
* cp-parse.y (stmt): Improve error handling for try/except.
* cp-class.c (add_method): If we create RTL for a copy of METHOD,
copy the RTL to METHOD's DECL_RTL slot.
* cp-method.c (dump_type): Print `const' and/or `volatile' for
VOID_TYPE and REAL_TYPEs, too.
Sun Feb 9 21:07:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* varasm.c (assemble_integer): Pass third arg in recursive calls.
Act appropriately if word-by-word loop doesn't finish.
* Makefile.in (bootstrap*): Don't override value of ALLOCA.
* dbxout.c (dbxout_symbol, dbxout_parms): Do leaf function remap
only if LEAF_REG_REMAP and only in leaf functions.
Sun Feb 9 16:46:27 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-init.c (maybe_adjust_addr_for_delete): Build final COND_EXPR
with TREE_TYPE (addr).
Sun Feb 9 14:20:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* rs6000.h (rs6000_{bss,private_data,read_only}_section_name):
Add declarations.
(rs6000_text_section_asm_op): Deleted.
(ASM_FILE_START): Initialize section names and enter bss section once.
(EXTRA_SECTIONS): Add `private_data' and `bss';
delete `global_variable'..
(read_only_data_section): Don't form name here.
(global_variable_section): Deleted.
(private_data_section, bss_section): New functions.
(ASM_DECLARE_FUNCTION_NAME): Don't write function name with [PR].
(ASM_OUTPUT_POLL_PROLOGUE): No longer needed.
(SELECT_{RTX_,}SECTION): Just calls data_section or
private_data_section.
(ASM_OUTPUT_LOCAL): Put in bss section.
(TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Now a constant.
* rs6000.c (rs6000_text_section_asm_op): Deleted.
(rs6000_{bss,private_data,read_only}_section_name): Add definitions.
(rs6000_gen_section_name): New function.
Sun Feb 9 08:29:21 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.h (REGNO_REG_CLASS): Use a lookup table: AIX can't handle
complex tertiary expressions.
(GO_IF_LEGITIMATE_ADDRESS): Simplify slightly for the AIX
compiler.
* i386.c (regclass_map): New variable. Lookup array for
REGNO_REG_CLASS.
Sat Feb 8 01:20:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cp-parse.y (yyprint): Test __GNUC__, not __GNU__.
Use __inline, like everywhere else.
* a29k.h, romp.h (OVERRIDE_OPTIONS): Deleted.
(OPTIMIZATION_OPTIONS): Defined, instead.
* rs6000.h (OPTIMIZATION_OPTIONS): New macro.
(OVERRIDE_OPTIONS): Don't change optimization.
* final.c (leaf_renumber_regs_insn): No longer static.
* dbxout.c (dbxout_symbol, dbxout_parms): Call that.
* c-decl.c (lookup_name): Do nothing special if type is error mark.
(grokdeclarator): Ignore putative type name whose type is error mark.
* c-parse.y (primary): If var type is error mark, return error mark.
* c-typeck.c (build_array_ref): Return early if arg is error mark.
* Makefile.in (test-protoize): Rule deleted.
* stmt.c (emit_case_nodes): Handle just-left-subtree case
like just-right-subtree--delete mysterious code that tests cost_table.
* varasm.c (decode_reg_name): Accept decimal number as reg name.
* c-decl.c (finish_decl): If pop_obstacks goes to perm obstack,
call permanent_allocation.
* gcc.c (link_command_spec): Use -lgcc, not libgcc.a.
Fri Feb 7 16:56:17 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu)
* rs6000.h (DOLLARS_IN_IDENTIFIERS): Define to zero, because the
assembler does not accept dollar signs.
Fri Feb 7 15:36:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (mostlyclean): Fix name of tmp-proto.1.
* configure: Delete excess space in assignment to srcdir.
* cp-decl2.c (DOLLARS_IN_IDENTIFIERS): Default now 1, as in C.
* i386gas.h (ASM_OUTPUT_LOOP_ALIGN): New macro.
(ASM_OUTPUT_ALIGN_CODE): Use 16-byte boundary on 486.
* m68k.h (TRANSFER_FROM_TRAMPOLINE): Use operands for the memrefs
to avoid dependence on assembler syntax.
Fri Feb 7 10:26:32 1992 Michael Meissner (meissner at osf.org)
* Makefile.in (EXTRA_OBJS): New variable for extra object files
needed when linking cc1, cc1plus, and cc1objc.
Fri Feb 7 07:34:03 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload1.c (set_label_offsets, reload_as_needed): Recompute
num_not_at_initial_offset when we pick up offsets from offsets_at.
* unroll.c (unroll_loop): Copy initial and final values to avoid
sharing.
* cse.c (simplify_relational_operation): Complete last change by
correctly handling <= and >=.
Thu Feb 6 23:57:02 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-decl.c (grokdeclarator): Invert sense of warning about
initialized extern vars, since in C++, const has funny semantics.
Thu Feb 6 15:12:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cse.c (simplify_relational_operation): Test properly for floating
equality; don't deduce this from < and >.
* xm-mips.h (alloca): Don't define or declare if MIPS_OVERRIDE_ALLOCA.
* xm-irix4.h (MIPS_OVERRIDE_ALLOCA): Defined.
* m68k.h (TRANSFER_FROM_TRAMPOLINE): Use explicit reg var
to avoid dependence on register name syntax.
* mot3300.h (PUT_SDB_START_DIM, PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM):
New macros.
(PUT_SDB_DIM): Deleted.
(PRINT_OPERAND): Handle %$ and %&.
(ASM_OUTPUT_OPCODE): Handle f%$move and f%&move.
* gstdarg.h: If not __GNUC__, use system's stdarg.h.
Thu Feb 6 22:36:36 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
* vms.h (DEFAULT_GDB_EXTENSIONS): Define as 0.
Thu Feb 6 13:32:37 1992 Michael Meissner (meissner at osf.org)
* mips.h (MIPS_VERSION): Set Meissner version # to 10.
(flag_half_pic, mips_branch_likely): New global variables.
(call_memory_operand): New function declaration.
(half_pic_encode_section_info): Likewise.
(mips_constant_address_p): Likewise.
(mips_debugger_offset): Likewise.
(CC1_SPEC): Make OSF/1 -pic-xxx switches to -mhalf-pic, which is
currently undergoing development.
(DEBUGGER_AUTO_OFFSET): Emit correct information if frame pointer is
omitted.
(DEBUGGER_ARG_OFFSET): Likewise.
(TARGET_SWITCHES): Add -mabicalls and -mhalf-pic switches.
(PIC_OFFSET_TABLE_REGNUM): Define as the GP register ($28).
(EXTRA_CONSTRAINT): Add 'S' constraint for half-pic references.
(CONSTANT_ADDRESS_P): Call mips_constant_address_p.
(ENCODE_SECTION_INFO): Reorder test to test optimize first, and to
call half_pic_encode_section_info if half pic.
(PREDICATE_CODES): Add call_memory_operand.
* mips.c (flag_half_pic): New global variable to indicate to produce
half-pic output for OSF/rose.
(mips_branch_likely): New global variable to indicate the branch
should use the branch likely form of the instruction.
(mips_sw_reg_names): Use $fp instead of fp, since regdef.h no longer
defines fp.
(call_memory_operand): New function to return TRUE if the argument
is a valid MEM for a call instruction.
(mips_move_1word): Emit comment in la of half-pic addresses as a
temporary flag to put the right code down.
(mips_constant_address): New function to determine if something is a
constant address or not. Add stub code for -mhalf-pic.
(override_options): Set flag_half_pic if -mhalf-pic.
(override_options): Mark %? as valid for print_operand.
(mips_debugger_offset): New function to correct the offset for
variables and arguments if the frame pointer has been omitted.
(print_operand): %? now emits a 'l' if mips_branch_likeley is set.
(mips_asm_file_start, function_prologue): If -mabicalls, emit the
pseudo ops that the Pyramid System V.4 port seems to want.
(compute_frame_size): Reserve space for saving GP if -mabicalls.
(half_pic_encode_section_info): Stub function for encoding whether
or not to generate a half pic reference.
* mips.md (type attribute): Add pic attribute.
(cpu attribute): New attribute to get the CPU type.
(branch_likely attribute): New attribute to say whether or not we
can use branch likely instructions.
(define_delay): Note that we can annull false branches if -mips2.
(memory function unit): Add pic in addition to load.
(various function units): Use the cpu attribute.
(branch patterns): Support branch likely instructions if -mips2.
(call, call_internal): Use call_memory_operand instead of
memory_operand. If -mhalf-pic put function address in a register.
(call_value, call_value_internal): Likewise.
* decrose.h (INIT_SECTION_ASM_OP): Define as .init.
Thu Feb 6 10:07:17 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88k.c (preserve_registers): Change to walk the epilogue delay
insns in the forward rather than reverse order (for reorg.c change).
Thu Feb 6 02:54:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cse.c (simplify_binary_operation, case PLUS): Don't make
a (const (plus X Y)) with X a CONST_INT.
* fixincludes: Simplify egrep command.
Thu Feb 6 01:11:28 1992 Mark Eichin (eichin at cygnus.com)
* cp-lex.c (process_next_inline): if we get a "parse error at end of
saved function text", set yychar to something that
restore_pending_input will digest (if it thinks input is still
pending, it will abort, but we've already reported the problem to
the user.)
Wed Feb 5 18:42:56 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reorg.c (fill_simple_delay_slots): When filling delay slots by
searching backward, put each new insn we find at the head of the
delay list instead of at the tail.
* cse.c (fold_rtx): When associating operations, avoid infinite
recursion if the new expression contains our operand.
Wed Feb 5 21:18:06 1992 Mark Eichin (eichin at cygnus.com)
* cp-decl.c (globalize_nested_type): If the type isn't found at all,
this is an anonymous forward reference, so permit it.
Abort if type is already globally defined.
Wed Feb 5 18:01:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* varasm.c, hp800.h, i386.h, m88k.h, mips.h, romp.h, vms.h:
(ENCODE_SECTION_INFO): Renamed from ENCODE_SEGMENT_INFO.
* sparc.md (nonlocal_goto): Copy static chain into
virtual_stack_vars_rtx, not frame pointer itself.
(nonlocal goto return recognizer): Jump to %o0+0.
* toplev.c (main): Fix test for -Wid-clash.
Wed Feb 5 16:58:15 1992 Ron Guilmette (rfg at ncd.com)
* dwarfout.c (dwarfout_init): Add two words containing the starting
and ending address of the .text section for this compilation unit to
the special initial entry in the .debug_srcinfo section.
Tue Feb 4 14:51:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* dbxout.c (dbxout_symbol): Handle DBX_OUTPUT_CONSTANT_SYMBOL.
(dbxout_block): Handle DBX_OUTPUT_CATCH.
* cccp.c (lookup_import, add_import, do_include):
Use bcmp and bcopy to access st_ino and ->inode fields.
* dbxout.c (dbxout_init): Pass syms to DBX_OUTPUT_STANDARD_TYPES.
* fold-const.c (operand_equal_p): Check that modes match.
(comparison_equiv_p): New function.
(fold): Use that when converting ?: to min_expr or max_expr.
* c-common.c (c_expand_expr_stmt): Test for ERROR_MARK as type.
Tue Feb 4 12:03:26 1992 Michael Tiemann (tiemann at cygnus.com)
* stmt.c (expand_end_case): Don't crash if function called
is not an ADDR_EXPR.
Tue Feb 4 14:17:22 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* expr.h ({float[sd]i[sd]f,fix[sd]f[sd]i,fixuns[sd]f[sd]i}_libfunc):
New declarations.
* optabs.c: Define them.
(expand_float, expand_fix): Use them instead of making a new
SYMBOL_REF each call.
(init_optabs): Initialize them.
Tue Feb 4 00:27:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (protoize.1, unprotoize.1): Rename temp files < 14 chrs.
* cccp.c (skip_if_group): Make unknown cmd name a pedantic warning.
Mon Feb 3 18:10:41 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* romp.h (LEGITIMATE_CONSTANT_P, ENCODE_SEGMENT_INFO): Use
SYMBOL_REF_FLAG.
* x-romp-mach: New file.
* configure (romp-*-mach*): New alternative.
Mon Feb 3 16:43:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cp-typeck.c (warn_for_assignment): Print arg num in origin 1.
* sparc.md (nonlocal_goto trap recognizer): Fix opcode spelling.
* function.c (fix_lexical_addr): Properly search for correct display.
* romp.h (OVERRIDE_OPTIONS): Don't set flag_omit_frame_pointer.
Mon Feb 3 11:11:58 1992 Michael Tiemann (tiemann at cygnus.com)
* gcc.c (@c++-cpp-output): Delete extraneous "}}}" at the end of the
rule.
Mon Feb 3 11:38:19 1992 Ron Guilmette (rfg at ncd.com)
* dwarfout.c (dwarfout_init): Generate an initial 2-word entry in the
.debug_srcinfo section containing the addresses of the starts of the
.line and .debug_sfnames sections. Generate it after the initial entry
for the .line section.
* dwarfout.c [DWARF_TIMESTAMPS]: Ensure time_t and time declared.
(dwarfout_init): Make third word of initial .debug_srcinfo entry be
the compilation date/time if DWARF_TIMESTAMPS is defined, or else -1.
* dwarfout.c (dwarfout_init): Output compilation directory name as
the first thing in the .debug_sfnames section.
Mon Feb 3 04:12:51 1992 James Van Artsdalen (james at bigtex.cactus.org)
* Makefile.in (install-dir): `parent' is a shell variable.
Mon Feb 3 09:43:51 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88k.h (EXTRA_SECTIONS): Use init and fini sections from svr3.h,
but only when using svr3.h.
Sun Feb 2 19:50:29 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.h (ADDRESS_COST): New macro.
Sun Feb 2 17:08:47 1992 Michael Meissner (meissner at osf.org)
* mips.c (simple_memory_operand): Don't recognize references to
variables in .sdata or .sbss, which has the effect of not putting
stores into delay slots. This fixes a bug and also doesn't temp the
MIPS linker from trying to put 4 instructions into the delay slot
when it rewrites the function as a PIC function.
Sun Feb 2 16:58:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Do ON_EXIT last.
* Makefile.in (install-dir): Create the parent of mandir if nec.
* real.h (REAL_VALUE_TRUNCATE): sizeof says what cast to float does.
* dbxout.c (DBX_OUTPUT_MAIN_SOURCE_DIRECTORY): New parameter macro.
(DBX_OUTPUT_MAIN_SOURCE_FILENAME, DBX_OUTPUT_SOURCE_FILENAME):
(DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
These are used in place of ASM_...
* newpbb.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Macro renamed.
(DBX_OUTPUT_SOURCE_FILENAME): Likewise.
* next.h (DBX_OUTPUT_MAIN_SOURCE_DIRECTORY): Macro renamed.
(DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
Sun Feb 2 12:51:54 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-typeck.c (build_component_ref_1): Call `compute_visibility'
with a BASETYPE_PATH, not a TREE_LIST.
* cp-class.c (build_vtable_entry): Apologize if we cannot build a
proper vtable because of builtin liminations.
Sun Feb 2 07:30:08 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload.c (combine_reloads): Don't combine two reloads with different
secondary reloads; copy secondary reload to combined reload.
* cse.c (cse_main): PIC_OFFSET_TABLE_REGNUM is not clobbered by calls
if -fpic or -fPIC.
* reorg.c (mark_target_live_regs): Likewise.
* sched.c (attach_deaths): Likewise.
* flow.c (find_basic_blocks): Don't separate a CALL_INSN from
following CLOBBER insns.
* function.c (use_variable, use_variable_after): Don't interpret
reference to internal arg pointer as variable-sized object.
(expand_function_start, expand_function_end): Add USE for virtual
arg pointer if stupid alloc and it is not the real arg pointer.
* flow.c (insn_dead_p, mark_set_1, mark_used_regs): Don't treat
ARG_POINTER_REGNUM specially if it isn't fixed.
* sched.c (attach_deaths): Likewise.
* reorg.c (mark_target_live_regs): Likewise; also make set of regs
clobbered on call agree with cse and flow.
* function.c (fix_lexical_addr): Rework to look for AP references
using internal_arg_pointer; make some related cleanups.
* expr.c (expand_expr, case VAR_DECL, SAVE_EXPR): Treat
inline_function_decl just like current_function_decl.
* stmt.c (expand_end_bindings): When restoring arg pointer, restore
into the virtual form so we will subtract the proper offset, since
the saved value includes the offset.
Sat Feb 1 14:41:34 1992 Ken Raeburn (Raeburn@Cygnus.COM)
* cp-pt.c (end_template_decl): For method template, no longer call
popclass; it isn't needed any more. If after processing template
we're not at the global binding level, throw away any other binding
levels, rather than aborting. Also deleted some other unused code.
Sat Feb 1 09:13:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* xm-rs6000-mach.h, rs6000-mach.h: New files.
* configure (rs6000-*-mach): New option.
Sat Feb 1 00:57:24 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.c: Include tree.h
(symbolic_operand): New predicate function.
(symbolic_reference_mentioned_p): New function.
(legitimize_pic_address,emit_pic_move): New functions.
(function_prologue): Delete unused variable nregs.
If the PIC reg is used, save the old contents and initialize with
a pointer to the GOT.
(simple_386_epilogue): Count the PIC reg if it is used.
(function_epilogue): Delete unused variable "insn". Restore the
original contents of the PIC reg if it was used.
(output_pic_addr_const): New function to handle PIC symbol
reference suffixes.
(print_operand_address): Use that if flag_pic is true.
(print_operand): Likewise. Don't print a prefix in front of any
constant if the 'P' code is used.
(output_387_binary_op): abort if the op is not one we handle.
(maximum_field_alignment): New variable.
(handle_pragma_token): New function. Handle `weak' and `pack'.
* i386.h (CONDITION_REGISTER_USAGE): New macro. Mark PIC reg as
fixed and call used if flag_pic is true.
(PIC_OFFSET_TABLE_REGNUM): New macro.
(FUNCTION_PROFILER): Output PIC compatible code if flag_pic.
(INITIAL_ELIMINATION_OFFSET): Count the PIC reg if it is used.
(GO_IF_LEGITIMATE_ADDRESS): If flag_pic is true, reject bare
label or symbol references, but allow constant pool references.
In all cases, don't bother to check for a constant as the first
operand of a PLUS.
(LEGITIMIZE_ADDRESS): Call legitimize_pic_address for symbolic
references if flag_pic is true. In all cases, HImode regs are not
valid memory pointers.
(LEGITIMATE_PIC_OPERAND): New macro.
(SYMBOLIC_CONST): New macro.
(ENCODE_SEGMENT_INFO): New macro to notice static variables.
(CONST_COSTS): Symbolic constants cost more if flag_pic is true.
* i386.md (movsi): Use define_expand. Call emit_pic_move for
symbolic constants if flag_pic is true.
(divmodM4,udivmodM4): Change predicates so that only regs are
allowed in operands that can't be a mem. Avoids reload
congestion.
(indirect_jump): Allow any reg or mem as operand, not just reg 0.
(casesi): New insn, only used if flag_pic is true.
(call,call_pop,call_value,call_value_pop): Use define_expand to
record if this function ever emits a call, which will implicitly
use the PIC address register.
* svr4.h (SELECT_SECTION): Any item whose initial value involves
linker relocation must go in the data section if flag_pic is true.
* i386v4.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output in PIC style. If
flag_pic is false, ADDR_DIFF_VECs are not output and this is not
used.
(JUMP_TABLES_IN_TEXT_SECTION): New macro.
(WEAK_ASM_OP,DEF_ASM_OP): New macros.
(maximum_field_alignment): New variable. Declare here.
(PCC_BITFIELD_TYPE_MATTERS): New macro. Value depends on
maximum_field_alignment.
(BIGGEST_FIELD_ALIGNMENT): New macro. Likewise.
(HANDLE_PRAGMA): New macro.
(ASM_OUTPUT_ALIGNED_LOCAL): New macro.
Sat Feb 1 00:15:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* flow.c (flow_analysis, find_basic_blocks):
If have nonlocal labels, calls end basic blocks.
Each call can jump to each nonlocal label.
Pass extra arg to find_basic_blocks.
* function.c (nonlocal_label_rtx_list): New function.
* dbxout.c (dbxout_init): Vars wd and wd_gotten moved to top level
and renamed to cwd and cwd_gotten.
* c-decl.c (start_function): -Wmissing-prototypes warns if static
function was previously used without a prototype.
* loop.c (find_and_verify_loop): Initialize uid_loop_num[0].
(loop_optimize): Give up fast if no loops.
* stmt.c (expand_end_bindings): Don't adjust fp in nonlocal goto hndlr
if there is a nonlocal_goto insn.
* Makefile.in (cccp.o): Use just libdir in GPLUSPLUS_INCLUDE_DIR.
* gcc.c (do_spec_1): Supply missing arg in some recursive calls.
Fri Jan 31 21:50:03 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu)
* m68k.h (OVERRIDE_OPTIONS): -fPIC is only supported on the 68020
and later cpus. Give an error if -fPIC is tried on a 68000.
Fri Jan 31 21:39:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* flow.c (find_auto_inc): If emitting a move insn in front of the
first insn in a block, update basic_block_head.
* caller-save.c (init_caller_save): Correctly check for case where the
save or restore insns aren't recognized.
Fri Jan 31 21:02:35 1992 Mark Eichin (eichin at cygnus.com)
* cp-decl.c (pushtag): when calling pushdecl, if we're in a
class_binding_level just do a pushdecl_class_level. Otherwise
pushdecl gets called multiple times on class-nested enums, which
short circuits the name list in the global_binding_level.
Fri Jan 31 00:14:20 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* stmt.c (expand_goto): Use nonlocal_goto pattern if it exists.
* sparc.md (nonlocal_goto): New pattern.
Also nameless pattern for the special trap insn.
* gcc.c (S_ISDIR): Add default definition.
* function.c (expand_function_end):
Set up arg_pointer_save_area at start of function.
* c++: Accept -nostdlib, not -nostinc.
* va-sparc.h: If GCC v1, define __extension__ as nothing.
* va-i860.h, va-pyr.h, va-spur.h: Likewise.
* cp-class.c (finish_struct): Fill in DECL_ALIGN of vtable field.
* regclass.c (reg_class_record):
Don't follow indirect loops in constraints.
* function.c, expr.h (current_function_internal_arg_pointer): New var.
* function.c (assign_parms): Set it.
(push_function_context, pop_function_context): Save and restore it.
* expr.c (expand_builtin): Use it.
* function.h (struct function): New slot to save it in.
* cse.c (cse_main): Calls do clobber arg pointer if not fixed.
* hp320.h (HAVE_ATEXIT): New definition.
* Makefile.in (ALL_CPPFLAGS): New variable.
Use in all compile steps instead of CPPFLAGS.
(X_CPPFLAGS, T_CPPFLAGS): New vars, used in ALL_CPPFLAGS.
* x-vax (X_CPPFLAGS): Use this instead of X_CFLAGS.
* stmt.c (expand_end_bindings): Fix typo.
Fri Jan 31 12:15:09 1992 Ron Guilmette (rfg ay ncd.com)
* dwarfout.c (LINE_LAST_ENTRY_LABEL): Definition added.
(dwarfout_finish): Put a label on the last .line section entry.
(dwarfout_finish): Make first word of final .debug_srcinfo record
contain the offset of the final .line section entry.
Fri Jan 31 10:31:44 1992 James Van Artsdalen (james at bigtex.cactus.org)
* cp-tree.c (__eprintf): Make definition match assert.h
declaration.
Thu Jan 30 23:17:11 1992 Per Bothner (bothner at cygnus.com)
* c++: The flags -c, -S, or -E suppress passing -lg++
to gcc. (Otherwise, gcc prints a warning.)
Thu Jan 30 21:10:02 1992 Ron Guilmette (rfg at ncd.com)
* dwarfout.c (dwarfout_init): Fix generation of initial .debug_aranges
entry to be Dwarf Version 1 compliant.
Thu Jan 30 15:51:27 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu)
* i386sun.h (LINK_SPEC): Delete useless %{-Bstatic} term.
* sun2o4.h (LINK_SPEC): Likewise.
* sun3.h (LINK_SPEC): Likewise.
* sparc.h (LINK_SPEC): Delete useless %{Bstatic} term.
* cccp.c (default_include): Delete use of obsolete
NO_STANDARD_INCLUDE_DIR macro.
* protoize.c (default_include): Likewise.
* Makefile.in (libgcc1.null): Delete dummy.o and dummy.c.
Thu Jan 30 15:34:06 1992 Michael Meissner (meissner at osf.org)
* gstdarg.h: Include va-mips.h on MIPS systems.
* va-mips.h (va_start): Provide alternate definition when included
via stdarg.h.
(va_arg): Use __alignof(...) instead of sizeof(...) to determine
whether or not to dword align the argument pointer.
Thu Jan 30 13:06:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (install-common): Get c++ and g++ from srcdir.
* i860.h (FIXED_REGISTERS): Arg pointer is no longer fixed.
* assert.h (__eprintf): Add const to string args in GCC ANSI case.
* Makefile.in (cccp.o, protoize.o, unprotoize.o):
Define LOCAL_INCLUDE_DIR based on $(prefix).
* stmt.c (expand_end_bindings): Arg pointer needs no special
treatment if not fixed.
* cp-parse.y, c-lex.c (yyerror):
Avoid sign-extension of characters in error messages.
Thu Jan 30 11:39:56 1992 Ron Guilmette (rfg at ncd.com)
* dwarfout.c (dwarfout_finish): Fix generation of .debug_pubnames
terminating entry to be 4-bytes of zero followed by a null string.
Thu Jan 30 09:30:19 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* rs6000.c (ccr_bit): Fix typo causing reference to possibly
undefined operand.
* rs6000.h (ASM_SPEC): Remove until new AIX assembler is available.
(ASM_OUTPUT_POOL_PROLOGUE): Add missing "." in csect name.
(ENCODE_SEGMENT_INFO): Deleted.
(ASM_OUTPUT_EXTERNAL): Move code from ENCODE_SEGMENT_INFO here,
using permalloc instead of putting name into saveable_obstack.
Re-enable macro.
(ASM_OUTPUT_EXTERNAL_LIBCALL): Re-enable.
Wed Jan 29 21:50:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* rs6000.h (ASM_SPEC): Add -u, now require new /bin/as for AIX.
(ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): No longer needed.
* rs6000.h (ENCODE_SEGMENT_INFO): New macro; add [RW] or [DS] to name.
(RS6000_OUTPUT_BASENAME): New macro.
(ASM_OUTPUT_*): Use it instead of assemble_name when required.
(ASM_OUTPUT_POOL_PROLOGUE): Remove trailing [RW] or [DS].
* rs6000.c (print_operand, case 'z'): New case, for name in CALL_INSN.
(output_toc): Use RS6000_OUTPUT_BASENAME instead of assemble_name
for toc entry name.
* rs60000.md (call): Use %z.
Wed Jan 29 17:17:42 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-init.c (build_member_call): Fix bug involving static members
that are function pointers.
Wed Jan 29 13:25:18 1992 Tom Wood (wood at dg-rtp.dg.com)
* gcc.c (do_spec_1): For %D, only add -L options that are relevant.
(is_linker_dir): Determine if a -L option is relevant.
Wed Jan 29 00:57:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* configure: Turn ns32k alternatives back on.
* Makefile.in (getopt.o, getopt1.c): Join two lines into one.
* x-i386v4, x-i860v4 (GCC_CFLAGS): Add missing `-B./'.
* reload.c (find_dummy_reload, push_reload): Don't reuse dying input
reg as a reload if it is a fixed reg.
* c-tree.h (C_MISSING_PROTOTYPE_WARNED): Deleted since unused.
Wed Jan 29 00:42:34 1992 Tim Moore (moore at fast.cs.utah.edu)
* hp800.c (print_operand): Handle INSN_ANNULLED_BRANCH_P in '*'
operand type.
* hp800.h (DEFAULT_GDB_EXTENSIONS): Define as 0.
* hp800.md (cmpsi): Change arith_operand to arith5_operand.
(bCC patterns): Delete pattern that matches a compare with a
constant first operand. Change arith_operand to arith5_operand.
(fp branches): Change type to cbranch.
* function.c (assign_parms): Set current_function_arg_offset_rtx
correctly for ARGS_GROW_DOWNWARD.
* gstdarg.h: Include va-hp800.h.
* va-hp800.h: Complete rewrite.
Tue Jan 28 17:04:38 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu)
* varasm.c (make_decl_rtl): Delete unused var `i'.
* c-convert.c (convert_to_pointer):
Abort if no integer type is as wide as a pointer.
* gcc.c (default_compilers, .i case): Add error message for -pg
and -fomit-frame-pointer incompatibility.
* Makefile.in (install-common): Install c++ and g++ shell scripts in
bindir.
Tue Jan 28 15:44:10 1992 Michael Collison (collison at osf.org)
* x-encrose (OLDCC): changed to $(GNU_ROSE_BIN)/gcc
* ns32k.h: Added trampoline code.
Tue Jan 28 14:19:52 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* rtl.def (UNSPEC, UNSPEC_VOLATILE): New RTL codes.
* cse.c (canon_hash): UNSPEC_VOLATILE operations are volatile.
* loop.c (invariant_p): Likewise.
* reorg.c (mark_referenced_resources): Likewise.
* sched.c (sched_analyze_2): Likewise.
* rtlanal.c (volatile_refs_p, side_effects_p, may_trap_p): Likewise.
(reg_referenced_p): Support UNPEC and UNSPEC_VOLATILE.
Tue Jan 28 11:50:35 1992 Michael Meissner (meissner at osf.org)
* mips.c (toplevel): Add include of <ctype.h>, since isdigit is
used.
Tue Jan 28 05:47:08 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-decl.c (xref_tag): Addition to eichin's Jan 25 change. If REF
is extant, and it's seen in the global scope outside of
CLASS_BINDING_LEVEL, set its IDENTIFIER_GLOBAL_VALUE if NULL.
* cp-class.c (pushclass): Forcibly remove any remnants of incomplete
type that was previously pushed.
* cp-decl.c (various places): Remove all error messages about C++
constructs being invalid in C language context; extern "C" is a
linkage specifier--no more.
* cp-method.c (dump_type_prefix,dump_type): Never need to output
`unsigned' since its always part of an unsigned integer type name.
(build_overload_name): Change test for unsigned to use
`unsigned_type' instead of examining TREE_UNSIGNED.
* cp-call.c (ideal_candidate): Don't convert PARMS in place if
BASETYPE is NULL_TREE.
Tue Jan 28 02:21:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-decl.c (grokdeclarator): Use `auto' for nested fn fwd decls.
* g++: New file.
* fixincludes:
Convert machine names in #if's to have underscores.
Fix specific files stdlib.h, locale.h, hsfs/... for Sunos 4.1.
* fixinc.svr4: Convert machine names in #if's to have underscores.
* gcc.c (do_spec_1): For %D, also make -L's for startfile_prefix.
Also append the machine
* fold-const.c (fold_convert): Properly handle real-to-real case.
* configure (i486-*-sysv4*): New alternative.
Tue Jan 28 00:37:24 1992 Ron Guilmette (rfg at ncd.com)
* dwarfout.c (location_attribute): Fix handling of objects which
were optimized out of existance for Dwarf Version 0 compliance.
Tue Jan 28 00:42:57 1992 James Van Artsdalen (james at bigtex.cactus.org)
* Makefile.in (mostlyclean): Delete stack dump files too.
Mon Jan 27 18:26:27 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* rs6000.h (HAVE_ATEXIT, NO_DOLLAR_IN_LABEL): Now defined.
Mon Jan 27 13:32:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* libgcc2.a (L_exit): Declare __CTOR_LIST__ and __DTOR_LIST__
with length 2; get rid of __CTOR_END__ and __DTOR_END__.
(L_ctor_list, L_dtor_list): New library members.
* cccp.c (main): Add terminating null, then call trigraph_pcp.
* fixincludes, fixinc.svr4: Fail unless an arg was given.
* Makefile.in (install-fixincludes): Pass output dir as argument.
* Makefile.in: Renamed libgcc[12] to libgcc[12].a.
Likewise for tmplibgcc[12].
* toplev.c (rest_of_decl_compilation): Treat all fcns as if external.
* Makefile.in (TAGS): Do the work in srcdir.
Include c-parse.h in files to move.
Mon Jan 27 10:54:24 1992 Jim Wilson (wilson at sphagnum.cygnus.com)
* cccp.c (get_filename): Don't pass -1 file descriptor to close.
Mon Jan 27 00:26:33 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-decl.c (start_function): Preserve TREE_TYPE of RESULT_DECL, in
case we have a named return value.
(finish_function): Restrict the cases under which we build
`no_return_label'. Use CURRENT_FUNCTION_RETURN_VALUE to eliminate
the generation of needless cleanups when functions end with a return
stmt. No longer zeros out CLEANUP_LABEL. Also, call `emit_jump'
instead of `expand_null_return' in case NO_RETURN_LABEL is
non-NULL.
* cp-decl2.c (grokfield): Don't specially hack static member
function names.
* cp-except.c (cplus_expand_raise): Test correct predicate that we
have a non-null value return.
(cplus_expand_{throw,reraise}): Ditto.
* cp-typeck.c (c_expand_return): Handle case where named return
value has incomplete type.
Sun Jan 26 20:50:55 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-parse.y (LC): Fix rule to use `push_obstacks_nochange'.
(structsp): Use `pop_obstacks'.
Sun Jan 26 17:39:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-parse.y (LC): Use push_obstacks_nochange and always call
end_temporary_allocation.
(structsp, template_instantiate_once): After LC, use pop_obstacks.
* c-decl.c (grokdeclarator):
Static function decl within a function is not external.
Sun Jan 26 08:14:53 1992 Michael Meissner (meissner at osf.org)
* mips.h (MIPS_VERSION): Bump meissner version # to 9.
(enum processor_type): Delete PROCESSOR_R2000, since a r2000
schedules just like a r3000.
(mips_isa, mips_isa_string, mips_cpu_string): New global variables.
(MD_EXEC_PREFIX): If not defined, define as "/usr/lib/cmplrs/cc/".
(TARGET_SWTICHES macros): Move setting the processor from
TARGET_SWITCHES to TARGET_OPTIONS. Also, delete the -mfixed-ovrfl
switch, and move -mwc8/-mwc16 to not use any bits, since we can't
support these in GCC 2.00. Readjust the positions the bits are in.
(TARGET_OPTIONS): Define to add switches -mcpu=x to set which
processor type to schedule for, and -mipsx to specify the
instruction set architecture level.
(BRANCH_LIKELY_P): New macro, true if MIPS ISA >= 2.
(HAVE_64BIT_P): New macro, true if MIPS_ISA >= 3.
(HAVE_SQRT_P): New macro, true if MIPS_ISA >= 2.
(BRANCH_COST): Define as 2 if r4000/r6000, 1 otherwise.
(ASM_OUTPUT_SKIP): Eliminate OSF/1 gas work around.
* mips.c (mips_isa, mips_isa_string, mips_cpu_string): New global
variables.
(print_options): Print CPU and ISA level.
(override_otpions): Handle TARGET_OPTIONS setting cpu and ISA.
(override_options, print_operand): %: is no longer supported, since
-mfixed-ovfl is eliminated.
* mips.md (type attribute): Add fsqrt.
(all define_function_units): Redo, to add full r6000 and r4000
support, and to use the default case in case another processor type
is added. Also, tests against PROCESSOR_R2000 eliminated.
(add, subtract patterns): Delete use of %:.
(sqrtdf2, sqrtsf2): Define if the MIPS ISA >= 2.
* decrose.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define these to
use the defaults on the OSF/1 reference platform.
(i386rose.h): Likewise.
Sun Jan 26 07:58:00 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* cse.c (cse_insn): Don't call insert_regs on a SUBREG.
When scanning table for SUBREG assignment, ignore invalid entries.
* cse.c (cse_insn): When looking for first non-deleted entry in
table, start by scanning backwards from the deleted entry.
* function.c (assign_parms): Set current_function_return_rtx
unconditionally.
(expand_function_start): Don't set it here.
Sat Jan 25 06:44:16 1992 Mark Eichin (eichin at cygnus.com)
* cp-decl.c (set_identifier_local_value): New function. Clone of
set_identifier_type_value, but uses level->shadowed instead. Only
used in pushdecl, where the non-global install was previously
setting the local value directly which "stuck" and didn't get
cleared the next time through.
(pushdecl): use set_identifier_type_value so that the local value
actually gets erased when we leave this level. Changed code that
checks for global_binding_level to recognize that if
class_binding_level is set, we're not in the global one.
(poplevel_class): restore shadowed list too, like poplevel does.
(print_binding_level): added no_print_functions and
no_print_builtins variables to eliminate clutter while trying to
debug binding level problems.
Fri Jan 24 18:03:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* tree.c (pop_momentary): Don't reference freed stack entry.
Fri Jan 24 14:20:05 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-parse.y (stmt): Call `define_case_label' for default label.
* cp-decl.c (current_function_return_value): New variable.
(define_{case_}label): Clear CURRENT_FUNCTION_RETURN_VALUE.
* cp-typeck.c (c_expand_return): Set CURRENT_FUNCTION_RETURN_VALUE.
* cp-tree.c (lang_printable_name): Use DECL_RING, and don't free
the printable name for CURRENT_FUNCTION_DECL.
Fri Jan 24 14:17:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gvarargs.h: If _ANSI_H, undef _VA_LIST_.
* c-typeck.c (pointer_int_sum): Don't distribute * into pointer diff.
* hp320.h (MD_STARTFILE_PREFIX): Defined.
(STANDARD_STARTFILE_PREFIX): Deleted.
Fri Jan 24 09:30:41 1992 Fred Fish (fnf at fishpond)
* assert.h (__eprintf): Declare as prototype for __STDC__
Fri Jan 24 05:28:53 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.md (jump,indirect_jump,tablejump): Don't output an align
directive here: let the following BARRIER do it.
Thu Jan 23 11:54:11 1992 Ron Guilmette (rfg at ncd.com)
* i486v4.h: New file.
Thu Jan 23 20:34:22 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu)
* fixinc.svr4: Surround uses of ${INPUT} with "" instead of ''
so that it will get expanded.
Thu Jan 23 17:50:13 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* cse.c (qty_mode): New variable.
(reg_rtx): Deleted.
(hard_regs_in_table, regs_invalidate_by_call): New variables.
(new_basic_block): Clear hard_regs_in_table.
(delete_reg_equiv): New name for reg_invalidate; don't update reg_tick.
(mention_regs): Don't set reg_rtx.
Update reg_tick for all registers in a multi-register hard register
reference.
(insert_regs): Don't do anything special with SUBREG.
Only insert register in a class if it is the same mode.
Don't set reg_rtx; set qty_mode instead.
(insert): Update hard_regs_in_table.
Get constant equivalence in proper mode.
(merge_equiv_classes): Call delete_reg_equiv.
(invalidate): Call delete_reg_equiv and update reg_tick.
Invalidate all parts of multi-word hard regs and invalidate
any multi-word hard reg overlapping what we are to invalidate.
Only look at constant in proper mode.
(remove_invalid_refs): Use refers_to_regno_p.
(invalidate_for_call): New function.
(canon_hash, refers_to_mem_p, fold_rtx, equiv_constant): Look at
constant in proper mode.
(cse_rtx_addr_varies_p, cse_process_notes): Likewise.
(exp_equiv_p): Likewise.
Check reg_tick for all parts of multi-word hard register.
(canon_reg): Don't use reg_rtx; get register from regno_reg_rtx or
build hard reg in proper mode.
(record_jump_equiv): Split into two pieces.
(record_jump_cond): Second part of record_jump_equiv; make recursive
call to some equivalences if args are SUBREGs.
(cse_insn): Only replace register with equivalent if proper mode;
don't use reg_rtx.
Call invalidate_for_call.
Don't avoid call to gen_lowpart for hard register.
Make a SUBREG if gen_lowpart_if_possible fails for SUBREG
assignment.
(invalidate_from_clobbers): Update reg_tick of SP; invalidate
REG entry in table, if present; use stack_pointer_rtx.
(cse_main): Don't allocate reg_rtx.
Initialize regs_invalidated_by_calls.
(cse_basic_block): Allocate qty_mode.
* rs6000.h (ADDITIONAL_REGISTER_NAMES): Add so we can disambiguate
fixed and floating registers.
* rs6000.md (ashrdi3): Reject all but constant shift counts.
* jump.c (simplejump_p): Don't access PATTERN unless we know it is
a JUMP_INSN.
* combine.c (get_last_value): Don't do a recursive call for a
paradoxical SUBREG.
* jump.c (jump_optimize): In "if (...) x = a; else x = b;",
don't move "x = b;" if it has non-trivial REG_NOTES. Also, allow
B to be any constant, not just a CONT_INT.
* stor-layout.c (layout_type): Handle alignment for arrays the same
as we do for records and unions.
* calls.c (expand_call): Ignore `const' on void functions.
* i860.c: Include recog.c.
Remove many explicit declaration of vars from include files.
(i860_compare_op[01]): Define these here.
* i860.h (i860_compare_op[01]): Add declarations.
* i860.md (compare, branch): Rework to use define_expand for cmpxx.
Compare just saves operands in i860_compare_op[01]. Branch emits
both insns using the saved operands.
* i860.h (PREFERRED_RELOAD_CLASS): Handle FP registers and constants.
(SECONDARY_INPUT_RELOAD_CLASS): We need a scratch register to copy
an integer constant to a floating-point register.
* i860.md (addsi3, subsi3): Allow use of floating registers.
Thu Jan 23 13:33:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* i386v4.h (CPP_PREDEFINES): Don't define X86.
* c-lex.c (readescape): Warn for \a and \x if warn_traditional.
Handle \v as vertical tab regardless of -traditional.
* fixincludes, fixinc.svr4: Make LIB absolute, near the beginning.
* fixincludes: Simplify egrep command while matching the same lines
(plus occasional additional lines).
* function.c (fixup_memory_subreg): New arg UNCRITICAL. Calls changed.
* gcc.c (process_command): Handle LPATH like LIBRARY_PATH.
* svr3.h (ASM_LONG): Deleted.
* gvarargs.h: Ignore _VA_LIST_ if _ANSI_H_;
don't define _VA_LIST_ if already defined.
Thu Jan 23 09:10:52 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88kluna.h (includes): Include aoutos.h.
Thu Jan 23 09:10:52 1992 Ron Guilmette (rfg at ncd.com)
* va-i860.h (__savereg): Fix typo.
* i860.h (PREDICATE_CODES): Added definition.
* i386v4.h (ASM_FILE_START): Definition added which generates
.version directive.
Wed Jan 22 23:15:45 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
* make-cc1.com: Predefine symbols for "rename" and "bison"; always
generate c-parse.h when generating c-parse.c.
Wed Jan 22 20:01:11 1992 Per Bothner (bothner at cygnus.com)
* sdbout.c (sdbout_record_type_name): Use typedef names
for C++. (A kludge.)
* sdbout.c (sdbout_one_type): Emit base classes as
dummy fields, just like dbxout.c when not using gdb extensions.
Wed Jan 22 20:01:11 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu)
* fixincludes: Surround uses of ${INPUT} with "" instead of ''
so that it will get expanded.
* gcc.c (default_compilers): For c++, define __GNUG__ to 2, and
pass -trigraphs.
* cccp.1, cpp.1, gcc.1, g++.1: Delete more RCS variables.
Wed Jan 22 19:02:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* combine.c (simplify_shift_const, case ASHIFT): If we will
be suppressing a sign extension because the upper bits are
already the same, verify that the operand is in the same
mode as we will be doing the shift; don't ignore a SUBREG
inside the inner SHIFT.
Wed Jan 22 09:25:07 1992 Tom Wood (wood at dg-rtp.dg.com)
* c-typeck.c (comp_target_types): Make decl static.
Don't forget to return the value.
(function_types_compatible_p, comptypes): Initialize `val'.
Tue Jan 21 13:29:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cross-make (ALL): Override with definition it here.
* configure: Don't edit its value explicitly here.
* crtstuff.c (__do_global_ctors): Include DO_GLOBAL_CTORS_BODY
in crtend.o, not in crtbegin.o.
* svr3.h: Prepare to use with i386.
(PCC_BITFIELD_TYPE_MATTERS): Definition deleted.
This pertains to the individual cpu types.
(ASM_SHORT, ASM_LONG, ASM_DOUBLE): Likewise.
(DBX_DEBUGGING_INFO): Undef this.
(DBX_REGISTER_NUMBER): Deleted the #undef.
(STARTFILE_SPEC, LINK_SPEC, LIB_SPEC): Deleted.
* i860v3.h (STARTFILE_SPEC, LINK_SPEC, LIB_SPEC): New definitions.
* att386.h: Coexist with svr3.h.
(ASM_FILE_START): Deleted.
(ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
(ASM_BYTE_OP, NO_DOLLAR_IN_LABEL): Likewise.
(ASM_OUTPUT_LABELREF): Undef before defining.
(ASM_FILE_START_1): Undef before defining.
(EXTRA_SECTION_FUNCTIONS): Deleted.
(BSS_SECTION_FUNCTION): New macro; defines bss_section.
* i386v.h, aix386.h: Include svr3.h.
(SCCS_DIRECTIVE, ASM_OUTPUT_IDENT): Deleted.
(TARGET_MEM_FUNCTIONS): Deleted.
(SDB_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Deleted.
* Support constructors and destructors on svr3. From james@bigtex.
* i386v.h, aix386.h (STARTFILE_SPEC): Use crtbegin.o after crt1.o.
(LIB_SPEC): Use crtend.o before crtn.o.
(CTORS_SECTION_ASM_OP, ASM_OUTPUT_CONSTRUCTOR): New macros.
(INIT_SECTION_ASM_OP): Likewise.
* svr3.h (DTORS_SECTION_ASM_OP): New macros.
(DO_GLOBAL_CTORS_BODY): New macro.
(EXTRA_SECTIONS,EXTRA_SECTION_FUNCTIONS): Use .init and .fini
sections in addition to .bss.
({INIT,FINI}_SECTION_FUNCTION): New macros for *_section functions.
({CTORS,DTORS}_SECTION_FUNCTION): Macros deleted.
(ASM_OUTPUT_CONSTRUCTOR): Deleted.
(ASM_OUTPUT_DESTRUCTOR): Use ASM_LONG.
(INT_ASM_OP): Deleted.
* c-typeck.c (default_conversion): Don't use initial value if BLKmode.
If do use the initial value, update `type'.
* arm.h (STRUCTURE_SIZE_BOUNDARY): New definition.
* stor-layout.c (layout_type): Ignore MAX_FIXED_MODE_SIZE for integers.
* ultrix.h (SIZE_TYPE): Use `unsigned int'.
* Makefile.in (install-common): Add missing -f in rm.
(install-fixincludes): Install the README file.
* fixincludes: Don't match on size_t, etc., since we don't actually
change them.
Mon Jan 20 23:22:45 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-call.c (ideal_candidate): Don't see two functions as ambiguous
if one is argument-by-argument equivalent or better than another.
Mon Jan 20 14:08:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* toplev.c (strip_off_ending): Add ".ada".
Mon Jan 20 13:53:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* protoize.c (xfree): No longer static.
* gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Allow tm.h to override.
* final.c (leaf_renumber_regs_insn): Do just the pattern of an insn.
* pyr.h (PCC_BITFIELD_TYPE_MATTERS): Defined.
(STRUCTURE_SIZE_BOUNDARY): Deleted.
* mips.c: Clean up spacing around square brackets.
* c-typeck.c (convert_arguments):
Get rid of feature to convert to a tagless union type.
(common_type): Add pedantic warning.
(comptypes, function_types_compatible_p): Return 2 meaning warn.
(comp_target_types): Do the warning here.
(type_lists_compatible_p): New function.
Sun Jan 19 17:32:19 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload1.c (emit_reload_insns): Fix typos when checking for secondary
icode.
Sun Jan 19 15:28:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* global-alloc.c (global_alloc): If LEAF_REGISTERS, those are the
regs that cost nothing to save, for setting regs_already_used.
* expr.c (expand_builtin): Preserve function value reg
around the call to __builtin_saveregs.
* configure (mips-sgi-irix4*, mips-sgi-irix*): Set install_with_cp.
* c-decl.c (start_function):
Check properly for `static' function in handling -Wmissing-prototypes.
* libgcc2.c (__main): Omit this fn if INIT_SECTION_ASM_OP.
Sun Jan 19 13:23:13 1992 Fred Fish (fnf at sunfish)
* amix.h (ASM_OUTPUT_ASCII): Override version in svr4.h.
Sun Jan 19 13:16:56 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-search.c (lookup_field): Accept IS_AGGR_TYPE_CODE, not
just == RECORD_TYPE.
* cp-class.c (finish_struct): Clear a tentative setting of
DECL_BIT_FIELD.
* cp-decl.c (start_decl): Don't call `pushclass' for incomplete
CONTEXT.
* cp-typeck.c (comp_target_types): Call `comp_target_parms' with
STRICT == 0, not -1.
(build_conditional_expr): Check that the target types of TYPE1 and
TYPE2 are aggr type before calling `common_base_type'.
Sun Jan 19 04:10:16 1992 James Van Artsdalen (james at bigtex.cactus.org)
* configure: Fix typo inserting INSTALL=cp into makefile.
Sat Jan 18 12:06:58 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-lex.c (build_with_cleanup): Delete obsolete function.
* cp-tree.c (break_out_cleanups): New function.
* cp-decl.c (cplus_expand_expr): Call `break_out_cleanups'.
* cp-typeck.c (build_compound_expr): Ditto.
* cp-call.c (convert_harshness): Make any inheritance relationship
preferable to a void* conversion.
* cp-tree.h (CLASSTYPE_MAX_DEPTH): New macro.
* cp-class.c (finish_struct_bits): Set CLASSTYPE_MAX_DEPTH.
* cp-cvt.c (build_up_reference): Don't return in ARRAY_REF case,
since we may need to adjust the return value for complex
inheritance.
* cp-decl2.c (lang_f_options): Add recognizers for -f{no-}builtin,
-f{no-}ident, and -ansi. Also, remove unnecessary "no-*" forms.
* cp-init.c (emit_base_init): If PEDANTIC, don't let base
initializers leak up the hierarchy.
* cp-parse.y (structsp): Disable gratuitous error message.
* cp-call.c (convert_harshness): Don't overlook PENALTY when
signed/unsigned differences are noted (in both POINTER_TYPE and
REFERENCE_TYPE cases).
* toplev.c (strip_off_ending): Grok ".ii" endings (C++ preprocessed
files).
* cp-typeck.c (build_component_ref): Add special handler when
COMPONENT is the CLASSTYPE_VFIELD name for BASETYPE.
Sat Jan 18 08:29:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* cse.c (cse_insn): Don't make constant pool entries in MODE_CC modes.
Sat Jan 18 00:28:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (install-common): Fix typo installing gcc.
* crds.h, isi.h, newpbb.h, tti68k.h: Add #error because -m68000
will cause a crash (I think), to ask people what to do.
* gmicro.h (ASM_FILE_START): Don't do anything.
(TARGET_DEFAULT): Turn on the bitfield flag.
(TARGET_SWITCHES): Get rid of the bitfield options.
* c-lex.c (readescape): No warning for \?.
* protoize.c (munge_compile_params): Fix cast that sets compile_params.
(xmalloc, xrealloc): No longer static.
* Makefile.in (protoize, unprotoize): Add LIBDEPS as deps.
* va-i860.h (va_arg): Use __extension__ to suppress pedantic warning.
* va-sparc.h, va-spur.h, va-pyr.h: Likewise.
* x-irix4.h: New file.
* config.sub: Don't convert irix to sysv.
* configure (mips-sgi-irix4*): New configuration.
(mips-sgi-irix*): Renamed from mips-sgi-sysv*.
* gcc.c (process_command):
Handle the standard_exec_prefix* before the md_*_prefix.
* i386.h, ns32k.h (PCC_BITFIELD_TYPE_MATTERS): Defined.
* Makefile.in (libgcc1.null): Depend on GCC_PASSES.
* cccp.c (lookup_import, add_import): VMS kludges so they compile.
(hack_vms_include_specification): Add forward declaration.
* stor-layout.c (layout_record): Handle BITFIELD_NBYTES_LIMITED
just like one of the things done for PCC_BITFIELD_TYPE_MATTERS.
* x-next, x-i386mach: Deleted.
* t-libc-ok: New file. Define just LIBGCC1.
* configure (i386-*-mach, m68k-next-*): Use t-libc-ok.
* t-svr4 (FIXINCLUDES): Defined.
* t-m88kv4 (FIXINCLUDES): Defined.
* t-svr3 (EXTRA_PARTS): Defined.
* t-i386sco (EXTRA_PARTS): Defined.
* configure (sparc-*-sysv4*): New alternative.
* configure (install_with_cp): New flag an alternative can set.
If host sets it, add INSTALL=cp to Makefile.
Set this for any system V, and for m68k-crds-unos.
Sat Jan 18 23:15:08 1992 Ron Guilmette (rfg at ncd.com)
* va-i860.h (va_list): Made __reg_base field type long* to avoid
compilation errors.
(__savereg): Add explicit cast to (__va_saved_regs *).
Fri Jan 17 15:09:34 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.h (FUNCTION_BOUNDARY): Do larger alignments for i486.
(ASM_OUTPUT_ALIGN_CODE): Same here.
(ASM_OUTPUT_LOOP_ALIGN): But not here - do word aligns as before.
(enum reg_class): Delete classes ADREG and BREG - neither used nor
useful. Add classes FP_TOP_REG and FP_SECOND_REG.
(REG_CLASS_NAMES): Likewise.
(REG_CLASS_CONTENTS): Likewise.
(REGNO_REG_CLASS): Reflect that change.
(REG_CLASS_FROM_LETTER): Likewise. Add "t" and "u" constraints.
(CLASS_MAX_NREGS): New classes use only 1 hard reg for any mode.
(CONST_OK_LETTER_P): Document uses of letters.
* reg-stack.c: Add comments describing rules for asm statements
involving stack-like regs.
(asm_regs): Delete unused variable.
(fatal_for_asm): Delete unused function.
(get_asm_operand_lengths): New function.
(constrain_asm_operands): New function. Like constrain_operands,
but records some information about the matched alternative.
(record_asm_reg_life): New function.
(record_reg_life): If INSN is an asm statement, decode operands
and pass to record_asm_reg_life.
(record_reg_life_pat): Abort if any asm is seen here.
(subst_asm_stack_regs): New function.
(subst_stack_regs): If INSN is an asm statement, decode operands
and pass to subst_asm_stack_regs. When handling REG_UNUSED notes,
emit the pops in the right order.
(change_stack): New argument to insert any new insns before INSN
instead of after. All callers changed.
(emit_swap_insn): Abort if the reg is not found in REGSTACK.
* Makefile.in (reg-stack.o): Depends on insn-config.h.
Fri Jan 17 16:38:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* toplev.c, flags.h (in_system_header): Declare here.
* c-lex.c, cp-lex.c (in_system_header): Not here.
* toplev.c (rest_of_compilation): Don't warn of unused static function
if definition is in a system header.
* gcc.c (do_spec_1): Add missing arg in recursive call.
(link_command_spec): Don't pass -s, -S, -u*, -X, -Y*.
Fri Jan 17 12:51:28 1992 Jim Wilson (wilson at cygnus.com)
From Tiemann:
* rtlanal.c (reg_set_between_p): Call `reg_set_p' with INSN, not the
body of INSN so that CALL_INSNs are properly handled.
* explow.c (find_next_ref): Ditto.
* hp800.h, hp800.md: Delete RCS Header variables.
* reg-stack.c (replace_reg): Change `abort' to `abort ()'.
Fri Jan 17 14:30:14 1992 Michael Meissner (meissner at osf.org)
* caller-save.c (insert_save_restore): Don't pass a CODE_LABEL to
reg_mentioned_p when the machine has a condition code, since
CODE_LABEL's don't have the same format as normal INSN's do.
Fri Jan 17 13:24:33 1992 Tom Wood (wood at dg-rtp.dg.com)
* Makefile.in (unprotoize.o): Use the rm -f option.
* cp-lex.c (check_newline): Define `used_up' as in c-lex.c.
(in_system_header): Define as in c-lex.c.
Fri Jan 17 08:14:04 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reorg.c (delete_from_delay_slot): Pass correct length to
emit_delay_sequence.
* genattrtab.c (substitute_address): Handle IF_THEN_ELSE in addition
to COND.
* expr.c (expand_builtin, case BUILT_IN_STRLEN): Correct args in
expand_expr call.
Fri Jan 17 17:33:40 1992 James Van Artsdalen (james@raid)
* x-i386v4 (CCLIBFLAGS): Delete macro.
(GCC-CFLAGS): Delete macro. Prevented Makefile.in from working.
Thu Jan 16 17:03:27 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu)
* Makefile.in (cleanconfig): Also delete tconfig.h.
* varasm.c (assemble_external): Only call ASM_OUTPUT_EXTERNAL once
for each symbol.
(assemble_external_libcall): Fix minor typo in spacing.
* toplev.c (main): Force error if invalid -W option is used.
Thu Jan 16 13:35:13 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88kdgux.h (CPP_PREDEFINES): Added __CLASSIFY_TYPE__ back and
noted when it would be useful.
* m88k.h (ASM_FILE_END, ASM_OUTPUT_ASCII): Override svr4.h.
Thu Jan 16 12:37:16 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu)
* svr4.h (SVR4): Add this back.
* cccp.c (lookup_import): Use bcmp to compare inodes.
* cccp.c (main): Handle -idirafter option.
* m68kv4.h, m88kv4.h, i386v4.h, sparcv4.h, i860v4.h (CPP_PREDEFINES):
Add __svr4__ in case user programs want to distinguish.
* cp-lex.c (check_newline): Changes like Jan 12 changes in c-lex.c.
* Makefile.in (install-fixincludes): Renamed from `includes'.
Move comments so some shells are happier. Dep. on install-headers.
* m88kdgux.h (CPP_PREDEFINES): Add __svr4__. Remove __CLASSIFY_TYPE__.
Add some assertions.
* c-decl.c (init_decl_processing): Don't give arg type for abort, etc.
Always declare strlen, etc., so -O doesn't alter the warnings.
* expr.c (expand_builtin): Open-code str* or mem* or ffs if -O.
* c-decl.c (start_function): Fix backwards test for -W* options.
* protoize.c (GUESSPATHLEN): Treat POSIX like USG--and use just 200.
* cccp.c (deps_output): Break line iff string is empty.
(do_include): Fix up the deps_output calls.
* vax.c (print_operand_address): Handle form index + (reg+offset).
* m88k.h (TARGET_VERSION): Don't use __DATE__.
* gcc.c (default_compilers): Typos in c++-cpp-output case.
Thu Jan 16 12:25:51 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu)
* loop.c (get_condition): In HAVE_cc0 code, generate a zero with
CONST0_RTX instead of just using const0_rtx.
* cse.c (cse_isnsn): A CALL_INSN clobbers all fixed regs except
for ap, fp, and sp.
Thu Jan 16 08:03:40 1992 Tom Wood (wood at dg-rtp.dg.com)
* c-decl.c (finish_enum): Compute the precision properly if the
maximum value is negative.
Thu Jan 16 07:40:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reorg.c (try_merge_delay_insns, fill_slots_from_thread): Have
update_block put the phantom insn before THREAD.
(update_block): Update block status if WHERE, not INSN, is block head.
Thu Jan 16 00:28:14 1992 Ron Guilmette (rfg ay ncd.com)
* i860.c (output_fp_move_double): Fixed typo.
* protoize.c (GUESSPATHLEN, pointer_type, const_pointer_type):
moved definitions declarations out of conditional region.
(string_list_cons, shortpath, munge_compile_params): Added casts.
(find_extern_def): Fixed string literal to avoid trigraph.
(find_rightmost_formals_list): Fixed to avoid unreached code warnings.
* svr4.h (ASM_OUTPUT_ASCII): Fixed typo.
Wed Jan 15 21:58:01 1992 Jeffrey A Law (law at b117b.super.org)
* sparc.h (SELECT_RTX_SECTION): When generating PIC, place symbolic
operands in the data section.
Wed Jan 15 21:45:09 1992 Michael Meissner (meissner at osf.org)
* collect2.c (main): Pass any -b<xx>, -B<xx>, -m<xx>, -f<xx>, and
-V<xx> options to gcc instead of the linker, in order to allow
target switches that affect the size of pointers and search paths to
be passed through.
(main, choose_temp_base): Use TMPDIR environment variable, and the
P_tmpdir macro if defined to locate directory to put temp files.
(whole file): Reorganize so that all of the OSF/rose stuff goes at
the end of the file, rather than being scattered throughout.
(main, scan_prog_file): Invoke scan_prog_file twice, once on each
output of ld.
(scan_prog_file, read_file, write_file): On the second invocation,
rewrite the object file in place, adding a load command to put
__main in the list of initializer functions. This allows users
to put constructors and destructors into shared libraries.
(scan_prog_file): Move debug stuff and error routines to separate
functions.
Wed Jan 15 17:59:02 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* combine.c (can_combine_p): Don't combine if DEST is still a field
assignment after we've tried to expand it.
Wed Jan 15 16:01:13 1992 James Van Artsdalen (james at bigtex.cactus.org)
* regclass.c (fix_register): Don't match a null register name.
* varasm.c (decode_reg_name): Likewise.
* i386.h (HI_REGISTER_NAMES): Give the eliminable arg pointer a
null name.
Wed Jan 15 13:40:50 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu)
* gcc.c (default_compilers): Pass -lang-asm, not -lang-asmc, to cpp.
* gcc.c (process_command): Don't dump md_exec_prefix in specs.
Use the md_... prefixes only if no -b.
Wed Jan 15 13:35:09 1992 Ron Guilmette (rfg at ncd.com)
* i386v4.h (RETURN_IN_MEMORY): Definition added.
(CPP_PREDEFINES): Added -DX86 (needed for some system headers).
(ASM_OUTPUT_DWARF_STRING): Deleted.
(ASM_OUTPUT_ASCII): Added specialized definition for i386/svr4.
* svr4.h (SVR4): Deleted useless define.
(ASM_FILE_END): Added definition.
(ESCAPES, STRING_LIMIT, STRING_ASM_OP, ASM_OUTPUT_LIMITED_STRING):
(ASM_OUTPUT_ASCII): Generic svr4 definitions added.
* m68kv4.h (CPP_PREDEFINES): Don't define SVR4.
* sparcv4.h (CPP_PREDEFINES): Don't define SVR4.
(ASM_OUTPUT_ASCII): Deleted obsolete definition.
* xm-svr4.h (SVR4): Removed useless definition.
(POSIX): Added definition for protoize.c.
* i860b.h (ASCII_DATA_ASM_OP, ASM_OUTPUT_ASCII): Moved from i860.h.
* i860v3.h (ASCII_DATA_ASM_OP): Added OS-specific definition.
* i860v4.h (ASCII_DATA_ASM_OP, ASM_OUTPUT_ASCII):
Deleted (now in svr4.h).
* fixinc.svr4: Replaced all occurances of {1,\} in sed command
string with functional equivalents (to avoid bogus results).
* c-lex.c (readescape): Pass thru escaped x, a, and v if -traditional.
(readescape): Pedantic warning for \?, \(, \{, and \[.
* dwarfout.c: Updated copyright.
(fundamental_type_code): Abort for all non-fundamental types.
(type_is_fundamental): Return 0 for all non-fundamental types.
(containing_type_attribute, output_ptr_to_mbr_type_die): New functions.
(output_pointer_type_die, output_reference_type_die): Added calls to
equate_type_number_to_die_number.
(output_type): Handle OFFSET_TYPE correctly.
(output_type): Ignore LANG_TYPE (for now).
Wed Jan 15 09:30:08 1992 Michael Tiemann (tiemann at cygnus.com)
* All cp-* files: Remove calls to `cleanup_after_call'.
* cp-method.c (fndecl_as_string): Add a missing space when printing
the return type.
* cp-typeck.c (build_modify_expr): Treat arrays specially in both
INIT_EXPR and NOP_EXPR cases. Also, if we take the address NEWRHS
when it's not a SAVE_EXPR, build a new NEWRHS using that address.
* cp-tree.c (lvalue_p): Handle WITH_CLEANUP_EXPR case.
* cp-decl.c (grokvardecl): Don't get tripped up by static class
members of incomplete type.
Wed Jan 15 09:12:51 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu)
* m68k.c (legitimize_pic_address): Re-enable code which was
mistakenly #ifdef'd out.
Wed Jan 15 08:12:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload.c (find_reloads): Check for insn not recognized.
* caller-save.c (reg_{save,restore}_code): New variables.
(init_caller_save): Set them.
(insert_save_restore): Just make SET for pattern of insn and set
code from reg_{save,restore}_code.
(save_call_clobbered_regs): Put restore insns before JUMP_INSN that
ends basic block, but after any other insn that ends the block.
* sdbout.c (sdbout_symbol): Treat (mem (reg SP)) the same
as (mem (reg FP)).
* reorg.c (mark_referenced_resources): Fix typo in last change.
(emit_delay_sequences): Update chain correctly when previous or
next insn is also a SEQUENCE.
Wed Jan 15 08:10:29 1992 Chris Smith (cks at bach.convex.com)
* t-convex: Use collect2 to link.
* convex.h: remove assembly output defines for old collect2.
* convex.h: define vprintf and wait macros for pcc mode boot of
collect2.
* convex.h (ASM_OUTPUT_DOUBLE_INT): define.
* convex.h (DEFAULT_GDB_EXTENSIONS): define as 0 until GDB version 4
port is available.
* convex.c (ap_reload_needed): Fix comment.
Wed Jan 15 07:08:25 1992 Tom Wood (wood at dg-rtp.dg.com)
* m88k.h (CONST_SECTION_FUNCTION): Trivial definition for targets
not based on svr[34].h (m88k-luna).
* m88k.h (PREDICATE_CODES): Use it.
* m88k.md (casesi_enter): Don't use bsr.n with -fno-delayed-branch.
* m88k.h (ASM_OUTPUT_CASE_END): The lda goes here when bsr is used.
* m88k.c (legitimize_address): When converting a symbol_ref for
PIC, add a REG_EQUAL note.
Wed Jan 15 06:22:34 1992 Michael Meissner (meissner at osf.org)
* mips.h (MIPS_VERSION): Bump Meissner version # to 8.
(fcmp_op): Add function declaration.
(TARGET_FLOAT64): Support for -mfp64 switch to support the R4000 FR
psw bit, which doubles the number of floating point registers.
(TARGET_SWITCHES): Likewise.
(HARD_REGNO_NREGS): Likewise.
(CLASS_FCMP_OP): New bit for classifing floating point compares.
(PREDICATE_CODES): Add cmp2_op and fcmp_op support.
* mips.c (various): Move extern declarations from inside of
functions to outside all functions.
(fcmp_op): Match comparison operators for floating point.
(mips_move_2words): Add -mfp64 support.
(override_options): Likewise.
(compute_frame_size): Likewise.
(override_options): Set up for fcmp_op.
(gen_conditional_branch): Redo floating point compares/branches, so
that it is like the rest of the compiler expects -- set cc0 to a
compare operator, instead of the exact test required, and put the
smarts in the branch operators to generate both the test and the
branch.
* mips.md (cmpdf_eq, cmpdf_lt, cmpdf_le): Delete.
(cmpsf_eq, cmpsf_lt, cmpsf_le): Delete.
(cmpdf_internal): New define insn to match FP compares.
(cmpsf_internal): Likewise.
(branch_fp_true1, branch_fp_true2): Likewise.
(branch_fp_false1, branch_fp_false2): Likewise.
(branch_fp_true, branch_fp_false): New define_insns to match the
branch part of FP compares.
Wed Jan 15 01:42:39 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu)
* unroll.c (copy_loop_body): New parameter copy_notes_from, to
correct problem with bad debug info generated for preconditioned
loops.
(unroll_loops): Fix calls of copy_loop_body to pass new parameter.
Wed Jan 15 01:01:39 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu)
* gcc.c (main): Don't use TARGET_VERSION.
(endfile_spec, switches_need_spaces): New vars, initted from macros.
(set_spec, process_command): Read and write those vars.
(do_spec_1, process_command): Use the new vars, not the macros.
(SWITCHES_NEED_SPACES): New default macro definition.
* Makefile.in (install-common): Install driver as gcc-$(target).
* gstddef.h (wchar_t): Check for _T_WCHAR.
* stmt.c (pushcase, pushcase_range): Return 5 if jump into stack level.
* c-parse.y, objc-parse.y (stmt): Print error msg for that.
* cp-parse.y: Likewise.
Tue Jan 14 23:25:37 1992 Ron Guilmette (rfg at ncd.com)
* dwarfout.c: Include <string.h> if USG *or* POSIX.
(TREE_UID): Deleted.
(current_funcdef_number): Replacement for TREE_UID.
(dwarfout_file_scope_decl): Increment
current_funcdef_number after each funnction definition is processed.
(pending_sibling_stack_depth): Renamed globally to pending_siblings.
(pending_sibling_stack_size): Renamed to pending_siblings_allocated.
(PENDING_SIBLING_STACK_INCREMENT): Renamed PENDING_SIBLINGS_INCREMENT.
(pending_types_list, pending_types_allocated, pending_types,
PENDING_TYPES_INCREMENT, fake_containing_scope): New vars/macros.
* dwarfout.c (total_ft_entries): Renamed to ft_entries_allocated.
(valid_ft_entries): Renamed to ft_entries.
(FT_ENTRIES_INCREMENT): Definition added.
(lookup_filename): Expand filename table (when needed)
by adding FT_ENTRIES_INCREMENT more table elements rather than
doubling current size.
(dwarfout_init): Allocate initial filename table.
* dwarfout.c (INSN_LABEL_FMT, FUNC_END_LABEL_FMT): Use decimal format.
* dwarfout.c (member_attribute): Rewritten for proper C++ support.
(output_array_type_die, output_set_type_die, output_entry_point_die,
output_enumeration_type_die, output_global_subroutine_die,
output_global_variable_die, output_inline_subroutine_die,
output_local_variable_die, output_member_die, output_pointer_type_die,
output_reference_type_die, output_string_type_die,
output_structure_type_die, output_local_subroutine_die,
output_subroutine_type_die, output_typedef_die, output_union_type_die):
Added calls to member_attribute (for C++).
* dwarfout.c (inline_attribute): Test for TREE_INLINE in here.
(output_global_subroutine_die, output_local_subroutine_die):
Don't test for TREE_INLINE here.
* dwarfout.c (output_formal_types): Fixed to handle METHOD_TYPE
nodes and to output all related type DIEs last (for SDB).
(type_ok_for_scope, output_pending_types_for_scope, pend_type):
Functions added to support C++.
(output_type, output_decl): Added `containing_scope'
parameter to handle C++ nested types.
(output_type): Don't output the type unless it's OK
for the current DIE chain (i.e. unless it's OK for the current scope).
(output_type): Output completed non-global tagged types
right away even if not finalizing.
(output_type): Use correct method to get head of chain
of C++ function members.
(output_decl): Skip first item on chain of DECL_ARGUMENTS
for a FUNCTION_DECL whose type is a METHOD_TYPE.
Suppress output of type DIEs for formal parms of a FUNCTION_DECL
until after all TAG_parameter DIEs have been output (for SDB
compatability).
Output DIEs for any LABEL_DECL nodes attached to outermost BLOCK of
a FUNCTION_DECL.
Handle LABEL_DECL nodes.
* dwarfout.c (dwarfout_file_scope_decl): Un-pend all pending file-
scope types after each file-scope declaration is output.
(output_decls_for_scope): Un-pend all pending local types
at end of each local scope.
Tue Jan 14 16:40:39 1992 Tim Moore (moore at fast.cs.utah.edu)
* calls.c (expand_call): If ARGS_GROW_DOWNWARD, make slot_offset
negative and set highest_outgoing_arg_in_use to needed + 1.
(store_one_arg): If ARGS_GROW_DOWNWARD deal with negative slot_offset.
Tue Jan 14 20:01:59 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu)
* sparc.h (TARGET_SUN_ASM, TARGET_GNU): Delete support for
obsolete and undocumented flags -msun-asm and -mgnu.
* sparc.md: Likewise.
Tue Jan 14 19:36:21 1992 Tim Moore (moore at fast.cs.utah.edu)
* xm-hp800.h (hpux8): define.
* hp800.h (LINK_SPEC): Conditionalize on hpux8.
(STACK_BOUNDARY): Define for snake.
(CALL_USED_REGISTERS): Shift register is special.
(HARD_REGNO_MODE_OK): Don't allow modes smaller that SImode in fp
registers.
(reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Eliminate
GENERAL_OR_FP_REGS, GENERAL_OR_SNAKE_FP_REGS classes.
(FUNCTION_ARG): Handle snake fp arguments.
(ASM_DOUBLE_ARG_DESCRIPTORS): define.
(ASM_DECLARE_FUNCTION_NAME): Use above macro to get around hpux
8.0 change.
* hp800.md (movsi, movdi): Add ! and * to constraints of anonymous
define-insns to discourage SImode values in fp registers. Don't
modify the stack pointer when moving between general and fp registers.
(mulsi): Take out pattern that matches a degenerate multiplication
by 1; it doesn't seem to be needed and causes problems.
(sar_sub): Change so that const_int isn't the first argument of
the comparison.
* hp800.c (output_fp_move_double): As above, don't modify the
stack pointer when moving between general and fp registers.
(output_block_move): Don't make one CONST_INT rtx and store
different integer values in it; cons up a "new" one for each value.
(output_floatsisf2, output_floatsidf2): Fix typos.
(output_arg_descriptor): Conditionalize for HPUX 8.0.
Tue Jan 14 14:38:09 1992 Michael Tiemann (tiemann at cygnus.com)
* cp-typeck.c (build_unary_op): Call readonly_warning_or_error if
ARG is TREE_READONLY (in addition to the type being TYPE_READONLY).
* cp-init.c (maybe_adjust_addr_for_delete): If the adjustment needs
to be done, zero out the storage that held part of the cookie.
Tue Jan 14 13:12:48 1991 Ron Guilmette (rfg at ncd.com)
* c-decl.c (poplevel): Set TYPE_CONTEXT for each tagged type
except inside function declaration parm list.
(grokdeclarator): Set TYPE_CONTEXT for tagged type in decl parm list.
(pushtag): Don't set TYPE_CONTEXT for tagged types here.
Tue Jan 14 06:46:37 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* global-alloc.c (global_alloc): Count multi-word pseudos correctly
in local_reg_n_refs.
(find_reg): Evict pseudos that overlap the register we take, not just
that start with that register.
* a29k.c (a29k_debug_reg_map): New variable.
(output_prologue): Initialize it.
* a29k.h (DBX_REGISTER_NUMBER): Use that map.
* ultrix.h (WCHAR_TYPE): Make definition be a known type.
* final.c (final_scan_insn): Call DBR_OUTPUT_SEQEND before we
clear `final_sequence', so it can call dbr_sequence_length.
* reload1.c (reload): Clear insn_needs once we know we have
reloads, instead of always.
Don't skip processing of reloads for CALL_INSNs when caller-save
needs a spill register.
* flow.c (mark_used_regs, case RETURN): Insert missing test for global
registers.
* reorg.c (mark_referenced_resources): Mark asm's as volatile
when appropriate.
* integrate.h (struct inline_remap): New field const_equiv_map_size.
* integrate.c (expand_inline_function): Set it; make larger map.
(subst_constants): Don't reference out-of-range entry in equiv map.
* unroll.c (unroll_loop): Set const_equiv_map_size.
See ChangeLog.4 for earlier changes.
|