aboutsummaryrefslogtreecommitdiff
path: root/gcc/ch/ChangeLog
blob: d63d1abdd52790acdadc1bff7017a36e9d6dfc16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
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
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
Tue Jun 13 15:30:46 2000  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

	* Make-lang.in (CHILL.install-common): Use $(INSTALL_SCRIPT), not
	$(INSTALL_PROGRAM) for chill.install.

2000-06-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* Makefile.in (EXPR_H): New dependency variable.
	(actions.o, expr.o): Use EXPR_H.
	(lang.o): Depend on RTL_H and EXPR_H.

	* lang.c: Include rtl.h and expr.h.
	(lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED.

2000-06-04  Philipp Thomas  <pthomas@suse.de>

	* Makefile.in(INTLLIBS): New macro.
	(LIBS): Add INTLLIBS.
	(DEPLIBS): Likewise.
	* config-lang(outputs): Specify ch/Makefile.

Sat Jun  3 15:31:07 2000  Jeffrey A Law  (law@cygnus.com)

	* chill.texi (INFO-DIR-ENTRY): Fix chill entry.

2000-06-02  Richard Henderson  <rth@cygnus.com>

	* lang.c (lang_get_alias_set): New.

Sat May 27 11:24:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* lang.c (deep_const_expr): Use first_rtl_op.
	* satisfy.c (satisfy): Use TREE_CODE_LENGTH.

2000-05-18  Chris Demetriou  <cgd@netbsd.org>

	* Makefile.in (hash.h): Delete a redundant use of gawk and sed.

Wed May 17 17:27:44 2000  Andrew Cagney  <cagney@b1.cygnus.com>

	* decl.c (c_decode_option): Update -Wall unused flags by
 	calling set_Wunused.
	(poplevel): Replace warn_unused with warn_unused_label.

2000-05-09  Zack Weinberg  <zack@wolery.cumb.org>

	* ch-tree.h: Update prototypes.  Remove prototypes for
	functions declared elsewhere.
	* decl.c (define_label): Constify filename parameter.
	* grant.c (globalize_decl, set_default_grant_file): Constify
	local char * variables.  Don't declare
	first_global_object_name or asm_out_file.
	* lang.c (chill_real_input_filename): Constify.
	* lex.c (init_parse): Constify parameter and return value.
	* parse.c: Don't declare input_filename.
	(ch_expand_asm_operands): Constify filename parameter.
	(parse_multi_dimension_case_action): Constify local char *.
	* satisfy.c (safe_satisfy_decl): Constify local char *.

2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* ch-tree.h (init_function_start): Constify.

2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>

	* ch/lex.c: Remove references to cccp.c.

2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>

	* lang-specs.h: Pass -fno-show-column to the preprocessor.

Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* expr.c (chill_expand_expr): Pass bit alignment to emit_block_move.

Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* actions.c (check_missing_cases): BYTES_NEEDED is HOST_WIDE_INT.
	* typeck.c (expand_constant_to_buffer): Use int_byte_position.
	(extract_constant_from_buffer): Likewise.

Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* typeck.c (min_precision): New function.
	(build_chill_slice): Use host_integerp and tree_low_cst.
	(expand_constant_to_buffer): Likewise and also int_bit_position.
	LO is unsigned HOST_WIDE_INT
	(build_chill_array_ref_1): Make `i' be HOST_WIDE_INT; use tree_low_cst.
	(extract_constant_from_buffer): Sizes are now HOST_WIDE_INT.
	Use host_integerp and tree_low_cst.
	(build_chill_bin_type): Use host_integerp and tree_low_cst.
	(layout_chill_range_type): Use tree_int_cst_sgn, compare_tree_int,
	tree_low_cst, and min_precision.
	(apply_chill_array_layout): Cleanups for types of variables
	and use tree_int_cst_sgn, compare_tree_int, and tree_low_cst.
	(apply_chill_field_layout): Likewise.

2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* grant.c (globalize_decl): Constify a char*.

Mon Mar  6 17:52:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* actions.c (chill_convert_for_assignment): INDEX is unsigned
	HOST_WIDE_INT.
	* ch-tree.h (DECL_NESTING_LEVEL): Use TREE_INT_CST_HIGH since unsigned.
	* except.c (chill_handle_on_labels): ALTERNATIVE is unsigned.
	Use compare_tree_int.
	(expand_goto_except_cleanup): Likewise.

2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>

	* decl.c (current_function_decl): Move to toplev.c.

Mon Feb 28 08:12:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* ch-tree.h (DECL_ACTION_NESTING_LEVEL): Use new tree union name.
	* decl.c (finish_struct): Don't clear DECL_FIELD_SIZE.
	* typeck.c (make_chill_struct_type): Likewise.
	(apply_decl_field_layout): General cleanup.
	Set DECL_SIZE instead of DECL_FIELD_SIZE.

Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* actions.c (chill_convert_for_assignment): Don't use size_binop
	for things that aren't sizes.
	(expand_varying_length_assignment): Likewise.
	* convert.c (digest_array_tuple, convert): Likewise.
	* typeck.c (build_chill_slice, smash_dummy_type): Likewise.
	(build_chill_slice_with_range): Likewise.
	(build_chill_slice_with_length): Likewise.
	(build_array_from_set): Adjust types for size_binop.
	* expr.c (build_concat_expr, build_chill_repetition_op): Likewise.
	(build_chill_sizeof): Use TYPE_SIZE_UNIT.
	* tree.c (build_string_type): Pass proper type to size_binop.

Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* decl.c (layout_enum): Set DECL_SIZE_UNIT.	
	* satisfy.c (safe_satisfy_decl): Likewise.

2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>

	* lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to default spec.

2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* grant.c: Don't declare `version_string'.

2000-02-11  Nathan Sidwell  <nathan@acm.org>

	* decl.c (init_decl_processing): Remove duplicate decl of
	set_alignment.

2000-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* expr.c (compare_records): Delete maximum_field_alignment declaration.
	* inout.c (inout_init): Likewise.
	(build_chill_gettextaccess): Likewise.
	(build_enum_tables): Likewise.
	* lang.c: Likewise.
	* satisfy.c (satisfy): Likewise.
	* tasking.c (build_tasking_struct): Likewise.
	(build_tasking_message_type): Likewise.
	* typeck.c (build_init_struct): Likewise.

	* except.c (emit_setup_handler): Make save_maximum_field_alignment
	unsigned int to match maximum_field_alignment.
	* inout.c (inout_init): Likewise.
	(build_chill_gettextaccess): Likewise.
	(build_enum_tables): Likewise.
	* tasking.c (build_tasking_struct): Likewise.
	(build_tasking_message_type): Likewise.
	* typeck.c (build_init_struct): Likewise.

2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* except.c (maximum_field_alignment): Remove duplicate declaration.

2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* All files: PROTO -> PARAMS.

2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* lex.c: Include tm_p.h.

2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* actions.c (update_else_range_for_int_const): Initialize
	variables `lowval' and `highval'.
	(update_else_range_for_range): Likewise for `low_range_val' and
	`high_range_val'.

1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* typeck.c (apply_chill_array_layout, apply_chill_field_layout):
	Avoid the use of ANSI string concatenation.

	* expr.c (chill_expand_case_expr): Likewise.

1999-11-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* expr.c (build_chill_function_call): Don't call a variadic
	function with a non-literal format string.
	
	* grant.c (write_spec_module): Likewise.
	
	* parse.c (require, expect): Likewise.

	* tasking.c (get_struct_type_name, get_struct_debug_type_name,
	get_tasking_code_name, get_struct_variable_name,
	get_process_wrapper_name, build_start_process): Likewise.

	* typeck.c (valid_array_index_p): Likewise.

Sun Oct 31 22:33:33 1999  Jeffrey A Law  (law@cygnus.com)

	* Makefile.in (convert.o, typeck.o): Depend on output.h
	* convert.c: Include output.h.
	* typeck.c: Include output.h.
	(initializer_constant_valid_p): Delete fucntion.
	* ch-tree.h (initializer_constant_valid_p): Delete prototype.

1999-10-26  Mark Mitchell  <mark@codesourcery.com>

	* ch-tree.h (remember_end_note): Remove prototype.
	* decl.c (poplevel): Don't call remember_end_note.

Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>

	* ch-tree.h (builtin_function): Don't declare.
	* decl.c (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of
 	type int.  All callers changed.
	Set the builtin's DECL_BUILT_IN_CLASS.

1999-09-20  Nick Clifton  <nickc@cygnus.com>

	* lang.c (lang_decode_option): Extend comment.

1999-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* lex.c (maybe_downcase, getlc, handle_generic_pragma,
	check_newline): Use uppercase ctype macro from system.h.

1999-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* actions.c (warn_unhandled): Use xstrdup, not xmalloc/strcpy.

Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>

	* ch-tree.h: Delete declarations for all tree nodes now moved to
	global_trees.
	* expr.c: Likewise.
	* typeck.c: Likewise.
	* decl.c: Delete their definitions.
	(init_decl_processing): Call build_common_tree_nodes and
	build_common_tree_nodes_2 instead of building their nodes here.
	Use set_sizetype instead of assigning sizetype.

1999-09-08  Bruce Korb  autogen@linuxbox.com

	* Makefile.in: Give the gperf user a hint about why "gperf -F" fails.

Tue Sep  7 15:59:56 1999  Dave Brolley  <brolley@cygnus.com>

	* parse.h: Undefine DELAY if it's defined.
	(PACK,NOPACK,POS): Remove erroneous comments regarding these tokens.
	Also, move them to their proper place alphabetically.

1999-09-04  Mark Mitchell  <mark@codesourcery.com>

	* Make-lang.in (cc1chill): Depend on ggc-callbacks.o.
	* Makefile.in (CHILL_OBJS): Add ggc-callbacks.o.

1999-08-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* parse.c (language_string): Constify.

1999-08-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* Makefile.in (LIBS, LIBDEPS): Link with & depend on libiberty.a.
	Remove hacks for stuff which now comes from libiberty.

1999-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* lang.c (chill_print_error_function): Constify a char*.

1999-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* Makefile.in (ch-version.c): Constify a char*.

	* actions.c (id_cmp, warn_unhandled, adjust_return_value,
	update_else_range_for_int_const, update_else_range_for_range,
	update_else_range_for_range_expr, update_else_range_for_type,
	compute_else_range, check_case_value,
	chill_handle_case_label_range,
	chill_handle_multi_case_label_range,
	chill_handle_multi_case_else_label, chill_handle_multi_case_label,
	chill_handle_multi_case_label_list print_missing_cases): Add
	static prototypes.
	(build_exception_variant): Cast the function argument of qsort.
	(build_rts_call, warn_unhandled, chill_convert_for_assignment,
	adjust_return_value, chill_expand_result,
	build_multi_case_selector_expression, print_missing_cases):
	Constify a char*.
	(print_missing_cases): Introduce an intermediary non-const ptr.
	Add brackets and indent.

	* ch-tree.h (maybe_building_objc_message_expr,
	maybe_objc_comptypes, comptypes_record_hook): Remove declarations.
	(push_handler, pop_handler): Add prototypes.
	(builtin_function, valid_array_index_p,
	build_chill_exception_decl, build_rts_call,
	chill_convert_for_assignment, display_int_cst,
	build_chill_addr_expr, check_have_mode, get_identifier3,
	build_chill_string, register_seize_path, get_unique_identifier,
	add_taskstuff_to_list, gnuchill_version): Constify a char*.
	(finish_chill_function): Add void prototype argument.

	* convert.c (convert_to_reference, convert_to_boolean,
	convert_to_char, base_type_size_in_bytes, remove_tree_element,
	check_ps_range, digest_powerset_tuple, digest_structure_tuple,
	digest_array_tuple, convert1): Add static prototypes.
	(base_type_size_in_bytes): Hide unused function.
	(display_int_cst, digest_array_tuple): Constify a char*.

	* decl.c (set_nesting_level, make_chill_variants, fix_identifier,
	proclaim_decl, maybe_acons, push_scope_decls, pop_scope_decls,
	build_implied_names, bind_sub_modules, layout_array_type,
	do_based_decl, handle_one_level, label_value_cmp,
	find_implied_types): Add static prototypes.
	(boolean_code_name, chill_tree_code_type, chill_tree_code_name):
	Constify a char*.
	(layout_chill_variants): Cast the function argument of qsort.
	(start_chill_function, fix_identifier, init_decl_processing):
	Constify a char*.
	(init_decl_processing): Prefer memcpy over bcopy to avoid casts.
	Use xcalloc instead of xmalloc/bzero.
	(builtin_function, build_chill_exception_decl,
	finish_outer_function): Constify a char*.

	* except.c (start_handler_array, finish_handler_array): Add static
	prototypes.

	* expr.c (chill_expand_expr, chill_expand_case_expr,
	check_arglist_length, internal_build_compound_expr,
	is_really_instance, invalid_operand, invalid_right_operand,
	build_chill_abstime, build_allocate_memory_call,
	build_allocate_global_memory_call, build_return_memory,
	build_chill_duration, build_chill_floatcall,
	build_allocate_getstack, build_chill_allocate,
	build_chill_getstack, build_chill_terminate, build_chill_inttime,
	build_chill_lower_or_upper, build_max_min,
	build_chill_pred_or_succ, expand_packed_set, fold_set_expr,
	build_compare_set_expr, scalar_to_string, build_concat_expr,
	build_compare_string_expr, compare_records, string_char_rep,
	build_boring_bitstring): Add static prototypes.
	(check_have_mode, chill_expand_expr, build_chill_floatcall,
	build_allocate_getstack, build_max_min, build_chill_function_call,
	expand_packed_set, build_compare_set_expr, build_chill_addr_expr,
	string_char_rep): Constify a char*.

	* gperf (hash, in_word_set): Add prototypes.

	* grant.c (newstring, strfree, append, prepend,
	grant_use_seizefile, decode_layout, grant_array_type,
	grant_array_type_selective, get_tag_value,
	get_tag_value_selective, print_enumeral, print_enumeral_selective,
	print_integer_type, find_enum_parent, print_integer_selective,
	print_struct, print_struct_selective, print_proc_exceptions,
	print_proc_tail, print_proc_tail_selective, find_in_decls,
	in_ridpointers, grant_seized_identifier, globalize_decl,
	grant_one_decl_selective, compare_memory_file, search_in_list,
	really_grant_this): Add static prototypes.
	(newstring, append, prepend, grant_use_seizefile,
	print_integer_type, decode_constant, grant_one_decl_selective,
	header_template): Constify a char *.

	* inout.c (add_enum_to_list, build_chill_io_list_type,
	build_io_types, declare_predefined_file, build_access_part,
	textlocation_mode, check_assoc, assoc_call, check_transfer,
	connect_process_optionals, connect_text, connect_access,
	check_access, check_text, get_final_type_and_range,
	process_io_list, check_format_string, get_max_size,
	check_exprlist): Add static prototypes.
	(declare_predefined_file, check_assoc, assoc_call, check_transfer,
	check_access, check_text, process_io_list): Constify a char*.

	* lang.c (deep_const_expr, chill_print_error_function): Add static
	prototypes.

	* lex.c (close_input_file, maybe_number, string_or_char): Constify
	a char*.
	(ch_lex_init, skip_directive, same_file, getlc, yywrap,
	yy_refill): Add static prototypes.
	(build_chill_string, same_file, register_seize_path): Constify a
	char*.

	* lex.h (finish_chill_seizes): Remove unused prototypes.

	* loop.c (build_temporary_variable, maybe_make_for_temp,
	get_unique_identifier): Constify a char*.

	* parse.c (ch_parse_init, check_end_label, end_function,
	build_prefix_clause, PEEK_TOKEN, peek_token_, pushback_token,
	forward_token_, require, check_token, expect, define__PROCNAME__):
	Add static prototypes.
	(build_prefix_clause, expect): Constify a char*.
	(parse_expression, parse_primval, parse_untyped_expr,
	parse_opt_untyped_expr, parse_opt_actions): Add void prototype
	argument.
	(parse_opt_name_string, parse_simple_name_string,
	parse_name_string, parse_defining_occurrence, parse_name,
	parse_optlabel, parse_opt_end_label_semi_colon, parse_modulion,
	parse_spec_module, parse_semi_colon,
	parse_defining_occurrence_list, parse_mode_definition,
	parse_mode_definition_statement, parse_synonym_definition,
	parse_synonym_definition_statement, parse_on_exception_list,
	parse_on_alternatives, parse_loc_declaration,
	parse_declaration_statement, parse_optforbid, parse_postfix,
	parse_postfix_list, parse_rename_clauses, parse_opt_prefix_clause,
	parse_grant_statement, parse_seize_statement,
	parse_param_name_list, parse_param_attr, parse_formpar,
	parse_formparlist, parse_opt_result_spec, parse_opt_except,
	parse_opt_recursive, parse_procedureattr, parse_proc_body,
	parse_procedure_definition, parse_processpar,
	parse_processparlist, parse_process_definition,
	parse_signal_definition, parse_signal_definition_statement,
	parse_then_clause, parse_opt_else_clause, parse_expr_list,
	parse_range_list_clause, pushback_paren_expr, parse_case_label,
	parse_case_label_list, parse_case_label_specification,
	parse_single_dimension_case_action,
	parse_multi_dimension_case_action, parse_case_action,
	parse_asm_operands, parse_asm_clobbers, ch_expand_asm_operands,
	parse_asm_action, parse_begin_end_block, parse_if_action,
	parse_iteration, parse_delay_case_event_list,
	parse_delay_case_action, parse_do_action, parse_receive_spec,
	parse_receive_case_action, parse_send_action, parse_start_action,
	parse_call, parse_tuple_fieldname_list, parse_tuple_element,
	parse_opt_element_list, parse_tuple, parse_operand6,
	parse_operand5, parse_operand4, parse_operand3, parse_operand2,
	parse_operand1, parse_operand0, parse_case_expression,
	parse_then_alternative, parse_else_alternative,
	parse_if_expression, parse_index_mode, parse_set_mode, parse_pos,
	parse_step, parse_opt_layout, parse_field_name_list,
	parse_fixed_field, parse_variant_field_list,
	parse_variant_alternative, parse_field, parse_structure_mode,
	parse_opt_queue_size, parse_procedure_mode, parse_program,
	parse_pass_1_2): Add static prototypes.
	(parse_process_definition): Remove extra argument in function call.
	(parse_range_list_clause): Likewise.

	* satisfy.c (satisfy, cycle_error_print, safe_satisfy_decl,
	satisfy_list, satisfy_list_values): Add static prototype.
	(safe_satisfy_decl): Cast DECL_TASKING_CODE_DECL() to (tree).

	* tasking.c (make_process_struct): Remove unused prototype.
	(validate_process_parameters, get_struct_variable_name,
	decl_tasking_code_variable, get_struct_debug_type_name,
	get_process_wrapper_name, build_tasking_enum,
	build_tasking_message_type, build_receive_signal_case_label,
	build_receive_buffer_case_label, build_receive_buffer_case_end,
	build_receive_signal_case_end): Add static prototypes.
	(struct_name, struct_debug_name, data_name, wrapper_name,
	get_struct_type_name, get_struct_debug_type_name,
	get_tasking_code_name, get_struct_variable_name,
	get_process_wrapper_name): Constify a char*.
	(validate_process_parameters, get_struct_variable_name,
	decl_tasking_code_variable): Hide unused functions.
	(build_start_process, add_taskstuff_to_list, build_queue_length):
	Constify a char*.

	* tree.c (make_powerset_type): Add static prototype.
	(get_identifier3, build_alias_decl, decl_check_rename): Constify a
	char*.

	* typeck.c (extract_constant_from_buffer,
	expand_constant_to_buffer, build_empty_string,
	make_chill_pointer_type, make_chill_range_type,
	apply_chill_array_layout, field_decl_cmp, make_chill_struct_type,
	apply_chill_field_layout): Add static prototype.
	(valid_array_index_p, extract_constant_from_buffer,
	chill_expand_tuple): Constify a char*.
	(layout_chill_struct_type): Cast the function argument of qsort.

1999-08-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        * actions.c (lang_identify): Constify a char*.

        * lang.c (chill_print_error_function): Likewise.
        (lang_init): Remove redundant prototype for `print_error_function'.

1999-07-25  Richard Henderson  <rth@cygnus.com>

	* decl.c (va_list_type_node): New.

1999-06-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* Make-lang.in (CHILL.stage1): Depend on stage1-start.
	(CHILL.stage2): Likewise for stage2-start.
	(CHILL.stage3): Likewise for stage3-start.
	(CHILL.stage4): Likewise for stage4-start.

Tue May 18 00:21:34 1999  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
	was not given.

1999-05-10 18:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* lang-specs.h: Pass -$ to the preprocessor.

Tue May  4 14:52:53 1999  Dave Brolley  <brolley@cygnus.com>

	* actions.c (chill_expand_assignment): Use powersetlen to calculate the
	length of an array of packed bits.

Tue Apr 20 23:37:01 1999   Nathan Sidwell  <nathan@acm.org>

	* Make-lang.in (ch/chill.info): Put MAKEINFO parameters in correct
	order.

Wed Apr 14 21:07:30 1999  Mumit Khan  <khan@xraylith.wisc.edu>

	* config-lang.in (compilers): Add exeext.
	(stagestuff): Likewise.

Fri Apr  2 15:49:44 1999  Jeffrey A Law  (law@cygnus.com)

        * Make-lang.in (CHILL_FLAGS_TO_PASS): Do not pass $(CC).

Wed Mar 31 10:44:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        * Makefile.in (hash.h): Generate using gperf language 'C', not
        'KR-C', so gperf uses the `const' keyword on strings.
	 
        * gperf (resword): Const-ify a char*.

Sun Mar 28 00:30:36 1999  Jeffrey A Law  (law@cygnus.com)

	* Make-lang.in (CHILL.dvi): New target.
	(CHILL.mostlyclean): Remove remnants of old runtime library structure.

1999-02-20  Craig Burley  <craig@jcb-sc.com>

	* Make-lang.in (CHILL.info): Depend on intermediate ch/chill.info
	target instead of the chill.texi file.
	(ch/chill.info): New target, depends on the chill.texi source file.
	Its command writes ch/chill.info instead of chill.info.
	(CHILL.install-info): Install from ch/chill.info instead of
	chill.info.
	If any ch/chill.info* files exist, delete *all* chill.info* files
	in $infodir first, not just the ones corresponding to the
	files to be installed (just in case the docs get smaller).

Sun Jan 31 20:34:29 1999  Zack Weinberg  <zack@rabi.columbia.edu>

	* decl2.c: Don't define flag_no_ident here.  Don't process
	-f(no-)ident here.
	* ch-tree.h: Don't declare flag_no_ident here.
	* lang-specs.h: Map -Qn to -fno-ident.

Tue Jan 19 23:24:36 1999  Jeffrey A Law  (law@cygnus.com)

	* Makefile.in (typeck.o): Depend on insn-codes.h.
	* actions.c (chill_handle_multi_case_label): Initialize "expr".
	* decl.c (poplevel): Initialize "block_previously_created".
	* expr.c (chill_expand_expr): Initialize "size0" and "size1".
	(fold_set_expr): Initialize "buffer1".
	* inout.c (process_io_list): Initialize "to_assign".
	(check_exprlist): Initialize "result".
	* parse.c (expand_expr): Declare.
	(parse_multi_dimension_case_action): Initialize "end_case_label".
	* tasking.c (build_start_process): Initialize "struct_type_node".
	* typeck.c (apply_chill_field_layout): Initialize "word".
	(type_for_mode); Unconditionally cast RHS & LHS to ints to shut up	
	signed/unsigned comparison warning.

Mon Jan 18 11:55:06 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* ch-tree.h: Remove conflicting prototypes for pedwarn,
	warning_with_decl, and make_dcl_rtl.

Sun Jan 17 21:53:23 1999  Jeffrey A Law  (law@cygnus.com)

	* Makefile.in: Do not put ^Ls at the start of a line.

Wed Jan  6 02:53:38 1999  Jeffrey A Law  (law@cygnus.com)

	* Makefile.in: Add some missing $(exeext).  Remove some obsolete
	runtime stuff.
	* Make-lang.in: Similarly.
	
Tue Nov 24 09:57:34 1998  Jeffrey A Law  (law@cygnus.com)

	* Makefile.in (lex.c): Do not depend on hash.h.
	(lex.o): Depend on hash.h.

Mon Oct 19 12:13:47 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* Makefile.in (lex.o): Depend on dwarfout.h.

	* lang-specs.h: Add missing braces in initializer.

	* lex.c: Include dwarfout.h, if DWARF_DEBUGGING_INFO is defined.

Thu Oct 15 09:25:21 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* expr.c (build_chill_card): Use &&, not &, when comparing truth
	values.

	* parse.c (parse_spec_module): Remove unused variable
	`module_name', but preserve function call from initialization.
	(parse_operand6): Mark variable `location' with ATTRIBUTE_UNUSED.
	
	* inout.c (init_text_location): Remove unused variable `textlength'.

Wed Oct 14 22:19:48 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* typeck.c (build_chill_cast): Fix typo in assignment statement.

	* tasking.c (build_signal_descriptor): Use IDENTIFIER_POINTER()
	when printing a `tree'.

Fri Oct  9 13:01:23 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* ch-tree.h (build_delay_case_end): Remove unused parameter.
	(build_receive_case_end): Likewise.
	(check_queue_size): Likewise.

	* parse.c: Callers changed.

	* satisfy.c: Likewise.

	* tasking.c (build_receive_buffer_case_end): Remove unused
	parameter `label_cnt'.
	(build_receive_signal_case_end): Likewise.
	(build_receive_case_end): Likewise.
	(build_delay_case_end): Likewise.
	(check_queue_size): Likewise for parameter `type'.
	All callers changed.

Thu Oct  8 05:57:41 1998  Jeffrey A Law  (law@cygnus.com)

	* typeck (type_for_mode): Only return TItype nodes when
	HOST_BITS_PER_WIDE_INT is >= 64 bits.
	(type_for_size): Similarly.
	* decl.c (intTI_type_node, unsigned_intTI_type_node): Only declare
	when HOST_BITS_PER_WIDE_INT is >= 64 bits.
	(init_decl_processing): Only create TItype nodes when
	HOST_BITS_PER_WIDE_INT is >= 64 bits.

Wed Oct  7 12:19:21 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* Makefile.in (hash.h): Add -L KR-C -F ', 0, 0, 0' flags to gperf.
	(hash.h): Regenerate using gperf 2.7.1 (19981006 egcs).

Thu Oct  1 10:43:45 1998  Nick Clifton  <nickc@cygnus.com>

	* lex.c: Replace occurances of HANDLE_SYSV_PRAGMA with
	HANDLE_GENERIC_PRAGMAS.
	(handle_generic_pragma): New function: Parse generic pragmas.
	
Wed Sep 30 20:22:34 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* parse.c (emit_label): Fix return-type of prototype.

Wed Sep 30 19:41:36 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* actions.c (chill_handle_multi_case_label): Always return a value
	in function returning non-void. 

	* except.c: Include OS headers before any local ones.

	* typeck.c (layout_chill_range_type): Change type of variable
	`negprecision' to int.
	(apply_chill_array_layout): Initialize variables `stepsize' and
	`start_bit'.
	(layout_chill_struct_type): Change type of variable `min_align' to
	unsigned int.
	(smash_dummy_type): Change name of variable `main' to `main_tree'.

Wed Sep 30 19:24:41 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* actions.c (id_cmp): Do pointer arithmetic as `long' not `int' to
 	ensure enough bits for calculation.

	* ch-tree.h (check_text_length): Remove unused parameter.

	* convert.c (display_int_cst): Cast a HOST_WIDE_INT argument to
	function sprintf into the appropriate type for printing.

	* decl.c (print_lang_decl): Use HOST_WIDE_INT_PRINT_DEC as the
	format specifier.
	(print_mode): Likewise.
	(init_decl_processing): Cast the arguments of bcopy/bzero to char *.

	* grant.c (grant_array_type): Use HOST_WIDE_INT_PRINT_DEC as
	the format specifier.

	* inout.c (check_text_length): Remove unused parameter `type'.
	(build_chill_associate): Initialize variables `arg1', `arg2',
	`arg3', `arg4' and `arg5'.
	(build_chill_modify): Likewise.
	(scanformcont): Change type of variable `curr' to `unsigned char'.

	* lex.c (maybe_downcase): Cast the argument of `tolower' to
	`unsigned char'.

	* satisfy.c (satisfy): Remove unused parameter in call to
	`check_text_length'.

	* tasking.c (generate_tasking_code_variable): Pass a HOST_WIDE_INT
	as a `long' in call to function `error'.
	(decl_tasking_code_variable): Likewise.

Wed Sep 30 19:03:02 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* grant.c (decode_decl_selective): Cast switch's enum argument to
	an int.
	(really_grant_this): Add default case in switch.

	* typeck.c (chill_resulting_class): Add default cases in switch.
	Also add `break' statements after each case.

Tue Sep 29 21:37:33 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* ch-tree.h (build_compare_expr): Change first argument's type
	from `enum chill_tree_code' to `enum tree_code'.
	(build_compare_discrete_expr): Likewise.

	* expr.c (build_compare_set_expr): Likewise.
	(build_compare_string_expr): Likewise.
	(build_compare_expr): Likewise.
	(build_compare_discrete_expr): Likewise.  Also add default case in
	switch statement.
	(compare_int_csts): Add default case in switch statement.

Sun Sep 20 11:02:55 1998  Robert Lipe  <robertl@dgii.com>

	* except.c: Include system.h.

	* Makefile.in (except.o): Depend on system.h.

Sun Sep 20 09:25:13 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* Makefile.in (actions.o, convert.o, decl.o, expr.o, lang.o,
	lex.o, loop.o, parse.o, satisfy.o, timing.o, tasking.o, tree.o,
	typeck.o): Depend on system.h and toplev.h.
	(except.o): Depend on toplev.h.
	(grant.o): Depend on system.h, toplev.h and output.h.

	* actions.c: Include system.h and toplev.h.  Remove redundant
 	prototypes.
	(build_cause_exception): Add default case in switch.
	(update_else_range_for_range): Add parentheses around && within ||.
	(chill_handle_multi_case_label_list): Remove unused variable
	`selector_value'.
	(print_missing_cases): Reconcile format specifiers vs arguments in
 	calls to sprintf.

	* ch-tree.h: Don't include stdio.h.  Wrap prototypes using FILE*
 	with macro BUFSIZ.  Add missing prototypes.

	* convert.c: Include system.h and toplev.h.  Remove redundant
	prototypes.
  	(convert): Remove unused variable `errstr'.

	* decl.c: Include system.h and toplev.h.  Remove redundant
 	prototypes.
	(builtin_scope): Add missing initializers.
	(clear_scope): Likewise.
	(allocate_lang_decl): Mark parameter `t' with ATTRIBUTE_UNUSED.
	(copy_lang_decl): Likewise for parameter `node'.
	(c_decode_option): Likewise for parameter `argc'.
	(push_extern_function): Likewise for parameter `granting'.
	(switch_to_pass_2): Hide declaration of errorcount/sorrycount.
	(pushdecl): Remove unused variable `t'.
	(lookup_name_current_level): Make static and hide.
	(lookup_name_for_seizing): Make static.
	(finish_decl): Remove unused variable `type'.
	(maybe_build_cleanup): Mark parameter `decl' with ATTRIBUTE_UNUSED.
	(complete_array_type): Mark parameters `type', `initial_value' and
 	`do_default' with ATTRIBUTE_UNUSED.
	(start_struct): Mark parameter `name' with ATTRIBUTE_UNUSED.
	(start_enum): Likewise.
	(shadow_record_fields): Remove unused variables `type' and `parent'.

	* except.c: Include toplev.h.  Remove redundant prototypes.

	* expr.c: Include system.h and toplev.h.  Don't define NULL.
  	Remove redundant prototypes.
	(internal_build_compound_expr): Mark parameter `first_p' with
	ATTRIBUTE_UNUSED.
	(build_allocate_getstack): Remove unused variable `init'.
	(build_chill_pred_or_succ): Likewise for variable `limit'.
	(varying_to_slice): Likewise for variable `doamin' [sic].
	(finish_chill_binary_op): Likewise for variables `code0' and
	`code1'.  Remove unused label `finish'.  Add explicit braces to
	avoid ambiguous `else'.
	(build_chill_addr_expr): Remove extra parameter in call to `error'.
	(build_chill_unary_op): Remove unused variables `class' and `type0'.
	(powersetlen): Remove unused variables `domain' and `temp'.

	* grant.c: Include system.h, toplev.h and output.h.  Don't handle
 	strchr/strrchr.  Remove redundant prototypes.
  	(decode_constant_selective): Remove unused variables `op' and `wrk'.
	(push_granted): Mark parameters `name' and `decl' with
 	ATTRIBUTE_UNUSED.

	* inout.c: Include system.h and toplev.h.  Remove redundant
 	prototypes.
	(textlocation_mode): Use &&, not &, when comparing two truth
	values.
	(scanformcont): Remove unused label `do_the_action'.

	* lang.c: Include system.h and toplev.h.  Remove redundant
 	prototypes.
	(lookup_interface): Mark parameter `arg' with ATTRIBUTE_UNUSED.
	(maybe_objc_comptypes): Likewise for parameters `lhs' and `rhs'.
	(lang_print_xnode): Likewise for parameters `file', `node' and
	`indent'.
	(lang_decode_option): Explicitly declare `explicit_ignore_case'.
	(incomplete_type_error): Mark parameters `value' and `type' with
	ATTRIBUTE_UNUSED.

	* lex.c: Include system.h and toplev.h.  Remove redundant
 	prototypes.  Don't handle strchr/strrchr.  Use CAPITALIZED
	versions of ctype macros from system.h.  Cast ctype arguments to
	unsigned char when necessary.
	(last_token, RETURN_TOKEN): Hide definition.
	(push_back): Remove unused function.
	(readstring): Change variable `i' to unsigned.
	(yywrap): Remove unused variable `node'.

	* loop.c: Include system.h and toplev.h.  Remove redundant
	prototypes.
	(chill_unsigned_type): Hide prototype and definition.
	(begin_loop_scope): Remove unused variable `firstp'.
	(nonvalue_begin_loop_scope): Likewise.

	* parse.c: Include system.h and toplev.h.  Remove redundant
	prototypes.
	(quasi_signal): Hide.
	(PEEK_TOKEN): Change return type to `enum terminal'.
	(parse_mode_definition_statement): Remove unused variable `names'.
	(parse_formpar): Remove unused parameter `in_spec_module'.  All
	callers changed.
	(parse_formparlist): Likewise.
	(parse_processpar): Remove unused variable `parms'.
	(parse_definition): Add explicit braces to avoid ambiguous `else'.
	(parse_multi_dimension_case_action): Initialize variable
	`begin_test_label'.  Remove unused variable `new_test'.
	(parse_case_action): Remove unused variable `caseaction_flag'.
	(parse_asm_clobbers): Remove unused variable `expr'.
	(parse_delay_case_action): Initialize variable `label_cnt'.
	(parse_action): Make function static.
	(parse_tuple_element): Remove unused variable `list'.
	(parse_primval): Add default case in switch.
	(parse_variant_alternative): Remove unused variables `x' and
	`variant_fields'.

	* satisfy.c: Include system.h and toplev.h.  Remove redundant
	prototypes.

	* tasking.c Include system.h and toplev.h.  Remove redundant
	prototypes.
	(data_name): Hide.
	(get_struct_variable_name): Likewise.
	(validate_process_parameters): Mark parameter `parms' with
	ATTRIBUTE_UNUSED.
	(build_start_process): Initialize variable `tuple'.
	(build_receive_buffer_case_end): Remove unused variable `buffer_ptr'.

	* timing.c: Include system.h and toplev.h.
	(build_after_timeout_start): Remove unused variable `goto_where'.

	* tree.c: Include system.h and toplev.h.  Remove redundant
	prototypes.

	* typeck.c: Include system.h and toplev.h.  Remove redundant
	prototypes.
	(extract_constant_from_buffer): Make function static.  Add
 	explicit braces to avoid ambiguous `else'.
	(expand_constant_to_buffer): Likewise.
	(build_chill_slice): remove unused variable `is_static'.
	(chill_compatible): Add explicit braces to avoid ambiguous `else'. 
	(apply_chill_array_layout): Remove unused variable `offset'.
	(smash_dummy_type): Remove unused variable `save_lang_specific'.
	(initializer_constant_valid_p): Add default case in switch.

Mon Sep 14 16:46:36 1998  Dave Brolley  <brolley@cygnus.com>

	* typeck.c (build_chill_slice): Always use TYPE_DOMAIN to get the
	domain type of the array.

	* expr.c (build_chill_function_call): Remove redundant call to
 	chill_convert_to_assignment

Thu Sep 10 17:52:36 1998  Dave Brolley  <brolley@cygnus.com>

	* actions.c (chill_convert_for_assignment): Make a copy of the result
	node before modifying it.

Sat Sep  5 16:55:37 1998  John Carr  <jfc@mit.edu>

	* Make-lang.in: Comment ^L characters.  Sun make doesn't like them.

Sat Sep  5 23:49:50 1998  Jeffrey A Law  (law@cygnus.com)

	* Makefile.in (INCLUDES): Update after recent reorganization at the
	toplevel gcc directory.

Sat Sep  5 22:25:51 1998  Richard Henderson  <rth@cygnus.com>

	* Makefile.in: Update dependancies for top-level gcc files that moved.

Sat Sep  5 02:21:08 1998  Jeffrey A Law  (law@cygnus.com)

	* Makefile.in: Tweak to avoid building runtime.  It's built
	elsewhere now.

Thu Sep  3 15:32:03 1998  Dave Brolley  <brolley@cygnus.com>

	* typeck.c (layout_chill_range_type): set TYPE_SIZE_UNIT.

Wed Sep 02 09:25:29 1998  Nick Clifton  <nickc@cygnus.com>

	* lex.c (check_newline):  Change how HANDLE_PRAGMA is called.
	Generate warning messages if unknown pragmas are encountered.
	(pragma_getc): New function: retrieves characters from the
	input stream.  Defined when HANDLE_PRAGMA is defined.
	(pragma_ungetc): New function: replaces characters back into the
	input stream.  Defined when HANDLE_PRAGMA is defined.

Mon Aug 31 15:35:16 1998  Dave Brolley  <brolley@cygnus.com>

	* decl.c (layout_chill_variants): Calculate nlables properly.

Mon Jul 27 17:21:01 1998  Dave Brolley  <brolley@cygnus.com>

	* typeck.c (apply_chill_array_layout): Don't set TYPE_SIZE of the
	element type.

Mon Jul 13 14:20:12 1998  Nick Clifton  <nickc@cygnus.com>

	* lang-options.h: Format changed to match changes in gcc/toplev.c
	to implement a --help option.

Wed Jul  8 02:58:35 1998  Jeffrey A Law  (law@cygnus.com)

	* lang.c (lang_init_options): New function.

Wed Jun 10 12:08:09 1998  Dave Brolley  <brolley@cygnus.com>

	* lang-options.h: Remove -I.
	* ch-tree.h (c_decode_option): New argc/argv interface.
	* decl.c (c_decode_option): New argc/argv interface.
	* lang.c (lang_decode_option):  New argc/argv interface.

Wed May 27 10:33:41 1998  Dave Brolley  <brolley@cygnus.com>

	* actions.c (chill_handle_multi_case_label): Arguments 1 and 2 to
 	chill_handle_multi_case_label_range were reversed.

	* Make-lang.in (chill): Use the correct gcc in the driver script.

Thu May 21 14:40:44 1998  Dave Brolley  <brolley@cygnus.com>

	* convert.c (digest_array_tuple): Move conversion to
	chill_convert_for_assignment.

	* actions.c (chill_convert_for_assignment): Allow conversion of array
	constructor to bitstring constructor for assignment to array of packed bits.

Thu May 14 13:57:51 1998  Dave Brolley  <brolley@cygnus.com>

	* Make-lang.in (chill-runtime): Depend on stmp-headers to build float.h.

Wed May 13 14:07:51 1998  Dave Brolley  <brolley@cygnus.com>

	* typeck.c (build_chill_slice): Adjust slice index to account for the
	lower bound of the array.

	* actions.c (chill_expand_assignment): Convert function arguments to the
	correct types.
	(chill_expand_assignment): Ditto.

Mon May 11 16:20:57 1998  Dave Brolley  <brolley@cygnus.com>

	* typeck.c (build_chill_slice): Propogate the TYPE_PACKED setting
	of the array_type to the slice_type.
	(build_chill_slice): Use SLICE_EXPR to represent a slice of an array
	of bits.

	* loop.c (build_loop_iterator): Disallow location enumeration for
	bit-packed arrays.

	* convert.c (digest_array_tuple): Allow conversion of an array tuple
	to a bitstring for assignment to a packed array of bits.

Mon May  4 16:28:58 1998  Dave Brolley  <brolley@cygnus.com>

	* ch-tree.def (PACKED_ARRAY_REF): New tree code.
	* typeck.c (build_chill_array_ref_1): Build PACKED_ARRAY_REF if array is packed.
	(chill_location): Handle PACKED_ARRAY_REF.
	(apply_chill_array_layout): Allow PACK for arrays of single bits.
	* expr.c (chill_expand_expr): Expand PACKED_ARRAY_REF.
	(invalid_operand): Check PACKED_ARRAY_REF operands.
	* actions.c (chill_expand_assignment): Expand PACKED_ARRAY_REF.

Thu Apr 23 15:33:20 1998  Dave Brolley  <brolley@cygnus.com>

	* typeck.c (apply_chill_field_layout): Only integral fields can be packed
	to the bit level.

Tue Apr 21 14:30:10 1998  Jeffrey A Law  (law@cygnus.com)

	* decl.c (intTI_type_node, unsigned_intTI_type_node): Define.
	(init_decl_processing): Handle TI types.
	* typeck.c (intTI_type_node, unsigned_intTI_type_node): Declare.
	(type_for_size): Handle TI types.
	(type_for_mode): Handle TI types.

Mon Apr 20 13:12:26 1998  Dave Brolley  <brolley@cygnus.com>

	* typeck.c (layout_chill_struct_type): Don't promote bitfield types to
	int.

	* actions.c (chill_convert_for_assignment): Check that the rhs is not
	a type declaration.

Tue Apr 14 13:17:44 1998  Dave Brolley  <brolley@cygnus.com>

	* lex.c (init_parse): Now returns char* containing the filename.

	* typeck.c (get_type_precision): Declare.
	(apply_chill_field_layout): Use the minimum number of bits necessary to
	represent discrete types as the natural length of the field.

Thu Apr  9 12:46:55 1998  Dave Brolley  <brolley@cygnus.com>

	* lex.c (finput): Move definition here from toplev.c
	(init_parse): New function replaces init_lex.
	(init_parse): Add code to open source file.
	(finish_parse): New function.
	(close_input_file): File was being closed more than once.

	* lang.c (finput): Declare.
	* ch-tree.h (init_lex): Remove.
	

Wed Apr  8 14:47:33 1998  Dave Brolley  <brolley@cygnus.com>

	* actions.c (compute_else_range): Fix loop index error.
	(chill_handle_multi_case_label_range): Move error checking to
	chill_handle_multi_case_label.
	(chill_handle_multi_case_else_label): Convert ELSE range values to
	the type of the corrersponding CASE selector.

Wed Apr  8 13:02:50 1998  Jeffrey A Law  (law@cygnus.com)

	* actions.c (sizetype_tab): Do not declare.
	* lang.c (lang_print_xnode): New function.

Mon Mar 23 14:43:06 1998  Dave Brolley  <brolley@cygnus.com>

	* grant.c (decode_layout): New function.
	(grant_array_type): Call decode_layout to export layout information to
	the grant file.
	(decode_decl): Ditto

Fri Mar 20 16:06:41 1998  Dave Brolley  <brolley@cygnus.com>

	* parse.c (parse_tuple_element): Call had arguments in wrong order.

Thu Mar 19 13:42:33 1998  Dave Brolley  <brolley@cygnus.com>

	* typeck.c (apply_chill_array_layout): Use
 	TYPE_PRECISION (chill_integer_type_node) in stead of BITS_PER_WORD for
	the word size.

Wed Mar 18 16:25:48 1998  Dave Brolley  <brolley@cygnus.com>

	* typeck.c (apply_chill_field_layout): Only set DECL_BIT_FIELD for discrete
 	fields.

	* parse.c (parse_multi_dimension_case_action): Call emit_line_note at the
	proper places.

Tue Mar 17 14:16:08 1998  Dave Brolley  <brolley@cygnus.com>

	* parse.c (gen_label_rtx): Declare before use.
	(emit_jump): Declare before use.
	(emit_label): Declare before use.
	(parse_case_label_list): Pass in CASE selector so we can mark it as having
	an (ELSE) label if necessary.
	(parse_case_label_specification): Pass in the CASE selector list so that
	the CASE selectors can be passed to parse_case_label_list.
	(parse_multi_dimension_case_action): Modify to generate branching code in
	one pass.
	(parse_case_expression): Compute (ELSE) range before generating CASE expression.
	(parse_variant_alternative): Remove error for (ELSE) specified.

	* expr.c (check_case_selector_list): Preserve TREE_PURPOSE of selector list.

	* decl.c (layout_chill_variants): Add code to check compatibility of ranges
	and discrete mode names.

	* ch-tree.h (ELSE_LABEL_SPECIFIED): New Chill specific flag.

	* actions.h (build_multi_case_selector_expression): Make it extern.
	(chill_handle_multi_dimension_case_label): Remove.
	(compute_else_ranges): New function.

	* actions.c (update_else_range_for_int_const): New function.
	(update_else_range_for_range): New function.
	(update_else_range_for_range_expr): New function.
	(update_else_range_for_type): New function.
	(compute_else_range): New function.
	(compute_else_ranges): New function.
	(chill_handle_multi_case_else_label): New function
	(chill_handle_multi_case_label_range): Don't generate tests for conditions
	which are always true or false.
	(chill_handle_multi_case_label): Ditto.
	(chill_handle_multi_case_label): Implement (ELSE) label support.
	(chill_handle_multi_case_label): First argument is now the selector tree not
	its VALUE.
	(chill_handle_multi_dimension_case_label): Removed.
	(build_chill_multi_dimension_case_expr): List of CASE alternatives is no longer
	reversed on entry, so reverse it here.

Tue Mar 10 15:02:26 1998  Dave Brolley  <brolley@cygnus.com>

	* actions.c (chill_handle_multi_case_label_range): Add more error checking.
	(chill_handle_multi_case_label): Implement (*) for multi dimensional CASE.
	(chill_handle_multi_case_label): Improve Error handling.

Mon Mar  9 12:39:00 1998  Dave Brolley  <brolley@cygnus.com>

	* actions.c (chill_handle_multi_case_label_range): Added.
	(chill_handle_multi_case_label): Add support for discrete ranges and
	discrete modes.

	* typeck.c (apply_chill_array_layout): Added more error checking.
	(apply_chill_field_layout): Added more error checking.

Wed Mar  4 16:08:26 1998  Dave Brolley  <brolley@cygnus.com>

	* convert.c (convert): Call build_simple_array_type with new argument.

	* ch-tree.h(build_simple_array_type): Add argument for array layout.

	* typeck.c (build_chill_slice): Call build_simple_array_type with new argument.
	(build_simple_array_type): Attach array layout to TYPE_ATTRIBUTES.
	(apply_chill_array_layout): New function to implement array layout.
	(layout_chill_array_type): Call apply_chill_array_layout and reset
 	TYPE_ATTRIBUTES to NULL_TREE.
	(build_chill_array_type): Extend to handle one array layout per index mode.
	(smash_dummy_type): Call build_simple_array_type with new argument.

	* satisfy.c (satisfy): Call SATISFY on array layout tree.

Wed Feb 25 14:36:41 1998  Dave Brolley  <brolley@cygnus.com>

	* typeck.c (next_struct_offset): Added.
	(apply_chill_field_layout): New function to check and apply PACK, NOPACK,
	or POS layout to a structure field.
	(layout_chill_struct_type): Add call to apply_chill_field_layout.

	* satisfy.c (satisfy): Call satisfy recursively to handle the expressions
	in the field layout tree.

	* parse.c (pack_warn_printed): Remove.
	(nopack_warn_printed): Remove.
	(step_warn_printed): Remove.
	(pos_warn_printed): Remove.
	(parse_opt_layout): Remove warnings about POS, STEP, PACK and NOPACK usage.

	* decl.c (grok_chill_fixedfields): Check for POS specified for a list of
	field declarations.

Thu Feb 19 17:33:06 1998  Dave Brolley  <brolley@cygnus.com>

	* parse.c (parse_opt_layout): Generate syntax errors in pass 1 only.
	(parse_opt_mode): Removed incorrect comment about association of array
	layouts with nested array elements.
	(parse_opt_mode): Allow for one layout per index mode specified.

Wed Feb 18 23:48:57 1998  Richard Henderson  <rth@cygnus.com>

	* Make-lang.in (cc1chill): Kill lingering bc-opcode.h dependancy. 

Wed Feb 18 17:35:05 1998  Dave Brolley  <brolley@cygnus.com>

	* parse.c (parse_field): Get rid of warning for multiple case selectors.

	* decl.c (layout_chill_variants): Fix loop indexing error.
	
Mon Feb 16 15:54:47 1998  Dave Brolley  <brolley@cygnus.com>

	* parse.c (parse_case_expression): Remove code which checked for
	unimplemented (ELSE) label.
	(parse_case_expression): Add code to handle multi dimensional case
	expression.

	* expr.c (check_case_selector_list): Fixed to return a list of the
	selectors which were checked.
	(chill_expand_case_expr): Remove "sorry" message for multi dimension
	case.
	(chill_expand_case_expr): Reverse order of case alternatives.
	(chill_expand_case_expr): Add "error" message for multiple case
	selectors.

	* actions.h (build_chill_multi_dimension_case_expr): Added.

	* actions.c (build_multi_case_selector_expression): Renamed from
	build_multi_case_expression.
	(chill_handle_multi_dimension_case_label): Call above function by its
	new name.
	(build_chill_case_expr): Don't reverse the list elements here. It may
	not be necessary.
	(build_chill_multi_dimension_case_expr): New function implements multi
	dimensional case expression.

Thu Feb 12 15:44:50 1998  Dave Brolley  <brolley@cygnus.com>

	* parse.c (parse_case_action): Implement multi-dimension CASE action.
	(parse_multi_dimension_case_action): Added.
	(parse_single_dimension_case_action): Added based on code moved from
 	parse_case_action.

	* expr.c (check_case_selector_list): Added.

	* ch-tree.h (check_case_selector_list): Added.

	* actions.h (chill_handle_single_dimension_case_label): Added.
	(chill_handle_multi_dimension_case_label): Added.

	* actions.c (chill_handle_single_dimension_case_label): Added.
	(chill_handle_multi_case_label): Added.
	(chill_handle_multi_case_label_list): Added.
	(build_multi_case_expression): Added.
	(chill_handle_multi_dimension_case_label): Added

Fri Feb  6 16:43:41 1998  Dave Brolley  <brolley@cygnus.com>

	* actions.c (sizetype_tab): Fix declaration to match gcc changes.

Thu Feb  5 14:03:00 1998  Dave Brolley  <brolley@cygnus.com>

	* decl.c (chill_tree_code_type):  Change this to be an array of char like
 	the tree_code_type in the rest of gcc.

	* ch-tree.def (chill_tree_code_type): See decl.c.

Thu Jan 29 15:34:18 1998  Dave Brolley  <brolley@cygnus.com>

	* tasking.c (error_with_decl): Correct prototype.
	(build_gen_ptype): Reverse arguments.

	* lang.c (chill_real_input_filename): Add definition.
	(chill_print_error_function): Correct second argument.
	(lang_init): Set chill_real_input_filename.

	* expr.c (NULL): Protect definition with #ifndef.

	* decl.c (init_decl_processing): Don't allocate chill_tree_code_...
	(init_decl_processing): Change last argument to 'sizeof(char)'.
	

Tue Nov 25 10:44:19 1997  Nick Clifton  <nickc@cygnus.com>

	* Make-lang.in (mostlyclean): Use && to separate commands, so that 
	if the directory change fails, the rule will not loop.

Mon Mar  3 12:08:19 1997  Fred Fish  <fnf@cygnus.com>

	* Make-lang.in (CHILL_FLAGS_TO_PASS): Remove extraneous leading
	spaces and use single tab character on some lines.
	(cc1chill): Ditto.

Tue Nov 26 05:12:40 1996  Wilfried Moser  <moser@rtl.cygnus.com>

        * tasking.c (build_receive_buffer_case_label): Rework in a manner,
        that the buffer location gets evaluated only once, in
        build_receive_buffer_case_end. 

        * typeck.c (build_chill_bin_type): Rework.
        (layout_chill_range_type): Process BIN mode.
        (build_chill_array_type): Remove checking of layout. This is done
        at the parse.

        * parse.c (parse_on_exception_list): Don't allow ON name:.
        (parse_opt_layout): Parse POS and STEP and return a tree instead
        of int.

        * lex.c (init_lex), lex.h: Define and initialise RID_BIN.

        * grant.c (print_integer_type): Take care of BIN.

        * expr.c (build_chill_descr): Make descr static if requested
        location is static.
        (build_chill_length): Process text mode name and text location as
        described in Z.200/1992.
        (build_compare_expr): Don't allow < <= > >= for composite modes.

        * decl.c (grok_chill_fixedfields): Remove checking of
        layout. This is done at the parser.

        * convert.c (digest_structure_tuple): Take care of wrong (probably
        array) tuple. Printing error may cause sigsegv.

        * ch-tree.h: Change prototypes of grok_chill_fixedfields and
        build_chill_array_type (layout is passed now as a tree instead of
        int).

Fri Nov 15 15:17:44 1996  Per Bothner  <bothner@deneb.cygnus.com>

	* convert.c (display_int_cst):  Check that val is INTEGER_CST.
	(digest_array_tuple):  Some extra error checks (i.e. that indexes
	are constant).  If dynamic mode, result is not constant.

Mon Oct 28 12:48:06 1996  Jeffrey A Law  (law@cygnus.com)

        * typeck.c (signed_or_unsigned_type): If the given type already
        as the correct signedness, then just return it.

        * typeck.c ({un,}signed_type): If can't do anything, call
        signed_or_unsigned_type.

Fri Sep  6 02:50:08 1996  Wilfried Moser  <moser@rtl.cygnus.com>

	* typeck.c (build_chill_cast): In case of rangecheck, take care of 
	constant expression (when defining a SYN).

Thu Sep  5 04:30:32 1996  Wilfried Moser  <moser@rtl.cygnus.com>

	* parse.c (define__PROCNAME__): New function to define a SYNONYM
	__PROCNAME__ (__procname__) which is a character string containing
	the name of the current procedure. This is quit the same as 
	__FUNCTION__ in C.
	(parse_proc_body): Add call to define__PROCNAME__.

	* typeck.c (chill_equivalent): Take care of NEWMODE'd procedure
	modes on one side and procedures on the other side..

Wed Jul 24 01:13:51 1996  Wilfried Moser  <moser@rtl.cygnus.com>

	* typeck.c: Replace all local variables and arguments named `index'
	with `idx', `index' gets replaced by `strchr' which makes debugging
	somehow difficult.
	(valid_array_index_p): New argument to indicate that we are processing
	LENGTH (varying string) on the lefthand side of an assignment. The
	index check is different in this case.
	(build_chill_cast): In case of expression conversion do an OVERFLOW
	check with the limits of the target mode.

	* ch-tree.h: New prototype for valid_array_index_p.

	* actions.c (expand_varying_length_assignment): Add new argument to
	call to valid_array_index_p to indicate we are processing
	LENGTH on the lefthand side of an assignment.

	* loop.c: Rename loop_stack to loopstack to avoid clashes with
	global variable ../stmt.c:loop_stack.

Tue Jun 18 23:04:06 1996  Per Bothner  <bothner@deneb.cygnus.com>

	* expr.c (resolve_component_ref):  Set TREE_SIDE_EFFECTS properly.

Mon Jun 10 15:01:51 1996  Per Bothner  <bothner@deneb.cygnus.com>

	* typeck.c (build_chill_reference_type):  Copy novelty for reference.
	* satisfy.c (satisfy):  If REFERENCE_TYPE, copy novelty.

Thu May 30 04:55:27 1996  Wilfried Moser  <moser@rtl.cygnus.com>

	* typeck.c (valid_array_index_p): For varying character strings
	we must check if the index is less then the actual length instead
	of less equal.

Wed May 15 06:07:10 1996  Wilfried Moser  <moser@rtl.cygnus.com>

	* ch-tree.h: Add prototype for test_range.

	* inout.c (process_io_list): Fix duplicate function call if
	writetext argument is a function returning a varying string.

Tue May 14 21:08:47 1996  Per Bothner  <bothner@deneb.cygnus.com>

	Re-do string comparisons.  Old way could re-use temporary
	(SAVE_EXPR created for an argumnet is variable) prematurely.
	* ch-tree.def (STRING_EQ_EXPR, STRING_LT_EXPR):  New codes.
	* decl.c (init_decl_processing):  Remove __eqstring, __gestring,
	__gtstring, __lestring, __ltstring, __nestring declarations.
	* expr.c (build_char_array_expr):  Rename to build_compare_string_expr.
	Create STRING_EQ_EXPR, STRING_LT_EXPR nodes, instead of CALL_EXPRs.
	(chill_expand_expr):	Implement STRING_EQ_EXPR, STRING_LT_EXPR.
	(build_compare_expr):  Use new build_char_array_expr name.

Mon Apr  8 14:08:30 1996  Per Bothner  <bothner@kalessin.cygnus.com>

	Cleanup of April 5 fix:
	* actions.c (test_range):  New function.
	(check_range):  Simplify to use test_range.
	* convert.c (digest_powerset_tuple):  Move error message from here ...
	(check_ps_range):  ... to here.  Also, simplify to use test_range.

Fri Apr  5 03:41:05 1996  Wilfried Moser  <moser@rtl.cygnus.com>

	* convert.c (check_ps_range): New function to perform range check
	of powerset tuple elements. This is quite the same as check_range,
	however, the actions on rangefail are different.
	(digest_powerset_tuple): Call check_ps_range.

	* loop.c (build_loop_iterator): Chaeck if location enumeration
	is requested for BOOLS(n) and print an error message.

Wed Mar  6 17:46:48 1996  Per Bothner  <bothner@kalessin.cygnus.com>

	* parse.c (parse_primval):  Emit error if !ignore (before: pass==2).

	Implement parameterised array and string modes (using LANG_TYPE).
	* parse.c (parse_opt_mode):  Handle parameterized arrays and strings.
	* grant.c (decode_mode):  Support extended use of LANG_TYPE.
	* satisfy.c (cycle_error_print):  Ignore non-decls in chain.
	(safe_satisfy_decl):  No error if non-decl (pointer type) in cycle.
	(satisfy):  Return immediately if laid out non-pointer type.
	(satisfy case LANG_TYPE):  Handle paramertised mode.
	(satisfy case POINTER_TYPE/REFERENCE_TYPE):  Push type on chain;
	return immediately if already in chain.
	* typeck.c (smash_dummy_type):  Handle parameterized modes and CHAR(N).
	Change return type (can now return error_mark_node).
	(build_readonly_type):  Return return value from smash_dummy_type.
	* ch-tree.h:  Change smash_dummy_type return type.

Tue Mar  5 22:31:20 1996  Per Bothner  <bothner@kalessin.cygnus.com>

	* typeck.c (build_chill_slice):  Re-do index_type calculation.
	* typeck.c (layout_chill_range_type):  Use compare_int_csts rather
	than tree_int_cst_lt to avoid signed/unsigned problems.

	* typeck.c (copy_novelty):  Use copy_node rather than build_type_node.
	* typeck.c (smash_dummy_type):  Use copy_novelty for NEWMODE of range.

	* decl.c (init_decl_processing): More portable sizetype initialization.

	* tree.c (build_string_type):  Generalize to also create bitstrings.
	Return error_mark_node if an argument is an ERROR_MARK.
 	(build_bitstring_type):  Simplify - just call build_string_type.

Tue Mar  5 03:48:32 1996  Wilfried Moser  <moser@blues.cygnus.com>

	* actions.c (warn_unhandled): Add missing assignment.

	* loop.c (build_loop_iterator): In case of IN, check if
	expression has a mode, otherwise make an error.

Mon Mar  4 23:12:03 1996  Per Bothner  <bothner@kalessin.cygnus.com>

	*  convert.c (digest_powerset_tuple):  Check tuple elements
	for compatibility;  if compatible, call convert.

Thu Feb 29 23:39:54 1996  Per Bothner  <bothner@kalessin.cygnus.com>

	Simplify NOVELTY representation.
	* ch-tree.h (CH_NOVELTY):  Re-implement as plain TYPE_CONTEXT.
 	(CH_NOVELTY_FLAG):  Removed.  (Just use CH_NOVELTY.)
	* decl.c (push_modedef):  Make copy even for SYNMODE.
	but not for internal typedefs (indicated by make_newmode==-1).
	* tasking.c:  Call push_modedef with make_newmode==-1.
	* typeck.c (chill_novelty):  Remove.
	(smash_dummy_type):  Removed unused event/buffer stuff.  Update.
	* grant.c (decode_decl), inout.c (build_io_types),
	expr.c (build_concat_expr), typeck.c (build_chill_slice, copy_novelty),
	tasking.c (build_instance_type):  Simplify using new CH_NOVELTY.

	Solidify READ mode handling.
	* decl.c (do_decl, push_syndecl, start_chill_function):
	Possibly set TREE_READONLY for a VAR_DECL, CONST_DECL, or PARM_DECL.
	* typeck.c (build_chill_slice):  Set TREE_READONLY appropriately.
	(build_chill_array_ref_1, build_chill_bitref):  Likewise.
	(build_chill_cast):  Set TREE_READONLY depending on result type (only).
	* convert (convert_from_reference, convert):  Likewise.
	* expr.c (resolve_component_ref):  Set TREE_READONLY appropriately.
	(build_chill_function_call):  Error if OUT/INOUT arg is TREE_READONLY.
	* actions.c (chill_expand_assignment):  Also error if TREE_READONLY.
	Use convert_from_reference.
	
Thu Feb 29 11:14:09 1996  Per Bothner  <bothner@kalessin.cygnus.com>

	* parse.c (parse_do_action):  DO WITH expressions are evaluated in
	outer scope.  Also call save_if_needed.
	* decl.c (shadow_record_fields);  Fix and simplify.

Tue Feb 27 22:19:40 1996  Per Bothner  <bothner@cygnus.com>

	* convert.c (display_int_cst):  Gereralize to wider range of ints.

Thu Feb 22 06:12:59 1996  Wilfried Moser  <moser@rtl.cygnus.com>

	* convert.c (digest_array_tuple): Take care of type == error_mark_node.

	* decl.c (do_decl): In case of chill_varying_type_p, check if
	type of fixed part is error mark and do nothing in this case.

	* lex.c (convert_bitstring): Don't complain when length of
	bitstring is 0 (BOOLS(0) is a valid mode).

	* tree.c (layout_powerset_type): Add check for TYPE_MAX/MIN_VALUE
	(domain) is error mark.

	* typeck.c (layout_chill_range_type): If lowvalue or highvalue ==
	error_mark_node, just return.

Tue Feb 20 00:01:10 1996  Wilfried Moser  <moser@rtl.cygnus.com>

	* parse.c (parse_variant_alternative): When checking for ELSE take
	care of tagless variants.

Mon Feb 19 05:54:45 1996  Wilfried Moser  <moser@rtl.cygnus.com>

	* parse.c (parse_case_action): Check if ELSE was specified
	in a case label list (this is only valid for array tuples).
	(parse_case_expression): Deto.
	(parse_variant_alternative): Deto.

Tue Feb 13 17:08:16 1996  Per Bothner  <bothner@kalessin.cygnus.com>

	* typeck.c (chill_location):  Cleanup.  Neither SLICE_EXPR nor
	BIT_FIELD_REF are referable, even if their base strings are.

Fri Feb  9 02:25:33 1996  Wilfried Moser  <moser@rtl.cygnus.com>

	* actions.c (chill_expand_result): Do CH_FUNCTION_SETS_RESULT after
	checking the expression.

	* convert.c (convert): Set TREE_CONSTANT when taking the
	address of a function.

	* decl.c (start_chill_function): Check if the mode is really
	a mode to avoid subsequent segfaults.

	* typeck.c (string_assignment_condition): Add checking of
	bitstring length.

Thu Feb  8 01:37:59 1996  Wilfried Moser  <moser@rtl.cygnus.com>

	* actions.c (build_cause_exception): Print warning of unhandled
	exception only once for each exception.

Mon Feb  5 22:17:13 1996  Per Bothner  <bothner@kalessin.cygnus.com>

	* tree.c (discrete_count), ch-tree.h:  New function.
	* expr.c (build_concate_expr, build_chill_repetition_op,
	chill_expand_expr):  Use discrete_count;  make sure arguments
 	to size_binop are sizetype.
	(powersetlen):  Trvialize using discrete_count.

	* inout.c (process_io_list):  Use new assign_temp function.
	* inout.c (build_enum_tables):  Avoid taking address of array_ref,
	which sometimes gets optimized to a constant.

	* expr.c (finish_chill_unary_op):  Call convert_to_class on argument.
	Remove some obsolete TREE_UNSIGNED stuff.
	* lex.c (convert_integer):  Removed more TREE_UNSIGNED stuff.

Thu Feb  1 15:11:20 1996  Doug Evans  <dje@charmed.cygnus.com>

	* lex.c (check_newline): Return result of HANDLE_PRAGMA.

Wed Jan 31 17:13:25 1996  Per Bothner  <bothner@kalessin.cygnus.com>

	* decl.c (char_array_type_node, wchar_array_type_node):  Removed.
	(init_decl_processing):  Remove array_domain_type;  don't set
	char_array_type_node or wchar_array_type_node.
	* decl.c (init_decl_processing):  Use fixup_unsigned_type to
	simplify code to create boolean_type_node and char_type_node.

Mon Jan 29 14:20:10 1996  Doug Evans  <dje@charmed.cygnus.com>

	* lex.c (check_newline): Pass character after `#pragma' to
	HANDLE_PRAGMA.  Don't call get_directive_line if at end of line.

Fri Jan 26 05:56:27 1996  Wilfried Moser  <moser@rtl.cygnus.com>

	* expr.c (build_chill_function_call): Add check and error for
	actual argument is a TYPE_DECL.

	* parse.c (parse_set_mode): Print a warning if the set mode contains
	numbered and unnumbered set elements.

Wed Jan 24 05:10:08 1996  Wilfried Moser  <moser@rtl.cygnus.com>

	* Make-lang.in: Change GNUCHILL_VERSION to 1.5.2.

	* decl.c (layout_enum): Add check for negative values if
	enum is numbered and duplicate values in an enum. 

Mon Jan 15 06:21:52 1996  Wilfried Moser  <moser@rtl.cygnus.com>

	* actions.c (chill_expand_assignment): Add check for lefthand side
	of an assignment is a location.

	* ch-tree.def: Name of SET_IN_EXPR is really "set_in_expr" and
	not "concat_expr".

	* expr.c (is_really_instance): New function to check if a datum
	is really an instance. CH_IS_INSTANCE_MODE seems to be to weak
	for this case.
	(build_chill_component_ref): call is_really_instance.

Wed Jan 10 13:47:14 1996  Per Bothner  <bothner@kalessin.cygnus.com>

	* ch-tree.h (TYPE_ARRAY_MAX_SIZE):  Removed;  now in ../tree.h.

Mon Jan  8 15:29:20 1996  Per Bothner  <bothner@kalessin.cygnus.com>

	* expr.c (build_char_array_expr):  Add save_if_needed's if varying.
	Also, remove unused len0 and len1.

Mon Dec 11 17:36:44 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* inout.c (build_chill_associate, assoc_call, build_chill_readrecord,
	build_chill_getassociation, build_chill_getusage,
 	build_chill_gettextrecord,  build_chill_gettextaccess:  Simplify
	- modify TREE_TYPE of CALL_EXPR, instead of building a CONVERT_EXPR.

	* parse.c (parse_action):  Minor simplification.

Thu Dec  7 00:02:47 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* parse.c (parse_action): In case of CALL, do a check if there
	is really a function call.

Tue Dec  5 05:06:02 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* convert.c (display_int_cst): Fix printing of control sequence.

Thu Nov 30 21:07:57 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* grant.c (decode_constant, decode_constant_selective):  Make work
	for REAL_IS_NOT_DOUBLE case.

	* decl.c (CHILL_INT_IS_SHORT):  New macro.
	(init_decl_processing):  Use CHILL_INT_IS_SHORT.
	Change name of integer_type_node from _cint to long.

Mon Nov 27 17:07:05 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* loop.c (top_loop_end_check):  Check while condition *after*
	getting next powerset element.

Mon Nov 27 05:29:52 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* parse.c (parse_receive_case_action): Fix typo in error message.

	* convert.c (display_int_cst): Format characters like strings in
	grant.c(decode_constant).

	* grant.c: Remove the old forbid stuff.

	* lex.c (readstring): Fix reading of '^^'.

	* parse.c (parse_procedure_mode): nreverse param_types.

Thu Nov 23 05:39:57 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* actions.c (chill_expand_assignment): Check for assigning to
	location with non-value mode.

	* ch-tree.h: New macro CH_TYPE_NONVALUE_P.
	Add new and change some prototypes.

	* decl.c (init_nonvalue_struct): New function to generate
	initialisation code for non-value structs.
	(init_nonvalue_array): New function to generate initialisation
	code for non-value array's.
	(do_decl): Call one of the above mentioned functions in case
	we have a mode with the non-value property.
	(start_chill_function): Print error message if a non-value mode
	gets returned without LOC and check for arguments of non-value
	modes only gets passed by LOC.

	* grant.c (print_proc_tail): Fix for procedure returning LOC.

	* inout.c (build_io_types): Set CH_TYPE__NONVALUE_P on
	association_type_node.
	(invalidate_access_recordmode): New function to set the
	record mode of an ACCESS to error_mark_node in case of
	record mode has the non-value property.
	(build_text_mode): Set CH_TYPE_NONNVALUE_P.
	(build_access_mode, build_chill_gettextaccess): Deto.
	(check_exprlist): Correct processing of repetition factor.

	* lex.c (readstring): Correct processing of control
	sequences of the form '^([H | D | O | B]'xx)'.

	* loop.c: Cleanup iterator handling (done by Per).
	(nonvalue_begin_loop_scope, nonvalue_end_loop_scope): New
	functions for starting and ending a loop scope in case
	of initialising an array with non-value property.

	* parse.c (check_end_label): Remove '\n' from error message.
	(parse_loc_declaration): Print error in case of loc-identity
	declaration without initialisation or with keyword INIT.
	(parse_do_action): Clean up iterator handling (done by Per).

	* satisfy.c (safe_satisfy_decl (case TYPE_DECL)): Print an error
	message in case of TYPE_DECL is a signal and the mode has the
	non-value property.
	(satisfy (case ARRAY_TYPE)): Set CH_TYPE_NONVALUE_P of the
	the array type if the array element mode has the non-value
	property.
	(satisfy case RECORD_TYPE)): Set CH_NONVALUE_P on the record
	type if one of the fields have the non-value property. If the
	record is a buffer mode and the element mode of the buffer has
	the non-value-p., invalidate it (see
	tasking.c (invalidate_buffer_element_mode). Same for access modes.

	* tasking.c (build_signal_descriptor): If the signal type have
	the non-value property, do nothing.
	(build_receive_signal_case_label): Don't do an assignment if the
	signal type have the non-value property.
	(build_receive_buffer_case_label): Add check for buffer element
	mode is ERROR_MARK.
	(expand_send_buffer): Deto.
	(build_buffer_type): Set CH_TYPE_NONVALUE_P on buffer mode.
	(invalidate_buffer_element_mode): New function to set type of
	buffer element mode to error_mark_node.
	(build_event_type): Set CH_TYPE_NONVALUE_P on event mode.

Wed Nov 15 13:26:20 1995  Jeffrey A Law  (law@cygnus.com)

	* inout.c (intsize_of_charsexpr): Move declaration to top
	of file to avoid error from solaris2.5 cc.

Thu Nov  9 02:50:40 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* satisfy.c (satisfy): For a RECORD_TYPE, which is an ACCESS or TEXT
	mode, temporarily reset maximum_field_alignment to 0 before
	layouting it to be compatible with the runtime library.

	* inout.c (build_chill_gettextaccess): Deto.

Mon Nov  6 04:12:06 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* decl.c (do_decl): If type is READonly, add check if an
	ASSOCIATION, ACCESS, TEXT, BUFFER, or EVENT will be declared
	and print an error if this is true. Variables of this modes
	may not be declared READonly.
	Add check for mode is one of the above and an init value was
	given. This is also not allowed.
	Add initialisation of variables of the above modes during
	runtime. This influence the mechanism for detecting to
	build a constructor. 
	(push_modedef): NEW- or SYNMODES of ASSOCIATION, ACCESS, TEXT,
	BUFFER, and EVENT mode must not be READonly.
	(start_chill_function): Arguments of modes ASSOCIATION, ACCESS,
	TEXT, BUFFER, or EVENT may be passed only by LOC. Add this check.
	(declare_predefined_file): Move to inout.c.
	(init_decl_processing): Add definitions for new built-in's.
	(finish_outer_function): Build a constructor only if
	build_constructor is set.

	* except.c: On Linux native, setjmp is __setjmp.

	* expr.c (build_chill_component_ref): New function. It gets called
	from parse.c instead of build_component_ref. Functions checks if the
	user tries to access a field of an ACCESS, ASSOCIATION, BUFFER,
	EVENT, INSTANCE, or TEXT mode, which actually is not allowed.
	(build_chill_floatcall): New function to resolve CHILL's floating
	point builtin calls (SIN, COS, TAN, etc.).
	(build_allocate_getstack, build_chill_allocate, build_chill_getstack,
	build_chill_terminate): New functions to resolve CHILL's ALLOCATE,
	GETSTACK, and TERMINATE built-in's.
	(build_generalized_call): Process new built-in's.

	* grant.c (decode_mode): Add processing of ACCESS and TEXT modes.
	(decode_mode_selective): deto.

	* inout.c: Completely rewritten for implementing Chapter 7 of
	Z.200 (input and output).
	
	* lex.c (yylex): An '_' after a '.' doesn't mean, that we are
	parsing numbers.

	* lex.h (enum rid): Add RID_ASSOCIATION.

	* parse.c: New flag build_constructor to indicate if a constructor
	should be generated at the end of compilation or not. See
	decl.c(do_decl).
	(parse_begin_end_block): Don't emit a line note.
	(parse_primval): Call build_chill_component_ref instead of
	build_component_ref.
	(parse_opt_mode): Process ACCESS modes, ASSOCIATION modes, TEXT
	modes, USAGE modes, WHERE modes.

	* satisfy.c (safe_satisfy_decl): Check if a SYN is of mode ASSOCIATION,
	ACCESS, TEXT, BUFFER, or EVENT and print an error in this case.
	(satisfy (case RECORD_TYPE)): If exp is TEXT mode, check the text length.

	* typeck.c (extract_constant_from_buffer): Fix thinko in case 
	of ! BYTES_BIG_ENDIAN.
	(build_chill_cast): Implement representation conversion between
	INT's and REAL's.
	(chill_similar): Add check of ACCESSes.
	(layout_chill_range_type): Check for real ranges and print
	sorry message.

	* Make-lang.in: Change compiler version.
	chill also depends on Makefile.

	* chill.in: Process command line option -Xlinker like -Tdata.

	* ch-tree.h: New macros CH_IS_ASSOCIATION_MODE, CH_IS_ACCESS_MODE,
	CH_IS_USAGE_MODE, CH_IS_WHERE_MODE, and CH_IS_TEXT_MODE.
	Add some prototypes.
	(enum chill_built_in_function): Add BUILT_IN_ARCCOS, BUILT_IN_ARCSIN,
	BUILT_IN_CH_DELETE, BUILT_IN_LOG, BUILT_IN_SQRT. 
	Remove BUILT_IN_READLEN, BUILT_IN_ROUND, BUILT_IN_SKIPRECORD.

	* gperf, hash.h: Remove definition of WHERE.
	
Thu Oct  5 06:22:19 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* grant.c (decode_constant_selective): Add some newlines
	to generated SPEC MODULE.

Wed Oct  4 18:16:44 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* decl.c (pop_chill_function_context):  Remove some bogosity.

Wed Oct  4 05:14:00 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* grant.c (print_integer_selective): In case of a RANGE of
	a SET mode, try to find and grant the parent mode.
	(grant_seized_identifier): Dont write it out, if the identifier
	doesn't have a seize file (it may come from a SPEC MODULE
	defined in the compilation unit).

Fri Sep 22 14:04:40 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* actions.c (check_non_null):  Wrap expr in SAVE_EXPR if needed.

Wed Sep 20 13:51:54 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* expr.c (force_addr_of):  Optimize an INDIRECT_REF using
	convert_to_pointer rather than convert (which in case of
	a REFERENCE_TYPE would losingly call convert_from_reference).

Wed Sep 20 04:03:58 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* inout.c (build_chill_writetext): In case of character string:
	Add processing of a concatenation including varying character
	strings.
	(intsize_of_charsexpr, get_max_size): New functions to determine
	the maximum size of varying character strings.

	* grant.c (decode_constant, decode_constant_selective): Add
	processing of COMPONENT_REF.

	* satisfy.c (satisfy (case COMPONENT_REF)): Correct handling
	for SYNONYM's with STRUCT mode.

Mon Sep 18 17:25:11 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* expr.c (force_addr_of):  Optimize of value is INDIRECT_REF.
	* typeck.c (build_chill_slice):  Call mark_addressable.

Mon Sep 18 14:38:15 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* expr.c (chill_expand_expr):  Make a copy before calling __psslice
	if the array is neither referable nor BLKmode.
	(build_set_expr):  Renamed to ...
	(build_compare_set_expr):  Allow one opperand to be boolean.
	(build_compare_expr):  Check both operands for SET_EXPR,
	before checking for discrete types (for -fold-strings).

Fri Sep 15 11:35:43 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* satisfy.c (safe_satisfy_decl):  For a CONST_DECL, set TREE_TYPE
	to error_mark_node or error.

Fri Sep 15 00:26:02 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* grant.c (decode_constant_selective): Add processing of
	TREE_OPERAND (val, 0).

Wed Sep 13 14:24:12 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* ch-tree.h (CH_IS_INSTANCE_MODE):  Redefine to use CH_SIMILAR.
	* convert.c (convert):  Use CH_IS_INSTANCE_MODE.
	* inout.c (build_chill_writetext):  Likewise.
	* tasking.c (build_receive_case_start, build_delay_case_start):  Ditto.
	* parse.c (parse_start_action):  Remove redundant tests.
	* tasking.c (build_start_process):  Also test that optset is instance.
	(build_copy_number, build_proc_type, expand_send_signal):  Use
	CH_IS_INSTANCE_MODE, not CH_COMPATIBLE.
	* actions.c, convert.c (instance_type_node):  Remove redundant
	extern declaration.
	
Wed Sep 13 14:19:37 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* regression.awk2:  Use \ line-continuation-markers
	to remove gratuitous gawk dependency.

Mon Sep 11 17:26:53 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* typeck.c (build_chill_modify_expr):  Use force_addr_of.
	(mark_addressable):  Handle INDIRECT_REF of ADDR_EXPR.

	* typeck.c (check_case_value), ch-tree.h:  Moved to ...
	* actions.c (check_case_value):  ... here.  Also check for
	compatibility with selector (which is passed as extra argument).
	(chill_handle_case_label_range):  Take selector argument,
	and use it to call check_case_value.
	(chill_handle_case_label):  Take extra selector argument.
	* ch-tree.h (chill_handle_case_labe):  Add prototype.
	* except.c expr.c, parse.c:  Remove chill_handle_case_label prototypes.
	* actions.c, except.c, expr.c, parse.c: Pass extra selector
	argument to function calls as needed.

Mon Aug 28 02:47:54 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* grant.c (decode_constant_selective): Fix a bug in writing items
	to grant file.

Thu Aug 24 04:52:28 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* parse.c (parse_case_expression): Print warning only in
	pass 1.

	* actions.c (print_missing_cases): Correct printing of
	character ranges.

Wed Aug 23 15:26:12 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* parse.c (parse_case_label_list):  Take extra parameter to
	indicate if we're parsing a tuple or a case-label-spec.
	If former, don't allow '(' EXPR ')' ',' but backup instead.
	(parse_case_label_specification, parse_tuple_element):
	Pass appropriate new argument to parse_case_label_list.

Wed Aug 23 06:08:28 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* inout.c (build_chill_readtext): Add processing of BOOL's and
	CHARS(n).

	* grant.c (decode_constant): Process nonprintable characters
	in a STRING_CST.

Fri Aug 11 15:26:13 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* except.c (initialize_exceptions):  Name setjmp "setjmp" and not
	"__builtin_setjmp" (which is not recognized by expand_call).

Wed Aug  9 23:35:36 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* loop.c (end_loop_scope):  Need to call kept_level_p,
	in argument to poplevel.

Wed Aug  9 05:48:30 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* Make-lang.in (CHILL.install-common): Don't install chill-cross (this
	file might be empty). Install chill.install instead.

Tue Aug  8 21:46:30 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* loop.c (end_loop_scope):  Do poplevel *after* expand_end_bindings.

Tue Aug  8 00:51:09 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* tasking.c (build_process_header): Also set DECL_ASSEMBLER_NAME
	of PARAM_DECL, since otherwise dbxout_symbol_name may barf.

	* decl.c (start_chill_function): Likewise ...

Mon Aug  7 18:35:35 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* tasking.c (build_process_wrapper):  Also set DECL_ASSEMBLER_NAME
	of PARM_DECL, since otherwise dbxout_symbol_name may barf.

Mon Jul 31 14:32:33 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* loop.c:  Re-written implementation of powerset iteration.
	(declare_temps):  iter_var is now integer index into bitstring,
	and powerset_temp just uses save_expr (normally needs no temp).
	(top_loop_end_check):  Pass index to start searching (from iter_var)
	to library function, instead of dependning on latter to clear old bits.
	(increment_temps):  UNless DOWN, increment iter_var.
	* decl.c (init_decl_processing):  Declare new types for
	__ffsetclrpowerset and __flsetclrpowerset (now misnamed...).

Mon Jul 31 12:47:28 1995  Per Bothner  <bothner@cygnus.com>

	* convert.c (digest_array_tuple):  Set TREE_STATIC if possible.

Fri Jul 28 05:11:56 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* lex.c (readstring): Process integer literals starting with
	H', D', or B' within a control sequence.

Thu Jul 27 23:08:51 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* parse.c (parse_do_action):  Don't call push_action, but defer
	push_handler until begin_loop_scope.
	Call parse_opt_handler here, to move handler scope inside loop block.
	(parse_action):  After do_action, nothing to do now.
	* loop.c (begin_loop_scope):  Also call push_handler here.
	(declare_temps):  Copy derived flag to user_var.
	(declare_temps):  For POWERSET, always copy to temporary (even if
	constant), since the runtime clears bits from it.

	* expr.c (build_chill_sizeof):  Use convert_to_class.
	* satisfy.c (safe_satisfy_decl):  Cleanup handling of CONST_DECL -
	set proper value of CH_DECL_FLAG on both the decl and its value.

	* convert.c (digest_array_tuple); Slightly better errors.
	
Wed Jul 26 22:13:39 1995  Per Bothner  <bothner@cygnus.com>

	* expr.c (expand_packed_set):  Also allocate the CONSTRUCTOR itself.
	(fold_set_expr):  Simplify accordingly.
	(build_concat_expr):  Constant fold bitstring CONCAT_EXPRs.

Thu Jul 13 12:21:22 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* typeck.c (build_chill_slice):  Use build1 instead of build.
	* typeck.c (xtract_constant_from_buffer):  Pass correct precision
	to lshift_double.

	* typeck.c (expand_constant_to_buffer):  Handle RANGE_EXPR index.
	* convert.c (digest_array_tuple):  Generate RANGE_EXPR as index
	for tuples with ranges.

Thu Jun 29 23:41:15 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* typeck.c (build_chill_slice):  Re-implement to use casts
	instead of build_chill_array_ref_1 (which doesn't always work).
	* convert.c (convert):  Remove old bugs code.

Tue Jun 27 05:00:04 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* parse.c (parse_if_action): Do PUSH_ACTION before parsing the
	expression so that a possible handler at the if action will
	be found.
	(parse_proc_body): New argument to indicate if the function
	raises exceptions or not. In case the function will raise
	exception: start a handler, parse the function and generate
	code for reraising the exceptions (call chill_reraise_exceptions).

	* except.c (chill_reraise_exceptions): New function to generate
	code for reraising exceptions are specified at the function 
	definition.
	
	* ch-tree.h: Add prototype for chill_reraise_exceptions.

	* decl.c (build_chill_function_type): When the function (type)
	raise an exception, generate two new arguments (additional to the
	formal parameters), the filename and linenumber of the caller.
	(start_chill_function): likewise...

	* expr.c (build_chill_function_call): If the called function raises
	exceptions, give current filename and linnumber as aditional
	arguments.

	* actions.c (build_cause_exception): Handle case when function
	propagates the exception.

	* grant.c (print_proc_tail, print_proc_tail_selective): If the
	function(type) raises exceptions, don't process the last to
	parmeters of the formal argument list, they are compiler
	generated.

	* typeck.c (chill_similar): In case of FUNCTION_TYPE: check if
	the exception lists are equal.

Thu Jun 22 19:27:47 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* loop.c (flag_local_loop_counter):  Change default to 1.
	(end_loop_scope):  Set 'keep' parameter in poplevel call.
	(declare)_temps):  Don't set IDENTIFIER_LOCAL_VALUE, since that
	is handled (correctly!) by pushdecl.
	(begin_loop_scope):  Call pushlevel here,
	* parse.c (parse_do_action):  Move pushlevel so only called for WITH.
	* decl.c (struct scope):  Remove n_incomplete field and its uses.
	(pushdecl):  Re-write to use proclaim_decl.  Remove old C-isms.
	(init_decl_processing):  Re-name integer_type_node as "_cint" to
	remove complaint from pushdecl about chill_integer_type_node as "int".

Tue Jun 20 18:15:58 1995  Doug Evans  <dje@canuck.cygnus.com>

	* Make-lang.in (chill-runtime): Restore patch to disable building of
	runtime libraries for cross compilers.  This patch should remain
	until a build of a freshly checked out devo "just works".

Mon Jun 19 06:01:42 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* Make-lang.in: Update GNUCHILL_VERSION to 1.4.4.

	* decl.c (init_decl_processing): Remove builtin function
	__cause_exception. New builtin functions __cause_ex1 and
	__unhandled_ex.

	* except.c (is_handled): Return 0 when no handler found,
	1, if the handler is in local scope and 2, if function
	may propagate the exception.

	* actions.c (build_cause_exception): New argument to
	indicate if a warning should be printed when
	causing an unhandled exception. Call is_handled here.

	* ch-tree.h: Change prototype for build_cause_exception.
	New marco CH_ALREADY_GRANTED. Used in grant.c to determine if an
	identifier already has been written to grant file.

        * grant.c (write_spec_module): If not GRANT ALL specified,
        write only this identifiers to grant file which are
        neccessary to form a prober grant file. This will shorten
        grant files and speed up compilation.
        (decode_constant_selective, decode_mode_selective,
        get_type_selective, decode_decl_selective,
        grant_array_type_selective, get_tag_value_selective,
        print_enumeral_selective, print_integer_selective, 
        print_struct_selective, print_proc_tail_selective,
        grant_one_decl_selective): New functions.

	* lex.c (yywrap): Remove writing of not yet written USE_SEIZE_FILE
	directives to grant file.

	* parse.c (parse_on_exception_list): Fis constructing of
	exceptions list.

Wed Jun 14 15:21:54 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* typeck.c (valid_array_index_p):  Check for syntax error, where
	index is a mode, rather than a value.

	* expr.c (build_chill_binary_op_1):  Remove unused function.

Sat Jun 10 11:36:52 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* except.c (is_handled):  New function.
	Various fixes here and there to make it work.

	* parse.c (parse_param_name_list):  Set DECL_ASSEMBLER_NAME.
	(Otherwise dbxout may crash.)

	* satisfy.c (satisfy case FUNCTION_TYPE):  Check for non-type result.
	* decl.c (start_chill_function):  If result type was error_mark,
	kludge type chill_os result_decl to avoid extra errors.
	* actions.c (chill_expand_result, chill_expand_return):  If type of
	chill_result_decl is error_mark, do nothing.

	* typeck.c (chill_similar): Fix thinko in recent change.

	* config-lang.in (diff_exclude):  Remove ch/lex.c - now it's a
	true source file, and is never longer generated with [f]lex.

	* regression.sh:  Pass -s to make clean (to make it silent).
	Explicitly call gawk, instead of depending of '#!' to work.
	Add --objdir flags.  Never send mail to bill.

Thu Jun  8 15:08:35 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* typeck.c (chill_similar):  Add extra parameter.  Use to to prevent
	infinite recursion.
	(chill_equivalent, chill_l_equivalent):  Also add new parameter.
	* ch-tree.h (CH_SIMILAR, CH_EQUIVALENT):  Modify to match.

Tue Jun  6 17:14:49 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* loop.c (declare_temps):  If -flocal-loop-counter, make sure to
	pushdecl the new variable (created with decl_temp1).
	And fix the type of the local variable for powerset iteration.

Tue Jun  6 15:07:19 1995  Per Bothner  <bothner@cygnus.com>

	* typeck.c (mark_addressable):  Handle ADDR_EXPR inside
	NOP_EXPR inside INDIRECT_EXPR.  For TRUTH_ANDIF_EXPR,
	TRUTH_ORIF_EXPR, and COMPOUND_EXPR mark operand 1, not operand 0
	(which is used for range-checks and suchlike).

Thu Jun  1 02:45:54 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* expr.c (build_set_expr): Do some optimizations for LE_EXPR and
	GE_EXPR (don't do invert_truthvalue, just switch operands).

Wed May 31 14:00:38 1995  Doug Evans  <dje@canuck.cygnus.com>

	* lang-options.h: New file.
	* lang-specs.h: New file.

Wed May 24 01:45:18 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* actions.c (assign_stack_temp):  Remove unneeded declaration.

Tue May 23 00:17:38 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* parse.c (parse_on_exception_list):  Return list of exception
	names in pass 1, not in pass 2.  (Return non-NULL dummy if pass 2.)
	(parse_on_alternatives):  Call chill_handle_on_labels even if ignoring.
	(parse_opt_handler):  Likewise for chill_start_default_handler.
	* except.c (push_handler):  Clear on_alt_list only if pass 1.
	(chill_handle_on_labels):  Build on_alt_list in pass 1,
	retrieve it in pass 2.

	Fix so that decl_temp1 does not expand_decl_init, which calls
	free_temp_slots, which loses in the middle on an expression.
	* decl.c (finish_decl):  Don't call expand_decl_init.
	(do-decl):  Do initialization assignment even if stack variable.
	* parse.c (parse_loc_declaration):  Call free_temp_slots.

	* decl.c (finish_decl), ch-tree.h:  Remove last two always-NULL
	parameters.  Cleanup never-used code.
	* decl.c, except.c:  Update calls to finish_decl.

	* decl.c (case_else_node):  Define new variable.
	(init_decl_processing):  Initialize it.
	(make_chill_variants): If variant label is case_else_node (i.e. it
	is (ELSE):), treat that as an ELSE variant.
	* ch-tree.h (case_else_node):  Declare case_else_node.
	* parse.c (parse_case_label):  Use case_else_node.

Mon May 22 10:18:11 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* grant.c (print_proc_tail):  Also call print_proc_exceptions.
	(decode_decl):  Don't explicitly call print_proc_exceptions for
	FUNCTION_DECL.
	(Net effect is that now exceptions are printed for FUNCTION_TYPE too.)

	* actions.c (chill_convert_for_assignment):  Use save_if_needed,
	instead of save_expr, in case value is a reference.

	* typeck.c (build_chill_slice):  Fix old thinko (missing call to
	build_pointer_type).

	* actions.c (size_int):  Remove unused and conflicting prototype.

Wed May 17 16:23:20 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* actions.c (chill_convert_for_assignment):  Call save_expr if
	range_checking (twice).

Tue May 16 11:33:41 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* typeck.c (layout_chill_range_type):  Re-organize error checking.
	Add extra parameter to indicate if non-constant bounds are allowed.
	If bounds are bad, set them to the min_value of the parent.
	* ch-tree.h (layout_chill_range_type):  Update declaration.
	* satisfy.c (satisfy):    Update call of layout_chill_range_type.
	* typeck.c (build_chill_range_type):  Likewise.
	* tree.c (build_string_type):  Likewise.

Tue May 16 00:37:51 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* expr.c (build_chill_sizeof): Fix bug in case of SIGNAL.

Mon May 15 12:54:32 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* satisfy.c (satisfy):  Supress error message for REF <error_mark>.
	* decl.c (push_modedef):  Check for TREE_CODE != ERROR_MARK, instead
	of against error_mark_node.  (smash_dummy_type can copy error marks.)
	(finish_decl):  Simplify C-derived check for incomplete type,
	and suppress if it is an ERROR_MARK.
	Don't call rest_of_decl_compilation if type is an ERROR_MARK.

Sun May 14 22:52:40 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* convert.c (convert):  Handle array types with different modes.

Thu May 11 15:52:12 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* loop.c (build_loop_iterator):  Handle the case of a non-local
	loop counter having reference type.

Thu May 11 07:04:29 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* tasking.c (build_copy_number, build_gen_code, build_gen_inst,
	build_gen_ptype, build_proc_type): Set CH_DERIVED_FLAG on result
	to avoid erros when assigning to (comparing with) NEWMODEd INT's.

Mon May  8 15:27:16 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* expr.c (build_chill_card):  Do constant folding, if possible.
	(build_max_min):  Do constant folding for MIN/MAX of powersets.

Mon May  8 06:57:21 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* expr.c (build_chill_sizeof): Add corect processing of a
	SIGNAL definition without data.

Sat May  6 16:27:10 1995  Doug Evans  <dje@canuck.cygnus.com>

	* Make-lang.in (maintainer-clean): Renamed from realclean.

Tue May  2 06:16:23 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* parse.c (parse_asm_action): Do PUSH_ACTION unconditionally,
	otherwise "handler stack" will get out of sync.

Mon Apr 24 09:51:07 1995  Per Bothner  <bothner@rtl.cygnus.com>

	Fixes to support module-level non-static temporary variables.
	* parse.c (parse_loc_declaration):  If all_static_flag and not
	resursive, tell do_decls to make new decl static.
	* decl.c (do_decl):  Don't use maybe_static function to force static.
	(do_decl):  Don't let initialization count as "using" the variable.
	(maybe_static):  Removed.
	(finish_decl):  Call expand_decl and expand_decl_init if needed
	(as it will be for non-static temporaries).

Fri Apr 21 21:02:30 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* convert.c, expr,c typeck.c (expand_decl):  Remove usused declaration.

Fri Apr 21 02:27:12 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* expr.c (build_set_expr): Fix thinko: GE(x,y) is not eqivalent to
	LT(y,x) its rather equivalent to NOT (LT(x,y)). Same is true for
	GT(x,y), its not equiv. to LE(y,x), its equiv. to NOT (LE(x,y)).

Thu Apr 20 15:29:05 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* parse.c (yytext, finput):  Remove unused declarations.

	* parse.c (proc_action_level):  New variable.
	(parse_proc_body):  New function.  Common code from
	parse_procedure_definition and parse_process_definition moved here.
	Save, set, and restore proc_action_level from action_nesting_level.
	(parse_action case RETURN):  Pass proc_action_level to
	expand_goto_except_cleanup.

Thu Apr 20 06:02:20 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* grant.c (really_grant_this): Add processing of LABEL_DECL's
	(don't grant them).

Tue Apr 18 18:16:28 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* lex.c ( convert_bitstring):  Use BYTES_BIG_ENDIAN rather
	than BITS_BIG_ENDIAN to layout bits within bitstring.
	* typeck.c (expand_constant_to_buffer, extract_constant_from_buffer):
	Likewise.

Sun Apr 16 19:55:51 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* decl.c (finish_chill_function):  If currently global_function_decl,
	don't set outer_function to global_function_decl.

Wed Apr 12 22:45:06 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* decl.c (start_chill_function):  Normal functions are nested.
	(finish_chill_function):  No longer takes a 'nested' parameter.
	Normal functions are nested.
	Never call permanent_allocation, since it does little good (all normal
	functions are nested), and trashes some things we need.
	(finish_outer_function):  Update call to finish_chill_function.
	* grant.c (chill_finish_compile):  Likewise.
	* tasking.c (build_process_wrapper):  Likewise.
	* parse.c (end_function):  Likewise.
	* ch-tree.h (finish_chill_function):  Update declaration.

	* parse.c (parse_asm_clobbers):  Re-enable.
	(expand_asm_operands):  function.
	(parse_asm_action):  Re-enable.  Don't do anything in pass 1.

	* typeck.c (build_chill_slice):  Do constant folding.
	Also, work around problem where expand_expr constant folds ARRAY_REF.
	(sort_constructor):  Remove unused function.

	* expr.c (chill_expand_expr case CONCAT_EXPR):  Make sure we
	emit_block_move if needed with correct size.

	* inout.c (build_chill_io_list_type):  Simplify.

	* lex.c (check_newline):  Uncomment some dwarf stuff,
	which needs get_directive_line, which we no longer have.

Wed Apr  5 16:05:15 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* Makefile.in (C_OBJS, xcc1chill):  Removed.  We no longer
	link cc1chill with ../c-typeck.o ../c-aux-info.o ../c-common.o.

	* expr.c (build_chill_component_ref):  Renamed to build_component_ref.
	(chill_truthvalue_conversion):  Renamed to truthvalue_conversion.
	* decl.c, expr.c, inout.c, loop.c, parse.c, tasking.c, timing.c,
	typeck.c:  Update accordingly.
	* typeck.c (valid_array_index_p):  We only need to save_expr (index)
	if we're range-checking.
	* typeck.c (unsigned_type, signed_type, signed_or_unsigned_type,
	mark_addressable, initializer_constant_valid_p, check_case_value,
	type_for_size, type_for_mode):  New functions, copied from
	../c-common.c and ../c-typeck.c.

	* lang.c (incomplete_type_error):  New.  (Was in c-common.o.)
	* decl.c (constant_expression_warning):  New.  (Was in c-common.o.)

	* lang.c (string_index_type_dummy):  Remove definition from here.
	* tree.c (string_index_type_dummy):  Define here instead.
	* lang.c (lang_init):  Move init of string_index_type_dummy
	(which is too late) from here ...
	* decl.c (init_decl_processing): ... to here.

	* decl.c (signed_boolean_type_node):  New variable.
	(init_decl_processing):  Initialize it.

	* parse.c:  Comment out ASM action support, for now.

	* loop.c (maybe_skip_loop):  Make return void, not int.
	Use build_compare_discrete_expr.
	(increment_temps):  Use chill_expand_assignment.

Thu Mar 30 23:28:28 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* decl.c (do_decl):  If default-initializing variable-length
	string to "" (or []), make it lifetime_bound.

Thu Mar 30 02:51:59 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* parse.h, hash.h, gperf: New compiler directives
	EMPTY_ON and EMPTY_OFF.

	* lex.c: New variables empty_checking and runtime_checking_flag.
	(ch_lex_init): Initialize empty_checking and range_checking 
	when switching from pass 1 to 2.
	(read_directive): Add processing of EMPTY_OFF/ON.

	* expr.c (build_chill_indirect_ref): New argument do_empty_check
	to indicate if null pointer checking should be done or not.
	It's not always necessary to do a null pointer check.

	* decl.c (lookup_name): Add argument to call to
	build_chill_indirect_ref.
	(shadow_record_fields): ...
	* parse.c (parse_primval): ...
	* tasking.c (build_process_wrapper): ...
	(build_receive_buffer_case_label): ...

	* ch-tree.h: Change prototype of build_chill_indirect_ref.
	Add declaration of runtime_checking_flag and empty_checking.

	* actions.c (check_non_null): Do null pointer checking only 
	when enabled (empty_checking != 0).

Wed Mar 29 15:18:23 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* actions.c (chill_expand_assignment):  Add 'else' so we don't do
	regular assignment in addition to spacial assignment (e.g. for slices).

	* ch-tree.h (convert_to_discrete):  Add declaration.
	* typeck.c (convert_to_discrete):  New function.
	(valid_array_index_p):  Use convert_to_discrete.  Also simplify.
	(build_chill_slice):  Say sorry if variable-length bitstring.
	(build_chill_slice_with_length):  Re-do bounds check.
	* expr.c (check_case_selector):  Re-write to use convert_to_discrete.
	(build_chill_num, build_chill_pred_or_succ):  Use convert_to_discrete.

	* decl.c (do_decl):  Don't do redundant chill_convert_for_assignment.

Wed Mar 29 00:00:29 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* expr.c (build_chill_num): need_unsigned have to be set for
	characyer strings of length 1 too. Happens when compiling
	with -fold-strings and do NUM(a(i)).

	* parse.c (parse_loc_declaration): Print error message only
	in pass 1.
	(parse_mode): Likewise ...

	* tasking.c (build_tasking_message_type): Temporarily reset
	maximum_field_alignment to get proper aligned temp. variables
	gets passed to runtime system.

Tue Mar 28 00:08:06 1995  Per Bothner  <bothner@cygnus.com>

	* typeck.c (my_build_array-ref):  Merged into build_chill_array_ref_1.
	But don't convert index to integer_type_node.  And we don't need to
	check the we're given an array.
	* typeck.c (valid_array_index_p):  If flag_old_strings, convert
	chars(1) to char and bools(1) to bool before index checking.

Sun Mar 26 22:42:39 1995  Per Bothner  <bothner@cygnus.com>

	* ch-tree.h (struct module):  Added next module field.
	* decl.c (first_mdoule, next_module):  New global variables.
	(switch_to_pass_2):  Re-initialize next_module.
	(push_module):  In pass 2, reuse the same module objects from pass 1.

	* decl.c (declare_predefined_file):  Set DECL_IN_SYSTEM_HEADER.

	* typeck.c (valid_array_index_p):  Do range check on original index,
	before we convert to domain type.

Fri Mar 24 11:43:39 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* parse.c (parse_fixed_field):  New function.
	(parse_variant_field_list):  New function replaces parse_simple_fields.
	(parse_variant_alternative, parse_field):  Update to use new functions.
	(parse_field):  Error message if neither CASE nor NAME.

	* actions.c (check_non_null):  New function - checks for NULL pointers.
	* ch-tree.h (check_non_null):  New declaration.
	* tasking.c (expand_send_signal):  Call check_non_null.
	* expr.c (build_chill_indirect_ref, build_chill_function_call):  Same.
	* lex.h (enum rid):  Add RID_EMPTY.
	* lex.c (init_lex):  Initialize ridpointers[RID_EMPTY].

	* lex.c (read_directive):  Remove 2 calls of to_global_binding_level

Wed Mar 22 16:36:46 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* tasking.c (tasking_list):  Change to chain of TREE_VEcs, rather than
	chain of (nested) TREE_LIST nodes.
	(TASK_INFO_PDECL, TASK_INFO_ENTRY, TASK_INFO_CODE_DECL,
	TASK_INFO_STUFF_NUM, TASK_INFO_STUFF_TYPE):  New macros.
	(tasking_setup, tasking_registry, add_taskstuff_to_list):  Use them.

	* ch-tree.h (C_TYPE_FIELDS_READONLY):  Rename to TYPE_FIELDS_READONLY.
	(TYPE_READONLY_PROPERTY):  New macro, to match Z.200 concept.
	* typeck.c (build_chill_modify_expr):  Don't check for read-only-ness,
	since it is redundant for chill_expand_assignment and breaks
	reach-bound initialization in do_decl.
	(my_build_array_ref):  Simplify by using TYPE_READONLY_PROPERTY.
	(layout_chill_array_type):  Set TYPE_FIELDS_READONLY if appropriate.
	* actions.c (chill_expand_assignment):  Check TYPE_READONLY_PROPERTY
	instead of TREE_READONLY of the target's type.
	* expr.c (build_chill_function_call):  Likewise.
	* inout.c (build_chill_readtext):  Likewise.
	* decl.c (do_decl):  Likewise, to check if init is required.

	* typeck.c (build_chill_bitref):  Removed unused RANGE_EXPR hack.

Wed Mar 22 07:52:52 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* tasking.c (build_start_process): Get a unique identifier for
	the start arguments.

Tue Mar 21 07:36:40 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* expr.c (fold_set_expr): At label build_result: Add setting unused
	bits to 0. This is the same as the runtime library does.

	* parse.c (expect): Function returns now int, 0, if the expected
	token was not got, 1 when it was found.
	(parse_synonym_definition): In case of syntax error (missing =),
	set expr to NULL_TREE and mode to error_mark to avoid subsequent
	segfaults.

	* chill.texi: Add chapter about differences to Z.200/1988.

Mon Mar 20 18:01:11 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* lang.c (chill_print_error_function):  New function, to report
	module name if not inside a function.
	(lang_init):  Set print_error_function to chill_print_error_function.

	* tasking.c (max_queue_size, buffer_element_mode):  Cleanup
	to remove unreachable code.

	* grant.c (chill_finish_compile):  Avoid doing a lookup_name
	to find init function (which got broken by recent nesting re-org).

	* decl.c (poplevel):  Push and pop function context around
	call to output_inline_function (as done for C and C++).

Thu Mar 16 17:56:07 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* parse.c (parse_pass_1_2):  If unknown top-level token, skip pass 2.

Wed Mar  8 13:54:33 1995  Doug Evans  <dje@canuck.cygnus.com>

	* Make-lang.in (chill-runtime): Temporarily disable building of
	runtime libraries for cross compilers.

Mon Mar  6 23:36:19 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* parse.c, decl.c:  Remove use of FUNCTION_NEEDS_STATIC_CHAIN.

	* configure:  Merge in tolerance for new flags (e.g. --x-libraries).

Sat Mar  4 15:47:35 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* expr.c (build_chill_arrow_expr):  Error if pass == 1.

Thu Mar  2 19:28:07 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* decl.c (do_decl):  Setting seen_action must be done in pass 1.
	(save_decl):  Don't set DECL_CONTEXT to global_function_decl.
	(start_chill_function):  Simplify due to above change.

	* parse.c (parse_case_label):  Hack to distinguish (ELSE) from (*).
	* grant.c (decode_constant):  Emit ELSE in case label.

	* parse.c (serious_errors):  New global variable.
	* parse.c (to_global_binding_level):  Set serious_errors.
	(parse_pass_1_2):  Exit after pass 1 if serious_errors > 0.
	* lex.c (readstring):  Recover from unterminstaed control sequence.

Tue Feb 28 17:08:08 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	Re-write of module-level actions.  No longer generate a module
	function for module-level actions.  Instead, put them inside
	a new global dummy function.  Nest everything logically inside it.

	* lex.h, grant.c (chill_module_name):  Removed declaration.
	* grant.c (write_spec_module):  Instead use current_module->name.
	* grant.c (chill_start_module_code, chill_finish_module_code):
	Removed.
	* grant.c (chill_finish_compile):  Make rtl for global function.

	* actions,c (push_action):  Don't call chill_start_module_code.
	* expr.c (build_chill_function_call, build_generalized_call):
	Likewise.
	* parse.c (INIT_ACTION):  Likewise.

	* parse.c (seen_action):  New variable.
	* parse.c (end_function):  Always call pop_chill_function_context.
	(parse_procedure_definition):  Always call push_chill_function_context.
	(parse_modulion):  Parse optional handler.
	(parse_modulion, parse_spec_module):  Do find_granted_decls.
	(parse_action):  Set seen_action if global and a real action.
	([arse_program):  Call start_outer_function and finish_outer_function.

	* ch-tree.h:  Appropriate updates.

	* tasking.c (generate_tasking_code_variable):  Make it lifetime-bound.
	(build_process_header):  Always push_chill_function_context;
	we are now always nested.
	(build_process_wrapper):  Always pop_chill_function_context.

	* tasking.c (build_start_process):  Only expand_start_bindings and
	expand_end_bindings if pass 2.

	* decl.c (global_function_decl):  New variable.
	(do_decl):  Implement reach-bound initialization of static variables.
	(start_chill_function):  Set DECL_CONTEXT to NULL if
	it would be global_function_decl (so as to not confuse gcc backend).
	(start_chill_function, finish_chill_function):  If compiling
	global_function_decl in pass 2 and !seen_action, suppress it.
	(set_module_name):  New function.
	(global_bindings_p):  Re-defined to check against global_function_decl.
	(start_outer_function, finish_outer_function):  New functions.

Tue Feb 28 16:00:03 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* typeck.c (build_chill_modify_expr):  Inline logic from
	chill_expand_array_assignment,
	* actions.c (chill_expand_array_assignment):  Removed.
	(chill_expand_assignment):  Remove call to removed function.

	* lex.c (reinit_parse_for_function):  Removed empty unused function.
	* decl.c (start_chill_function):  Don't call removed function.

Tue Feb 28 00:29:51 1995  Per Bothner  <bothner@cygnus.com>

	* configure:  Merge in code for calculating host, build, and
	target and canon_{host,build,target} from ../configure.  
	Fix calculation of mainsrcdir.  Host canon_* variables
	to merge in build-make (as in ../configure).

Sun Feb 26 18:59:02 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* typeck.c (expand_constant_to_buffer):  Use new function
	get_set_constructor_bytes.

Tue Feb 21 01:41:56 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* inout.c (build_chill_writetext): Add processing of
	conditional expressions in argument list.

	* parse.c (parse_opt_name_string): Print error message only 
	in pass 1.

	* chill.texi: Add chapter about compiler directives.

Tue Feb 14 16:45:19 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* decl.c (start_chill_function):  Set FUNCTION_NEEDS_STATIC_CHAIN
	unless nested.

	* decl.c (decl_temp1):  Make lifetime_bound iff static.

Fri Feb  3 04:30:28 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* grant.c (really_grant_this, search_in_list): New static
	functions to determine if a decl should be written to 
	grant file.
	(write_spec_module): Add call to really_grant_this.

Fri Jan 27 00:06:12 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* actions.c (check_expression): Apply Per's patch.
	(chill_expand_result): New argument to indicate if we come
	from a RETURN or RESULT action. Change various error messages.

	* ch-tree.h: New macro CH_USE_SEIZEFILE_RESTRICTED.
	New argument for chill_expand_result.

	* chill.in: In case of -fgrant-only, clear library, libpath and
	startfile to avoid warnings from gcc.

	* gperf, hash.h: New compiler directive USE_SEIZE_FILE_RESTRICTED.

	* parse.h (enum terminal): Add USE_SEIZE_FILE_RESTRICTED.

	* grant.c (decode_decl): Don't write USE_SEIZE_FILE directive
	and subsequent SEIZEs to grant file, if the seize file is
	used restricted.

	* lex.c (read_directive): Process new compiler directive
	USE_SEIZE_FILE_RESTRICTED.
	(handle_use_seizefile_directive): Same as above.
	(yywrap): Don't write USE_SEIZE_FILE directive to grant file
	if this seize file is used restricted.

	* parse.c (parse_action, case RETURN): Change RETURN expr action
	to RESULT expr; RETURN. This enables range checking and
	exception delivery in case of rangefail.

Tue Jan 17 07:38:27 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* decl.c (init_decl_processing): Add definition of
	library function __inbitstring (see expr.c).

	* expr.c (chill_expand_expr case SET_IN_EXPR): Call function
	__inpowerset fir POWERSET's and function __inbitstring for
	BITSTRING's. In case of POWERSET's we must not do a rangecheck,
	in case of BITSTRING's we have to do one.
	(build_compare_expr): Fix typo CH_DERIVED_FLAG (tmp); (warning
	statement with no effect).

Fri Jan 13 13:35:30 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* actions.c (check_expression):  Simplify result.

	* ch-tree.h (SET_CH_NOVELTY_NONNIL):  New macro.
	* expr.c, timing.c, typeck.c:  Use SET_CH_NOVELTY_NONNIL.

	* typeck.c (valid_array_index_p), ch-tree.h:  Change interface
	to return modified index expression.  Call error if out-of-range.
	* actions.c, typeck.c:  Modify
	for new valid_array_index_p interface.

	* actions.c (build_chill_slice):  Copy novelty of index type.

Fri Jan 13 13:04:41 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* convert.c (digest_array_tuple):  Allow mode name in array
	tuple label.  Print error message instead of aborting.

	* parse.c (parse_body):  Error message only if pass 1.

	* decl.c (check_identifier), ch-tree.h:  Remove.  Unused.

Wed Jan 11 14:03:47 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* parse.c (parse_modulion):  Undo yesterday's change (to allow
	an ON-handler to follow) until we re-implement module.	

Tue Jan 10 17:23:55 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* loop.c (declare_temps):  Remove bogus prohibition against
	iterating over BOOL arrays.

	* parse.c (parse_semi_colon):  Make it a pedwarn (instead of an
	error) if a semi-colon is missing before an END.
	(parse_action):  Likewise.
	* parse.c (parse_modulion):  Allow an ON-handler to follow.

	* parse.c (parse_set_mode):  Use parse_expression to get
	values for number set elements.

	* expr.c (build_compare_expr):  Make sure result has
	CH_DERIVED_FLAG set, since it is supposed to be BOOL-derived.
	(finish_chill_binary_op):  Likewise for IN_EXPR.

Tue Jan 10 04:46:42 1995  Wilfried Moser  <moser@rtl.cygnus.com>

	* actions.c (lookup_and_expand_goto, lookup_and_handle_exit): Add
	checking the argument.
	(chill_expand_assignment): Take care of a newmoded dst_offset
	when calling __pscpy and a newmoded from_pos when calling
	__setpowersetbits.

	* expr.c (chill_expand_expr): When calling __psslice take care
	of a newmoded min_value.

	* parse.c (parse_name_string): Print error message only in 
	pass 1.

Tue Jan  3 19:56:36 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* typeck.c (build_chill_array_ref_1):  Use varying_to_slice
	instead of building a VRAY_ARRAY_REF node.
	* ch-tree.def (VARY_ARRAY_REF):  Removed.
	* actions.c (chill_expand_assignment):  Will never call
	expand_assignment_to_varying_array for a VARY_ARRAY_REF, so don't.
	(expand_assignment_to_varying_array):  Removed.
	* convert.c (convert):  Remove unneeded VARY_ARRAY_REF support.
	* expr.c (chill_expand_expr):  Likewise.

Tue Jan  3 19:50:18 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* parse.c (parse_iteration):  Set step_value to NULL if missing.
	* loop.c (ITER_TYPE):  Remove DO_RANGE.
	(build_loop_iterator):  Implement old DO_RANGE in terms of DO_STEP.
	(begin_loop_scope):  Don't return on error.
	(build_loop_iterator):   Calculate loop variable type using
	resulting classes (as in Z200), rather than precision.

	* loop.c (initialzie_iter_var, bottom_loop_end_check):  For DO_STEP,
	make iter_var one less to avoid overflow.
	* loop.c (build_loop_iterator):  If !flag_local_loop_counter,
	declare a new variable if needed, as allowed by Z200 (1984).

	* ch-tree.h (ch_class):  Add typedef.

	* typeck.c (chill_resulting_class):  New function.
	(chill_root_resulting_class):  Remove.
	* ch-tree.h (CH_RESULTING_CLASS):  New macro.
	(CH_ROOT_RESULTING_CLASS):  Re-implement using CH_RESULTING_CLASS.

Tue Jan  3 19:36:27 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* actions.c (build_cause_exception, expand_cause_exception), ch-tree.h:
	Change interface to take IDENTIFIER tree node, rather char char*.
	(check_expression): Change (simplify) callers appropriately.
	* parse.c (parse_action), typeck.c (valid_array_index_p):  Likewise.
	* lex.h (enum rid):  Add RID_ASSERTFAIL.
	* lex.c (init_lex):  Enter RID_ASSERTFAIL.
	* parse.c (parse_action case ASSERT):  Fix thinko TRUTH_ANDIF_EXPR
	to TRUTH_ORIF_EXPR.  Use RID_ASSERTFAIL.

	* typeck.c (discrete_type_p):  Re-implement using INTEGRAL_TYPE_P.

Tue Jan  3 19:20:35 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	Move checking for modeless tuples in invalid contexts from parser
	to semantic function check_have_mode (for better error recovery):
	* expr.c (check_have_mode), ch-tree.h:  New function.
	* satisfy.c (safe_satisfy_decl):  Use check_have_mode.
	* expr.c (build_compare_expr, finish_chill_binary_op,
	finish_chill_unary_op):  Likewise.
	* parse.c (parse_primval):  Don't complain about mode-less tuple here.

Tue Jan  3 17:36:48 1995  Per Bothner  <bothner@kalessin.cygnus.com>

	* expr.c (varying_to_slice):  Support varying arrays whose
	lower bound is non-zero.

	* parse.c (parse_body):  Allow (with warning) definition to
	follow action.

	* expr.c (check_case_selector), ch-tree.h:  New function.
	(chill_expand_case_expr):  Use it.
	* parse.c (parse_case_action):  Likewise.

Fri Dec 23 00:47:54 1994  Wilfried Moser  <moser@rtl.cygnus.com>

	* actions.c (chill_expand_return): Change error message.

	* ch-tree.h: Change prototypes of do_decl and do_decls.

	* convert.c (convert): Add missing initialisation of
	variable orig_e_constant.

	* decl.c: Change all calls to do_decl.
	(maybe_static): New function to process the ALL_STATIC_ON/OFF
	compiler directives.
	(do_decls): New argument.
	(do_decl): New argument and process reachbound and lifetime
	bound initialisation.

	* gperf, hash.h: Add compiler directives ALL_STATIC_ON and
	ALL_STATIC_OFF.

	* grant.c: Change all calls to do_decl.

	* lex.c (read_directive): Process ALL_STATIC_ON/OFF compiler
	directive.

	* parse.c (parse_loc_declaration): Pass lifetime_bound flag to
	do_decls.

	* parse.h (enum terminal): Add ALL_STATIC_ON and ALL_STATIC_OFF.

	* tasking.c: Change all calls to do_decl.

Mon Dec 19 23:13:58 1994  Wilfried Moser  <moser@rtl.cygnus.com>

	* parse.c (parse_procedure_definition): Save chill_at_module_level
	flag, set ot to 0 and restore it at the end of function.
	A sequence BEGIN x: PROC () RETURN; END x; END; at module level
	have produced an error.

	* expr.c (build_chill_repetition_op): Fix typo in error message.

Tue Dec 13 12:26:38 1994  Per Bothner  <bothner@kalessin.cygnus.com>

	* actions.c (expand_assignment_to_varying_array):  Fix thinko:
	build_chill_array_ref -> build_chill_array_ref_1.

Sun Dec 11 23:04:27 1994  Per Bothner  <bothner@rtl.cygnus.com>

	* actions.c (chill_expand_assignment):  Simplify the lhs if it is
	a COMPOUND_EXPR, so we can better handle SLICE_EXPR in lhs.

Thu Dec  8 13:45:38 1994  Per Bothner  <bothner@kalessin.cygnus.com>

	* loop.c, ch-tree.h (build_loop_iterator):  Fix to return void.
	If start_exp is ERROR_MARK, return.
	* expr.c (build_generalized_call):  More robust on syntax errors.

Tue Dec  6 02:33:23 1994  Wilfried Moser  <moser@rtl.cygnus.com>

	* inout.c (build_chill_readtext): In case of reading a SET mode
	pass ignore_case flag to runtime library.

Tue Nov 29 14:41:38 1994  Per Bothner  <bothner@kalessin.cygnus.com>

	* parse.c (parse_receive_case_action):  Print error only if pass==1.
	* decl.c (push_scope_decls):  Use error_with_file_and_line
	to get correct line number of SEIZE.

Mon Nov 28 16:59:18 1994  Per Bothner  <bothner@kalessin.cygnus.com>

	* expr.c (resolve_component_ref):  Call fold on result.

	* expr.c (resolve_component_ref):  Use check_expression.
	* actions.c (chill_convert_for_assignment):  Likewise.
	* actions.c (cond_exception), ch-tree.h:  Removed.
	* actions.c (check_expression):  First part of COMPOUND_EXPR
	should be boolean_type_node;  void_type_node loses in SAVE_EXPRs.

	* actions.c (chill_convert_for_assignment):
	Check string_assignment_condition for varying strings too.

	* typeck.c (build_chill_cast):  If the types have different sizes,
	don't allow nondiscrete->discrete conversion, and only allow
	discrete->nondiscrete if input expression is constant.

	* typeck.c (chill_similar):  Don't use losing array_type_nelts.

	* ch-tree.h (ELSE_VARIANT_NAME):  New.
	* convert.c, decl.c, grant.c:  Use ELSE_VARIANT_NAME.
	* decl.c (handle_one_level):  Recurse on ELSE_VARIANT_NAME too.

	Reduce dependencies on ../c-typeck.c:
	* expr.c:  Fix c_expand_start_case -> expand_start_case.
	Fix c_expand_expr_stmt -> expand_expr_stmt.
	(build_chill_indirect_ref):  Call convert instead of build_c_cast.
	* loop.c (bottom_loop_end_check):  Don't use build_modify_statement.
	* expr.c, except.c, typeck.c:  Don't call default_conversion.
	* typeck.c (string_assignment_condition):  Fix build_component_ref ->
	build_chill_component_ref.
	* decl.c:  Fix build_indirect_ref -> build_chill_indirect_ref (twice).
	* decl.c:  Don't set unused constructor_no_implicit (from c-typeck.c).
	* decl.c:  Don't call declare_function_name.

	* parse.c: Don't always keep a valid token in terminal_buffer[0].
	The extra look-ahead may have made the parser faster, but caused
	some problems synchronizing with the lexer.  Specifically:
	(PEEK_TOKEN):  Now calls an optimized variant of peek_token_(0).
	(next_token_):  Don't call peek_token_.  Renamed to forward_token_.
	(NEXT_TOKEN):  Renamed to FORWARD_TOKEN.
	(parse_program):  Don't call yylex yet.

	* parse.c (parse_action):  Re-do case ASSERT.
	Fix c_expand_expr_stmt -> expand_expr_stmt.

	* lex.l:  Re-written to not use [f]lex, and renamed to ...
	* lex.c:  ... new lexer.
	* Makefile.in, Make-lang.in:  Remove [f]lex crud.

	* lex.h (enum rid), lex.c (init_lex):  Added RID_ELSE.

Tue Nov 22 15:19:03 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* Make-lang.in: Let chill-runtime depend on $(GCC_PASSES).

Fri Nov 18 14:27:32 1994  Per Bothner  <bothner@kalessin.cygnus.com>

	* parse.c (parse_structure_node):  Simpler, and more robust.

Wed Nov 16 14:40:52 1994  Ian Lance Taylor  (ian@cygnus.com)

	* lex.l (convert_bitstring): Check BITS_BIG_ENDIAN at run time,
	not at compile time.
	* typeck.c (expand_constant_to_buffer): Likewise.
	extract_constant_from_buffer): Likewise.

Tue Nov 15 14:41:53 1994  Per Bothner  <bothner@kalessin.cygnus.com>

	* convert.c (convert):  Call build_chill_range_type rather than
	build_index_2_type (which has obstack and canonicalization problems).
	* expr.c (build_chill_pred_or_succ):  Convert expr to root class
	before arithmetic.
	* loop.c (declare_temps):  If location iterated over is not
	a location, make a temporary variable for it.

Mon Nov 14 16:33:47 1994  Per Bothner  <bothner@kalessin.cygnus.com>

	* typeck.c, ch-tree.h (chill_equivalent):  Change to return
	a tree (a Boolean expression).  Also, add some missing tests.
	* ch-tree.h (CH_EQUIVALENT):  Modify accordingly.

	* expr.c (chill_expand_expr case CONCAT_EXPR):  When the 2nd operand
	is an UNDEFINED_EXPR, handle mode-mismatch with whole expr.
	Also, replace MEM (which is not a mode) by Pmode.

	* ch-tree.h, typeck.c (chill_comptypes):  Removed.
	* convert.c (convert):  Remove calls to chill_comptypes.

Fri Nov 11 13:06:29 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* grant.c (write_grant_file): Call pfatal_with_name instead
	of abort when something goes wrong when opening or writing
	the grant file.
	unlink grant file if something goes wrong during writing
	(i.e. device full).

	* Make-lang.in (CHILL_SRCS): Add timing.c

	* ch-tree.h: Add prototype for chill_tasking_type_node.
	* lex.l (equal_number): Use chill_tasking_type_node instead of
	integer_type_node for converting the result.
	Print error messages in pass 2, in pass 1 no error will be
	detected.
	* tasking.c: New variable chill_tasking_type_node for all
	generated tasking related variables.
	Use chill_tasking_type_node instead of chill_unsigned_type_node.

	* expr.c (chill_expand_expr): Apply Per's change.

	* expr.c (build_chill_sizeof): In case of error just
	return error_makr_node.
	Set CH_DERIVED_FLAG at the result.

	* timing.c (build_after_timeout_start): Clear the the timeout
	level to know if we are in the action part of AFTER statement
	or in the TIMEOUT part.

	* typeck.c (build_chill_slice_with_length): Convert the class
	of the result to class of first value in expression.

	* inout.c (build_chill_writetext, build_chill_readtext): Use stack
	temporary variables for the iolist so that they can get reused in
	subsequent calls. Emit code immediately instead of building a 
	compound expr.

Fri Nov  4 12:00:54 1994  Per Bothner  <bothner@kalessin.cygnus.com>

	* expr.c (build_chill_function_call):  Don't set TREE_TYPE
	of assignment to void_type_node - it confuses save_expr.
	* decl.c (init_decl_processing):  Removed unused code.
	* parse.c:  Changes to avoid warnings.

	* grant.c (chill_finish_module_code):  Minor simplification.
	* lex.l (readstring):  Set *len to 1 on error.

Thu Nov  3 01:05:17 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* grant.c (decode_decl): Add granting of BASED declarations.

Wed Nov  2 12:14:31 1994  Per Bothner  <bothner@kalessin.cygnus.com>

	* expr.c (build_chill_lower_or_upper):  Take more care to
	ensure result has the right class.
	(build_chill_pred_or_succ):  Be more careful to get the right
	resulting class, and check bounds using *root* mode.

	* typeck.c (build_chill_slice_with_range):  Check that array
	really is an array or string.
	(build_chill_slice_with_length):  Likewise.

	* typeck.c (extract_constant_from_buffer):  Fix calculation of
	SET_TYPE size.  (Cannot depend on 1-byte TYPE_PRECISION field.)

Wed Nov  2 05:33:03 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* Make-lang.in: Change version of compiler.

	* ch-tree.h: Add new prototypes.

	* decl.c (init_decl_processing): Remove timing related 
	initialisations. Add call to timing_init.

	* parse.c (parse_action): Process AFTER action.

	* tasking.c (build_receive_case_start,
	build_receive_signal_case_label, build_receive_buffer_case_label,
	build_delay_case_start, build_delay_action, expand_send_buffer):
	Add processing of timesupervision.
	(tasking_init): Change definitions of runtime 	functions.

	* timing.c (timing_init): New function for initialisation of
	timing related stuff.
	(build_cycle_start, build_cycle_end): Changed due to
	implementation of timesupervision.
	(build_after_start, build_after_timeout_start, build_after_end):
	Implement the AFTER action.
	(build_timeout_preface, build_timesupervised_call): New functions
	to handle timesupervision in case of blocking system calls (i.e.
	SEND buffer action, RECEIVE CASE action etc.).
	
Thu Oct 27 12:50:24 1994  Per Bothner  <bothner@kalessin.cygnus.com>

	* expr.c (build_chill_repetition_op):  Fix repeating all-zero
	bitstring with orig_len!=1.  Also, call build_boring_bitstring
	if original string was all ones, using one range.  Also:
	Cannot use one-bit TYPE_PRECISION to get bitstring length.

Tue Oct 25 14:11:07 1994  Per Bothner  <bothner@kalessin.cygnus.com>

	* convert.c (convert):  When converting BOOL constant to
	bit-string, bit_one_node and bit_zero_node were switched.
	* actions.c (chill_expand_assignment):  Use force_addr_of,
	not build_chill_addr_expr - latter yields bogus error.

Fri Oct 21 14:26:52 1994  Per Bothner  <bothner@kalessin.cygnus.com>

	* expr.c (build_chill_indirect_ref):  Check for POINTER_TYPE (only)
	after converting from REFERENCE_TYPE.
	* expr.c (build_compare_expr):  Convert to common mode *after*
	we've checked compatibility.

Fri Oct 21 02:29:15 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* lex.l (check_newline): Use getc instead of getlc to read
	the filename in a # line name directive to avoid possibly
	downcaseing of a filename.

Thu Oct 20 05:37:17 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* expr.c (build_chill_indirect_ref): Add check for really
	dereferencing a pointer.

	* convert.c (convert): Take care of TREE_CONSTANT of a
	SYNONYM having mode ARRAY () VARYING something.

Mon Oct 17 02:30:38 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* decl.c (init_decl_processing): Set CH_DERIVED_FLAG for 
	boolean_true_node and boolean_false_node. TRUE and FALSE have
	the BOOL derived class.

	* expr.c (build_chill_num): Set CH_DERIVED_FLAG at the result
	of NUM. NUM delivers the INT derived class.

	* grant.c (write_spec_module): Add writing of
	  <> USE_SEIZE_FILE "x.grt" <>
	  SEIZE ALL;
	to generated grant file.

Thu Oct 13 14:45:12 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* convert.c (convert_from_reference):  Make non-static.
	* ch-tree.h (convert_from_reference):  Add prototype.
	* parse.c (parse_name):  If the decl is a REFERENCE_TYPE, just
	call convert_from_reference - and not a full-scale convert.

	* convert.c (convert):  Only call digest_array_tuple if ARRAY_TYPE.
	* typeck.c (chill_expand_tuple):  Print error if type is
	neither array, struct, or powerset.

	* expr.c (chill_expand_expr cases CONCAT_EXPR, SET_*_EXPR,
	UNDEFINED_EXPR):  Call preserve_temp_slots for temp targets.
	If target is not MEM, make temp (even if not REG) to simplify
	- and don't copy original target to temp target first.  (Not needed.)

	* lang.c (maybe_objc_comptypes):  Just return -1.

Wed Oct 12 12:24:20 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* tasking.c (tasking_setup):  Fix breakage from previous check-in.

Tue Oct 11 16:00:37 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* actions.c, convert.c, except.c, expr.c, inout.c, loop.c, tasking.c,
	timing.c, typeck.c:  Change build1 (ADDR_EXPR, ptr_type_node, XX)
	to force_addr_of (XX).  Add call to mark_addressable where needed
	for other calls to build 1 (ADDR_EXPR, TYPE, XX).

Thu Oct  6 06:36:28 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* inout.c (build_chill_writetext): Remove processing
	of POWERSET's.

Tue Oct  4 14:08:26 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* convert.c (convert):  If flag_old_strings, support converting
	CHARS(1) and BOOLS(1) to INT.

Fri Sep 30 01:44:51 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* inout.c (build_chill_readtext): Add check for item is
	referable and not READonly. Add processing of BITSTRINGs.

Mon Sep 26 16:19:36 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* expr.c (build_chill_descr):  Add missing call to mark_addressable.
	* loop.c (toop_loop_end_check):  Replace build1 (ADDR_EXPR ...)
	with call to force_addr_of (which calls mark_addressable).
	* expr.c (build_chill_descr, build_chill_inttime):  Likewise.
	* inout.c (build_chill_writetext):  Likewise.

Mon Sep 26 05:19:21 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* grant.c (print_struct): Move printing of VARYING from
	here ...
	* grant.c (grant_array_type): ... to here.

Mon Sep 26 00:09:08 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-tree.h (force_addr_of):  New prototype.
	* expr.c (force_addr_of):  Call mark_addressable.  Make non-static.
	* inout.c (build_chill_writetext):  Use force_addr_of.

Sun Sep 25 23:41:59 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* except.c (push_handler), actions.h:  Removed unused parameter.
	* actions.c (push_action):  Remove unused paramater.
	* parse.c, actions.c:  Remove no-longer-used parameter to
	calls to push_handler and push_action.

	* decl.c (push_extern_process):  Only build types in pass 1.
	* tasking.c (build_process_header):  Only build types in pass 1.
	* tasking.c (build_start_process):  Do pushdecl/popdecl etc
	even after an error (to maintain consistency between passes).

	* convert.c (convert_to_boolean):  Allow any integral input type.

Sat Sep 24 22:47:54 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* typeck.c (extract_constant_from_buffer):  Add (somewhat kludgey)
	support for UNION_TYPE.  (Patch from Wilfried.)
	Also, reverse RECORD_TYPE constructor list.

Fri Sep 23 19:06:39 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* expr.c (build_concat_expr):  Fix calculation of result_size.

Wed Sep 21 00:54:21 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	Give up on trying to use the cleanup mechanism in stmt.c to
	make sure the exception handler get unlinked on goto/exit/return.
	Instead, do it ourselves.  (Much simpler.)
	* except.c, ch-tree.h (action_nesting_level):  New global.
	* ch-tree.h (DECL_ACTION_NESTING_LEVEL):  New macro.
	* decl.c (define_label):  Set DECL_ACTION_NESTING_LEVEL.
	* except.c (expand_goto_except_cleanup):  New function.
	(cleanup_chain):  New variable.
	(push_handler, pop_handler):  Adjust action_nesting_level.
	(emit_setup_handler):  Push cleanup.
	(chill_finish_on):  Pop cleanup.
	* actions.c (lookup_and_expand_goto, lookup_and_handle_exit):
	Call expand_goto_except_cleanup.
	* parse.c (parse_action):  Before RETURN, call
	expand_goto_except_cleanup.

Mon Sep 19 00:59:54 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* lex.l (equal_number):  Make sure converted synonym
	is on permanent obstack.
	* typeck.c (extract_constant_from_buffer):  Fix INTEGER_TYPE
	loop to traverse in big-endian order.

Sat Sep 17 20:48:37 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* typeck.c (build_chill_cast):  Call mark_addressable.
	* expr.c (build_chill_function_call):  Call mark_addressable.

Thu Sep 15 23:47:01 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* typeck.c (expand_constant_to_buffer):  Fix an endian-ness
	problem for INTEGER_CST.
	(extract_constant_from_buffer):  Likewise.

Thu Sep 15 22:59:04 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* decl.c (pushlevel):  Do different things depending on
	actual parameter.
	* decl.c, parse.c, tasking.c:  Change argument to to pushlevel to 1.
	* actions.c (push_action):  Take new parameter.
	* except.c (push_handler):  Likewise.
	* parse.c:  Change calls to push_action and push_handler.
	* loop.c (begin_loop_scope):  Always call expand_start_bindings.
	* loop.c (end_loop_scope):  Always call expand_end_bindings.
	* except.c (emit_setup_handler):  Add a cleanup to
	unlink from exception stack if we return/exit/goto from here.
	* loop.c (begin_loop_scope):  Move pushlevel from here ...
	* parse.c (parse_do_action): ... to here.

	Clean up do-decl interface (for decl_temp1).
	* parse.c (parse_loc_declaration):  If global_bindings_p (),
	treat as static.
	* decl.c (do_decl):  Don't test global_bindings_p ().

	* decl.c (keep_next_level_flag, keep_next_if_subblocks):
	Not used.  Removed.
	(struct scope::keep, scope::keep_if_subblocks):  Likewise.
	(keep_next_level):  Likewise.
	(kept_level_p, pushlevel, poplevel):  Simplify.

	* decl.c (init_decl_processing):  Don't call init_iterators.
	* Makefile.in (C_OBJS):  Don't get ../c-iterator.o - not needed.

Thu Sep 15 05:54:11 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* lex.l (readstring): Add processing of control sequence
	in character string literals. The granting mechanism writes
	this to grant files.

Tue Sep 13 06:19:42 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* expr.c (compare_records): In case of -fpack do always
	a memcmp instead of comparing each field of the
	structure. If the structure is a variant structure, 
	issue a warning.

Mon Sep 12 13:15:09 1994  Per Bothner  (bothner@cygnus.com)

	* grant.c (write_spec_module):  Add cast, to avoid PCC warning.
	* grant.c (header_template):  Don't use ANSI-specific string
	literal concatenation.

Fri Sep  9 01:53:30 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* tasking.c (get_process_wrapper_name): New function.
	(add_taskstuff_to_list): Add a new argument, which is
	the entrypoint of a process.
	(build_process_header): Change PROCESS arguments to be
	like arguments of a function. There will be a wrapper
	which is the real entry point for a PROCESS. This wrapper
	is automatically build after a PROCESS definition and gets
	as argument a pointer to a structure looking like the 
	arguments of the PROCESS. This wrapper will call the
	PROCESS (see build_process_wrapper).
	(build_process_wrapper): New function (see above).
	(build_start_process): Change processing of arguments.
	(tasking_setup): Add processing of a different entry point
	in case of PROCESSes.

	* parse.c (parse_process_definition): Add call to
	build_process_wrapper.
	* parse.c (end_function): Remove the poplevel() call.
	build_process_header no longer makes the corresponding
	pushlevel().

	* grant.c (print_proc_tail): Remove special processing
	of PROCESSes, they look now like normal functions.

	* decl.c (init_decl_processing): Add declaration of memcmp
	function.

	* ch-tree.h: Add new prototype for build_process_wrapper,
	change prototypes for add_taskstuff_to_list and
	build_process_header.

	* grant.c (write_spec_module): Write GNUCHILL and gcc
	version into grant file.

	* Make-lang.in (CHILL_FLAGS_TO_PASS): Add passing of CC and 
	GNUCHILL_VERSION to ch/Makefile.
	* Make-lang.in (CHILL.mostlyclean): Add ch/ch-version.c.

	* Makefile.in (CHILL_OBJS): Add ch-version.o. ch-version.c
	will get generated every time a new Makefile will get 
	generated.
	* Makefile.in (GNUCHILL_VERSION): Remove it, its defined in
	Make-lang.in.

	* chill.in: In case of -fgrant-only pass "-S -o /dev/null"
	to the compiler to avoid generation of an object file.

Thu Sep  8 12:07:28 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* convert.c (display_int_cst), ch-tree.h:  New function.
	* convert.c (digest_array_tuple):  Use digest_int_cst to
	provide better error messages.  Return error_mark_node on error.
	* grant.c (decode_const):  Simplify by using digest_int_cst.
	* grant.c (format_character, find_assoc):  Removed.

	* decl.c (do_decl):  Add missing TREE_CHAIN.

	* decl.c (finish_incomplete_decl):  Removed.
	(init_decl_processing):  Don't set incomplete_decl_finalize_hook.
	(finish_decl):  Remove old C-specific code to deduce size of
	array from initialization.
	(complete_array_type):  Just make it abort.

	* except.c (finish_handler_array):  Avoid calling C-specific kludge
	complete_array_type.

	* convert.c (digest_constructor):  Rename, and re-write to:
	(digest_array_tuple, convert):  No longer use the code in
	../c-typeck.c;  use a Chill-only implementation (sigh).

	* typeck.c (chill_expand_tuple):  Remove unneeded call to
	complete_array_type.

	* expr.c (fold_set_expr), grant.c (decode_constant),
	typeck.c (expand_constant_to_buffer):  Update name of called
	function unpack_set_constructor to get_set_constructor_bits.
	* expr.c (powersetlen ):  Remove redundant call to convert.

	* ch-tree.h (unpack_set_constructor):  Removed obsolete declaration.

	* inout.c (build_chill_writetext):  Handle 64-bit integer literals
	by trying to convert them to a smaller type.

	* lex.l (convert_number):  Always use long long type (possibly
	unsigned) to avoid problems with constant folding truncation.

Mon Sep  5 08:08:22 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* ch-tree.h (enum chill_built_in_function): Add BUILT_IN_QUEUE_LENGTH.
	Add new prototype (see tasking.c).

	* expr.c (build_generalized_call): Add processing of
	BUILT_IN_QUEUE_LENGTH.

	* tasking.c (build_queue_length): New function.

	* tasking.c (tasking_init): Add new external function definition.

Thu Sep  1 15:38:00 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* lex.l (default_lex):  New function.  Progress towards
	getting rid of [f]lex.

	* lex.l (convert_number):  Use mul_double and add_double.
	Set result type to a reasonable type in which the literal
	will fit.  Give error message if literal is too big.

	* lex.l (equal_number):  Switch (temporarily) to permanent obstack.

	* typeck.c (build_chill_slice_with_range):  Check for empty
	slice *after* we have checked for upper/lower limit in range.

	* grant.c (decode_mode):  Remove unused code.  (BOOL and
	CHAR ranges are represented as INTEGER_TYPEs.)

	* tasking.c (build_process_header):  Add missing call to
	expand_start_bindings.
	* parse.c (end_function):  Add missing expand_end_bindings.

Wed Aug 31 17:25:14 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* decl.c (init_decl_processing):  Set set_alignment.

Tue Aug 30 16:40:46 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* actions.c (print_missing_cases, check_missing_cases,
	BITARRAY_TEST, BITARRAY_SET):  New functions and macros,
	to check for completeness of case actions and expressions.
	* decl.c (c_decode_option, init_decl_processing):
	Don't set warn_switch.
	* expr.c (chill_expand_case_expr):  Call check_missing_cases
	instead of check_for_full_enumeration_handling.
	* parse.c (parse_case_actions):  Call check_missing_cases.

	* expr.c (build_chill_binary_op):  Remove some dead code.
	* expr.c (chill_truthvalue_conversion):  Call build_chill_binary_op
	instead of build_binary_op.
	* ch-tree.h (binary_op_error, build_binary_op):  Unused.  Removed.

	* parse.c (end_function):  Use kept_level_p in parameter to
	poplevel.  This reverts a June 13 change.

Fri Aug 26 11:50:19 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)

	* configure: Ignore --without, as ../configure does.

Wed Aug 24 01:17:28 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* lex.l: Change rule for decimal numbers to allow identifiers
	to start with an underscore (_).

Fri Aug 19 16:38:12 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* tasking.c (build_receive_signal_case_label):  Remove backwards
	chill_convert_for_assignment (which converted whatever garbage
	was in the *target* to the type of the signal argument!).

Fri Aug 19 07:10:43 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* inout.c (build_chill_io_list_type, build_enum_tables),
	tasking.c (build_tasking_struct): Temporarily reset
        maximum_field_alignment to 0, so that the compiler-built
        data structures needed by the RTS can be independent of -fpack.

Thu Aug 18 13:39:51 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* typeck.c (build_init_struct):  Temporarily reset
	maximum_field_alignment to 0, so that the compiler-built
	data structures needed by the RTS can be independent of -fpack.

Wed Aug 17 23:48:33 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* parse.c (parse_primval, expect, parse_on_exception_list):
	Print error message only in pass 2.

Wed Aug 17 13:47:50 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* decl.c (switch_to_pass_2):  Revert June 13 change,
        (Don't exit after pass 1 if an error was found.)

	* ch-tree.def (SLICE_EXPR):  New tree-code.
	* typeck.c (build_chill_slice):  For building a slice of a
	bit-string, just generate a SLICE_EXPR.
	* decl.c (init_decl_processing):  Declare __pscpy.
	* actions.c (chill_expand_assignment):  Handle a SLICE_EXPR
	on the LHS of assignment, by calling __pscpy.
	* expr.c (chill_expand_expr):  Handle SLICE_EXPR (as a RHS
	value) by using __psslice to copy slice to a temp.

Wed Aug 17 05:52:44 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* Make-lang.in: Change version of GNUCHILL compiler to 1.4.1.
	* expr.c (build_chill_length): Enable LENGTH built-in to process
	Buffers and Events too (Z.200/1992).
	* lex.l (yywrap): Always set yyin to finput and/or grt_in. On
	a linux system the previous version was not able to run.
	* tasking.c: Correct processing of infinite buffer- and event-length
	to avoid RANGEFAIL warning.

Thu Aug 11 11:46:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* parse.c (parse_if_expression_body):  Don't call the C-specific
	build_conditional_expr.  Just do build_nt (COND_EXPR, ...).
	* convert.c (convert):  Convert a COND_EXPR by converting
	each branch.

	* convert.c (convert):  Don't call convert before
	convert_to_reference.  It's apt to do weird and unneedful things.
	* convert.c (convert):  If the expression is varying, just call
	varying_to_slice, which simplifies quite a bit.

	* ch-tree.h (varying_to_slice):  Add prototype.
	* typeck.c (varying_to_slice):  Remove prototype.

	* satisfy.c (satisfy):  Move case PAREN_EXPR from type 'e'
	to type '1'.

	* except.c (emit_setup_handler):  Temporarily reset the
	maximum_field_alignment to zero so the compiler's exception
	data structures can be compatible with the run-time system,
	even when we're compiling with -fpack.

	* expr.c (compare_records):  Call saved_if_needed on operands.

	* expr.c (build_set_expr case NE_EXPR):  Don't use __nepowerset
	which has been reimplemented to just call __eqpowerset and
	invert the result.  Inline this new implementation by
	handling as EQ_EXPR, and inverting the result.
	* decl.c (init_decl_processing):  Don't define unused __eqpowerset.

	* typeck.c (valid_array_index_p):  The TRUTH_ANDIF_EXPR has
	type boolean_type_node, not void_type_node.  (Fixing this
	avoids a crash in the back-end.)

	* grant.c (decode_constant):  In a CALL_EXPR, if the argument
	list is not a TREE_LIST (as in string repetiation), don't
	emit parentheses.

Wed Aug 10 13:13:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* decl.c (proclaim_decl):  Use CH_DECL_ENUM to check that a
	CONST_DECL is from a SET definition.  (This is safer than
	checking that the type is ENUMERAL_TYPE, because synonym
	definitions may have a NULL TREE_TYPE.)
	Also, if we have duplicate enums whose types are identical,
	this is an error.
	* decl.c (proclaim_decl, pushdecllist, push_scope_decls):  Add
	an extra 'quiet' parameter, which is true if we're called from
	bind_sub_modules.  (In that case an error message about duplicated
	decls would be repeated later, so suppress it.)

	* parse.c (stmt_count):  Removed, not used.
	(INIT_ACTION):  Call emit_line_note only if !ignoring.
	(parse_begin_end_block):  Do INIT_ACTION even if ignoring.

Fri Aug  5 12:39:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* parse.c (parse_untyped_expr):  Add missing semi-colon.

Thu Aug  4 17:40:38 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* parse.c (parse_untyped_expr):  Fix various problem for the
	case that we see a '(':  Add missing 'case' keyword.
	Only recurse if '(' is followed by 'if', 'case' or '[',
	and in that case emit a pedwarn (and do a missing NEXT_TOKEN).

	* parse.c (parse_send_action):  Remove extra nreverse.

Thu Jul 28 04:00:11 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* expr.c (build_allocate_global_memory_call, build_allocate_memory_call): 
	Add new checks.

Tue Jul 26 22:48:15 1994  Michael Tiemann  (tiemann@blues.cygnus.com)

	* parse.c (parse_untyped_expr): Added missing "case" before LPRN.
	Added a missing call to `require' as well.

Tue Jul 19 10:30:12 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)

	* lex.l (yywrap): Define as yywrap_chill to avoid conflicts with
	the extern declaration in the flex skeleton.

Mon Jul 18 23:06:04 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* tasking.c (build_copy_number, build_proc_type, expand_send_signal):
	Check the type of the instance expr using CH_COMPATIBLE,
	and not just == instance_type_node.  (This allows
	the expression to have mode READ INSTANCE).
	* tasking.c (build_instance_type):  Give instance_type_node
	a non-null novelty (i.e. different from a struct).
	* tasking.c (build_receive_case_start, build_delay_case_start):
	Check that for a location using CH_LOCATION_P.

Mon Jul 18 13:22:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)

	* expr.c (finish_chill_unary_op): Use TREE_SET_CODE not TREE_CODE
	to modify a tree code.

Mon Jul 18 11:24:57 1994  Bill Cox  (bill@rtl.cygnus.com)

	* convert.c (digest_structure_tuple): Fix thinko in TREE_CODE
	  comparison.

Mon Jul 18 05:40:15 1994  Doug Evans  (dje@canuck.cygnus.com)

	* decl.c (warn_bad_function_cast): Define so cc1chill will link.

Thu Jul 14 18:37:18 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* parse.c (parse_send_action):  Do tree_cons *before* checking
	for end of loop.

Mon Jul 11 15:33:52 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* convert.c (digest_structure_tuple):  Don't use convert to
	coerce initial value,  use chill_convert_for_assignment instead.
	(Thus we also get range_checking.)

	* expr.c (build_chill_card):  Use force_addr_of instead of
	build_chill_addr_expr.

	* loop.c (build_temporary_variable):  Stylistic tweak.
	* loop.c (maybe_make_for_temp):  Initialize temp using
	explicitly, not using assignment.  Avoids a problem if
	the expression is read-only.
	* typeck.c (smash_dummy_type):  Always used the saved TYPE_NAME
	and CH_NOVELTY_FLAG.

Wed Jul  6 20:12:13 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* expr.c, ch-tree.h (finish_chill_unary_op):  New function,
	based on code ripped out of build_chill_unary_op.
	(build_chill_unary_op):  Call finish_chill_unary_op unless pass==1.
	* satisfy.c (satisfy):   Call finish_chill_unary_op when needed. 

Mon Jun 27 11:29:18 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* tree.c (save_if_needed), ch-tree.h:  New function.
	* typeck.c (build_chill_slice_with_range,
	build_chill_slice_with_length):  Call save_if_neeed on array arg.
	* expr.c (varying_to_slice):  Re-write to use save_if_needed.

	* typeck.c (extract_constant_from_buffer):  Handle BOOLEAN_TYPE.

Mon Jun 27 01:11:10 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* inout.c (build_chill_io_list_type): Change layout of __tmp_WIO_list
	that it is always the same, regardless if compiled with -fpack
	or not.

Tue Jun 14 16:44:14 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* lex.l (yywrap):  Kludge to work around mis-synchronization
	between lexer (which read ahead) and parser:  Don't emit
	(left-over) uze_seizefile directives at the end of file.

	* typeck.c (build_chill_array_ref):  Allow the derived
	array indexing syntax for arrays of bit strings.
	Add a comment explaining why.

	* typeck.c, ch-tree.h (string_assignment_condition):  Change
	the interface.  Return a boolean expression (which can be
	used in a conditional at run-time);  never expand anything.

	* actions.c (chill_convert_for_assignment):  Check
	string_assignment_condition here, rather than in callers.
	* actions.c (chill_expand_assignment):  Don't need to check
	string_assignment_condition here.
	* expr.c (build_chill_function_call):  Likewise.
	* satisfy.c (safe_satisfy_decl):  Update accordingly.
	* decl.c (do_decl):  Simplify testing and conversion by
	deferring everything to chill_convert_for_assignment.

	* parse.c:  Combine the two variables 'ignore_exprs' and
	'ignore_actions' into one variable called 'ignoring'.
	* ch-tree.h:  Add 'extern int ignoring'.
	* actions.c, except.c, parse.c, tasking.c, timing.c, typeck.c:
	Rename ignore_actions and ignore_exprs to ignoring.
	Remove unneeded extern declarations.
	* expr.c (build_chill_indirect_ref, build_chill_component_ref,
	build_chill_arrow_expr, build_generalized_call, build_delay_action,
	build_buffer_type, build_event_type):  I changed my mind.  It is
	cleaner to check for 'ignoring' in the parser, rather than here.
	* parse.c (parse_action, parse_primval, parse_opt_mode):
	Therefore we must check for ignoring here.
	* parse.c (parse_loc_declaration):  Set ignoring in pass 2
	when parsing the mode.
	
	* tasking.c (generate_tasking_code_variable):  Do arithmetic
	on signal_code etc using unsigned rather than signed shorts.

	* grant.c (static char* current_grant_modename):  Removed.
	* grant.c (decode_decl case CONST_DECL):  Remove error message.

	* Make-lang.in (CHILL_SRCS):  Add $(srcdir)/ch/parse.c.
	* Makefile.in:  Fix dependencies for parse.o.
	Remove some duplicate dependencies for $(TREE_H).

Mon Jun 13 14:25:50 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* typeck.c (build_chill_cast):  Allow a value cast between
	non-discrete object of the same size, but with a pedwarn.
	* typeck.c (bit_string_assignment_condition,
	char_string_assignment_condition):  Merge near-duplicate functions
	and place the code in string_assignment_condition.

	* decl.c (parm_flag, declare_parm_level, in_param_level_p):
	Removed.  Not used.
	* decl.c (start_chill_function, finish_chill_function):  Make
	parameter level have same nesting level as body, as required by Z200.
	* decl.c (switch_to_pass_2):  Always exit if an error has been found.
	* decl.c (pop_module):  Copy DECL_SEIZEFILE to a new ALIAS_DECL
	generated from GRANT ALL.
	* decl.c (lookup_name_for_seizing):  Don't seize from
	the nesting level of builtins (predefined objects).
	* decl.c (lookup_name_for_seizing):  Make more robust on error.

	* decl.c (start_chill_function):  MAKE DECL_NAME (chill_result_decl)
	be 'RESULT' (or 'result').  This makes it more accessible from gdb.
	Also, use do_decl to declare it, so that debugging symbols are
	generated.  And, re-arrange so that actions that need to
	be done both passes (such as push_levels) use the same code.

	* parse.c (get_type_of):  If ignore_exprs, don't lookup name.
	* parse.c (end_function):  Fix poplevel params.
	* parse.c (expect):  Don't read forwards on an error.
	* parse.c (parse_field):  Don't define two tag_list locals!
	* parse.c (parse_pass_1_2):  Better error message.

	* parse.c (parse_mode, parse_opt_mode):  Have parse_mode call
	parse_opt_mode, rather than vice versa.  If parse_opt_mode
	returns NULL_EXPR, then parse_mode gives an error.
	Change parse_opt_mode (and any functions it calls) to only
	return NULL_TREE if there is no mode (even on ignore_exprs).
	(parse_set_mode, parse_structure_mode, parse_procedure_mode):
	Never return NULL_EXPR.
	* tasking.c (build_buffer_type, build_event_type):  Return
	void_type_node instead of NULL_EXPR if ignore_exprs is true.

	* parse.c (parse_synonym_definition):  Call parse_untyped_expr
	only if we have a mode.
	* parse.c (parse_send_action):  Parse list of untyped_expr's,
	rather than a list of (typed) expressions.
	* parse.c (parse_primval):  Emit error if '[' seen without
	preceding mode name.  (If this is to be allowed, call
	parse_untyped_expr instead.)

	* parse.c (parse_array_index):  Renamed to ...
	(parse_index_mode):  ... to match Z200 terminology.
	Re-write to resolve some of the nastier ambiguities,
	and allow things like ' CHAR(10) : CHAR(20) '.

	* parse.c (parse_tuple_element):  Change interface to return
	reversed list, so don't call nreverse.
	* parse.c (parse_tuple):  No longer nreverse element list here.
	* parse.c (parse_opt_element_list):  Do nreverse here instead.
	* parse.c (parse_case_label_list):  Call nreverse at end.

Fri Jun 10 15:36:22 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* typeck.c (chill_similar):  Remove bogus "else".

Wed Jun  8 00:01:40 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-tree.h (TYPE_ARRAY_MAX_SIZE):  New macro (and comment)
	to make it clearer that we are using TYPE_MAX_VALUE in a special way.
	* typeck.c (build_chill_slice):  Use TYPE_ARRAY_MAX_SIZE.
	* expr.c (chill_expand_expr case CONCAT_EXPR):  Likewise.
	* convert.c (convert):  When converting a fixed string/array
	to varying, and we need padding, set the TYPE_ARRAY_MAX_SIZE
	of (the type of) the padding.
	* convert.c (convert): If the concatenation is non-constant, use
	the low-level 'build' to set the type of the result (which is usually
	a fixed-size array) rather than depend on build_chill_binary_op
	to figure it out (it's unable to simplify the size to a constant).

Mon Jun  6 18:16:57 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* lang.c (lang_decode_option):  Let -fspecial_UC imply
	-fno-ignore-case without requiring it explicitly.
	* lang.c (lang_decode_option):  Support (experimentally)
	the -fpack and -fno-pack flags.

Thu Jun  2 20:49:51 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

	* configure: Add support for --program-prefix and --program-suffix.

Tue May 31 18:12:00 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* convert.c (digest_constructor):  Check that initial value
	is compatible with element mode before calling convert.
	* typeck.c (chill_compatible):  A string mode is not compatible
	with an untyped constructor.
	* decl.c (do_decl):  Clean up error messages.  Use error_with_decl.

	* ch-tree.h:  Fix inconsistencies: bool_true_node ->
	boolean_true_node, and bool_false_node -> boolean_false_node.
	* typeck.c (valid_array_index_):  Minor simplification.

Tue May 31 04:33:28 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* inout.c (build_chill_writetext): Add correct processing 
	of POWERSET RANGE (setmode).

	* lex.l (same_file): Add searching for file(s) in
	seize_path_list.

Fri May 27 14:22:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* Make-lang.c (CHILL.mostlyclean, CHILL.distdir):  Don't list
	yacc/bison output files, since the grammer is no longer in yacc.
	* config-lang.in (diff_excludes):  Likewise.

Thu May 26 16:38:13 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* gperf, hash.h, lex.l, parse.h:  Rename PROCESS_TYPE token
	(in some files spelled PROCESS_TYPE_ to avoid clashes
	with the PROCESS_TYPE tree_code) to PROCESS_TYPE_TOKEN.

Thu May 26 02:18:28 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* timing.c (build_cycle_start): Change call to __define_timeout.
	* decl.c (init_decl_processing): Change definitions of
	__define_timeout and __wait_timeout.

Wed May 25 11:53:09 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	Replace yacc-based parser with a recursive-decent parser.
	(This may seem backwards, but Chill [like C++] is not a
	language that is remotely LALR(1).  Using a R-D parser
	allows us to use look-ahead and to back-up to resolve the
	difficult ambiguities.)
	* parse.y:  Removed.
	* parse.c, parse.h:  New files, containing new r-d parser.
	* Makefile.in:  Update accordingly.
	* actions.c (chill_convert_for_assignment):  Don't return
	NULL_EXPR if ignore_exprs is true.  It simplifies the parser
	if we consistently reserve NULL_EXPR for a missing expression.
	* expr.c (build_chill_function_call):  Likewise.

	* lex.l:  Tweaks for new parser.
	* lex.l (prepare_paren_colon, paren_paren_colon_level,
	paren_level):  Ugly hack no longer needed.

	* expr.c (build_chill_function_call):  Cleanup.
	Call chill_convert_for_assignment to convert IN/INOUT
	paramaters on both input and output.  For LOC parameters,
	give error if actual is a non-referable location.
	* actions.c (convert_for_assignment):  Add new parameter (a
	"place" string used in error messages).
	* actions.c (adjust_parm_or_field):  Removed.
	* actions.c (chill_expand_assignment):  Take just a single LHS,
	and move support for multiple assignments to ...
	(expand_assignment_action): ... here.  Some cleaning up.
	* timing.c (build_cycle_start):  Adjust accordingly.
	* actions.c (expand_assignment_to_varying_array):  Likewise.
	* tasking.c (many places): Ditto.
	* ch-tree.h:  Fix declarations appropriately.

	* parse.c (parse_defining_occurrence_list):  Return a single
	IDENTIFIER_NODE (instead of a singleton list) in the common
	case.  Minor complication to save a minor amount of space.
	* decl.c (do_based_decls):  Move guts of code into ...
	(do_based_decl):  ... this new function.
	* decl.c (do_decls):  Handle either IDENTIFIER_NODE or a TREE_LIST.
	* decl.c (push_syndecl):  Replace by ...
	(push_syndecl):  ... (which only supports a single name).
	(push_modedef):  Only handle a single name.
	* tasking.c (build_process_header, build_signal_struct_type):
	Adjust accordingly.

	* expr.c (build_generalized_call):  Handle string repetition.
	* expr.c (build_chill_repetition_op):  Change interface.
	* grant.c (decode_constant):  Allow parameter list to be
	a non-TREE_LIST.  (Used for string repetition.)

Wed May 25 11:28:48 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* lex.l (make_identifier):  Replaced by ...
	(read_identifier, handle_name): ... new functions.
	* lex.l: Parse an identifiers using read_identifier using
	read_identifier and handle_name, rather than having [f]lex
	do it.  (One reason is that lex uses a fixed-size buffer.)

	* lex.l (read_directive, skip_directive):  New functions.
	Use them to parse compiler-directives, instead of rather
	ugly and useless use of lexer start conditions.

Tue May 24 22:36:51 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* decl.c (unnamed_module_number):  Renamed to ...
	(module_number):  .. and make non-static.
	(push_module):  Always increment module_number.
	* lex.l (yywrap):  Print warning if no modules seen.

	* decl.c (pop_module):  Don't set DECL_SEIZEFILE of granted
	decl to current_seizefile_name (which is unreliable).
	* grant.c (chill_grant):  Set it here instead.

	* expr.c (fold_set_expr):  Use int_size_in_bytes instead of
	TYPE_PRECISION (which is not defined for a SET_TYPE).	

Fri May 20 15:21:26 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	Cleanup to remove need for variables in common storage.
	* decl.c:  Remove unused use of current_obstack.
	* actions.c (maybe_chill_check_decl):  Remove unused function.
	* actions.h, lang.c:  Remove uses of doing_chill_thang.
	* ch-tree.h (void_list_node):  Make extern (rather than common).
	* decl.c (void_list_node):  Add definition.

Thu May 19 06:54:56 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* configure (build): Build canon_host and canon_target
	to pass it to all subsequently generated Makefiles (needed
	for testsuite/execute in case of cross build).

Wed May 18 13:27:12 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* grant.c (decode_mode):  Remove.  It checks the TYPE_NAME of
	the input type, which loses with the no-longer-new 2-pass
	implementation, since the input "type" could be an IDENTIFIER_NODE.
	* grant.c (raw_decode_mode):  Rename to decode_mode.

Tue May 17 13:19:52 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* typeck.c (chill_location):  Neither a STRING_CST nor a
	CONSTRUCTOR is a location.
	* typeck.c (chill_root_mode):  Convert a function to a
	pointer-to-function.
	* expr.c (build_chill_indirect_ref, build_chill_component_ref,
	build_chill_arrow_expr):  If ignore_exprs, return operand
	rather than NULL_EXPR.  This makes it easier for the parser to
	distinguish missing expressions.
	* expr.c (build_max_min):  Convert the lower bound of a
	set to a long before calling run-time routine.
	* expr.c (build_chill_pred_or_succ):  Use discrete_type_p
	to check the argument type.
	* expr.c (build_chill_arrow_expr):  If argument is not a location,
	do a predwarn if it is a STRING_CST or has function type.

Tue May 17 06:05:13 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* configure (build): Remove building of canon_host and canon_target.
	It doesn't work in any case.

Mon May 16 02:10:35 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* configure (build): Build canon_host and canon_target
	to pass it to all subsequently generated Makefiles (needed
	for testsuite/execute in case of cross build).
	* Make-lang.in (chill-runtime): Change chill to CHILL in the case
	statement to build chill-runtime automatically.

Mon May  9 15:30:08 1994  Doug Evans  (dje@canuck.cygnus.com)

	* Makefile.in (FLAGS_TO_PASS): Define.
	(OBJDEPS): Define.
	(../cc1chill): Depend on $(OBJDEPS) $(C_OBJS).
	* Make-lang.in (cc1chill): Delete dependency on $(OBJS) $(BC_OBJS).
	(CHILL.mostlyclean): Use `mostlyclean' as recursive target.

Sun May  8 13:05:00 1994  Per Bothner  (bothner@cygnus.com)

	* Make-lang.in (cc1chill):  Should not depend on libgcc.a.

Thu May  5 18:58:22 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* decl.c (copy_lang_decl):  New (dummy) function.

Mon May  2 14:33:44 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* parse.y (sendaction):   Fix thinko (in sense of condition).
	* tasking.c (build_receive_case_label):  Another thinko.	

	* parse.y (optsigdest):  Force ignore_exprs to 0 while parsing
	the (signal-)name.

	* decl.c (build_chill_function_type):  Don't call layout_type
	(since that may prevent parameter or result types being
	properly satisfied).
	* satisfy.c (satisfy):  Layout FUNCTION_TYPEs.
	* parse.y (procmode):  Call build_chill_pointer_type, rather
	than build_pointer_type (which incorrectly sets TYPE_SIZE). 

	* parse.y (get_type_of):  Handle TYPE_DECL (again).
	* parse.y (optresultspec):  Call build_chill_reference_type, rather
	than build_reference_type (which incorrectly sets TYPE_SIZE).
	* parse.y (range_or_mode):  Rename to plain range, since it
	no longer matches modename.
	* actions.c (chill_handle_case_label_range):  New function, with
	functionality moved out of chill_handle_case_label.
	* actions.c (chill_handle_case_label):  Handle here the case that
	the label_value is a TYPE_DECL (modename).   Also clean up some.
	* typeck.c (build_chill_slice_with_length):  Convert max_index
	to the type of min_value.  (Old code broke on varying strings.)

Sun May  1 13:53:36 1994  Doug Evans  (dje@canuck.cygnus.com)

	* Makefile.in (BC_OBJS): Delete all references
	(OBJS): Cat ../stamp-objlist to get language independent files.
	(../cc1chill): Delete dependency on $(OBJS).
	* Make-lang.in (cc1chill): Depend on stamp-objlist.

Sat Apr 30 14:50:15 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* lex.h, lex.c:  Remove lastiddecl.
	* lex.l (name_type_signal):  Simplify.  We no longer check for
	TYPENAME or SIGNALNAME (which was unreliable with two passes).
	Also rename to make_identifier.
	* parse.y:  Cleaned up grammar to not need SIGNALNAME or TYPENAME.
	* Makefile.in (stamp-parse);  One conflict fewer!
	* parse.y (rccase_label_flag):  Moved to tasking.c.
	* parse.y (rccase_label):  Move most of the logic to
	build_receive_case_label in tasking.c.
	* parse.y (sendaction):  Re-write to not depend on SIGNALNAME.

	* parse.y (name):  Do name lookup here (and not in location).
	* parse.y:  Replace most uses of NAME by higher-level non-terminals:
	simple_name_string, name_string, defining_occurrence, or name.

	* tasking.c (build_receive_signal_case_label,
	build_receive_buffer_case_label):  New functions, split out from
	build_receive_case_label.
	* tasking.c (build_receive_case_label):  Change parameters
	and return type.  Moved stuff here (from the parser).
	* tasking.c (struct rc_state_type):  Removed had_errors.
	Return error_mark_node instead.
	* tasking.c (build_rccase_set_error), ch-tree.h:  Removed.

	* expr.c (build_generalized_call):  If func is a signal type,
	call build_signal_descriptor.

	* parse.y (arrayindex):  Renamed to index_mode, to match Z.200.
	* parse.y (ioindexmode):  Removed;  use index_mode instead.
	* expr.c (build_generalized_call):  If args is a RANGE_EXPR,
	we have either a slice or a range mode, depending on func.
	* parse.y (index_mode):  If we got an 'expr', only allow a name,
	or a range mode.
	* parse.y (call):  A slice with both end points can be a range
	mode, so defer handling to build_generalized_call (or index_mode).

	* typeck.c (build_chill_slice_with_length):  Fix type-checking.
	* typeck.c (chill_novelty):  Undo (part of) change of April 28:
	The novelty of a range mode is the novlety of the parent.
	* typeck.c (chill_root_mode):  Don't return integer_type_node
	if argument has non-nil novelty.

	* decl.c (global_bindings_p):  Return -1 as true, for the sake
	of variable_size (in ../stor-layout.c).

Fri Apr 29 13:42:43 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* parse.y:  Remove TYPENAME and modename.  These are now plain
	NAMEs.  Modify parsing actions appropriately.
	* expr.c (build_generalized_call):  Handle the case that
	TREE_CODE (func) == TYPE_DECL (as in a cast).
	* lex.l (name_type_signal):  Never return TYPENAME.
	* parse.y (get_type_of):  If pass 1, just return the argument.

	* decl.c (do_decl):  If an initializer has the wrong type,
	replace it by NULL_TREE, to avoid subsequent errors.

Thu Apr 28 15:21:56 1994  Wilfried Moser  (moser@rtl.cygnus.com)

	* Makefile.in: Add new file timing.c to rules.
	* timing.c: New file. Implements the timing actions AT,
	  CYCLE and AFTER.
	* decl.c (init_decl_processing): Add new builtin function
	  descriptions.
	* expr.c (build_chill_indirect_ref): Change error message and
	  add check agains an IDENTIFIER_NODE.
	* gperf, hash.h: Change EVENT_CODE, BUFFER_CODE to IGNORED_DIRECTIVE.
	  They are no longer needed.
	* grant.c (print_integer_type): Add processing of builtin types
	  DURATION and TIME.
	* lex.l: Remove processing of directive EVENT_CODE & BUFFER_CODE.
	* parse.y (timingactions): split up to afteraction, ataction
	  and cycleaction.
	* parse.y (afteraction): New rule.
	* parse.y (ataction): New rule and put actions in.
	* parse.y (cycleaction): New rule and put actions in.
	* parse.y (sendaction): Add code for SEND buffer.
	* parse.y (rccase_label): Change error processing.
	* tasking.c (build_gen_inst): More checks.
	* tasking.c (build_gen_code): Add checking for argument is a 
	  PROCESS or a SIGNAL.
	* tasking.c (struct rc_state_type): Add new fields for easier
	  error processing.
	* tasking.c (build_receive_case_if_generated), ch-tree.h: New function.
	* tasking.c (build_rccase_set_error), ch-tree.h: New function.
	* tasking.c (build_receive_case_label): Add processing of BUFFER's.
	* tasking.c (build_receive_buffer_case_end, build_receive_signal_case_end):
	  New functions to process the end of a RECEIVE CASE action in case
	  of BUFFER's and SIGNAL's.
	* tasking.c (build_receive_case_end): Do only general processing and
	  call one of the above mentioned functions.
	* tasking.c (build_delay_case_start, build_delay_case_label,
	  build_delay_case_end): Rewritten due to new implementation of events.
	* tasking.c (build_delay_action): Rewritten due to new implementation
	  of EVENT's.
	* tasking.c (expand_send_buffer), ch-tree.h: New function.
	* timing.c (build_at_action, build_cycle_start, build_cycle_end),
	  ch-tree: New functions.

Thu Apr 28 14:11:29 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* typeck.c (smash_dummy_type):  Handle the special case of a
	NEWMODE of a range mode, as required by Z200, by creating a
	new parent mode with the new novelty (and casting the min
	and max of the range to teh new parent mode).
	* typeck.c (chill_novelty, chill_root_mode):  Remove special
	kludges for of NEWMODE ranges.
	* expr.c (build_chill_lower_or_upper):  New function, combining
	the "guts" of build_chill_lower and build_chill_upper.
	* expr.c (build_chill_lower_or_upper):  Simplify;  no longer
	need to kludge the novelties.

	* typeck.c (valid_array_index_p):  A string index expression
	need not be Compatible with the index type;  only similar.

	* decl.c (layout_chill_variants):  If error seen, skip stuff
	(rather than aborting or crashing).
	* decl (push_modedef):  If newdecl's type is an error mark,
	continue rather than aborting.

Thu Apr 28 02:07:42 1994  Doug Evans  (dje@cygnus.com)

	* Make-lang.in: Update of directory reorg from fsf.
	* config-lang.in: Ditto.

Mon Apr 25 13:09:46 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* typeck.c (chill_similar):  Check RECORD_TYPEs properly,
	* convert.c (convert):  If all else fails, just call convert1.
	Thus we can now convert RECORD_TYPEs (assuming they are similar).

	* parse.y, lex.l:  Remove BUFFERNAME (use location/expr instead).
	* parse.y:  Re-do BUFFER handling (similar to previous EVENT change).
	* grant.c (raw_decode_mode):  Re-do BUFFER mode handling.
	* ch-tree (lang_type_record):  Removed max_queue_size field.
	* tasking.c (build_buffer_type):  Re-write.
	* tasking.c (max_queue_size):  Fix to support buffer modes.
	* tasking.c (buffer_element_mode), ch-tree.h:  New function.
	* tasking.c ch-tree.h (expand_send_buffer):  Now has 3 parameters.
	* parse.y (modename):  No longer match SIGNALNAME.  Instead, add it
	to name and simple_name_string.  This removes a reduce/reduce conflict.
	* Makefile.in (stamp-parse):  Expect fewer conlicts.

	* lex.l (yywrap):  Move check for circularly seizeing current
	grant-file from here ...
	* lex.l (handle_use_seizefile_directive):  ... to here.
	This is to avoid calling stat on a not-yet written grantfile,
	now that we're using same_file (which calls stat).
	* grant.c (set_use_this_gf):  Removed.
	* grant.c (set_default_grant_file):  Set grant_file_name here,
	because we need it earlier (due to above lexer change).

	* typeck.c (layout_chill_struct_type):  Remove useless code to
	remove zero-width bitfield (which messes up CONST_DECLs).

Sat Apr 23 13:16:39 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in (check): Assure that 'ld' is available before checking.

Thu Apr 21 13:23:54 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* grant.c (print_an_int):  Removed.
	(raw_decode_mode):  Generalized to use decode_constant
	instead of print_an_int.
	(decode_constant):  Print directly, instead of calling print_an_int.
	* parse.y (event_list):  Fix syntax.
	* parse.y (optqueuesize):  Default is NULL_TREE, not zero.
	* tasking.c (check_queue_size):  New function, for error checking.
	* ch-tree.h:  Add declaration for check_queue_size.
	* satisfy.c (satisfy case RECORD_TYPE):  Satisfy constant fields
	(used for queue size of EVENT and BUFFER), and call check_queue_size.

Tue Apr 19 13:42:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	Re-implement EVENT modes to support general EVENT objects
	(and not just EVENT names), according to Z200.  (Not finished!)
	* tasking.c, ch-tree.h (max_queue_size):  New function.
	* parse.y (dcalternative, event_list, event_list_head):  New
	implementation of DELAY CASE, avoiding parsing ambiguities.
	(call, locdec, delayaction):  Remove old EVENTNAME kludges.
	* lex.l (name_type_signal):  Remove EVENTNAME recognition.
	* tasking.c (build_event_type):  Re-written.
	* typeck.c (chill_similar), decl.c (print_lang_type):
	Use new max_queue_size function.
	* typeck.c (layout_chill_struct_size):  Ignore CONST_DECL.
	* tasking.c (build_delay_action):  Preliminary changes - just to
	make it compile.  FIXME!
	* grant.c (raw_decode_mode):  Use new max_queue_size function.
	Move EVENT support from LANG_TYPE to RECORD_TYPE.
	* ch-tree.h (process_event_decls):  Removed.

Tue Apr 19 11:44:01 1994  Bill Cox  (bill@rtl.cygnus.com)

	* regression.sh: Complete previous change - eliminate all
	  references to objdir as a user parameter.

Mon Apr 18 10:17:55 1994  Bill Cox  (bill@cygnus.com)

	* Makefile.in (check): Simplified regression.sh call.
	* regression.sh: Change command-line parsing.  Default
	  srcdir to the script's path.  Calculate objdir
	  internally - don't pass it in.

Thu Apr 14 13:30:19 1994  Wilfried Moser  (moser@phishhead.cygnus.com)

	* expr.c (build_chill_duration): Add range checking.

	* lex.l (init_lex): Add predefined names DURATION and TIME.
	* lex.h (enum rid): Add RID_DURATION and RID_TIME.
	* ch-tree.h: Add prototypes and externals.
	* decl.c (init_decl_processing): Add builtin function
	descriptions.
	* expr.c (build_generalized_call): Add processing of some
	builtin's.
	* expr.c (build_chill_abstime): New function to process builtin
	ABSTIME.
	* expr.c (build_chill_inttime_type): New function to built type
	for the INTTIME builtin.
	* expr.c (build_chill_inttime): New function to process builtin
	INTTIME. 
	* expr.c (build_chill_duration): New function to process builtin's
	MILLISECS, SECS, MINUTES, HOURS and DAYS.

Tue Apr 12 11:55:45 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* lex.l (chill_same_grant_file):  Rename to same_file.  Change to
	take two files names rather than two DECLs.  Also check that the
	filesystems (st_dev) are equal.  Finally, make static.
	* lex.l (handle_use_seizefile_directive):  Check for duplicate
	USE_SEIZE_FILE directives using same_file.
	* decl.c (pop_module):  Remove dubious call to chill_same_grant_file.

Sun Apr 10 17:19:56 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* decl.c, ch-tree.h (chill_result_decl):  New variable.  Used to
	store RESULT value.  (Cannot use DECL_RESULT;  see comment in decl.c.)
	* actions.c (chill_expand_result, chill_expand_return):
	Use chill_result_decl appropriately.
	* ch-tree.h, decl.c, actions.c (saved_result_rtx):  Removed.
	Subsumed by chill_result_decl.

	* expr.c (chill_expand-expr case CONCAT_EXPR):  Generate temporary
	using the mode of the result type, and don't assume it is BLKmode.

Fri Apr  8 17:46:13 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* actions.c (chill_expand_assignment):  Check for compatibility
	_after_ "expanding out" a binary operation.  This fixes
	the case "STRING //:= CHAR".

	* lex.l (equal_number):  Convert symbol to integer_type_node, to
	force the value to be INT-derived (and avoid novelty conflicts).

Mon Apr  4 22:06:31 1994  Per Bothner  (bothner@cygnus.com)

	* ch-tree.h (CH_FUNCTION_SETS_RESULT):  New flag.
	* ch-actions.c (chill_expand_return), ch-tree.h:  Extra
	parameter, indicates if implicit return at end of function.
	* ch-parse.y:  Modify accordingly.
	* ch-actions.c (chill_expand_return):  Various improvements.

	* decl.c, ch-tree.h (result_never_set):  New variable.
	* actions.c (chill_expand_result, chill_expand_return):  Clear it.
	* ch-parse.y (end_function):  Warn if no RETURN or RESULT action.

	* decl.c, ch-tree.h (saved_result_rtx):  New variable.
	* decl.c (start_chill_function):  Use saved_result_rtx as return
	value if there is a RESULT in a REG that might get clobbered.
	* actions.c (chill_expand_result):  Save result in saved_result_rtx
	or assign to DECL_RESULT as appropriate.
	* decl.c, ch-tree.h (current_function_returns_value,
        current_function_returns_null, current_extern_inline):
	Don't use.  Only define first two to allow linking with ch-typeck.c.

	* typeck.c (chill_l_equivalent):  Add forward declaration.

Fri Apr  1 11:02:27 1994  Wilfried Moser  (fs_moser at rcsw47)

	* lex.l (readstring): Handle control sequence in all cases (Z.200
	5.2.4.4 page 54).

Fri Apr  1 13:11:27 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* configure:  Simplify and fix the logic for looping through
	sub-directories.

Thu Mar 31 18:59:57 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-tree.h (CH_L_EQUIVALENT):  Moved from typeck.c.
	* typeck.c (chill_similar):  Add support for checking
	FUNCTION_TYPEs for similarity.  Also, treat
	pointer-to-function-type the same as function-type.

Thu Mar 31 11:22:56 1994  Wilfried Moser  (fs_moser at rcsw47)

	* ch-tree.h: Change prototype of function expand_send_signal.
	* parse.y: Change calls to expand_send_signal.
	* tasking.c (expand_send_signal): Change handling of optsetto
	argument. New argument signame to get a possible destination
	process for the signal.

Wed Mar 30 14:54:48 1994  Wilfried Moser  (fs_moser at rcsw1j)

	* tasking.c (make_process_struct): Change error message in case of
	a process argument has other attribute then IN or LOC.
	* tasking.c (build_start_process): Add check that the optset is
	referable in case it is specified (this makes
	noncompile/start_.ch working).

Tue Mar 29 13:24:27 1994  Wilfried Moser  (fs_moser at rcsw1h)

	* Makefile.in: Change version string to 1.2.1
	* ch-tree.h (enum chill_built_in_function): Delete no longer valid
	  entries. 
	* ch-tree.h: Change prototype for build_chill_readtext.
	* decl.c (init_decl_processing): Add builtin_function _readstring,
	  _readunixstd and READTEXT.
	* expr.c (build_generalized_call): Add processing of READTEXT.
	  Delete handling of no longer valid builtin_functions.
	* gperf: Remove keyword READTEXT.
	* parse.y: Remove token READTEXT.
	* inout.c (build_chill_io_list_type): Add building type for
	  READTEXT. 
	* inout.c (build_chill_readtext): Implement the function
	  (partial).
	* inout.c (build_chill_writetext): Do some cleanups.

Tue Mar 29 12:30:59 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* typeck.c (build_chill_cast):  Re-arrange, to support casts
	of const integer to type of different size, if there is
	an integral type of the desired size:  Go through the
	const conversion code.

	* actions.c (adjust_parm_or_field):  Move support for LOC to ...
	* expr.c (build_chill_function_call): ... here.
	Fix a number of bugs in OUT/INOUT handling.

	* ch-tree.h, actions.c (adjust_parm_or_field), grant.c (print_struct),
	parse.y (location), typeck.c (chill_comptypes):  Remove unused
	support for ENCAPSULATED_ARRAY_P.
	* typeck.c (build_chill_array_parm_type), ch-tree.h:  Remove; unused.

	* ch-tree.h, decl.c (shadow_record_fields), decl.c
	(shadow_record_fields), expr.c (chill_expand_case_expr,
	build_chill_function_call), grant.c (chill_finish_compile),
	typeck.c (build_empty_string, build_init_struct):  Rename magic	
	identifiers of the form "<...>" to "__..." for better portability.

	* actions.c (adjust_parm_or_field):  Remove extraneous
	call to build_chill_repetition_op.
	* expr.c (build_chill_function_call):  Some simplifictions
	(since neither valtail nor typetail can be NULL).
	Clean up error message for OUT//INOUT not location to use only 1 line.
	Add error message for OUT/INOUT if type is READonly.
	* typeck.c (build_chill_modify_expr):  Simplify.

Sun Mar 27 19:30:25 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Clean up generally.  Assure that
	  runtime is built before running regressions.
	  Build correct parameters to regression.sh.
	  Remove a lot of 'clean' cruft.
	* Make-lang.in, config-lang.in: New files for
	  subdirectory architecture.

Sat Mar 26 10:39:12 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in (check): Build correct parameters for regression.sh.

Fri Mar 25 10:13:06 1994  Bill Cox  (bill@rtl.cygnus.com)

	* configure: Also mark regression.awk3 as executable.
	* regression.sh: Add comments about command-line options.
	  Calculate srcdir correctly, defaulting to the script's path.
	  Add OPT flag to pass to the Makefiles, to specify the
	  compiler's optimization level, and -O  and -O2 options.
	  Delete GLOBAL flag and tests.  Use a different make.log
	  file for optimized and unoptimized test results.  Add the
	  compiler's host and target triples to the report header.

Wed Mar 23 21:41:26 1994  Bill Cox  (bill@rtl.cygnus.com)

	* expr.c (build_chill_function_call): Handle INOUT and OUT
	  parameters better (for the rangefail test, at least).

Wed Mar 23 14:13:45 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* regression.sh (srcdir, objdir):  Fixed hard-wired paths.
	(grep args):  Changed [XYZ-] to [-XYZ] for SCO.

Wed Mar 23 13:34:18 1994  Bill Cox  (bill@rtl.cygnus.com)

	* expr.c (build_generalized_call): Revert previous change.
	  To do this correctly, we need a new parsing mechanism, and
	  C++ initializer technology.

Wed Mar 23 09:34:50 1994  Bill Cox  (bill@rtl.cygnus.com)

	* expr.c (build_generalized_call): Be sure we're inside the
	  module-level function before calling build_gen_inst, for
	  example.

Wed Mar 23 09:34:50 1994  Bill Cox  (bill@rtl.cygnus.com)

	* regression.sh (dodirectory): Count the gcov and abort tests
	  among the .dat files.

Tue Mar 22 15:39:38 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* satisfy.c (safe_satisfy_decl):  When checking that a SYN
	value fits in a specified discrete type, don't convert first,
	and use compare_int_csts instead of tree_int_cst_lt.

Tue Mar 22 15:25:38 1994  Bill Cox  (bill@rtl.cygnus.com)

	* configure: Generate better .gdbinit files.

Tue Mar 22 11:59:38 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* actions.c (check_range):  Don't emit dynamic checks
	if not current_function_decl.

	* parse.y (arrayindex):  Allow expr (error is emitted
	at semantic level if not the NAME of a type).
	* typeck.c (build_chill_cast):  Re-enable some casts.
	* satisfy.c (safe_satisfy_decl):  Remove redundant CONST check.

Tue Mar 22 11:46:28 1994  Bill Cox  (bill@rtl.cygnus.com)

	* configure: Access the utils directory correctly.
	* expr.c (build_compare_expr): Reenable compatibility test.

Tue Mar 22 11:24:45 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* typeck.c (valid_array_index_p):  Call
	build_compare_discrete_expr instead of build_compare_expr.
	* typeck.c (build_chill_cast):  Improve logic.
	* satisfy.c (safe_satisfy_decl):  Simplify test.

Tue Mar 22 10:17:58 1994  Bill Cox  (bill@rtl.cygnus.com)

	* actions.c (chill_expand_assignment): Correct detection of
	  string assignment case.
	* expr.c (chill_expand_expr): Now that we're using build_chill_function_call,
	  the actual parameters need to be converted to the unsigned long
	  type explicitly.  Do that.	
	* satisfy.c (safe_satisfy_decl): Correct range-checking code.

Mon Mar 21 16:25:07 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Correct prediction of grammar conflicts.
	* actions.c(check_range): Fix reference to NULL_TREE pointer.
	  And allow compile-time errors even if range_checking is off.
	* parse.y: Clean up some comments.
	* satisfy.c (safe_satisfy_decl): Add range-check for a SYN's value.

Mon Mar 21 13:29:23 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* typeck.c (layout_chill_range_type):  Instead of tree_int_cst_lt
	use compare_int_csts (which is more robust when signedness differs).
	Also, convert the bounds *after* doing range checking.

	* ch-tree.def (SET_IN_EXPR):  New.
	* expr.c (chill_expand_expr):  Code to expand SET_IN_EXPR,
	moved from expand_expr in ../expr.c.  Also add some extra
	conversions (because we're now using build_chill_function-call).
	* actions.c, decl.c, expr.c, grant.c, parse.y, typeck.c: 
	Use SET_IN_EXPR in place of IN_EXPR.

	* expr.c (build_compare_discrete_expr), ch-tree.h:  New function,
	with code moved from build_compare_expr.
	* expr.c (build_compare_expr):  Re-enable compatibility test.

Mon Mar 21 11:02:33 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Rewrite byacc related rules.
	* actions.c (chill_convert_for_assignment): Use the
	  referenced type only for generating range checks.
	* configure: Add 'utils' directory to SUBDIRS variable.

Sun Mar 20 21:49:59 1994  Bill Cox  (bill@rtl.cygnus.com)

	* actions.c (check_range): Call build_compare_expr rather than
	  build_binary_op.
	  (adjust_parm_or_field): Call convert_for_assignment rathern than
	  convert, to get the range-checking.
	* expr.c (build_chill_pred_or_succ): Fix up rangefail code.
	  Generate a compile-time message if possible.
	  (build_compare_expr): Comment out compatibility test - should
	  not be needed in here.  Fix a couple of typos.  Add some types
	  to some build calls.

Sun Mar 20 11:48:10 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* decl.c (init_decl_processing):  Clean up parameter type
	list for __setbitpowerset,

	* typeck.c (chill_compatible_classes):  Allow the M-reference
	to be compatible with the N-value class, with suitable M and N.
	* typeck.c (build_chill_slice):  Don't smash a void TREE_TYPE.
	(We don't need to, and it causes confusion.)

	* expr.c (build_compare_expr):  Fix thinko.  Add save_exprs.

	* expr.c (build_compare_expr):   Fix a transcription bug
	(for converting NULL INSTANCEs).  Also #include convert.h.

	* expr.c (compare_int_csts):  New.  Compare INTEGER_CSTs.
	Works even if their types have different TREE_UNSIGNED.
	* expr.c (finish_chill_binary_op):  Moved code dealing with
	the comparison operators from here ...
	* expr.c (build_compare_expr):  ... to new function here.
	Also, for discrete types, tries to Do The Right Thing, even for
	differing values of TYPE_PRECISION and TREE_UNSIGNED.
	the code from lay
	* ch-tree.h:  Declare new functions.
	* typeck.c (valid_array_index_p):  Various cleanups,
	including using new build_parse_expr.
	* parse.y:  Use new build_compare_expr.

	* inout.c (build_chill_writetext):  Handle REFERENCE_TYPE args.

Sun Mar 20 08:54:27 1994  Bill Cox  (bill@rtl.cygnus.com)

	* actions.c (expand_assignment_to_varying_array): 
	  Call build_chill_array_ref to get index checking.
          (chill_convert_for_assignment): Delete unused errstr
          variable.
	  (chill_expand_assignment): Call build_chill_array_ref
	  to get runtime index checking.
	  (expand_varying_length_assignment): Use new interface
          to varying_array_index_p.
	* ch-tree.h (varying_array_index_p): New proto.
	* convert.c (convert): Call build_chill_array_ref
	  to get runtime index checking.
	* expr.c (build_chill_pred_or_succ): Fix cond tree
	  to have consistent operand types.
	* typeck.c (valid_array_index_p): Change interface to pass
	  validity conditions back on caller's TREE_LIST.  We
	  cannot link the conditions to anything which a
	  layout_type routine will expand, since that will occur
	   before the exception handler is set up.
	  Change calls to valid_array_index_p also.

Fri Mar 18 14:40:50 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* actions.c, except.c, loop.c, tasking.c:  Call
	build_chill_function_call instead of the C-specific
	build_function_call.
	* except.c (initialize_exceptions):  Fix parmtype of __builtin_setjmp.
	* loop.c (top_loop_end_check):  Coerce library function arg.
	* convert.c, expr.c:  Re-write to avoid calls to C-specific
	function build_unary_op (e.g. by calling build1 directly).

	* typeck.c (chill_equivalent):  Change to force failure
	for non-matching integral types (even if not ranges).

	* typeck.c, ch-tree.h (build_chill_slice):  Make non-static.
	* expr.c (varying_to_slice):  Call build_chill_slice (and not
	build_chill_slice_with_length, which does bunches of range
	checking and does not allow the length to be zero).
	* convert.c (convert):  Fix off-by-one error.
	* actions.c (chill_expand_array_assignment):  Minor cleaning up.

Fri Mar 18 00:12:48 1994  Per Bothner  (bothner@deneb.cygnus.com)

	* decl.c (init_decl_processing):  __lepowerset and __ltpowerset
	take *two* pointer parameters, not one.
	* satisfy.c (satisfy):  Only call the appropriate layout routine
	if TYPE_SIZE is 0 (i.e. type hasn't already been laid out).
	* typeck.c (build_chill_slice_with_length):  Fix Bill's previous fix.

Thu Mar 17 17:29:43 1994  Bill Cox  (bill@rtl.cygnus.com)

	* expr.c (build_chill_function_call): Give function call the correct
          type tree.
	* typeck.c (build_chill_slice_with_length): Restore dynamic range
	  checking, so it doesn't obscure the CONSTANTness of the length.

Wed Mar 16 17:23:31 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* typeck.c (build_chill_slice), expr.c (chill_expand_expr
	[case CONCAT_EXPR]):  Remove kludge setting slice size upper bound
	in TYPE_LANG_SPECIFIC, and restore kludge setting it in MAX_VALUE.
	* typeck.c (build_chill_slice):  Use TYPE_MAX_VALUE of
	array_type if needed for size upper bound of slice_type.
	* expr.c (build_concat_expr):  Improve calculation of size upper bound.

	* typeck.c (valid_array_index_p):  Check compatibility using
	correct types.
	* typeck.c (build_chill_slice_with_length);  For now revert
	calling valid_array_index_p on length.  (It makes it harder 
	to realize when the slice is constant length.)
	* expr.c (build_chill_indirect_expr):  Minor tweak.  (This
	seems to work around a weird C compiler bug. ??)

	* expr.c (build_chill_function_call):  Cleanup so it doesn't
	call build_function_call (in c-typeck.c).
	* typeck.c, expr.c:  Use build_chill_function_call instead of
	build_function_call (in c-typeck.c).

	* parse.y (discrete_mode):  Move some of the rules from
	non_array_mode into new non-terminal.
	(arrayindex):  Use discrete_mode (with NAME and TYPENAME) to
	avoid some misparses.
	* ch-tree.h (SLICE_PTR, SLICE_LENGTH):  Removed;  unused.
	* convert.c (digest_structure_tuple):  Add missing parameter.
	* decl.c (comptypes):  Remove unused prototype.
	* decl.c (build_chill_function_type):  Handle NULL return_type
	correctly (convert to void_type_node).
	* decl.c (init_decl_processing):  layout boolean_type_node *after*
	we've set it's TYPE_MIN_VALUE and TYPE_MAX_VALUE.

Wed Mar 16 16:08:22 1994  Bill Cox  (bill@rtl.cygnus.com)

	* ch-tree.h: Add prototype.
	* convert.c (convert): Correct calculation of padding length.
	* decl.c (grok_chill_fixedfields): Move ignore_exprs test to
	  parse.y where it belongs.  This permits the removal of a kludge
	  in make_process_struct.
	* lex.l, parse.y: Call to_global_level for several errors.  Add
	  code to output error in only one pass.
	* tasking.c (make_process_struct): Delete kludge inserted on
	  March 8.
	  (build_receive_case_end): Add Wilfried's check for errors.

Tue Mar 15 08:42:12 1994  Bill Cox  (bill@rtl.cygnus.com)

	* actions.c: Fix comment.
	  (build_rts_call): Ifdef it out - never used.
	  (expand_varying_length_assignment): call valid_array_index_p.
          rather than validate_varying_array_ref.
	* ch-tree.h: Fix prototype for valid_array_index_p.
	* expr.c (chill_expand_expr): Call build_chill_array_ref to get
	  index validation.
          (build_hill_lower, build_chill_upper): Return value now inherits
	  the novelty of the input parameter.
	  (varying_to_slice): Use CH_NOVELTY macro rather than calling
	  chill_novelty directly.
	* grant.c (newstring): Make len unsigned and cast xmalloc parameter
	  to unsigned.
	  (print_integer_type): Pass string value as APPEND's second parameter.
	  (decode_decl): Pass a boolean expression as print_proc_tail's
	  first parameter.
	  (chill_finish_module_code): Make xmalloc's parameter unsigned.
	* lex.l: Pass sizes to xmalloc as unsigned ints.  Pass second
	  parameter to in_word_set as unsigned.
	* loop.c (build_loop_start): Check top_loop_end_check return value.
	* parse.y: Add casts to int for third do_decls parameter, fifth
	  build_loop_iterator parameter, etc.
	* tasking.c (build_receive_case_end): Chack cond_stack before popping.
	* typeck.c (validate_varying_array_ref, chill_max_vary_array_index,
          valid_array_index): Delete them.  They're now unused.
	  (valid_array_index_p): Add function, call it everywhere that an
	  array index is checked.
	  (build_chill_slice): Restore old functionality where varying_to_slice
	  is called to handle slices of varying arrays, rather than handling
	  handling them here.
	  (build_chill_slice_with_range, build_chill_slice_with_length):
	  Check range limits for TREE_CONST before calling tree_int_cst_lt.
	  Delete now-obsolete checks of constant indices.

Mon Mar 14 17:26:51 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* parse.y (modeless_expr):  New rule to allow ([...]) and (if...)
	to count as untyped_exprs.  (This is not really permitted by the
	Blue Book, but has been requested by customers.)

Thu Mar 10 10:11:02 1994  Bill Cox  (bill@rtl.cygnus.com)

	* chill.texi: Document new command-line options.
	* expr.c (build_chill_num): Set unsigned parameter for
	  type_for_size call correctly (unsigned for enums).
	* lang.c (lang_decode_option): Add command-line options to
	  enable/disable runtime range-checking.
	* lex.l: Eat more whitespace.

Thu Mar 10 09:41:37 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Have rules to make parse.h, y.tab.c and other
	  derived files.  This allows the gcc/configure list of CHILL
	  files machinery to work.
	* ch-tree.h (permanent_allocation): Add a parameter flag.
	* decl.c (finish_chill_function, finish_decl): Provide the 
	  new permanent_allocation flag.
	  (poplevel): Return early, avoid a seg fault.
	* lex.l (NORMAL): Replace this whole state with the predefined 
	  INITIAL state.  Force compilation state to global level after
	  compiler directive error - prevents endless loop on error.
	  (handle_use_seizefile_directive): Rewrite for readability.
	  (chill_same_grant_file): Reindent.
	  Generally handle whitespace differently.
	* regression.prpt: Print ten PR numbers per line.  The report's
	  getting too long.

Wed Mar  9 09:58:51 1994  Bill Cox  (bill@rtl.cygnus.com)

	* decl.c (do_decl): Suppress the string-assignment-condition
	  error - it was too often seen.
	* expr.c (expand_chill_expr): In CONCAT_EXPR, when argument has a
	  runtime-changing length (as in a slice), get the parent array's
	  allocation size from its type tree.
	* typeck.c (build_chill_slice): Support VARYING arrays.  Pass
	  parent array's static allocation size along in the slice type.

Wed Mar  9 08:54:24 1994  Bill Cox  (bill@rtl.cygnus.com)

	* lex.l (name_type_signal): Avoid dereferencing a NULL TRE_TYPE.

Tue Mar  8 11:51:10 1994  Bill Cox  (bill@rtl.cygnus.com)

	* expr.c (build_chill_sizeof): Fix typo in error msg, add
	  some whitespace.
	* lex.l (name_type_signal): Add debug output.
	* parse.y (call):  Allow EVENTNAME and BUFFERNAME parameters
	  to a call, so that SIZE () works on them.
	* tasking.c (make_process_struct): Force ignore_exprs non-zero
	  when processing a SEIZEd PROCESS declaration.  This prevents
	  grox-fixed_fields from returning a NULL, and indirectly protects
	  the chill_integer_type_node tree from corruption.

Mon Mar  7 19:14:05 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Use the 'all' target to build the runtime 
	  library and chillrt0.o.
	* README: Explain rules for files in this directory.
	* addtest, addtest.man, build-release, 
	  chill.regress.cron: Move to utils subdirectory.
        * expr.c (build_chill_function_call): Mark the INOUT
	  temporary so it doesn't get optimized into a
	  register.  Fixes the execute/inout.ch bug.
	* typeck.c (layout_chill_range_type): Restrict it
	  from complaining about an empty string type's
	  bounds (0:-1).

Mon Mar  7 09:06:39 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in (compiler): Restore this target.
	  (OBJS, BC_OBJS): Delete unused variables.
	  Add $(FLAGS_TO_PASS) to sub-make invocations.
	* ch_decomment.l, ch_makedepend, chill.patches, printf.c,
	  tcov.awk, tcov.el, tcov.sh: Move to utils subdirectory.

Sat Mar  5 18:37:50 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)

	* except.c (finish_handler_array): When computing address of
	the array ex_decl, don't call build_array_ref.

Sat Mar  5 17:43:36 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)

	* loop.c (declare_temps): Force powerset temp to memory.

Fri Mar  4 11:20:44 1994  Bill Cox  (bill@rtl.cygnus.com)

	* typeck.c (layout_chill_range_type): Convert highval and
	  lowval to a common type before range-checking them.

Fri Mar  4 11:20:44 1994  Bill Cox  (bill@rtl.cygnus.com)

	* ch-tree.h: Add loop-related prototypes.
	* decl.c, grant.c: Fix -Wall violations.
	* parse.y: Fix format of %type directives.

Fri Mar  4 10:04:18 1994  Wilfried Moser  (fs_moser at rcsw1h)

	* Makefile.in: Update version number.
	* expr.c: Fix a comment.
	* inout.c (build_chill_writetext): Add handling of a REAL.
	* lex.l (INITIAL): Remove all code to discard 'header lines'.
	  no longer needed.
	* parse.y (optheader): Remove - it's obsolete, as is the
	  HEADEREL token definition.

Fri Mar  4 09:41:18 1994  Bill Cox  (bill@rtl.cygnus.com)

	* addtest: Fix suffix removal when suffix is .c186.
	* regression.sh: Allow for underscores on PR filenames.
	* typeck.c: Check in the rewrite mentioned earlier.

Thu Mar  3 09:42:10 1994  Wilfried Moser  (fs_moser at rcsw1h)

	* tasking.c (build_process_header): Build a debug structure
	  for easier access to PROCESS parameters.

Thu Mar  3 09:42:10 1994  Bill Cox  (bill@rtl.cygnus.com)

	* typeck.c (*string_assignment_condition): Complete rewrite
	  of a verbose first draft.

Wed Mar  2 16:49:05 1994  Bill Cox  (bill@rtl.cygnus.com)

	* actions.c (adjust_return_value): Simplify.
	  Delete references to CH_RETURNS_LOC, extra parameters to
          push_extern_function and start_chill_functions.
	  (convert_for_assignment): Check whether to generate runtime
	  range-checking code.  Handle reference_type in convert call.
	  (chill_expand_assignment): Produce an INDIRECT_REF for a
	  reference_type on the LHS.  Delete conversions subsumed by
	  convert_for_assignment.
	* ch-tree.h: Delete parameters from prototypes.
	* decl.c (print_lang_decl): Print out signal flag.
	  (push_extern_function, start_chill_function): Delete
	  extra parameters, references to CH_RETURNS_LOC.
	* grant.c (chill_finish_compile): Delete extra parameter.
	* parse.y: Delete references to CH_RETURNS_LOC, extra parameters to
          push_extern_function and start_chill_functions.
	* regression.sh (checkprms): Skip PRMS discrepancies if we
	  can't access PRMS for some reason.
	* satisfy.c: Correct indentation.
	* tasking.c (build_process_header): Delete extra parameters
	  passed to push_extern_function and start_chill_functions.

Wed Mar  2 10:33:50 1994  Bill Cox  (bill@rtl.cygnus.com)

	* addtest: Require a fill filename.  Be more careful about
	  adding the same test twice.
	* expr.c: Add FIXME to comment.
	* regression.sh: Add configure script call.

Tue Mar  1 16:24:20 1994  Wilfried Moser  (fs_moser at rcsw1h)

	* Makefile.in: Change version of chill to 1.1.2
	* inout.c: Add processing of SET and POWERSET types to WRITETEXT.

Tue Mar  1 07:34:56 1994  Bill Cox  (bill@rtl.cygnus.com)

        RETURN of LOC value is only half-baked.  Stay tuned...
	* actions.c (adjust_parm_or_field): Add to comment.
          (adjust_return_value): New function for issuing errors about
	  RETURN and RESULT expressions.  Also converts them.
	  (chill_expand_result, chill_expand_return): Call new
	  adjust_return_value function.
	* ch-tree.h (CH_RETURNS_LOC): Add new flag for function types.
          New parameter for push_extern_function and start_chill_function.
	* decl.c (push_extern_function, start_chill_function): New parameter
	  to say whether return value is a LOC.
	* expr.c (build_chill_indirect_ref): Further qualify the issuing
	  of the error message.
	* grant.c (raw_decode_mode): Move test for instance mode under 
	  STRUCT handling.
	  (start_chill_module_code, chill_finish_compile): Add new
	  parameter to start_chill_function calls.
	* parse.y (get_type_of): Do lookup_name more often.
	  (quasi_pdef, procedure, procmode, optresultspec): Set 
	  CH_RETURNS_LOC flag.
	  (optresultattr): Code keywords as a bitmask.
	* tasking.c (build_process_header): Add new parameter to
	  start_chill_function call.

Sat Feb 26 12:49:05 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Replace undefined $(RM) with rm -f.
	* configure: Make sure scripts are executable.
	* regression.sh: Make variables to invoke make 
	  and awk.  Don't process a directory if it 
	  doesn't exist.

Fri Feb 25 14:48:48 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in (check): Force the building of ../gcov and
	  ../xgcc before testing.  Move the printf dependency here
	  since we don't need it until we're testing.
	* addtest: Strip suffix from each input filename.
	* decl.c (do_decl): Correct error checking.  Call
	  string_assignment_condition for some of it.
	* tasking.c (build_gen_inst): Add ability to pass an integer
	  for either the process ID or the copy number.  If a number
	  is passed, range-check it against the CHILL unsigned type
	  limits.
	  (build_buffer_descriptor): Add draft code to check the buffer
	  name for correctness.

Wed Feb 23 15:07:12 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	New cleaner solution to the following problem:
	Chill allows an action to be followed by an ON-handler.
	But we don't know if an action has a handler until we've parsed
	its end, yet we want to generate extra code to set up an
	exception handling contour only if needed.  The old solution
	would generate code for the action into an rtl sequence, and then
	splice in the exception-setup code if we later found we needed it.
	This has a few problems (for example it confuses the management
	of stack temporaries), and is ugly.  Now that the compiler is 2-pass
	we have a cleaner solution:  In pass 1, we remember which actions
	were followed by ON-handlers.  In pass 2, we use this information
	to generate appropriate code before an action.
	* except.c (push_handler, pop_handler):  In pass 1, set up data
	structures (global_handler_list) to remember if an action has an
	ON-handler.  In  pass 2, digest this information, and setup
	handler if needed.
	* except.c, actions.h (pop_handler):  Take an extra int arg.
	* except.c (emit_setup_handler):  New function, with code (moved
	from chill_start_on) to emit code before an action that has a handler.
	* except.c (except_init_pass_2):  New function.
	* parse.y (pass1_2):  Call except_init_pass_2 before pass 2.
	* parse.y (POP_UNUSED_ON_CONTEXT):  Don't call pop_sequence.
	* parse.y:  Invoke POP_UNUSED_ON_CONTEXT and POP_USED_ON_CONTEXT
	in pass 1 as well as pass 2.
	* parse.y (BEGIN ... END):  Re-arrange logic to avoid block_stack
	(local to ../stmt.c) getting out of sync.
	* actions.c (push_action):  Don't need to emit a NOP,
	now that we're no longer moving sequences around.
	* actions.c (push_action):  Call push_handler even in pass one.

Wed Feb 23 11:06:14 1994  Bill Cox  (bill@rtl.cygnus.com)

	* decl.c (do_decl): Check for possible overflow in initializing
	  a declared variable.
	* expr.c (build-chill_indirect_ref): Add error message for
	  a syntax error that C programmers converting to CHILL are
	  quite likely to make.
	* satisfy.c (safe_satisfy_decl): Keep yesterday's change from
	  seg-faulting.

Tue Feb 22 17:54:43 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Use $(CC) rather than FLAGS_TO_PASS, which isn't
	  defined.  Build chill script differently, and build an install script.
	  Add an action to run the regression test.
	* actions.c (chill_expand_assignment): Change
	  string_assignment_condition call.
	* ch-tree.h: Add prototype.
	* expr.c (build_chill_function_call): Change
	  string_assignment_condition call.
	* satisfy.c (safe_satisfy_decl): Add check that string INIT value
	  will fit in the declared mode.
	* typeck.c (string_assignment_condition): Add flag to disable
	  runtime code generation.  Add code to generate runtime test.

Mon Feb 21 14:04:20 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in (check): Add target to trigger a regression test.

Mon Feb 21 13:54:20 1994  Bill Cox  (bill@rtl.cygnus.com)

	* decl.c (do _based_decls): Add error check for
	  decls BASED on a PROC or PROCESS name.

Mon Feb 21 13:24:02 1994  Bill Cox  (bill@rtl.cygnus.com)

	* grant.c (chill_finish_compile): Bypass handling
	  module-level code if an earlier error has made
	  is useless.
	* tasking.c (build_start_process): Generate error, 
	  return if process name unknown.

Mon Feb 21 14:29:41 1994  Wilfried Moser  (fs_moser at rcsw47)

	* expr.c (build_generalized_call): Use 
	  build_arrow_expr semantics for ADDR () builtin.

Mon Feb 21 12:49:14 1994  Bill Cox  (bill@rtl.cygnus.com)

	* tasking.c (build_gen_inst): Output correct
	  constructor for GEN_INST.

Mon Feb 21 08:14:59 1994  Wilfried Moser  (fs_moser at rcsw47)

	* lex.l (yywrap): Fix punctuation error.

Sun Feb 20 19:58:14 1994  Bill Cox  (bill@rtl.cygnus.com)

	* regression.sh: Fix cvs update-related commands.
	  Have cron job always perform the update, so it's
	  always reporting on the current state of the 
	  sources.
	* typeck.c (string_assignment_condition): Allow a 
	  mis-match if the LHS is varying.

Fri Feb 18 18:10:04 1994  Bill Cox  (bill@rtl.cygnus.com)

	* actions.c (expand_chill_assignment): Add call to test the
	  string assignment condition.
	* expr.c (build_chill_function_call):  Add call to test the
	  string assignment condition.
	* regression.awk2: Report WITHDRAWN PRs as well.
	* regression.sh: Delete extra commentary about FEEDBACK PRs.
	* typeck.c (string_assignment_condition): Add function to
	  perform the check.

Fri Feb 18 16:30:40 1994  Bill Cox  (bill@rtl.cygnus.com)

	* regression.awk1, regression.awk3: Recognize 'withdrawn' PRs
	  and exclude them from the regression test report.  Mark them
	  in the list of PRs as 'W' status.

Thu Feb 17 09:13:42 1994  Wilfried Moser  (fs_moser at rcsw47)

	* Makefile.in: Define a version number.  Build chill script
	  differently.  Makefile depends upon ../configure, not configure.
	* chill.in: Define some new flags.

Wed Feb 16 19:44:33 1994  Bill Cox  (bill@rtl.cygnus.com)

	* grant.c (decode_constant): Restore a 'return result' statement
	  that seems to have gotten lost.

Wed Feb 16 12:37:44 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-tree.h (various STRING-type macros):  Use new TYPE_STRING_FLAG.

	* typeck.c (make_chill_array_type):  Remove unused args.
	Simplify to build only one-dimensionsal arrays, so change
	index list to single index.  Call layout_chill_array_type
	if pass!=1.  And rename to:  build_simple_array_type.
	* typeck.c (layout_chill_array_type):  Only recurse
	if TREE_TYPE has not been laid out.
	* typeck.c (build_chill_array_type):  Update accordingly.
	* typeck.c (build_chill_slice):  Replace calls to build_array_type
	(which does hash-canonicalization, which breaks if we later set
	the TYPE_STRING_FLAG) by calls to build_simple_array_type.
	* convert.c (convert):  The same.

	* grant.c (decode_constant):  Clean up.  Remove remnants of switch
	on TREE_TYPE of the value, and fold those cases into first switch.

Wed Feb 16 09:12:21 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Add printf as a dependency of ../cc1chill.
	* regression.sh: Make srcdir and objdir really work.

Wed Feb 16 09:12:21 1994  Bill Cox  (bill@rtl.cygnus.com)

	* expr.c (build_char_array_expr): Fix spelling
	  error in error msg.
	* tree.c (build_string_type): Make check for overlarge
	  string more robust.

Wed Feb 16 02:37:43 1994  Mike Stump  (mrs@cygnus.com)

	* grant.c (decode_constant): Remove useless tests
	for STRING_TYPE (which isn't used by anyone, including CHILL).

Tue Feb 15 15:35:07 1994  Bill Cox  (bill@cygnus.com)

	* build-release:  Add refinements to checkout commands.
	* decl.c (init_decl_processing): Move initialization of
	  chill_unsigned_type_node before 1st call to build_string_type.
	* tree.c (build_string_type): Add compile-time test of string
	  allocated length.
	* typeck.c (layout_chill_range_type): Add compile-time range limit
	  checking.

Tue Feb 15 08:55:37 1994  Bill Cox  (bill@cygnus.com)

	* Makefile.in:  Add stamp-chill-objs as a dependency of ../cc1chill.
	* regression.sh: Rename test directory names.

Mon Feb 14 09:24:16 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Change interface with parent directory's
	  Makefile, decoupling the lists of each others' files.

Mon Feb 14 09:24:16 1994  Bill Cox  (bill@rtl.cygnus.com)

	* lex.l: Delete obsolete comment.
	* tasking.c (expand_send_signal): Add a type to the OPTSENDTO
	  instance constructor.

Mon Feb 14 04:04:16 1994  Bill Cox  (bill@rtl.cygnus.com)

	* lex.l (maybe_number): Add octal to numbers
	  handled by Feb 1 change.

Sat Feb 12 16:24:22 1994  Bill Cox  (bill@rtl.cygnus.com)

	* actions.c, convert.c, decl.c, expr.c, lex.l,
	  tasking.c, typeck.c: gcc -Wall cleanups.
        * ch-tree.h: Change loop-related prototypes.
	* loop.c, parse.y: Rewrite to set up correct loop scope.
          Fix error path where loop variable not declared.

Fri Feb 11 11:12:29 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Add rule to build printf.  Make it a dependency
	  of ../cc1chill.
	* printf.c: New tool for regression testing script.
	* regression.sh: Look for print in ${objdir}.

Thu Feb 24 17:31:12 1994  Wilfried Moser  (fs_moser at rcsw1j)

	* tasking.c (build_gen_inst): Allow integer expression as argument
	  1 to this function. This was a change request to get rid of
	  unsupported value conversion from INSTANCE to ARRAY (0:1) UINT
	  or STRUCT (t UINT, c UINT).

Thu Feb 10 09:49:31 1994  Bill Cox  (bill@rtl.cygnus.com)

	* regression.awk3: Recognize upper-case PRMS state names.

Wed Feb  9 15:26:19 1994  Bill Cox  (bill@cygnus.com)

	* parse.y (dowithaction): Allow EXIT from DO WITH.

Tue Feb  8 13:13:54 1994  Bill Cox  (bill@rtl.cygnus.com)

	* configure: Change to require grant.c for evidence that we've
	  found the source directory.
	* decl.c (init_decl_processing): delete unused builtin_slice
	  function declaration.
	* expr.c (chill_expand_expr): Calculate powerset's length
	  correctly, calling powersetlen to do it.
	* regression.sh: Replace BASE references with objdir references.
	* typeck.c (build_chill_slice): Build the compound expression
	  in the right order.

Mon Feb  7 15:56:07 1994  Bill Cox  (bill@rtl.cygnus.com)

	* expr.c (build_chill_lower, build_chill_upper): Handle
	  LOC parameter types.
	* regression.sh: Correct path to executable sub-shell-scripts.

Mon Feb  7 11:33:47 1994  Bill Cox  (bill@rtl.cygnus.com)

	* regression.sh: Pervasive changes to allow for separate
	  source and object directories.

Wed Feb  2 17:5620 1994  Bill Cox  (bill@rtl.cygnus.com)

	* decl.c (find_implied_typed): Delete obsolete reference to
	  PROCESS_TYPE.
	* ch-tree.def (PROCESS_DECL, PROCESS_TYPE): Delete - they're
	  obsolete.

Wed Feb  2 13:37:56 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Delete bogus runtime/Makefile lines.
	* configure: Build testsuite directory.

Wed Feb  2 13:37:56 1994  Bill Cox  (bill@rtl.cygnus.com)

	* configure: Correct srcdir for chill.examples directory.

Wed Feb  2 11:24:57 1994  Wilfried Moser  (fs_moser at rcsw47)

	* ch-parse.y (rule call): Add
	      BUFFERNAME LPRN untyped_expr RPRN
	  to enable generating a descriptor same as for SIGNALS.
	* ch-tasking.c (generate_tasking_code variable,
	  decl_tasking_code_variable): Implement overflow check of
	  taskingcode in case a tasking code is specified with the
	  compiler directives SIGNAL_CODE, BUFFER_CODE, EVENT_CODE or
	  PROCESS_TYPE.

Wed Feb  2 09:31:37 1994  Bill Cox  (bill@rtl.cygnus.com)

        * configure: Add ${srcdir} to Makefile.in's path.
	* loop.c: Delete unused whitespace.

Tue Feb  1 17:09:41 1994  Bill Cox  (bill@rtl.cygnus.com)

	* expr.c (string_char_rep): Process STRING_CST correctly.

Tue Feb  1 15:29:28 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* expr.c (build_boring_bitstring):  New function.
	* expr.c (build_chill_repetition_op):  Fix a number of bugs in
	implementation of bitstring repetition.
	Also, implement repetition of Booleans.

Tue Feb  1 15:28:21 1994  Bill Cox  (bill@rtl.cygnus.com)

	* configure: Delete code to check for gas or ld.  Add code to
	  store a config.status file in each configured subdirectory.
	* expr.c (): Spell concatbitstring as concatps, which is the
	  runtime routine name.
	* regression.sh: Force use of GNU make.

Tue Feb  1 15:22:12 1994  Bill Cox  (bill@rtl.cygnus.com)

	* tasking.c: Mark compiler-generated temps to prevent
	  GRANTing them.

Tue Feb  1 17:38:51 1994  Wilfried Moser  (fs_moser at rcsw1j)

	* lex.l (equal_number): Improve check for number after = in a
	  compiler directive.
	* tasking.c (build_tasking_struct): Make field TaskValue
	  pointer to chill_unsigned_type_node.
	* tasking.c (generate_tasking_code_variable): Declare tasking
	  code variable as chill_unsigned_type_node.
	* tasking.c (decl_tasking_code_variable): Declare tasking
	  code variable as chill_unsigned_type_node.

Mon Jan 31 14:01:58 1994  Bill Cox  (bill@rtl.cygnus.com)

	* addtest (update_Makefile): No longer build actions - they're
	  now in pattern rules.
	* ch_makedepend: Do the grep first, to avoid processing non
	  USE_SEIZE_FILE lines.
	* configure: Pervasive rewrite to support configuring regression
	  test directories.

Mon Jan 31 04:35:53 1994  Michael Tiemann  (tiemann@blues.cygnus.com)

	* typeck.c (build_chill_slice): Compute EXTENT correctly.

Sun Jan 30 14:33:12 1994  Bill Cox  (bill@rtl.cygnus.com)

	* tasking.c (build_gen_inst): Return a typed tuple with
	  INSTANCE type.

Sun Jan 30 12:01:07 1994  Bill Cox  (bill@rtl.cygnus.com)

	* actions.c (chill_expand_assignment): Recognize LENGTH builtin
	  in the left hand side, pass it to
	  expand_varying_length_assignment.
	  (expand_varying_length_assignment): Clean up bitrot.
	* convert.c (convert): Revert most recent change.
	* loop.c (maybe_skip_loop): New function, split out of
	  begin_chill_loop.  Add conditional to skip processing an empty 
	  VARYING array.
	* parse.y (assignaction): Delete code to recognize LENGTH
	  on left-hand-side.
	* typeck.c (validate_varying_array_ref): Correct misleading comment.

Sat Jan 29 10:54:06 1994  Michael Tiemann  (tiemann@blues.cygnus.com)

	* typeck.c (build_chill_slice): Pass a valid identifier to
	`get_unique_identifier'.

	* convert.c (convert): Rename LENGTH variable to MAXIDX, and
	use correct value for VAR_LENGTH when initializing a varying array.

	* decl.c (do_decl): Set DECL_COMMON.

	* actions.c (check_range): Temporarily inhibit warnings so the
	compiler doesn't warn the user about useless range checks that it
	might create.  It's far easier for the compiler to figure out that
	a range check need not be done than it is for us to try to figure
	it out for ourselves.

	* expr.c (build_concat_expr): Generalize to handle bitstrings.
	(scalar_to_string): New function.
	(chill_expand_expr): Handle SET_TYPEs in CONCAT_EXPR by using new
	library call (__concatbitstring).

Sat Jan 29 08:43:54 1994  Bill Cox  (bill@rtl.cygnus.com)

	* ch_makedepend: Fix the 'sed' command so that seize file
	  name can be delimited by double quotes as well as apostrophes.

Thu Jan 27 17:26:19 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* typeck.c (my_build_array_ref):  Do constant folding.

Thu Jan 27 16:24:24 1994  Bill Cox  (bill@rtl.cygnus.com)

	* actions.c, actions.h, ch-tree.h, chill.texi, convert.c,
	  decl.c, except.c, expr.c, grant.c, inout.c, lang.c,
	  lex.h, lex.l, loop.c, parse.y, tasking.c, tasking.h,
	  tree.c, typeck.c: New 'Copyright' line for 1994.

Thu Jan 27 14:12:07 1994  Mike Stump  (mrs@cygnus.com)

	* configure: Don't configure this directory with this configure,
	just subdirectories and cleanup.
	* Makefile.in (Makefile): Run config.status in parent directory,
	if we need rebuilding.

Thu Jan 27 10:37:33 1994  Bill Cox  (bill@rtl.cygnus.com)

	* decl.c (bind_sub_modules): Need a parameter on the recursive call.
	  Thanks, Zoo!	

Thu Jan 27 10:37:33 1994  Bill Cox  (bill@rtl.cygnus.com)

	* expr.c (build_concat_expr): Fix SunOS portability problem.

Wed Jan 26 14:57:39 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* convert.c (digest_powerset_tuple):  New function, used to set
	TREE_CONSTANT and TREE_STATIC properly.
	(digest_structure_tuple, convert (NULL to instance, non-varying
	to varying)):  Set TREE_CONSTANT and TREE_STATIC when appropriate.
	* expr.c (varying_to_slice):  Preserve novelty of slice type.
	* expr.c (build_concat_expr):  Make sure class of result is
	correct (including correct novelty).
	* satisfy.c (safe_satisfy_decl):  If value of CONST_DECL is
	not TREE_CONSTANT, emit an error.
	* typeck.c (build_chill_slice):  Preserve novelty of result.
	* typeck.c (build_chill_slice):  Simplify for varying argument
	(by using varying_to_slice).
	* typeck.c (expand_constant_to_buffer, extract_constant_from_buffer):
	New functions.
	* typeck.c (build_chill_cast): Use above new functions to convert
	constant expressions.
	* typeck.c (copy_novelty), ch-tree.h:  New function.
	* chill.texi:  Update for new constant conversion semantics.

Tue Jan 25 14:00:02 1994  Wilfried Moser  (fs_moser at rcsw1j)

	* ch-decl.c (init_decl_processing): Add new builtin function
	  DESCR. Add call to build_chill_descr_type.
	* ch-expr.c: Add function build_chill_descr_type, which actually
	  build the type the DESCR builtin returns.
	  Add function build_chill_descr, which process the DESCR builtin.
	* ch-expr.c (build_chill_length): Add code to enable
	  LENGTH (bitstring). 
	* ch-expr.ch (build_generalized_call): Add processing of DESCR
	  builtin.
	* ch-grant.c: Add code to avoid producing of unnecessary grant
	  files.
	* ch-tree.h: Add enum for builtin function DESCR. Add prototype
	  for build_chill_descr.
	* ch-inout.c (build_chill_io_list_type): Change generation of the
	  type passed to runtime library according to the new definition.
	* ch-inout.c (build_chill_writetext): Change processing of format
	  string that a character constant is allowed as format string if
	  compiler gets called with -fold-strings option.
	* ch-inout.c (build_chill_writetext): Change processing of
	  integers in case NEWMODE x = INT.
	* ch-inout.c (build_chill_writetext): Remove processing of ranges.
	* ch-inout.c (build_chill_writetext): Add processing of
	  bitstrings.

Tue Jan 25 09:07:10 1994  Mike Stump  (mrs@cygnus.com)

	* Makefile.in (all, OBSTACK): Build interesting things be default,
	and make sure we include OBSTACK.

Sun Jan 23 12:35:38 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* grant.c (decode_constant):  Handle RANGE_EXPR.
	Simplify handling of CONSTRUCTOR.

	* typeck.c (build_chill_slice):  Use build_chill_array_ref_1,
	not build_chill_array_ref.

Sat Jan 22 16:23:30 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* parse.y:  Generate a RANGE_EXPR (instead of a confusing
	TREE_LIST) to indicate a range in case and tuple lables.
	* actions.c (chill_handle_case_label), convert.c (digest_constructor):
	Update accordingly to handle these RANGE_EXPRs.
	* satisfy.c (satisfy):  Don't call finish_chill_binary_op
	for a RANGE_EXPR.

Fri Jan 21 15:39:36 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* expr.c (force_addr_of):  New function, to encapsulate passing
	by reference a powerset or string  to a library function.
	* expr.c (build_min_max, build_set_expr):  Use force_addr_of.
	* expr.c (chill_expand_expr case CONCAT_EXPR):  Fix passing of
	rtl modes.  (Old code fails on 64-bit Alpha.)
	* expr.c (build_chill_function_call):  Remove bogues check for
	READonly variable passed as parameter.
	* expr.c (build_set_expr):  Merge common code.
	* parse.y (string repetition):  Fix logic for 2-pass scheme.
	* expr.c (finish_chill_binary_op), grant.c (decode_constant),
	satisfy.c (satisfy):  Handle REPLICATE_EXPR.
	* chill.texi:  Fix typo.

Mon Jan 17 13:55:48 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)

	* Makefile.in (INCLUDE): Add -I$(srcdir)/ch so that toplevel
	tree.c can find ch-tree.h.

Sat Jan 15 15:34:11 1994  Mike Stump  (mrs@rtl.cygnus.com)

	* configure: Fix problem so that building in a separate directory
	works.

Sat Jan 15 09:51:02 1994  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Recurse down into runtime to
	  create its Makefile, and to clean up.
	* configure: Recurse into runtime to make its Makefile.

Sat Jan 15 09:15:22 1994  Bill Cox  (bill@rtl.cygnus.com)

 << This set of CHILL frontend sources is now the
    maintainable and master set. Accept no substitutes! >>
	* Makefile.in, configure: Completely rewritten
	  to be invoked by gcc/Makefile.in and 
	  gcc/configure.
	* addtest (update_ChangeLog): Fix insertion
	  of the '*'.
	* regression.sh: Add global option to suppress results of
	  proprietary tests.
	* cpy.sh: Add necessary edits to files as they
	  are copied down.
	* actions.c, ch-tree.def, ch-tree.h, convert.c,
          decl.c, except.c, expr.c, grant.c, inout.c,
	  lang.c, lex.h, lex.l, loop.c, parse.y,
	  satisfy.c, tasking.c, typeck.c: Latest
	  versions from the repository. 

Fri Jan 14 12:28:39 1994  Bill Cox  (bill@rtl.cygnus.com)

	* addtest: Fix insertion of line into ChangeLog.
	* configure: Add a script.
	* Makefile.in: Hack from ../Makefile.in
	* actions.c, convert.c, decl.c, expr.c, grant.c, inout.c,
	* lex.l, loop.c, parse.y, satisfy.c, typeck.c: Latest sources.

Mon Jan 10 11:38:07 1994  Bill Cox  (bill@rtl.cygnus.com)

	* build-release: Rewrite for easier tailoring.

Wed Jan  5 08:38:21 1994  Bill Cox  (bill@cygnus.com)

	* actions.c, convert.c, decl.c, except.c, expr.c,
	  inout.c, loop.c, parse.y, satisfy.c, typeck.c:
	  Current versions from devo/gcc.

Wed Dec 29 14:07:10 1993  Bill Cox  (bill@rtl.cygnus.com)

	* addtest: Don't add comment headers to source or .dat files
	  if they're already present.

Wed Dec 29 13:15:11 1993  Bill Cox  (bill@rtl.cygnus.com)

	* mktg_leads: New file.
	* regression.sh, regression.awk2: Updated status report scripts.
	* addtest: New script to add a test to a directory.
	* ch_makedepend: Add full path to ch_decomment.
	* actions.c, convert.c, decl.c, expr.c, grant.c, inout.c,
	  lex.l, loop.c, parse.y, satisfy.c, tasking.c, typeck.c:
	  Updated copies of actual sources.
	* chill.brochure, chill.texi: Update with current status.
	* cpy.sh: Script for updating copies of sources.
	* chill.patches: New script for creating a patch release.
	  Pretty rough.

Wed Dec  8 09:35:54 1993  Bill Cox  (bill@rtl.cygnus.com)

	* build-release: Delete lots of unused regression-testing cruft.
	* chill.brochure: Initial draft of marketing brochure.
	* chill.patches: Preliminary script for building patch sets
	  for CHILL.
	* tcov.awk, tcov.el, tcov.sh: New files. Script, tools for
	  building a tcov report on the CHILL compiler.

Sun Nov 21 08:34:33 1993  Bill Cox  (bill@rtl.cygnus.com)

        * Makefile.in: Adjust gperf rule for names in this directory.
	* ch_decomment.l: New file.  Ignores CHILL comments.
	  Executable is used bu ch_makedepend.
	* ch_makedepend: New script.  Makes CHILL dependencies for
	  Makefiles.
	* gperf, hash.h: New files about lexer tokens.
	* regression.sh: Delete notes justifying non-summing
	  report rows.
	* regression.awk2: Report PRMS status when there are
	  missing test results.
	* regression.awk3: Add #! line, so this can be used separately.
	* Other files: latest versions copied from devo/gcc.

Sat Oct 30 15:02:24 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* chill.texi:  Add new node about conversions. 

Fri Oct 29 14:17:31 1993  Bill Cox  (bill@cygnus.com)

	* chill.regress.cron: Change path to executable, enable PR report.
	* regression.awk2: Add terminating periods to messages.
	* regression.sh: Change path to testsuites.  Add disclaimer at end
	  of report.  Print explicit lists of resolved/unresolved PRs.

Thu Oct 28 09:22:20 1993  Bill Cox  (bill@rtl.cygnus.com)

	* regression.sh: More PR-related status is printed.

Thu Oct 21 19:24:02 1993  Bill Cox  (bill@rtl.cygnus.com)

	* regression.sh: Simplify the paths, make the source
	  and test files accessed separately from the executables.

Wed Oct 20 16:35:30 1993  Bill Cox  (bill@rtl.cygnus.com)

	* regression.sh: Finally fix the file-delete problem.
	  Thanks, Jeffrey!
	* build-release: Make more verbose, fix comment.

Mon Oct 18 00:21:24 1993  Bill Cox  (bill@cygnus.com)

	* regression.sh: Build linker if -U option.  Put stderr
	  into make.log files, too.  Also report on Z.200 examples.
	* regression.awk3: New script to help build release note.

Fri Oct 15 16:33:54 1993  Bill Cox  (bill@cygnus.com)

	* regression.sh, regression.prpt: Output PR status only
	  conditionally.  Add command-line flag for CVS updates.

Thu Oct 14 07:53:59 1993  Bill Cox  (bill@rtl.cygnus.com)

	* regression.sh: Count PRs accurately.
	* Makefile.in: New file.

Sat Oct  9 19:46:58 1993  Bill Cox  (bill@rtl.cygnus.com)

	* regression.awk?: Add program fragments for
	  report of PRMS/test exceptions.
	* regression.sh: Add options and PRMS reports.

Fri Oct  8 06:44:41 1993  Bill Cox  (bill@rtl.cygnus.com)

    Create chill frontend directory, populate it.
    Later, the chill-specific frontend files will be moved here.

	* chill: Moved here from gcc directory.
	* chill.regress.cron: Add crontab file for regression tests.
	* regression.sh: Add regression test control script.

#
# What follows is a copy of the former devo/gcc/ChangeLog.Chill file,
#
Sat Jan 15 14:54:07 1994  Bill Cox  (bill@rtl.cygnus.com)

	* ch-*.*: All of these files are now moved to the ch subdirectory.
	Further update changes should be recorded in the ch/ChangeLog file.

Fri Jan 14 21:09:44 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* c-typeck.c, ch-actions.c, ch-convert.c, ch-decl.c, ch-except.c,
	ch-satisfy.c, ch-typeck.c:  Undo all of initializer-related changes
	that Tiemann did earlier this month.
	* c-typeck.c (really_start_incremental_init):  Save
	constructor_elements and (old value of) constructor_stack
	on constructor_stack, to allow for nested initializers.
	* ch-convert.c (digest_constructor):  If we need a varying
	array, and have a constructor (for the array elements),
	make sure to use convert so that the constructor gets
	wrapped in an implicit record constructor.
	* ch-decl.c (do_decl):  If there is no initializer for a
	varying array (or bitstring), create default constructor.

	* ch-expr.c (build_chill_lower):  Fix thinko for ARRAY_TYPE.
	* ch-satisfy.c (safe_satisfy_decl):  Make sure that we make
	original decl to check if we need to make an rtl.

	* ch-typeck.c (build_chill_array_ref_1), ch-tree.h:  New function
	which does the actual work for build_chill_array_ref (which
	now just loops over an argument list).
	* ch-actions.c, ch-expr.c, ch-inout.c:  Use build_chill_array_ref_1
	instead of build_chill_array_ref where appropriate.
	* ch-actions.c, ch-expr.c, ch-typeck.c:  Make operand 1 of a
	VARY_ARRAY_REF is a single index, not an index list.

	* ch-grant.c (__init_list):  Renamed to _ch_init_list, to
	avoid a conflict on the Alpha.

Wed Jan 12 10:19:35 1994  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lex.l (WS): Add BS, VT and CR to definition of 
	  whitespace.
	  (convert_number): Allow for uppercase hex digits.

Tue Jan 11 19:43:55 1994  Bill Cox  (bill@cygnus.com)

	* ch-actions.c (lookup_and_handle_exit): Correct
	  conditional so error messages are output.
	* ch-expr.c (build_chill_addr_expr): Add error message.
	* ch-grant.c (chill_finish_module_code): Avoid abort by
	  giving the init_list constructor a type.
	  (chill_finish_compile): Delete unused code.
	* ch-lex.l: Make most build_init_2 calls from the
	  permanent obstack, so that enumeration values endure.
	* ch-loop.c (build_chill_iterator): Add several error
	  messages.

Tue Jan 11 12:31:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-expr.c, ch-typeck.c:  Rewrite some instances of
	'struct ch_class class = chill_expr_class (expr);' to
	'struct ch_class class; class = chill_expr_class (expr);'
	to work around a bug in /usr/ucb/cc on SunOS4.

Mon Jan 10 18:29:36 1994  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (chill_convert_for_assignment): Avoid seg fault.
	* ch-expr.c (expand_packed_set): Add new parameter to pass
	  set's minimum ordinal value.  Fix loop invariant problem.
	  (fold_set_expr): Change to add new parameter to 
	  expand_packed_set call.
	* ch-grant.c: Move extern declaration to ch-tree.h.
	* ch-lex.l (convert_bitstring): Also output the bitstring
	  if yydebug is set.
	* ch-tree.h: Add prototype.

Mon Jan 10 11:29:41 1994  Bill Cox  (bill@rtl.cygnus.com)

	* ch-inout.c: Fix comment.
	* ch-tree.h: Add prototype.

Sun Jan  9 18:22:22 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-tree.h (chill_expr_class):  New prototype.
	* ch-expr.c (build_chill_pred_or_succ, build_chill_unary_op):
	Convert result to correct class.
	* ch-expr.c (build_chill_repetition_op):  Preserve CH_DERIVED_FLAG.
	Also, fix some bugs for bitstrings (with ranges).

	(Patches from Tiemann.)
	* ch-convert.c (convert1):  New function to force TREE_TYPE.
	(convert):  Use convert1 where appropriate.
	* ch-typeck.c:  Formatting change.
	* ch-parse.y (build_chill_constructor):  Fix thinko.

	* ch-expr.c (varying_to_slice):  If array is not referable,
	call save_expr on it, rather than stabilize_reference.
	* ch-satisfy.c (safe_satify_decl, for CONST_DECL):
	Don't force value to value class if mode is not explicitly
	specified.  Also, make sure convert etc is only done once.

Sat Jan  8 16:37:10 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (build_chill_function_type):  Don't call
	build_function_type, because it does hash canonicalization,
	which once in a while looses badly.
	* tree.c (build_function_type):  Remove no-longer-needed test
	for doing_chill_thang.

	* ch-tree.h (CH_DERIVED_FLAG):  New flag.
	* ch-tree.h (enum ch_expr_class):  Renamed to ch_class_kind.
	(struct ch_class):  New type, used to represent a Chill
	'class' as a first-class value.
	(CH_ROOT_RESULTING_MODE):  Replaced by CH_ROOT_RESULTING_CLASS.
	* ch-typeck.c (chill_expr_class):  Change interface to return
	a struct ch_class.
	(chill_compatible, chill_compatible_classes):  Update accordingly.
	(chill_root_resulting_mode):  Replace by ....
	(chill_root_resulting_class):  ... new function.
	* ch-convert.c (convert_to_class):  New function.
	* ch-decl.c (layout_enum):  Mark enum values with CH_DERIVED_FLAG.
	* ch-lex.l (string_or_int):  Rename to string_or_char.
	* ch-lex.l (build_chill_string, string_or_char, convert_bitstring,
	convert_float, convert_number):  Set CH_DERIVED_FLAG for literals.
	* ch-expr.c (finish_chill_binary_op):  Use convert_to_class.
	* ch-satisfy.c (safe_satisfy_decl):  For CONST_DECL, make sure
	DECL_INITIAL gets set to result of convert.
	Also, clear CH_DERIVED_FLAG for SYN value.
	* expr.c (store_constructor):  If a [power]set is exactly one
	word long, use single-word move.

Sat Jan  8 08:38:29 1994  Michael Tiemann  (tiemann@blues.cygnus.com)

	* c-typeck.c (chill_initializer_constant_valid_p): Fix typo.

Wed Jan  5 05:18:46 1994  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-typeck.c (build_chill_slice_with_length): Test that ARRAY is of
	ARRAY_TYPE before assuming so.  Also, subtract 1 from LENGTH in
	computation of SLICE_END.

	* ch-typeck.c (chill_location): Treat CONSTRUCTORs like STRING_CSTs.

	* ch-expr.c (build_chill_indirect_ref): Handle MODE == NULL_TREE.

	* ch-expr.c (fold_set_expr): Handle OP1 == NULL_TREE (which happens
	for unary set operations).

	* ch-expr.c (build_chill_array_expr): Take new argument FORCE.  All
	callers changed.  All callers changed.

	* ch-convert.c (digest_structure_tuple): Handle SELECTED_VARIANT
	being NULL_TREE until we've started walking the list of values via
	the loop over VARIANTs.

	* ch-parse.y (build_chill_constructor): If we see an IDENTIFIER_NODE,
	treat it as an enum value (and hence constant).  Also, only set
	TREE_STATIC if the constructor is indeed constant.
	* c-typeck.c (chill_initializer_constant_valid_p): If we see a
	VAR_DECL, test the TREE_CONSTANT field of the DECL_INITIAL, don't
	recurse on the DECL_INITIAL.

Wed Jan  5 01:24:50 1994  Bill Cox  (bill@cygnus.com)

	* Makefile.in: Add CHILL to LANGUAGES variable.
	* ch-actions.c (check_range): Call build_binary_op instead of
	  fold, build to get the common types chosen.
	  (cond_range_exception, cond_overflow_exception,
	   cond_type_range_exception): Delete, obsolete.
	  (chill_convert_for_assignment): Enable this, get particular
	  about when to generate rangecheck code.
	* ch-expr.c (build_chill_function_call): Sketch in where to
	  perform chill_convert_for_assignment on actual parameters.
	  (build_chill_addr_expr): Correct compiler warning.
	* ch-loop.c (build_chill_iterator): Add runtime check for
	  negative loop step expression.
	* ch-tree.h: Add prototype.
	* ch-typeck.c (chill_max_vary_array_ref): Correct misunderstanding.
	  A varying array's length field counts the NUMBER of active array
	  array entries, not the byte-length of them.

Tue Jan  4 17:57:39 1994  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-decl.c (do_decl): Call `suspend_momenary' if the
	converted constructor must live on the permanent_obstack.
	* ch-convert.c (convert): When building a new SET_TYPE
	constructor, re-set the TREE_CONSTANT and TREE_STATIC bits.
	* c-typeck.c (chill_initializer_constant_valid_p): Handle VAR_DECLs.

	* ch-typeck.c (chill_location): CONSTRUCTORS that are static
	are locations.
	* ch-satisfy.c (safe_satisfy_decl): Convert DECL_INITIAL of CONST_DECL
	on permanent_obstack if necessary.

	* ch-convert.c (digest_structure_tuple): When building a new SET_TYPE
	constructor, re-set the TREE_CONSTANT and TREE_STATIC bits.

	* ch-decl.c (do_decl): Fix handling of REFERENCE_TYPEs which
	the patch below helped to mess up.

	* ch-expr.c (build_chill_arrow_expr): Call `mark_addressable'.
	(build_chill_addr_expr): Take new argument ERRORMSG.
	All callers changed.  Also, call `build_chill_addr_expr' where
	we used to call `build1 (ADDR_EXPR, ptr_type_node, ...)' since
	that now calls `mark_addressable' automagically.

	* ch-decl.c (do_decl): Keep OPT_INIT in DECL_INITIAL if possible.
	This is needed because variables may appear in initialization
	statements, and their DECL_INITIALs are their values at
	initialization time.
	* ch-convert.c (digest_structure_tuple,digest_constructor): Changed
	to handle VAR_DECLs as initializers.

	* ch-convert.c (digest_structure_tuple): Copy elements of INITS so
	they aren't destroyed for later use.

Tue Jan  4 15:25:30 1994  Bill Cox  (bill@cygnus.com)

	* ch-expr.c (chill_expand_expr): Correct check-range lo_limit
	  parameter for varying_array_ref calculations.
	  (build_chill_indirect_ref): Prevent seg fault due to syntax error.
	* ch-typeck.c (build_chill_slice_with_range): Correct issuance
	  of bogus error in votrics.
	  (build_chill_slice_with_length): Change for debug tracability.

Tue Jan  4 02:43:37 1994  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-convert.c (digest_structure_tuple): Fix phasing problem in
	handling variant record initializers.
	(various places): Change `pop_init_level' calls to match
	`push_init_level' wrt implicit variable.

	* ch-typeck.c (build_chill_slice): Convert the dynamic max index to
	`integer_type_node' before using it in comparisons.  FIXME: should
	this be done in `chill_max_vary_array_index' by default?

Tue Jan  4 00:24:14 1994  Bill Cox  (bill@cygnus.com)

	* ch-actions.c: Fix comments.
	* ch-parse.y: Define caseaction_flag.
	  (caseaction): Create new caseaction_flag node at the start, 
	  then free it at the end.  Check it before the ELSE code.
	  (expanded_case_label): Check the flag here.  If set in either
	  place, generate a jump to the end of the case.
	* ch-typeck.c (build_chill_slice_with_length,
	  build_chill_slice_with_range): Add lots of compile-time
	  parameter range checking.

Mon Jan  3 21:49:04 1994  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-convert.c (digest_structure_tuple): Call `push_init_level' with
	implicit==0 everywhere, not 1.
	(digest_constructor): Ditto.

	* ch-actions.c (check_range): Permit limits to be NULL_TREE.
	Also, hack out some dead code.
	* ch-typeck.c (build_chill_slice): Check varying and non-varying
	slice constructs for range failures.
	(build_chill_slice_with_range): Reindented, but not changed.

	* ch-typeck.c (chill_max_vary_array_index): New function.
	* ch-expr.c (chill_expand_expr): Call it.

	* ch-decl.c (var_data_id, var_length_id): New variables.
	(init_decl_processing): Initialize them.  All calls to
	get_identifier (VAR_LENGTH or VAR_DATA) are now replaced
	by references to these variables.  This simplifies the code
	w/o obscuring anything.

Mon Jan  3 21:24:44 1994  Bill Cox  (bill@cygnus.com)

	* c-typeck.c: Fix comment.
	* ch-actions.c (chill_expand_assignment): Error assigning to 
	  READONLY location.  (PR_3903)  Pass filename, linenumber 
	  to setbitpowerset runtime routine.	
	* ch-decl.c (init_decl_processing): Add filename, linenumber
	  parameters to setbitpowerset prototype.
	* ch-expr.c (build_chill_function_call): Error when passing a
	  READonly location as a LOC or INOUT parameter.
	* ch-parse.y (mode): Correct code marking type as readonly.

Mon Jan  3 19:03:55 1994  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-actions.c (chill_expand_assignment): Disable code that defeats
	building varying array references.
	* ch-expr.c (chill_expand_expr): Add rangecheck code to
	VARY_ARRAY_REF case.
	* ch-typeck.c (build_chill_array_ref): Don't call an `expand_'
	function (in this case, `validate_varying_array_ref') when we're
	doing a `build_' operation.

	* ch-typeck.c (validate_varying_array_ref): Simplify interface
	since INDEX parameter can never meaningfully be an INDEXLIST.
	* ch-actions.c (expand_varying_length_assignment): Caller changed.
	
Mon Jan  3 07:29:45 1994  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-typeck.c (build_chill_cast): Set TREE_CONSTANT on NOP_EXPRs.
	* ch-convert.c (digest_structure_tuple): Switch to permanent_obstack
	if we need to build a CONSTRUCTOR for a SET_TYPE initializer.
	(digest_structure_tuple): If TREE_VALUE (VALUE) == NULL_TREE, don't
	call CH_COMPATIBLE or try to convert it to TREE_TYPE (FIELD).  This
	can happen when constructors are output incrementally.
	* c-typeck.c (initializer_constant_valid_p): Handle SET_TYPEs.
	* varasm.c (output_constant): Handle NOP_EXPRs in SET_TYPE
	CONSTRUCTORS.

Sun Jan  2 08:17:09 1994  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-convert (digest_structure_tuple): Handle SET_TYPEs.  Also, call
	`convert' so we can handle INSTANCE types (and other anomolies)
	correctly.

	* ch-convert.c (digest_structure_tuple): Fixed variant
	structure initialization.  Also fixed a typo (TYPE_NAME
	was being used on a FIELD_DECL instead of DECL_NAME).
	* c-typeck.c (initializer_constant_valid_p): Pass missing
	ENDTYPE argument on recursive call.
	(set_init_field): New function, needed by ch-convert.c change above.

	* ch-decl.c (layout_chill_variants): Added a FIXME next to an
	almost certain typo.

	* ch-expr.c (build_chill_arrow_expr): Call `build1' and set
	TREE_CONSTANT for static references.
	* ch-except.c (chill_start_on): Change calls to
	`build_unary_op' (which is C-specific) to `build_chill_arrow_expr'
	which has CHILL semantics.
	* ch-convert.c (convert): Ditto (albeit in some disabled code).

Sat Jan  1 21:26:43 1994  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-satisfy.c (safe_satisfy_decl): Reorder conditional test of
	TREE_CODE of DECL in case it's altered by actions in the switch.

	* ch-satisfy.c (satisfy): Undo abort added earlier on 1 Jan.  CVS log
	mentions where to find code that triggers this case.

	* ch-actions.c (adjust_parm_or_field): Handle CONSTRUCTORS here as
	well.

	* ch-convert.c (digest_structure_tuple): Push to permanent_obstack if
	we're dealing with a CONSTRUCTOR that is TREE_PERMANENT.
	(digest_constructor): Ditto.

Sat Jan  1 10:29:19 1994  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-parse.y (handleraction,resultaction,assignaction,call): Modified
	so that CONSTRUCTORS are properly handled before being used.

	* ch-convert.c (chill_start_init): New function.  All callers to
	`start_init' changed to call this function instead.
	(digest_struct_tuple): Defend against initialization machinery
	mucking with CONSTRUCTOR_ELTS of CONSTRUCTORs by grokking both
	IDENTIFIER_NODEs and FIELD_DECLs in the TREE_PURPOSE slots.  This is
	needed because CONSTRUCTORS stored in DECL_INITIALs of CONST_DECLs
	can be refered to throughout the compilation unit.  Also remove an
	extraneous call to `process_init_element' erroneously added to the
	variant record sub-loop.
	(digest_constructor): Propagate TREE_CONSTANT and TREE_STATIC to
	CONSTRUCTORS of SET_TYPE.
	* ch-parse.y (build_chill_constructor): Refix typo.  Also set
	TREE_STATIC if at top level.

	* ch-expr.c (build_chill_arrow_ref): Fix yet another case of
	TREE_CONSTANT not being set by calling `build1' when `build_unary_op'
	should have been called.

	* ch-convert.c (digest_struct_tuple): Restore code which tracks 
	field initializations so that the compiler can deduce what variant
	initializations to assume.

	* ch-satisfy (safe_satisfy_decl): Turn on initialization machinery
	when we push into a scope that has a DECL with a CONSTRUCTOR as its
	DECL_INIT.

	* ch-parse.y (build_chill_constructor): Change the name of the
	parameter to something more meaningful.  Fix typo.  Also, handle case
	where element is an untyped CONSTRUCTOR.

	* ch-except.c (finish_handler_array): Set TREE_CONSTANT on
	constant ADDR_EXPRs.
	(chill_start_on): Call `build_unary_op' to set TREE_CONSTANT
	on JBUF_REF (instead of calling `build1' which does not).

	* ch-convert.c (convert): Test LENGTH instead of NEEDED_PADDING.

	* ch-typeck.c (chill_expand_tuple): Deleted.
	* ch-parse.y (primval rule): Don't call `chill_expand_tuple';
	instead, use initialization machinery for CONSTRUCTORS that
	come through here.
	* ch-except.c (finish_handler_array): Ditto for CONSTRUCTORS
	that are created here.
	* ch-satisfy (satisfy): Abort in case we would have called
	chill_expand_tuple.  FIXME: some other code is needed here,
	but I don't know what yet.

	* ch-parse.y (build_chill_constructor): New function to
	propagate TREE_CONSTANT bits to CONSTRUCTORS.
	(untyped_expr rule): Use it.
	(primval rule): Use it.

	* ch-decl.c (do_decl): Call `finish_init'.
	* ch-convert.c (convert): If we spontaneously create a CONSTRUCTOR in
	this function, make sure the initialization machinery is set up.

	* ch-convert.c (digest_structure_tuple, digest_constructor): Add
	missing prototypes.

Fri Dec 31 11:31:01 1993  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-grant.c (chill_finish_module_code): Mark ADDR_EXPR built by hand
	as being TREE_CONSTANT.  Otherwise it gets bounded by the initializer
	code.

	* ch-decl.c (do_decl): Change in CONSTRUCTOR handling due to...
	* ch-convert.c (digest_structure_tuple,digest_constructor): Mostly
	rewritten to work with GCC's initialization code.  The basic change
	was to keep the initializers in sync with the initialization
	machinery that `process_init_element' imposes.  Both of these
	functions now return `void'.
	* ch-convert.c (convert): Changed calls to `digest_...' functions.

	FIXME: the code handling UNION_TYPE (and variant records) has not
	been tested yet.

Fri Dec 31 15:32:56 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lex.l (convert_number): Output the converted number if 
	  yydebug is enabled.
	* ch-parse.y (signaldef): Set ignore_exprs correctly for a 
	  SIGNAL declaration.

Fri Dec 31 13:17:48 1993  Bill Cox  (bill@cygnus.com)

	* ch-parse.y: Cleanup handling of RETURN actions, to distinguish
	  a RETURN without a value (which cannot have an exception
	  handler) from a RETURN with a value (which can).  Eliminate
	  some shift/reduce and reduce/reduce conflicts.

Thu Dec 30 17:42:32 1993  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-inout.c (build_chill_writetext): Deal with 2 cases where
	types returned from `type_for_size' are not expected.  FIXME.
	* ch-decl.c (init_decl_processing): Mark `char_type_node' unsigned.
	This is required when range checking is enabled.

Thu Dec 30 14:28:25 1993  Bill Cox  (bill@rtl.cygnus.com)

	DELAY CASE works now.
	* ch-decl.c (init_decl_processing): Move rest of tasking-related
	  initialization into tasking_init().
	* ch-parse.y (delaycaseaction): Pervasive additions/corrections.
	  (optsetprio): New non-terminal.
	* ch-tasking.c (get_task_name): Delete, obsolete.
	  (build_instance_type): build pointer to instance type also.
	  (build_receive_case_start): Cleanup per -Wall messages.
	  (build_receive_case_label): Move between start and end functions.
	  (build_delay_case_start): Pass SET name and priority also.
	  Generally update to correct functioning.
          (build_delay_case_label): Move between start and end fucntions, 
	  correct its functioning.
	  (build_delay_case_end): Correct the code.
          (tasking_init): Lots of tasking-related code moved here from
	  init_decl_processing.
	* ch-tree.h: Update, add prototypes.

Wed Dec 29 10:13:10 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (build_chill_indirect_ref): Revert change which
	  failed full regression testing.
	* ch-lex.l (name_type_signal): Add debug output.
	* ch-parse.y (structured_variable): Add a debug variable.

Wed Dec 29 02:05:51 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (get_next_decl): Revert change which failed full
	  regression testing.

Tue Dec 28 18:20:14 1993  Bill Cox  (bill@rtl.cygnus.com)

	DELAY actions work now.
	* ch-decl.c: Correct spelling in comments.
	  (get_next_decl): NULL out the decl's TREE_CHAIN before returning
	  it, to prevent accidental access to the remembered_decls.
	  (init_decl_processing): Add wait_event to runtime functions.
	* ch-expr.c (build_chill_indirect_ref): Prevent a syntax error from
	  becoming a seg fault.
	* ch-grant.c: Correct a comment.
	* ch-loop.c: Delete/correct comments.
	* ch-parse.y (delaycaseaction): Add push/poplevel calls.  Turn 'sorry'
	  into rough draft of actual code.
	  (delayaction): Don't make a new scope here, use get_unique_identifier
	  instead.
	  (locdec): process event decls here, too.
	  (mode): Add code to forbid READonly EVENT and BUFFER decls.  Delete
	  code which required EVENTs and BUFFERs to be declared at global scope.
	  (simple_name_string): Add an EVENTNAME.
	* ch-satisfy.c (safe_satisfy_decl): Prevent a syntax error from
	  becoming a seg fault.
	* ch-tasking.c (tasking_setup): Add the event queue's max. length
	  as the 'entry_point' parameter in the list.
	  (build_receive_case_start, build_receive_case_label): Defer
	  calling runtime routine until we know whether we have a signal
	  or a buffer to wait for.
	  (build_delay_case_start, build_delay_case_end, 
	   build_delay_case_label, build_delay_action,
	   process_event_decls): Added functions.
	* ch-typeck.c (chill_similar): Allow all integers of differing
	  precisions to be similar.

Thu Dec 23 18:00:40 1993  Bill Cox  (bill@rtl.cygnus.com)

	* gcc.c (CHILL SPECS): Delete references to -M -MM -MD -MMD
	  options.  Delete C-specific defines.  Disable piping from
	  pre-processor to cc1chill (even if -pipe is specified), since cc1chill
	  rewinds its input for its second pass.  Piping still works
	  from cc1chill to as.

Thu Dec 23 12:31:55 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-tasking.c (decl_tasking_code_variable): Assure that the
	  tasking_code variable is allocated on the permanent obstack.
	  (tasking_setup): Lots of changes - handle EVENT/BUFFER max.
	  queue length (passed as the entry_point parameter).
	  Other changes to variable names to increase 'self-documentation'
	  the only kind GNU CHILL will get, for a while..

Wed Dec 22 10:46:31 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (do_seize): Delete - it's unused.  Fix comments.
	* ch-loop.c (build_chill_iterator): Convert BY expression
	  so loop involving a SET works.  Additional errors generated
	  for numbered SET expression as start or end expression.
	* ch-tree.h: Prototypes for future DELAY functions.
	* ch-typeck.c: Standard indentation.

Tue Dec 21 15:30:57 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-actions.c (build_cause_exception):  New function.
	(expand_cause_exception):  Re-write to use build_cause_exception.
	(check_expression, check_range):  New functions.
	(chill_convert_for_assignment):  New function.
	* ch-expr.c (build_chill_pred_or_succ):  New function.
	(build_chill_succ, build_chill_pred):  Removed.
	(build_generalized_call):  Use build_chill_pred_or_succ.
	* ch-lex.h, ch-lex.l (init_lex):  Add RID_OVERFLOW and RID_RANGEFAIL.
	* ch-lex.l (init_lex):  Use new macro to make more terse.
	* ch-typeck.c (chill_equivalent):  New function.
	Also check that ranges have the same bounds.
	* ch-typeck.c (my_build_array_ref):  Add optional range-checking.
	* ch-typeck.c (chill_location):  Handle COMPOUND_EXPR properly.
	Return 2 if also a referable.
	* ch-typeck.c (chill_referable):  Re-define to use chill_location.
	* ch-tree.h (CH_EQUIVALENT):  Re-defined to use chill_equivalent.

	* dbxout.c (dbxout_type):  Output the type attribute "@S;" to
	distinguish a string from a char array, and to distinguish a
	bitstring from regulat (power)set.  (Needed for Chill.)
	* dbxout.c (dbxout_type):  Only check for baseclasses in
	type.binfo is a vector.  (It is used in Chill for tagged unions.)

Fri Dec 17 09:56:07 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c, ch-convert.c, ch-decl.c, ch-expr.c,
	  ch-grant.c, ch-inout.c, ch-loop.c, ch-parse.y,
	  ch-satisfy.c, ch-tasking.c, ch-tree.h, ch-typeck.c:
	  Fix -Wall problems.
	* ch-actions.c (chill_expand_assignment): Error if assigning
	  a value to a BUFFER or EVENT variable.
	* ch-expr.c (invalid_left_operand): Delete, unused.
	* ch-grant.c (tasking_setup): Call build_enum_tables.
	* ch-inout.c (get_final_type_and_range, build_enum_tables,):
	  New functions.
	  (build_chill_writetext): Lots of changes to support other
	  basic CHILL data types.
	* ch-loop.c (build_chill_iterator): Lots of new code to check
	  the expressions in a STEP loop.
	* ch-tasking.c (rc_state): Add fields to flag SIGNAL and BUFFER
	  names in receivecasealternative.  Generate error messages
	  if they're mixed in the same receive case.
	  (process_buffer_decl): Renamed from build_buffer_decl.
	* ch-tree.h: Fix prototypes.
	* ch-typeck.c (smash_dummy_type): Handle all four kinds of LANG_TYPE
	  correctly.  Thanks Per!

Wed Dec 15 15:05:56 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (push_scope_decls):  Re-arrange some more, so
	that normal SEIZES (without ALL) are handled before SEIZE ALL.

Wed Dec 15 13:01:22 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-loop.c (declare_temps): Calculate end-of-array pointer
	  using correct type (NOT chill_integer_type).
	  (begin_chill_loop): Build loop-bypass expression in the
	  type of the start expression, not in the unsigned type.

Tue Dec 14 15:41:32 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (push_scope_decls):  Re-arrange so that normal
	(non-seize) declarations are proclaim_decl'd *before* we
	handle the ALIAS_DECLs for seizes.  The advantage is
	that we can now test for (an approximation) to the
	'seizeable' concept, thus avoiding duplicate definitions
	when a module has both GRANTs and SEIZE ALL.

	* ch-expr.c (build_chill_arrow_expr): No longer re-write
	addr-of-conversion to pointer-conversion-of-addr.
	* ch-expr.c (build_chill_addr_expr): Re-write to just use
	build_chill_arrow_expr.

Mon Dec 13 16:44:43 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-expr.c (build_chill_addr_expr, build_chill_addr_expr):  Don't re-write 

	* ch-tree.h (chill_root_resulting_mode):  Fix typo (missing '_').

	* ch-expr.c (finish_chill_binary_op):  Use CH_ROOT_RESULTING_MODE
	macro (which works on expressions), rather than CH_RESULTING_MODE
	(which works on modes, and isn't quite correct).
	* ch-tree.h (CH_IS_BOUND_REFERENCE_MODE):  New macro.
	* ch-typeck.c (chill_read_compatible, chill_compatible):
	Use the new macro, which handles NEWMODEs of PTR correctly.
	* ch-typeck.c (chill_similar):  Return 1 rather than 0 for
	dynamic-length array (and string) types (e.g. slices).
	* ch-typeck.c (chill_root_mode):  If the mode has a Novelty,
	just return it as is.  (This is still not 100% correct for
	NEWMODE of RANGEs, but is close enough.)

Mon Dec 13 16:27:06 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y (locdec): Avoid passing IDENTIFIER_NODEs to
	  build_buffer_decl, which then seg faults.
	* ch-tasking.c (build_buffer_descriptor): Move declaration
	  of bufdecl closer to its use.

Mon Dec 13 14:57:55 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (chill_expand_result): Use expand_expr_stmt
	  to avoid C-specific conversions.
	* ch-lex.l (name_type_signal): Rewrite to support BUFFERs and EVENTs.
	* ch-parse.y (sendaction): Delete unused statement, use the 'name'
	  variable.
	* ch-tasking.c: Use expand_expr_stmt to avoid C-specific
	  conversions.
          (build_buffer_decl): Save the tasking_code_variable's decl
	  in the buffer decl tree.
	  (build_buffer_descriptor): Real, working version.

Mon Dec 13 03:13:36 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (print_lang_identifier): Delete code
	  to print buffer size - it's no longer kept here.
	* ch-parse.y (expand_send_buffer): Renamed from
	  build_send_buffer.
	  (locdec): Enable building of a buffer decl.
	  (optresultspec, optresultattr): Add optional
	  result attributes such as LOC.  Semantics
          not enabled yet.
	* ch-tasking.c (expand_send_buffer): Renamed.
	* ch-tree.h (build_send_buffer): Renamed.
	* ch-typeck.c (chill_expr_class): Do more complete,
	  job of classifying expressions.  Thanks, Per.

Mon Dec 13 00:59:30 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-typeck.c (chill_expr_class):  Return CH_DERIVED_CLASS
	for bitstring constants.
	* ch-typeck.c (chill_novelty):  The novelty of an (unnamed)
	range mode is that of its parent mode; the novelty of READ M
	is that of M.

Sat Dec 11 15:14:41 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-expr.c (varying_to_slice):  Call stabilize_reference
	rather than save_expr.
	* ch-typeck.c (build_chill_slice):  Don't emit warning
	if array is a SAVE_EXPR (it is effectively referable).
	* ch-typeck.c (chill_root_resulting_mode):  Handle
	correctly the case that one operand is DERIVED and one is VALUE.

Fri Dec 10 10:00:42 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (decode_decl): Restore code mistakenly deleted.
	  Move instance-handling code to raw_decode_mode.
	* ch-parse.y (formpar): Allow READ modifier in SPEC MODULE.
          Add rough draft of DELAY statement handling.
	* ch-tasking.c (build_event_type): New function.
	* ch-tree.h (build_event_type): Add prototype.
	* ch-typeck.c (smash_dummy_type): Add buffer & event handling.

Wed Dec  8 18:02:26 1993  Bill Cox  (bill@rtl.cygnus.com)

	Parse and grant BUFFER modes.
	* ch-grant.c (raw_decode_mode): Format BUFFER, EVENT modes.
	  Moved from decode_decl.
	* ch-parse.y: Fix several sorry() messages.
	* ch-tasking.c (build_buffer_type): Use a LANG_TYPE to pass the
	  info.

Wed Dec  8 12:59:54 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-actions.c (chill_expand_assignment):  In a multiple
	assignment, check that all the targets are equivalent.

	* ch-typeck.c (chill_l_equivalent, CH_L_EQUIVALENT):  New function
	and macro to (partially) implement the relation l-equivalent.
	* ch-typeck.c (chill_read_compatible):  Implement at least
	initial check of read-only-ness.
	* ch-typeck.c (build_readonly_type):  Fix thinkos.

Wed Dec  8 09:11:46 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (pop_module): Only warn about duplicate grant
	  statements if they inhabit different files, by examining
	  inode numbers.  Only report compatibility problems in pass 1.
	* ch-lex.l (chill_same_grant_file): New function to support the
	  above test.

Tue Dec  7 17:10:36 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (start_chill_function):  Handle attributes in pass 1,
	rather than in pass 2.  (It seems to make more sense that way.)
	* ch-parse.y (procedureattr):  Build attribute list if pass != 2.

	* ch-parse.y (mode):  Don't call build_readonly_type in pass 2.

Mon Dec  6 14:35:31 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	This implements NOVELTY and READONLY checking.
	* ch-tree.def:  Added comment about use of LANG_TYPE.
	* ch-typeck.c (build_readonly_type, smash_dummy_type):  New functions.
	* ch-tree.h: New prototypes.
	* ch-decl.c (push_modedef):  If newmode, lazily "copy" the given mode
	immediately (even if it's just a type name), using a LANG_TYPE.
	* ch-parse.y (mode):  Call build_readonly_type to handle READ.
	* ch-decl.c (find_implied_types), ch-grant.c (raw_decode_mode),
	ch-satisfy.c (satisfy):  Handle a LANG_TYPE.
	* ch-decl.c:  Remove chill_modes_equiv and other unused junk.
	* ch-satisfy.c (safe_satisfy_decl/CONST_DECL):  Better
	mode compatibility checking for SYN declarations.

	* ch-typeck.c (chill_similar):  Be more general when checking set
	modes for similarity - specifically support calling chill_similar
	BEFORE the modes have been satisfied (needed by proclaim_decl).
	* ch-decl.c (proclaim_decl):  Allow duplicate definitions
	of set elements of similar set modes.

	* ch-parse.y (caseaction):  Call language-independent
	expand_start_case rather than c_expand_start_case (which
	doesn't allow chars or booleans).

Sat Dec  4 22:16:19 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (cond_range_exception, 
	  cond_type_range_exception): Check command-line flag before
	  generating code.  Fix comments.
	* ch-expr.c (build_chill_num): Add generation of OVERFLOW
	  code, commented out.
	* ch-loop.c (build_chill_iterator): Comment out
	  exception code generation.
	* ch-parse.y: Delete quasi_signal flag, use 
	  current_module->is_spec_module instead.
	* ch-tasking.c (build_buffer_decl, build_buffer_descriptor):
	  Delete quasi_decl flag.  Look at current_module
	  instead.
	* ch-tree.h: Take quasi_decl flag out of buffer
	  related prototypes.
	* ch-typeck.c (valid_array_index, chill_similar):
	  Comment out runtime range checking for now.
	* expr.c (store_constructor): Fix word-size set problem.
	* varasm.c (emit_set_data): Fix word-size set problem.

Wed Dec  1 19:08:12 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: Delete unused prototype for build_compound_expr.
	* ch-loop.c (begin_chill_loop): Convert operands of the conditional
	  expression to lp->iter_type before expanding it.  Prevents an abort
	  deep in expand_expr and friends.

Wed Dec  1 17:00:44 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (chill_expand_assignment): Comment out strange
	  test and its error message.
	* ch-loop.c (begin_chill_loop): Correct call to generate conditional
	  jump around the loop.
	* ch-typeck.c (build_chill_slice): Call correct temporary generator.

Wed Dec  1 14:19:51 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (cond_exception): Clarify that it generates
	  an exception if the given expression is TRUE.  Make it so, Number One.
	* ch-decl.c (DOLLARS_IN_IDENTIFIERS): Disable these.
	  (print_lang_type): Print max queue size.
	  Add casts to DECL_TASKING_CODE_DECL references.  Fixes a
	  portability problem.
	  (init_decl_processing): Add filename and linenumber arameters
	  to tasking and memory-allocate runtime prototypes.
	* ch-expr.c (finish_chill_binary_op): Check for division
	  by a constant zero.  Replace build_temporary_variable
	  calls with decl_temp1 calls, to decouple from ch-loop.c.
	  (build_chill_succ, build_chill_pred): Sketch code to generate
	  exceptions.  Add error check for numbered set.
	  (build_generalized-call): Correct call for return_memory.
	  Standardize whitespace before left parens.
	* ch-grant.c: Use new macro for checking for BUFFER mode.
	* ch-lex.l (name_type_signal): Add attempts to recognize BUFFER
	  and EVENT names.
	* ch-loop.c (build_temporary_variable): Make static, unavailable
	  to outsiders.
	  (declare_temps): Make user's variable for him/her, in the
	  true Z.200 case, where it hasn't previously been declared.
	  (begin_chill_loop): simplify control flow a bit.
	* ch-parse.y (quasi_locdec): Set/reset quasi_flag.
	  (rccase_label): Delete bogus error checks.  Rough draft of
	  BUFFER-related code.
	  (assertaction): Remove logical negation - it's now in cond_exception.
	  (locdec): Sketch of buffer-related code.
	  (non_array_mode): Add EVENT and BUFFER modes here.  Add setting of
	  set-numbered flag for pred and succ functions.
	  (optqueuesize): Default to integer_zero_node.
	  (simple_name_string): Add BUFFERNAME.
	* ch-tasking.c: Add casts to DECL_TASKING_CODE_DECL references.
	  (build_chill_start_process, expand_send_signal,
	   build_receive_case_start, build_send_buffer): Add filename, linenumber parameters
	  to tasking-related runtime calls.  Sketches of BUFFER mode
	  processing.
	* ch-tree.h: Remove left-hand-side cast in DECL_TASKING_CODE_DECL
	  macro, for portability to non-gcc compilers.  Add prototypes
	  for buffer-related functions.
	* ch-typeck.c: Replace build_temporary_variable calls with
	  decl_temp1 calls, to decouple from ch-loop.c.
	  (chill_similar): Add tests for BUFFER and EVENT modes.

Wed Dec  1 14:05:26 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-actions.c (malloc prototype):  Remove; can cause conflicts.

Wed Dec  1 09:49:58 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (raw_decode_mode): Process a REFERENCE_TYPE.

Tue Nov 30 14:05:23 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (init_decl_processing): Add filename, line number
	  parameters to tasking-related runtime routines.
	* ch-grant.c (decode_decl): Check for BUFFER mode differently.
	* ch-parse.y (BUFFER_CODE, EVENT_CODE): Move token to 
	  lex-only list.
	  (quasi_locdec): Set/reset quasi_decl flag.
	* ch-tasking.c (build_start_process, expand_send_signal,
	  build_receive_case_start, build_send_buffer): Add filename. linenumber to
	  (build_buffer_decl, build_buffer-type): New rough-draft functions.
	  generated runtime routine call.
	* ch-tree.h (CH_IS_BUFFER_MODE, CH_IS_EVENT_MODE): New macros
	  to mark a synchronization mode.  Update the prototypes.
	* ch-typeck.c (chill_similar): Check EVENT or BUFFER modes for
	  similarity.

Tue Nov 30 09:51:47 1993  Doug Evans  (dje@canuck.cygnus.com)

	* cccp.c (main): Add missing chill sanitization.

Sun Nov 28 15:50:10 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-loop.c (initialize_iter_var): Build count expression
	  more robustly.
	  (bottom_loop_end_check): Call emit_line_note.
	  (end_chill_loop): Delete emit_line_note call.
	* ch-parse.y (doaction): Move DO keyword
	  after end_chill_loop call.

Wed Nov 24 08:49:07 1993  Bill Cox  (bill@rtl.cygnus.com)

	* c-typeck.c (c_expand_start_case): Back out previous
	  change.

Tue Nov 23 12:33:50 1993  Bill Cox  (bill@rtl.cygnus.com)

	* c-typeck.c (c_expand_start_case): Allow any CHILL discrete
	  type as a CASE label.

Tue Nov 23 11:37:42 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (grok_chill_variantdefs):  Use NULL as the name
	of variant fields (not __CASE or anything based on it).
	* ch-decl.c (handle_one_parent), ch-expr.c (compare_records):
	Don't check for field name __CASE.

Tue Nov 23 09:37:54 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (grok_chill_variantdefs): Use a unique dummy
	  name for the FIELD_DECL.
	* ch-parse.y (optstartset): More error tests.
	* ch-tasking.c (make_process_struct): Only report error in pass 1.
	  (build_start_process): Remove bogus restriction, allowing
	  an INSTANCE expression as the optset parameter.

Mon Nov 22 17:56:34 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-tree.h (expand_function_end):  Now is takes parameters, not 2.
	* ch-decl.c (finish_chill_function):  Add 3rd parameter to
	call of expand_function_end.

	* ch-expr.c (chill_expand_expr):  For set and strings ops,
	if target is in a register, use a stack temporary (since we must
	take its address).  (Similar to Oct 29 change for store_constructor.)
	* ch-expr.c (resolve_component_ref):  Fix variant field lookups.

Mon Nov 22 14:23:13 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (chill_expand_expr): Assure that emit_library_call
	  parameter 1 and its mode are always in sync.
	  (build_chill_pred, build_chill_succ): Allow pred/succ of a
	  pointer.
	* ch-loop.c (chill_unsigned_type): New function, used instead of
	  unsigned-type, since it understands the chill_integer_type.
	  (decl_iteration_var): Delete, use build_temporary_variable
	  instead.
	  (declare_temps): Use lp->iter_type for the temp evaluations.
	  (initialize_iter_var): More careful calculation, to handle
	  MININT to MAXINT loops w/o overflow/underflow.
	  (begin_chill_loop): Use the original start/end expressions
	  for the loop bypass test.

Mon Nov 22 14:02:06 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-typeck.c (build_chill_slice):  If the argument is
	is constant, use a read-only static variant, as the
	existing algorithm assumes addressability.
	* ch-typeck.c (chill_compatible):  De-reference reference types.
	* ch-typeck.c (layout_chill_range_type):  Set TREE_UNSIGNED.

Sat Nov 20 20:17:15 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (init_decl_processing): Add filename
	  and linenumber to allocate, free memory calls.
	* ch-expr.c (build_allocate_memory_call,
	  (build_allocate_global_memory_call): Add 
	  filename, linenumber to call.
	* ch-loop.c: Complete rewrite for maintainability.

Sat Nov 20 17:30:05 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-except.c:  Make it so that (by default at least) the
	code to push/pop the __exceptionStack is done using library
	functions __ch_link_handler and __ch_unlink_handler.  This
	provides better flexibility (for e.g. multi-threading).

	* ch-decl.c (layout_chill_variants):  Allow (useless) selectors
	even for tag-less variants.

Fri Nov 19 14:32:20 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (init_decl_processing): Add memmove builtin
	  function definition.
	* ch-actions.c (chill_expand_array_assignment): Use memmove
	  call to copy an array or slice across the assignment.

Wed Nov 17 18:23:15 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-satisfy.c (satisfy):  If a CONTRUCTOR already has a
	TREE_TYPE, temporarily clear it before calling chill_expand_tuple,
	to force expansion (processing of the elements).
	* ch-grant.c (decode_constant):  If a tuple (CONTRUCTOR) has
	a mode, write it out.
	* ch-decl.c (init_decl_processing): Add some missing inits.

Wed Nov 17 17:13:20 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-loop.c: Fix unterminated strings in design comments.
	  Add enumeration to the iterator structure for type of loop.
	  unused for now.

Wed Nov 17 16:40:05 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (init_decl_processing): Add long parameters to lots
	  of powerset runtime routines.
	* ch-expr.c (chill_expand_expr): Change parameters to powerset
	  runtimes so bitlengths are long unsigned ints.
	* ch-inout.c (build_chill_writetext): Add filename and linenumber	
	  as runtime parameters, for better error messages.
	* ch-loop.c: general pre-rewrite cleanup.
	* expr.c (store_constructor): Rewrite set interface to
	  setpowersetbits for long bitnumbers, rather than shorts.

Tue Nov 16 13:41:12 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (build_chill_function_call): Stop generating empty
	  copyback statements, which lead to a seg fault.

Tue Nov 16 12:20:17 1993  Per Bothner  (bothner@cygnus.com)

	* ch-satisfy.c (satisfy):  If satisfying a type whose
	TYPE_MAIN_VARIANT is not itself, also satisfy the TYPE_MAIN_VARIANT.
	* ch-actions.c (build_exception_variant):  Remove some crud.
	* ch-actions.c (build_exception_variant), ch-tree.h, ch-decl.c:
	Remove unused first argument.
	* ch-decl.c (start_chill_function):  Call build_exception_variant
	in pass 1, not in pass 2.

Tue Nov 16 11:10:03 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (shadow_record_fields): Call new function
	  build_chill_arrow_expr, which returns a ptr-to-a-type.
	* ch-expr.c (build_chill_arrow_expr): New function, works like
	  build_chill_addr_expr used to do, returning a typed ptr.
	  (build_chill_addr_expr): Now returns unbound ref - analogous
	  to C 'void *'.
	* ch-parse.y (PREDEF_MODEDECL): Delete unused token.
	  (operand6): Call build_chill_arrow_expr.  Reindent a bit.
	* ch-tree.h (build_chill_arrow_expr): New prototype.

Mon Nov 15 16:38:28 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* stor-layout.c (layout_type): If a SET_TYPE needs more than
	INT_TYPE_SIZE bits, use BLKmode (and never DImode).

	* ch-decl.c (start_chill_function):  Set DECL_CONTEXT of params.

Mon Nov 15 14:49:17 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (init_decl_processing): Move tasking stuff (__whoami
	  build_function_call, etc.) to tasking_init.
	* ch-gperf, ch-hash.h: Add ASM keyword.
	* ch-parse.y: Add ASM statement rules.
	  (format_str, text_arg): Delete last rules for WRITETEXT, READTEXT.
	* ch-tasking.c: Move tasking stuff here.

Sun Nov 14 15:50:34 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-parse.y (mode2):  Split into array_mode and non_array_mode
	to resolve layout ambiguity.
	* ch-parse.y (checked_name):  Remove.  Use name_string instead.
	* ch-parse.y (variantdef):  Don't crash if no tag fields.
	* ch-typeck.c (build_chill_array_type):  If varying_p,
	actually do build_varying_struct here (rather than in ch-parse.y).

Fri Nov 12 15:37:45 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-satisfy.c (safe_satisfy_decl): Don't mangle function-local
	static names.  (Let make_decl_rtl generate a unique name.)

Sun Nov 14 13:15:26 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (build_chill_lower, cuild_chill_upper):
	  Rewrite for modes, values, etc.
	* ch-inout.c (build_chill_writetext): Add ability
	  to write out characters.
	* ch-satisfy.c (safe_satisfy_decl): Don't mangle function-local
	  static names.  (Let make_decl_rtl generate a unique name.)
	* varasm.c (unpack_set_constructor): Subtract
	  lower domain value from a bit's index value,
	  to match the runtime and allow powersets
	  with negative lower bounds.

Fri Nov 12 14:00:48 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-inout.c (build_chill_writetext): Save reserved words in
	  uppercase if -fspecial_UC was specified.

Fri Nov 12 13:27:12 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-expr.c (chill_expand_expr, build_concat_expr): Simplify
	string concatenation by treating varying strings as slices.
        (varying_to_slice): New function.
	* ch-typeck.c (build_chill_slice): Changed to support the above.

Fri Nov 12 12:07:28 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-convert.c (convert): Fall through & convert a VARY_ARRAY_REF.
	* ch-expr.c (build_generalized_call): Start module before a
	  writetext action, so its variables are inside the module-level
	  function.
	* ch-loop.c (init_loop_counter): Correct for_u_bound computation
	  for enumeration loop on a varying array.

Thu Nov 11 07:49:53 1993  Bill Cox  (bill@rtl.cygnus.com)

	* cccp.c (main): Disable trigraphs for CHILL.
	* ch-decl.c (grok_chill_fixedfields): Add special_UC
	  to conditional to determine case of reserved words.
	  Make PACK/UNPACK warning more specific.
	* ch-expr.c (build_generalized_call): Enable recognition
	  of WRITETEXT call here.
	* ch-gperf, ch-hash.h: Remove WRITETEXT as a reserved
	  word.  It's only predefined.
	* ch-inout.c: Add special_UC to conditionals
	  to determine case of reserved words.
	  (build_chill_writetext): Change for call from 
	  build_generalized_call.  Add code to format
	  integers.
	* ch-lang.c (lang_decode_option): Add special_UC and
	  special_LC flags and logic to interlock with
	  ignore_case flag.
	* ch-lex.l: Add special_UC to conditionals
	  to determine case of reserved words.
	* ch-parse.y: Delete WRITETEXT as reserved word.
	* ch-tasking.c: Add special_UC to conditionals
	  to determine case of reserved words.
	  (build_instance_type): Make components of INSTANCE
	  unsigned 16-bit integers.
	* ch-tree.h (build_chill_writetext): Fix prototype.
	* ch-typeck.c (build_chill_array_type): Make PACK
	  /UNPACK warning more specific.
	* toplev.c (lang_options): Add -fspecial_LC
	  and -fspecial_UC flags.

Wed Nov 10 02:29:53 1993  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Move ch-hash.h from ch-lex.o
	  rule to ch-lex.c rule, so flex is rerun.
	* ch-actions.c (chill_expand_assignment): Error if
	  user tries to assign to a LHS function.
	* ch-decl.c (grok_chill_fixedfields): Use of PACK
	  /UNPACK is only a warning.
	  (init_decl_processing): Add ADDR as a builtin function.
	* ch-expr.c (build_generalized_call): Add ADDR
	  as a builtin function.
	  (build_chill_addr_expr): Sanity check parameters.
	* ch-gperf: Remove ADDR as a reserved word,
	  make ASM into one.
	* ch-hash.h: gperf'd version of the above.
	* ch-inout.c (chill_stdio_p): Recognize upper/lower
	  case file names.
	* ch-lex.l: Make ignore-case work.  Downcase
	  token before checking for reserved words.
	* ch-parse.y: Delete ADDR as a reserved word.
	  (mode2, optlayout): Allow PACK/UNPACK specifier.
	  (call): Use build_generalized_call for 
	          primval LPRN modename RPRN.
	  (primval): Delete ADDR reference.  It's now only
	  predefined, not reserved.
	* ch-tree.h: Add BUILT_IN_ADDR as a predefined.
	* ch-typeck.c (build_chill_array_type): Just
	  a warning for PACK/UNPACK usage.
	* toplev.c: Add -fignore-case and -fno-ignore-case.

Tue Nov  9 15:07:02 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: Reindent for readability.
	* ch-convert.c (convert): Turn a NULL keyword into [0, 0] for
	  a conversion to INSTANCE.
	* ch-decl.c: Change special_UC to ignore_case everywhere.
	  (init_decl_processing): Add builtin_function calls for lots of
	  predefined functions.
	* ch-expr.c: Change builtin function handlers back to accepting
	  args, not a treelist.  
          (route_to_predefined_function): Delete it and its call.
	  (build_generalized_call): Add lots of builtin functions.
	* ch-gperf (backwards, duration, inttime, null): Delete them.
	* ch-hash.h: New version.
	* ch-inout.c: Change special_UC to ignore_case everywhere.
	* ch-lang.c: Delete special_UC flag.
	* ch-lex.l: Change special_UC to ignore_case everywhere.
	* ch-loop.c (high_domain_value, low_domain_value): Change
	  interfaces to build_chill_upper and built_chill_lower.
	* ch-parse.y: Delete lots of stuff which should only be predefined.
	* ch-tasking.c: Change special_UC to ignore_case everywhere.
	  Change builtin function handlers back to accepting args,
          not a treelist.  
	* ch-tree.h: Add lots of builtin functions to the enumerator.

Mon Nov  8 18:08:27 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-tasking.c (tasking_init): Disable last-minute change for now.

Mon Nov  8 17:30:22 1993  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: New commands to build ch-hash.h.  Add ch-lex.h to
	  dependencies where it's used.
	* ch-decl.c (init_decl_processing): Build predefined constants
	  for TRUE, FALSE and NULL.  Add declaration for abs builtin
	  function.
	  (lookup_name): Check for a CONST_DECL, don't ask about DECL_NESTING
	  stuff for builtin constant like TRUE.
	* ch-expr.c (route_to_predefined_function): Add a bunch of 
	  predefined functions to the list.
	* ch-gperf: Define the list of reserved words, minus the predefined
	  words, using the special_UC flag.  Remove NULL, TRUE, FALSE -
	  these are only predefined, not reserved.
	* ch-hash.h: Check this into repository, even though it's derived
	  from ch-gperf, for those users who don't have gperf.
	* ch-inout.c (build_chill_io_list_type): Use the special_UC flag
	  to refer to the IO types. Standardize the indentation.
	* ch-lex.h: Add enumerators for TRUE, FALSE, NULL.
	* ch-lex.l: Total rewrite of reserved-word recognition, using
	  the ch-hash.h lookup routines.
	* ch-parse.y: Delete a bunch of unused rules for predefined 
	  procedures and their parameters.
	* ch-tasking.c (tasking_init): Build predefined functions
          for COPY_NUMBER, GEN_CODE, GEN_INST, and GEN_PTYPE.  Not
	  complete yet.  Change interface to builtin handlers to accept
	  just an expression list.

Wed Nov  3 18:07:08 1993  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Debug, activate rule to make CHILL hash table.
	* ch-actions.c: Compress parameter type lists per standard.
	* ch-decl.c: Correct spelling in comment, compress parameter lists.
	  (init_decl_processing): Check special_UC flag to build builtin
	  function declarations.
	* ch-expr.c (route_to_predefined_function): Check for upper OR
	  lowercase function names.
	* ch-gperf: Update the list of keywords.
	* ch-inout.c (build_chill_io_list): Check for special_UC flag
	  to build I/O list type.  Compress parameter lists.
	  (chill_stdio_p): Check for special_UC flag in recognizing
	  file streams.
	* ch-lang.c (lang_decode_option): Add command-line options
	  for upper-case keywords and user labels.
	* ch-lex.l (init_lex): Initialize ridpointers to uppercase
	  if special_UC flag is set.
	  (downcase, getlc, check_newline): Don't do this if ignore_case
          flag is set.
	* ch-parse.y (variantdef, case_expr): Report 'sorry' for use of
	  multiple selector expressions.

Sat Oct 30 01:06:19 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-expr.c (compare_record, finish_chill_binary_op): Compare
	STRUCTs (and INSTANCEs) for equality.
	* ch-expr.c (invalid_operand):  New functions, combines most of
	the functionality of invalid_left_operand and invalid_right_operand.
	* ch-convert.c (digest_constructor):  Set TREE_CONSTANT if it is.

Sat Oct 30 11:12:47 1993  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in (chill): Add back in the commands to build chill
	  (the script) from chill.in.

Fri Oct 29 16:25:38 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* expr.c (store_constructor):  If SET_TYPE target is in a register,
	use a stack temporary (since we must take its address).

	* ch-expr.c (build_allocate_global_memory_call,
	build_allocate_memory_call):  Cast argument pointer to PTR,
	if needed (using location cast).  Also, some other cleanups.
	* ch-parse.y (bracketed_action):  Re-arrange things so that
	a handler following BEGIN END comes before the final poplevel.
	* ch-typeck.c (build_chill_cast): Just return if already correct type.

	Re-do DO WITH so that build_component_ref for is done lazily
	(at each reference) instead of eagerly (at the beginning
	of DO WITH).  This is needed for tagged variants,
	* ch-tree.def (WITH_DECL):  New declaration tree code.
	* ch-decl.c (lookup_name):  Recognize WITH_DECLs.
	* ch-decl.c (handle_one_level):  Variant parts are currently
	indicacted with '__CASE'.  Recognize that.
	Generate a WITH_DECL (instead of ALIAS_DECL) for each field name.

Thu Oct 28 22:17:41 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-expr.c (build_chill_length), ch-typeck.c (build_chill_cast):
	Remove some old crud.
	* ch-typeck.c (build_chill_cast):  Another attempt at a
	compromise between robustness and generality for casts.
	Location conversions are now less likely to confuse things.
	* ch-parse.y (optactions):  Allow further optactions following
	an initial semicolon.
	* ch-parse.y:  Add error messages on EVENT and BUFFER.

	* ch-decl.c, ch-expr.c, ch-parse.y, ch-typeck.c:
	Undo some of the Oct 27 changes.

	Convert (some) builtin functions previously using reserved
	names to be just predefined.
	* tree.h (enum builtin_in_function):  Added END_BUILTINS at end.
	* ch-decl.c:  Add predefines for allocate_memory,
	allocate_global_memory, return_memory, writetext.
	* ch-expr.c (check_arglist_length):  New function.
	* ch-expr.c (build_generalized_call):  If "function" is
	a builtin, build the appropriate tree.
	* ch-parse.y, ch-lex.l:  No longer recognize many pre-defined
	functions at the lexer/parser level.
	* ch-tree.h (enum chill_built_in_function):  New type.

Thu Oct 28 16:43:36 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (allocate_memory, allocate_global_memory):
	  Check for invalid parameters, issue errors.
	* expr.c (store_constructor): Calculate bitlength, startrtx
	  and endrtx of powerset correctly.  Define targetx, use it
          and XEXP correctly.

Wed Oct 27 08:25:56 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (build_max_min): Error for passing empty tuple
	  as the argument.

Wed Oct 27 08:25:56 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (init_decl_processing): Make allocate
	  builtins have a pointer-to-pointer-to-void
	  first parameter, rather than a reference parameter.
	* ch-expr.c (build_allocate_memory_call,
	  build_allocate_global_memory_call): Do automatic
	  ADDR () on the first parameter, for backward
	  compatibility.
	* ch-grant.c (grant_one_decl): Don't grant if
	  DECL_SOURCE_LINE is zero.
	  (start_chill_module_code): Set DECL_SOURCE_LINE
	  to zero so that module-level function isn't granted.
	* ch-parse.y (handleraction): Add return_memory action.
	* ch-typeck.c (chill_similar): Allow a void_type
	  to be similar to anything.  This makes allocate_memory
	  and return_memory pointer parameters slide through.

Tue Oct 26 00:12:19 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-typeck.c (build_chill_array_ref): 	Check for and complain
	if there are more index expressions than the array rank.

	* ch-actions.c (chill_expand_assignment):  Emit appropriate
	error message if RHS of multiple assignment is tuple/case/if.
	* ch-tree.def (CONCAT_EXPR):  Change TREE_CODE_CLASS from
	'e' to the more specific '2'.  (Fixes a satisfy bug.)

Thu Oct 21 17:25:33 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y: Revert experimental error-generating change
	  that was checked in by mistake.

Thu Oct 21 12:15:30 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-satisfy.c (safe_satisfy_decl): Satisfy the hidden tasking
	  code variables associated with a process or signal.
	  (Apparently I forgot to actually check these in last time.)
	* ch-tasking.c: Replace last calls to get_tasking_code with
	  working references to DECL_TASKING_CODE_DECL.

Thu Oct 21 10:27:42 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-satisfy.c (safe_satisfy_decl): Satisfy the hidden tasking
	  code variables associated with a process or signal.
	* ch-tasking.c (build_gen_inst, build_gen_ptype): Use the decl's
	  tasking_code_decl pointer, rather than trying to look it up
	  in the hash table or linked scope list.

Wed Oct 20 09:52:44 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (lookup_and_handle_exit): Only output error message
	  in pass 1.
	* ch-convert.c (convert): Correct conversion of VARYING array to/
	  from non-VARYING one.
	* ch-decl.c (print_lang_decl): Add debug output for DECL_TASKING_CODE_DECL
	  field in the node.
	  (decl_tasking_code_var): Delete it.  Its calls are replaced woth
	  generate_tasking_code_variable calls, plus a little glue.
	  (push_extern_process): generate tasking_code_variable as local
	  static variable, point the process' function_decl at it for later 
	  reference by build_start_process.
	  (print_mode): Use CHILL upper-case convention to print modes.
	* ch-lex.l: Must initialize tasking-related trees to NULL at start
	  of each pass, or we lose the fact that the user did or did not
	  specify a value for each of them.
	* ch-parse.y (check_end_label, action, exceptlist): Only output
	  error message in pass 1.
          (sendaction): Add comments.
	  (sigdef): Comment out special handling for external signals.
	  Chain tasking_variable_decl onto signal structure decl, for
	  easier non-symbol-table access later.
	* ch-tasking.c (generate_tasking_code_variable): Do work in both
	  passes, using do_decl so we can pass the pass 2 value of the
	  process_type or signal_code to it.  Only update the process_type
	  if the incoming pointer isn't null and pass == 2.  Use a new
	  parameter to know whether to include an init expression.
	  (build_process_header): Attach tasking-code_variable to process
	  function_decl for easy access later, not through the hash table.
	  (build_start_process): Get tasking_code_variable out of the process'
	  function decl.
	  (build_signal_struct_type): Return the type decl, to be accessed by ...
	  (build_signal_descriptor): .. this function.
	  (build_receive_case_label): Get data buffer pointer not from hash 
	  table, but from Tiemann's current rc_state structure instead.
	* ch-tree.h: Change prototype, fix comment, add DECL_TASKING_CODE_DECL
	  macro for tasking_code_variable storage.

Tue Oct 19 17:39:40 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-lex.l (equal_number):  If the "number" is a CONST_DECL,
	return its DECL_INITIAL.
	* ch-satisfy.c (safe_satisfy_decl):  Change logic for rtl
	generation for decls to not use DECL_ASSEMBLER_NAME.
	* ch-decl.c:  Set DECL_ASSEMBLER_NAME to DECL_NAME.
	This matches C, and allows dbxout to emit proper user-level names.
	(It would be cleaner to fix dbxout to use DECL_NAME ...)
	* ch-decl.c (outer_decls):  New global list of the decls granted
	into the outer scope.
	(pop_module):  Change code that grants into outer scope accordingly.
	(lookup_name_for_seizing):  Similarly update.
	(push_scope_decls):  Handle SEIZE ALL from the global scope
	by searching outer_decls.
	* ch-grant.c (grant_array_type):  Fix thinko.
	* ch-inout.c (build_chill_writetext):  Remove excessive TREE_TYPE.

Mon Oct 18 15:57:00 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* varasm.c (output_constructor):  Add support for non-zero
	lower array bound.
	* c-typeck.c (output_init_element):  Revert recent changes.
	* varasm.c (emit_set_data):  Fix emitting set constant data.
	* ch-lex.l (yywrap):  Reset line number to 0, not 1.
	It sets incremented to 1 by check_newline.
	* ch-tree.h:  Restore old version.
	* ch-expr.c (finish_chill_binary_op):  Convert TRUNC_DIV_EXPR
	to RDIV_EXPR if an operand is floating.  (This functionality
	got dropped when hacking finish_chill_binary_op).

	* ch-actions.c (build_chill_case_expr):  Set type to NULL_TREE.
	not error_mark_node.
	* ch-actions.c (chill_expand_assignment):  Allow such borderline
	constructs as:  LHS OR:= [X].
	* ch-convert.c (convert):  Hande CASE_EXPR (and COND_EXPR)
	with unknown (NULL_EXPR) type, not just CONSTRUCTORS.
	* ch-decl.c (do_decl):  Remove CONSTRUCTOR kludge.
	* ch-typeck.c (chill_compatible):  Allow expr to have NULL mode
	if it's a CASE_EXPR or COND_EXPR (and not just CONSTRUCTOR).

Mon Oct 18 13:20:53 1993  Ken Raeburn  (raeburn@rover.cygnus.com)

	* c-typeck.c (output_init_element): Limit previous changes to
	ARRAY_TYPE and SET_TYPE initializers.

Sun Oct 17 23:15:00 1993  Bill Cox  (bill@cygnus.com)

	* c-typeck.c (output_init_element): Handle NULL domain case.
	* ch-decl.c (do_decl): Revert bogus initializer type change.
	* ch-grant.c (chill_finish_module_code): Put module's decl onto
	  the module_init_list, for chill_finish_compile's possible use.
	  (chill_finish_compile): Rename variables for clarity, add 
	  commented-out code as example for assignment of module address to its
	  init_list entry.

Sun Oct 17 15:16:54 1993  Bill Cox  (bill@cygnus.com)

	* ch-convert.c: Move semicolon to separate line - easier to see.
	* ch-decl.c (do_decl): Handle untyped_expr initializers by
	  simply using the variable's declared type - no compatibility
	  check can be made if the expression has no type.
	* ch-expr.c (expand_packed_set): Fix endless loop - increment
	  the loop variable.
	  (fold_set_expr): Fix two other endless loops by passing
	  correct parameters to unpack_set_constructor.
	* varasm.c: Standardize 'for' loop.

Sun Oct 17 12:16:21 1993  Bill Cox  (bill@cygnus.com)

	* c-typeck.c (output_init_element): Handle initializer for
	  array with non-zero lower index bound.

Sat Oct 16 16:48:48 1993  Per Bothner  (bothner@cygnus.com)

	* ch-expr.c (finish_chill_binary_op):  Use TREE_SET_CODE
	to change TREE_CODE.

Sat Oct 16 08:07:17 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (finish_chill_binary_op): Disable
	  rough-draft code, not intended for release.

Fri Oct 15 21:44:11 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)

	* expr.c (store_constructor): use PROTO for pack_set_constructor

Fri Oct 15 10:30:09 1993  Bill Cox  (bill@cygnus.com)

	* ch-expr.c (finish_chill_binary_op): Activate some 
	  type-setup code.
	* expr.c (store_constructor): Subtract arrays minimum element.
	  Makes orientexpress work.

Fri Oct 15 09:26:24 1993  Bill Cox  (bill@cygnus.com)

	* ch-convert.c, ch-expr.c: Add externs so it'll compile.
	* ch-tree.def: Add BASED_DECL definition.

Thu Oct 14 13:20:02 1993  Bill Cox  (bill@cygnus.com)

	* ch-actions.c (build_chill_cause_exception): Pass the 
	  *address* of the filename string to the runtime routine,
	  rather than passing the string by value.

Thu Oct 14 13:08:07 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* expr.c (store_constructor):  Use a (usually) more efficient
	algorithm for setting SET types.

Thu Oct 14 13:08:07 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	Changes to better support 1984 version of Chill, which doesn't
	really distinguish BOOL and BITS(1) or CHAR and CHARS(1).
	* ch-lang.c, toplev.c, ch-tree.h (flag_old_strings):  New flag.
	* ch-typeck.c (chill_similar):  Support flag_old_strings.
	* ch-convert.c (convert_to_boolean):  Generalize code to
	convert singleton bitstring to Boolean.
	* ch-convert.c (convert):  Use string_one_type_node.
	* ch-convert.c (convert):  Add code to convert Boolean to BOOLS(1).
	* ch-convert.c (convert):  In code that converts fixed string to
	varying use new 'e' variable, rather than original 'expr' variable.
	Allows cascaded conversions:  CHAR -> CHARS(1) -> varying CHARS.
	* ch-decl.c (string_type_node, const_string_type_node,
	int_array_type_node), ch-tree.h:  Removed.
	* ch-decl.c (string_one_type_node, bitstring_one_type_node,
	bit_zero_node, bit_one_node), ch-tree.h:  New globals tree nodes.
	* ch-decl.c (init_decl_precessing):  Remove some junk.
	* ch-expr.c (build_generalized_call):  If flag_old_strings,
	treat string index as string slice.  Also, better error checking.

	Added support for (some kinds of) BASED declarations.
	* ch-tree.def (BASED_DECL):  New tree code.
	* ch-decl.c (lookup_name):  Implement BASED_DECL using
	build_chill_indirect_ref.
	* ch-decl.c (do_based_decls):  Make a BASED_DECL.
	* ch-parse.y:  Call do_based_decls for DCL ... BASED(...).
	* ch-satisfy.c (safe_satisfy_decl):  Handle BASED_DECL.

	Improve handling of set binary operations.
	* ch-expr.c (expand_packed_set):  New function.
	(fold_set_expr):  Re-write.  Simpler, more general algorithm.
	(build_set_expr):  Only used for comparsions now.
	(finish_chill_binary_op):  Handle set ops better (more directly).
	(fold_set_and, fold_set_diff, fold_set_eq, fold_set_or,
	fold_set_ne, fold_set_xor):  Removed.  No longer needed.

	* ch-decl.c:  Remove calls to allocate_lang_decl.
	* ch-tree.c (build_string_type):  If const length, layout immediately.

Mon Oct 11 17:23:02 1993  Bill Cox  (bill@cygnus.com)

	* ch-decl.c (init_decl_processing): Define __whoami and
	  __wait_buffer functions.
	* ch-lex.l (ch_lex_init): Reset tasking numbers to zero.
	* ch-parse.y (sigdef): Add new add_taskstuff_to_list 
	  parameter.
	* ch-tasking.c (get_tasking_code): Search tasking_list for
	  tasking code name match.  Can't use lookup_name.
	  (get_task_name): New function.
	  (generate_tasking_code_variable): Return if pass 1.
	  Always update *tasking_code_ptr.
	  (build_process_header): Add new add_taskstuff_to_list
	  parameter.
	  (tasking_setup): New code to unpack the tasking
	  list entries no built by ..
	  (add_taskstuff_to_list): Accept new parameter,
	  add it to the list.
	* ch-tree.h (add_taskstuff_to_list): Add new 
	  parameter.

Mon Oct 11 14:54:50 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* Makefile.in (cc1chill):  Also link in $(BC_OBJS).

Mon Oct 11 06:28:39 1993  Doug Evans  (dje@canuck.cygnus.com)

	* ch-decl.c (flag_allow_single_precision): New global,
	from ss-931002 merge.

Sun Oct 10 09:11:52 1993  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Remove references to chill.in and
	  ch-hash.h.  Remove bogus cc1chil : chill
	  dependency.

Fri Oct  8 16:00:04 1993  Bill Cox  (bill@cygnus.com)

	* ch-actions.c (adjust_parm_or_field): Add parameter to 
	  decl_temp1 call.
	*ch-decl.c (decl_tasking_code_var): Replace do_decl call with
	  decl_temp1 call.
	  (decl_temp1): Add parameter to signal 'make this external'.
	  (shadow_record_fields): Add parameter to decl_temp1 call.
	* ch-expr.c (chill_expand_case_expr): Add parameter
	  to decl_temp1 call.
	* ch-grant.c (chill_finish_compile): Add code to spoof 
	  get_file_function_name,  so we don't get __tmp_s1_code,
	  for example, as the module-level code's name.
	* ch-loop.c (build_temporary_variable, begin_for_range,
          init_loop_counter): Add parameter to decl_temp1 call.
	* ch-parse.y (quasi_signaldef): Clear quasi_signal flag here,
	  for easier maintenance.
          (sendaction): Rewrite to receive SIGNALNAME token correctly
	  from ch-lex.l (name_type_signal).
	  (signaldef): Don't clear quasi_signal here.
	* ch-tasking.c (generate_tasking_code_variable): Tell decl_temp1
	  to make the variable public (visible to linker).
	  (build_start_process): Add parameter to decl_temp1 call.
	  (tasking_setup): Comment out band-aid hack which calls
	  generate_tasking_code_variable.  Shouldn't be necessary.
	  Use null_pointer_node rather than integer_zero_node in 
	  entry_point.  More rewrites.
	  (build_signal_descriptor): Name the non-signal in the error msg.
	  Rewrite the building of the signal envelope - avoid seg fault.
	  Add parameter to decl_temp1 call.
	  (expand_send_signal, build_receive_case_start,
	  build_receive_case_end, build_buffer_descriptor): Add parameter
	  to decl_temp1 call.
	* ch-tree.h: Add parameter to decl_temp1 proto.
	* chill: Add new CHILL frontend directory

Tue Oct  5 13:51:27 1993  Bill Cox  (bill@cygnus.com)

	* ch-grant.c: Standardize indentation.
	* ch-parse.y (end_function): Unconditionally poplevel for processes.
	* ch-tasking.c (build_process_header): Unconditionally pushlevel.
          (generate_tasking_code_variable): Stop using pass number to
	  force a one-time action.
	* ch-tree.h (build_chill_slice): Delete proto since function went static.

Mon Oct  4 13:52:36 1993  Bill Cox  (bill@cygnus.com)

	* ch-decl.c (decl_tasking_code_var): Use do_decl, since we're
	  called here in both passes.  Set DECL_ASSEMBLER_NAME.
	  (lookup_name_for_seizing): Move NULL test forward to prevent
	  seg fault.
	* ch-expr.c (finish_chill_binary_op): Mode access to TREE_CODE
	  to prevent a seg fault in telebras/dynsto.ch.  Make indentation
	  changes.
	* ch-tasking.c (build_signal_struct): Rename to build_signal_struct_type.
	  (build_send_signal): Rename to expand_send_signal.
	  (generate_tasking_code_variable): Return the var's decl.
	  (build_signal_struct_type): Move generate_tasking_code_variable
	  and add_taskstuff_to_list calls to ..
        * ch-parse.y (sigdef): .. here.  And make indentation changes.
	* ch-tree.h: Rename functions, add return values.

Mon Oct  4 15:43:56 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-convert.c (digest_constructor):  Convert element to element_type.
	* ch-parse.y (end_function):  Use DECL_ARGUMENTS to check
	for parameterless process.

Fri Oct  1 13:57:30 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-typeck.c (chill_location):  New function.
	Based on lvalue_p, but also handle Chill-specific VARY_ARRAY_REF.
	* ch-typeck.c, ch-tree.h (CH_LOCATION_P), ch-convert.c:  Use
	chill_location instead of lvalue_p.


Fri Oct  1 11:28:42 1993  Bill Cox  (bill@cygnus.com)

	* ch-convert.c (convert): Back out Michael's changes, unintentionally
	  checked in.
	* ch-lex.l (handle_use_seizefile_directive): No longer downcase
	  seize file names.
	* ch-parse.y (sendaction): Fix a couple of seg faults.  Comment out
	  SEND BUFFER processing for now.
	* ch-tree.h: Fix comment.

Thu Sep 30 17:00:42 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-tree.h (CH_CHARS_ONE_P, CH_BOOLS_ONE_P):  New macros,
	for recognizing singleton strings.
	* ch-tree.h (MARK_AS_STRING_TYPE):  New macro.
	* ch-tree.c (build_string_type, build_bitstring_type),
	ch-convert.c (convert):  Use it.
	* ch-typeck.c (build_chill_slice):  Take length rather than upper
	bound.  This makes it easier to recognize that A(X UP LENGTH)
	really has fixed length.  Also, if the argument is string,
	mark the slice as a string too.  Also, handle varying strings.

	* ch-typeck.c (conflate_singleton_strings):  New global.
	* ch-typeck.c (chill_similar):  If conflate_singleton_strings is
	set (as it currently is), allow CHARS(1)/BOOLS(1) to be similar
	to CHAR/BOOL, as required by the 1984 version of Z.200.
	* ch-convert.c (convert_to_char):  Convert CHARS(1) to CHAR.
	* ch-convert.c ( build_array_type_for_scalar):  If input is string,
	so is output.
	* ch-convert (maybe_turn_scalar_into_arra), ch-tree.h:  Removed.
	* ch-convert.c (convert):  Convert CHAR to CHARS(1).

	This fixes 'X // := Y' and is also a general simplification.
	* ch-actions.c (chill_expand_assignment):  Convert 'LHS OP := RHS'
	to 'LHS := LHS OP RHS' (using stabilize_reference on LHS).
	Also, call save_expr on RHS if a multiple assignment.
	* ch-parse.y (assignaction):  Therefore, no longer need to call
	stabilize_reference on RHS.
	* ch-typeck.c (build_chill_modify_expr), ch-tree.h:  Remove
	modifycode parameter.  Make it the caller's responsibility to
	handle <assigning operator>.
	* ch-actions.c, ch-decl.c, ch-except.c, ch-expr.c, ch-grant.c,
	ch-loop.c: Fix calls to build_chill_modify_expr accordingly.

Wed Sep 29 18:02:55 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-lang.c (string_index_type_dummy), ch-tree.h:  New variable.
	* ch-decl.c (integer_minus_one_node), ch-tree.h:  New variable.

	* ch-parse.y (arrayindex: modename):  Remove useless code.
	* ch-satisfy.c (satisfy):  Don't gag on string_index_type_dummy,
	* ch-tree.c (build_string_type):  Pass string_index_type_dummy as
	the parent type of the index range.
	* ch-typeck.c (layout_chill_range_type):  Recognize and handle
	string_index_type_dummy - specifically allow an empty range.

Wed Sep 29 13:36:23 1993 1993  Bill Cox  (bill@cygnus.com)

	* ch-convert.c (convert_to_reference): Check for loc-identity
	  mismatches correctly (and remove one of those chill_compatible
	  calls).
	* ch-decl.c (decl_tasking_code_var): New function, called from
	  push_extern_process and push_extern_signal.
	* ch-parse.y (end_function): Delete parameter.  Check current_function_decl
	  whether it's actually a process, and whether it has parameters.
	  Make Michael's change simplifying the pass 2 test, preventing a seg
	  fault.
	  (procedure, process): Change calls to end_function, remove
	  code saving value from build_process_header.  Delete redundant chill_
	  phrases from some function calls.  
	* ch-tasking.c: Remove some redundant _chill phrases from function
	  names.
	* ch-tree.h: Remove some redundant _chill phrases from function
	  names.  Add the CH_VARYING_ARRAY_TYPE macro, call it from
	  all relevant places.
	* ch-typeck.c: Use the new macro.  Cast TREE_CODEs to chill_tree_code.

Wed Sep 29 13:07:43 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-convert.c (convert_to_reference):  Remove redundancies.
	* ch-convert.c (convert):  Handle convert_to_reference
	with a recursive convert call.
	* ch-decl.c (do_decl): Add missing compatibility-checking
	of initializer (don't depend on convert).

Tue Sep 28 00:02:25 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-tree.h (CH_LOCATION_P):  New macro.
	* ch-typeck.c (layout_chill_range_type):  Fix call to
	type_for_size, when figuring out a defaulted parent type.
	* ch-expr.c (build_chill_lower, build_chill_sizeof):  Check
	for TREE_CODE_CLASS != 't' rather than == 'd'.
	* ch-expr.c (build_chill_function_call):  Use CH_LOCATION_P
	to check for location, rather than TYPE_CODE_CLASS == 'd'.

	* ch-tree.c (build_string_type):  Make 2-pass safe.  Also,
	change parameter to be length, not index type.
	* ch-parse.y (mode2), ch-expr.c (build_concat_expr), ch-lex.l
	(build_chill_string): Modify callers of build_string_type accordingly.
	* ch-lex.l (check_newline):  Don't look for # directive inside a
	C-style comment.
	* ch-grant.c (grant_array_type):  Make more robust for char-
	and bit-strings (allow non-constant sizes).  Change parameters
	and return types.  (raw_decode_mode):  Use grant_array_type
	for bitstrings.  (otherwise):  Fix grant_array_type callers.

Mon Sep 27 16:57:57 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	Remove changes of Sep 15.
	* ch-tree.h (CH_SINGLETON_DOMAIN): Removed.
	* ch-typeck.c (chill_similar):  Don't allow a singleton
	powerset to be similar to its domain.
	* ch-convert.c (convert_to_boolean):  Don't convert a singleton
	SET_TYPE constructor to a Boolean.

	* ch-actions.c (chill_expand_assignment):  Handle IN_EXPR on
	LHS of assignment, which is what we're current (temporarily?) using.

Mon Sep 27 06:01:57 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c, ch-convert.c, ch-decl.c, ch-expr.c,
	  ch-grant.c, ch-inout.c, ch-parse.y, ch-satisfy.c,
	  ch-tasking.c, ch-tree.c, ch-tree.h, ch-typeck.c:
	  -Wall cleanup.  Add prototypes where missing.
	  Delete unused variables.  Cast uses of tree_codes
	  to chill_tree_code, which they are.

Sun Sep 26 13:09:57 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (do_decl): Save initializer in pass zero
	  case also.
	* ch-lex.l: Fix comments, indentation.
	* ch-parse.y: Standardize error messages to use
	  uppercase for CHILL keywords rather than quoting them.
	  Suggestion from docs department.
	* ch-tasking.c: Pervasive changes to get processes to
	  compile and START.
	* ch-tree.h: Delete prototypes for functions whic
	  I made static inside ch-tasking.c.

Sun Sep 26 02:40:02 1993  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-lex.l (yywrap): Call `check_newline' in case the file
	started with a line directive.

Sat Sep 25 13:54:41 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c:  Expand pre-amble comment.
	* ch-decl.c (struct scope, push_module):  Use new field
	tail_chain_module to build child-module list in order.
	(Just to make compiler debugging a little less confusing.)

	* ch-decl.c (struct scope):  New field weak_decls.
	* ch-decl.c (find_implied_types):  New interface.  Now pre-pend
	new enum types to a given input list.  This makes it easier to
	avoid duplicates, which should at least be more efficient.
	Also, handle FUNCTION_DECL.
	* ch-decl.c (bind_saved_names):  Removed.  Distribute its
	functionality over new functions (push_scope_decls, pop_scope_decls,
	build_implied_names, bind_sub_modules).  The goal (which seems to
	have been more-or-less attained) was to fix weak name handling.
	* ch-decl.c (poplevel):  Use new function pop_scope_decls.

	* ch-tasking.c (build_signal_struct, build_tasking_message_type):
	Use build_decl directly, rather than grok_chill_fixedfields
	(which depends on ignore_exprs and has more overhead).
	* ch-tasking.c (build_signal_struct):  Construct the type
	only in pass 1.
	* ch-typeck.c (build_chill_slice):  Use my_build_array_ref rather
	than build_array_ref (which does C-specific "optimizations").
	(Hence move my_build_array_ref up earlier in the file.)

Sat Sep 25 03:47:28 1993  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-tasking.c: Declare static variable `void_ftype_void'.
	(chill_tasking_init): Initialize `void_ftype_void' here.
	(build_tasking_struct): Use, don't declare `void_ftype_void'.
	(generate_tasking_code_variable): Call `do_decl', not
	`decl_temp1' to declare TASKING_CODE_NAME.
	(tasking_setup): Drop into 1-pass mode so that all
	tasking-related declarations are installed in the global
	scope.  Use correct CHILL types for initializers (since
	ptr_type_node doesn't have the right meaning for CHILL).
	Also, call `do_decl' instead of `decl_temp1' for
	`init_struct'.
	(add_taskstuff_to_list): Set TASKING_LIST in pass 1 to keep
	`chill_finish_compile' in sync between passes.

	* ch-decl.c (do_decl): Set DECL_ASSEMBLER_NAME for
	declarations on pass zero.  Keep obstacks in sync, and always
	call `finish_decl' for pass zero declarations.
	(push_chill_extern_function): Keep obstacks in sync, and always
	call `finish_decl' for pass zero declarations.
	(build_enumerator): Ditto.
	(grok_chill_variantdefs): Change PASS test to exclude only
	pass one.
	(finish_struct): Ditto.
	* ch-expr.c (build_chill_component_ref): Ditto.
	(build_chill_binary_op): Ditto.
	* ch-tree.c (build_powerset_type): Ditto.
	(build_bitstring_type): Ditto.
	* ch-typeck.c (build_chill_range_type): Ditto.
	(build_chill_struct_type): Ditto.

	* ch-decl.c (build_chill_exception_decl): Clarify reasons for
	extra pushing and popping of obstacks.

	* ch-inout.c (build_chill_io_list_type): Call `satisfy_decl'
	on IO_DESCRIPTOR.  This causes IO_DESCRIPTOR to be laid out.

	* ch-grant.c (chill_finish_compile): Clear out both
	MODULE_INIT_LIST and TASKING_LIST if either contains stuff
	from pass one.

	* ch-parse.y (rccase_label): Add NAME rules so that pass one
	works w/o knowing we're parsing a signal.  Simplify SIGNALNAME
	rules since we only get SIGNALNAME tokens in pass two.
	(sendaction): Ditto.
	* ch-lex.l (name_type_signal): Enable returning SIGNALNAME and
	BUFFERNAME on pass two.  The grammar now handles this.
	* ch-decl.c (lookup_remembered_decl): Deleted.

Fri Sep 24 15:27:13 1993  Bill Cox  (bill@cygnus.com)

	* ch-decl.c (lookup_remembered_names): Removed.  It was being
	  misused in ch-lex.l.
	* ch-lex.l (name_type_signal): Revert last change.  Basically,
  	  we cannot use the C typedef/variable name trick in CHILL, due
	  due to the language's 2-pass nature.
	* ch-parse.y (arrayindex): Rewrite for correctness, and to avoid
	  a seg fault.
	* ch-tree.h (lookup_remembered_name): Comment out the prototype. 

Fri Sep 24 11:01:31 1993  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-decl.c (do_decl, push_chill_extern_function): Change pass
	  checks so the pass == 0 case is handled for built-in types.
	  (push_modedef): Add check for error_mark_node.
	  (lookup_remembered_decl): New function.
	  (pushlevel, poplevel) Change pass checks.
	  (pushdecl): Check type as well for NULL.
	  (build_enumerator): Handle pass == 0 case.
	* ch-lex.l: Use lookup_remembered_decl to get lastiddecl
	  during pass 1.
	* ch-parse.y: Set pass to zero to indicate initial decl processing.
	  Replace NAME references with SIGNALNAME references.
	  (startaction): Only check copy number if not ignoring actions.
	  Always call build_chill_start_process.
	  (optstartset): Don't lookup the instance name.
	* ch-tasking.c (generate_tasking_code_variable): Replace
	  do_decl call with decl_temp1 call.
	  (build_chill_start_action): Check for ignore_actions here.
	  (build_tasking_message_type): Layout the type.
	  (rc_state_type): New structure to keep nested receive-case
	  info in.
          (build_chill_receive_case_start, build_chill_receive_case_end):
	  Use the new struct.
	  

Fri Sep 24 04:19:15 1993  Michael Tiemann  (tiemann@blues.cygnus.com)

	* ch-tasking.c (build_chill_receive_case_start): `namedecl'
	should be a _DECL, not an IDENTIFIER_NODE.

Thu Sep 23 18:18:24 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (find_implied_types):  Handle VAR_DECLs.

	* ch-decl.c (print_lang_identifier):  Print IDENTIFIER_OUTER_VALUE.
	* ch-actions.c (chill_expand_result):  Allow value-less RETURN.
	* ch-expr.c (resolve_component_ref):  Recognize error_mark.

	* ch-convert.c (digest_constructor):  Handle a nested powerset tuple.
	* ch-satisfy.c (satisfy):  Use return value of layout_chill_range_type.
	* ch-typeck.c (chill_similar):  Repeatedly get parent modes
	of ranges, not just once.
	* ch-typeck.c (chill_root_resulting_mode), ch-tree.h:  New function.
	* ch-typeck.c (layout_chill_rang_type):  Re-do type-checking
	to follow Blue Book better (check for Compatibility).

	* ch-tree.h (CH_ROOT_RESULTING_MODE):  New macro.
	* ch-lex.l (use_seizefile_name, current_seizefile_name), ch-tree.h:
	New variables.  The latter replaces in_seizefile.

	Changes to store in the new DECL_SEIZEFILE field each seize
	ALIAS_DECL the name in the most recent use_seize_file directive.
	(This requires that use_seize_file directives written to the
	grant file be written before the SEIZEs that need it.)
	Allow clashing declarations granted into the global scope
	(produce a warning), but remember the seizefile case from
	(using the DECL_SEIZEFILE field of the grant ALIAS_DECL).
	The a SEIZE will select the granted decl that matches its
	DECL_SEIZEFILE (in other words:  grants from the most recent
	use_seize_file will be preferred).
	* ch-tree.h (DECL_SEIZEFILE), ch-tree.def:  New macro.
	* ch-tree.h (global_value, IDENTIFIER_GLOBAL_VALUE):  Renamed
	to outer_value, IDENTIFIER_OUTER_VALUE.
	Changes to cause the use_seize_file directives to be written
	out in order as they're seen in source.
	* ch-lex.l (files_to_seize, next_file_to_seize, last_file_to_seize):
	Changed to have type TREE_LIST of pointer to IDENTIFIER_NODE.
	* ch-lex.l (handle_use_seizefile_directive):  Modify appropriately.
	Don't call grant_use_seizefile.
	* ch-lex.l (mark_use_seizefile_written):  New function.
	* ch-grant.c (decode_decl):  Write out use_seize_file directive,
	if needed, before writing a seize declarations.
	* ch-decl.c (pop_module):  Handle decls granted into the global
	module specially, setting IDENTIFIER_OUTER_VALUE.
	* ch-decl.c (lookup_name_for_seizing):  Check IDENTIFIER_OUTER_VALUE.

Thu Sep 23 19:05:37 1993  Bill Cox  (bill@cygnus.com)

	* ch-decl.c (push_chill_extern_process): Delete unused variables,
	  declare the process' tasking_code variable as external.
	* ch-parse.y (process): Force ignore_exprs to FALSE while parsing
	  the process header.
	* ch-tasking.c (sigdef): Move resetting of quasi_signal from here
	  to (signaldef).
	* ch-tree.h: Add prototype.
	* expr.c (store_constructor): Emergency first-aid.  Rewrite later.

Thu Sep 23 12:57:53 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-expr.c (build_chill_function_call):  Move possible call to
	chill_start_module_code until we know we're not calling a builtin.
	* ch-decl.c (save_expr_under_name):  Use pushdecllist,
	not proclaim_decl (which provide for popping the decl).
	* ch-parse.y (optname):  Also allow TYPENAME.

Thu Sep 23 09:18:35 1993  Bill Cox  (bill@cygnus.com)

	* ch-decl.c (print_lang_decl): Make weak name output more standard.
	  (print_lang_identifier): Make signal-data flag output more standard.
          (push_chill_extern_process): Pass correct arg tree to
	  push_chill_extern_function.
	  (push_syn_decls, fixup_unknown_type, chill_modes_equiv): 
	  Standardize function header layouts (Makes the tcov script 
	  work better).
	* ch-except.c (chill_finish_on): Standardize function header.
	* ch-expr.c (fold_set_or): Standardize function header.
	* ch-grant.c (print_proc_tail, print_proc_exceptions): Standardize
	  function headers.
	  (decode_constant): Make sure that alpha operators are surrounded
	  with whitespace.
	* ch-parse.y: Spell Z.200 correctly in comments.

Wed Sep 22 10:42:31 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-expr.c (build_chill_addr_expr), ch-tree.h:  New function.
	* ch-parse.y, ch-decl.c (shadow_record_fields):  Use it.
	* ch-lex.l (handle_use_seizefile_directive):  Don't emit
	use_seize_file directive if in_seizefile.

	* ch-convert.c (digest_structure_tuple):  Fix code that checks
	for excess init values.
	* ch-decl.c (layout_chill_variants):  Move increment of nlabels
	inside the proper loop.
	* ch-grant.c (print_struct):  Add missing loop for tag_list.
	(print_struct):  Look for variant fields by checking for a
	UNION_TYPE, not a NULL name, since we must use a dummy name.
	* ch-parse.y (structured_variable):  Various fixing.
	* ch-decl.c (shadow_record_fields):  Rename arg decl -> struct_val.

	* ch-satisfy.c (safe_satisfy_decl):  Disable copying of modes
	for NEWMODE (and hence novelty checking), until we figure out
	a better way.

	* ch-except.c (finish_handler_array):  Use null_pointer_node,
	not integer_zero_node (which fails to type-check).

	* c-typeck.c (get_constructor_element_type):  New function.
	* ch-tree.h (CH_NOVELTY_FLAG):  Now also used in TYPE_DECLs.
	(CH_NOVELTY):  Redefined to call new function chill_novelty.
	(CH_CLASS_IS_XXX, TYPE_NEWMODE, CH_CLASS_MODE):  Removed.
	* ch-typeck.c (classify_chill_expr renamed to chill_expr_class):
	Take extra output parameter (for M, as in M-value class).
	* ch-typeck.c (chill_novelty):  New function.  (Also de-references.) 

	* ch-expr.c (resolve_component_ref, build_chill_component_ref):
	New functions.  Handle 2-pass and variant records.
	* ch-parse.y (primval DOT name): Use instead of build_component_ref.
	* ch-satisfy.c (satisfy, case COMPONENT_REF):
	New case, call resolve_component_ref.

	* ch-expr.c (build_generalized_call):  Extract single arg from
	arg list before calling build_chill_cast.

	* ch-parse.y (defining_occurrence_list):  New non-terminal.
	Use it to replace locnamelist, synnames, and modenames.
	* ch-parse.y:  Re-write parsing of variant records.

	* ch-decl.c (grok_chill_variantdefs):  Now return a FIELD_DECL
	rather than just its type.
	* ch-inout.c (build_chill_io_list_type), ch-parse.y:
	Change callers appropriately.

	* ch-tree.h (TYPE_TAG_VALUES):  Add an extra level of TREE_LIST,
	to support multiple tag fields.
	* ch-grant.c  (print_struct), ch-decl.c (layout_chill_variants):
	Support multiple tag fields.

	* ch-convert.c (remove_tree_element, digest_structure_tuple):
	New functions, to digest structure tuples, without calling the
	code in c-typeck.c.  Handles variant tuples and tags (partially).
	* ch-convert.c (digest_constructor, convert):  Call
	digest_structure_tuple when appropriate.
	* ch-convert.c (digest_constructor): Re-arrange a bit.

	* ch-decl.c (push_modedef):  Defer copying of tree until ...
	* ch-satisfy (safe_satisfy_decl): ... here.

	* ch-decl.c (getdecls):  Add kludge to help dbxout_init.

Tue Sep 21 14:19:11 1993  Bill Cox  (bill@cygnus.com)

	Partial tasking update - not done yet.
	* ch-actions.c: Comments, indentation.
	* ch-decl.c (push_chill_extern_process): No longer need to
	  reformat the arg list for make_process_struct.
	  (pop_module): Don't seg fault on null DECL_NAME.
	  (handle_one_level): Error, not warning if tree not recognized.
	  (shadow_record_fields): Rename formal param for readability.
	* ch-grant.c (decode_decl): Write proper header for a process.
	* ch-parse.y (quasi_pdef): process now uses processparlist,
	  which doesn't change with the passes.
          (quasi_locdec): Call build_chill_reference_type to defer
	  doing the type's layout.
	  (processpar): Use paramnamelist, but reformat it into a
	  list of identifiers in pass 2, so a processpar is the same
	  structure in both passes.
          (locdec): Call build_chill_reference_type to defer doing the
          type's layout.
	* ch-tasking.c (generate_tasking_code_variable): Call do_decl to
	  build the decl.  Only update the variable's tree in pass 2.
          (make_process_struct): Call build_chill_reference_type to defer
	  doing the type's layout.
          (build_process_header): New code to call make_process_struct.
	  New pass-2 code to make a PARM_DECL for start_chill_function.
          Pass a void_type_node, not a NULL_TREE for an empty list.
	  Get input for shadow_record_fields from current_function_decl.
	  (build_buffer_decl): Call do_decl not decl_temp1.
	* ch-typeck.c: Reindent to standards.
	* gcc.c (SPECS): Add recognition for the '.chi' CHILL suffix.

Mon Sep 20 12:00:24 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-typeck.c (classify_chill_expr):  An expression with a
	REFERENCE_TYPE still has VALUE class, even if an ADDR_EXPR.
	* ch-actions.c (adjust_parm_or_field):, ch-tree.h:  Change last
	parameter, so we can reliably recognize LOC parameters.
	* ch-tasking.c, ch-expr.c:  Change callers appropriately.

Sun Sep 19 22:26:25 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-tree.h (CH_READ_COMPATIBLE, CH_REFERABLE):  New macros.
	* ch-typeck.c (chill_referable, chill_read_compatible):  New functions.
	* ch-typeck.c (chill_compatible):  Allow un-resolved CONSTRUCTOR
	(with NULL TREE_TYPE), when reasonable.  (Simplifies callers.)
	Also, handle case of expr being of reference class.
	* ch-actions.c (adjust_parm_or_field):  Major re-arrange
	to handle conversions and LOC args better.
	* ch-actions.c (chill_expand_assignment):  Simplify conversions.
	* ch-expr.c (build_chill_function_call):  If needed, call
	chill_start_module_code.
	* ch-decl.c (declare_predefined_file):  New function, used
	to pre-define stdin, stdout, and stderr.
	* ch-inout.c (chill_stdio_p):  Change names of predefined
	files from chill-stdin etc to plain stdin (and change their types).
	* ch-lex.l:  Remove some obsolete stuff.
	* ch-convert.c (convert):  Move conversion from reference to
	to beginning of convert() so other conversion can work better.
	Also, remove bogus direct setting of TREE_TYPE.

Fri Sep 10 12:23:41 1993  Wilfried Moser  (fs_moser@cygnus.com)

	* Makefile.in: Change installation of the chill script. gcc will
	  be called always with the full path. That made problems when
	  somebody was using chill but didn't have the installation
	  directory in PATH.
	* ch-parse.y: Change parsing of WRITETEXT action.
	* ch-tree.h: Add some new prototypes according to the
	  (partial) implementation of WRITETEXT.
	* ch-typeck.c: Add new function chill_varying_string_type_p. This
	  functions checks a type for being CHAR(n) VARYING.
	* ch-decl.c (init_decl_processing): Add new built-in functions
	  _writestring and _writeunixstd.
	  Add call to  build_chill_io_list_type in ch-inout.c.
	* ch-inout.c (build_chill_writetext): Add some code there.
	  Add new function build_chill_io_list_type.
	  Add new static function chill_stdio_p. This function checks
	  the text argument for being chill_stdin, chill_stdout or
	  chill_stderr.

Fri Sep 17 22:02:04 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (push_modedef):  Fix TYPE_MAIN_VARIANT thinko.

Thu Sep 16 18:38:53 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (allocate_lang_decl):  Do nothing.
	* ch-tree.h (struct lang_decl, DECL_GRANT_FILE, DECL_SEIZE_FILE):
	No longer used;  remove.

	* ch-tree.h (TYPE_TAG_FIELD renamed to TYPE_TAGFIELDS), ch-grant.c
	(print_struct), ch-parse.y (opttagfield -> opttagfields), ch-decl.c
	(make_chill_variants, layout_chill_variants):  Add (initial) part
	of support for multiple tags.
	* ch-decl.c (lookup_tag_fields):  New function.
	* ch-parse.y (stmt_count):  Not used; removed.
	* ch-parse.y (mode2):  Clear current_fieldlist before
	parsing STRUCT fields;  restore afterwards.

	* ch-parse.y (push_action):  Moved to ch-actions.c.

Wed Sep 15 18:19:37 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-convert.c (convert_to_boolean): Convert a SET_TYPE
	  constructor to a boolean.

Wed Sep 15 17:52:10 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (push_modedef): Enable novelty-setting code.
	* ch-tree.h (CH_SINGLETON_DOMAIN): New macro.
	* ch-typeck.c (chill_similar): Add checking of singleton
	  powerset against its base type.

Tue Sep 14 17:11:52 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (adjust_parm_or_field): Create a
	  temporary for an non-referencable actual parameter
	  passed to a LOC formal parameter.
	  (chill_expand_assignment): Correct compatibility checking.

	* ch-decl.c (push_modedef): Set up a type's NOVELTY value.
	* ch-parse.y (opsigdest): Only check for process name
	  in pass 2, when we know.
	* ch-tree.h (CH_NOVELTY_FLAG, CH_NOVELTY): Define.
	* ch-typeck.c: Fix comment.

Mon Sep 13 17:33:11 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-grant.c (lookup_decl_in_process, register_decl_as_output,
	decl_seen_p, processed_decls, allocated, nr_decls):  Removed
	no-longer-useful functions and variables that used to guard
	against writing a decl multiple times.  Since we now just
	go through the decl list linearly, that is no longer an issue.
	* ch-satisfy.c (safe_satisfy_decl):  Handle missing current_module.

	* ch-decl.c (start_chill_function):  Clear DECL_ASSEMBLER_NAME.
	Don't make TREE_PUBLIC.  Don't generate rtl yet.
	* ch-decl.c (pop_module):  If a decl is granted, set TREE_PUBLIC,
	and its DECL_ASSEMBLER_NAME.
	* ch-decl.c (fix_identifier):  New function.
	* ch-grant.c (grant_one_decl):  Don't set TREE_PUBLIC.
	* ch-tree.h (struct module):  New field prefix_name.
	* ch-satisfy.c (safe_satisfy_decl):  If assembler_name isn't
	set, prefix it by the module name(s).
	* ch-satisfy.c (safe_satisfy_decl, case FUNCTION_DECL):
	Call make_function_rtl if needed and !LOOKUP_ONLY.
	* ch-typeck.c (chill_similar):  Flesh out substantially.
	* ch-typeck.c (chill_compatible):  Re-structure.

	* ch-actions.c (adjust_parm_or_field):  Use CH_COMPATIBLE
	instead of chill_comptypes to compare actual and formal.

Sun Sep 12 21:10:10 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-parse.y (labellist):  Don't do anything if ignore_exprs.

        * c-typeck.c (output_pending_init_elements): Handle
        !constructor_incremental case of filling in empty positions.
	(Patch by Jim Wilson.  CYGNUS LOCAL until we have approval.)
	* ch-decl.c (pop_module):  Don't grant a seized name.
	* ch-grant.c (decode_constant):  Support CALL_EXPR.
	* ch-tree.c (build_bitstring_type):  Don't try to fold non-constant
	size if pass==1 (since it may be an unsatisfied name).


Sun Sep 12 18:06:23 1993  Bill Cox  (bill@rtl.cygnus.com)

	2-pass fixes for processes.  Partially done.
	* ch-actions.c (chill_expand_assignment): Add real
	  novelty-checking sketch, $ifdef'd out for now.
	* ch-decl.c: Generally fix indentation.  Move tasking
	  init code from init_decl_processing to ch-tasking.c.
	  Delete ObjC-related cruft.  More accurate parameter name
	  for shadow_record_fields.  Move debug_scope before
	  its first call.
	* ch-expr.c (build_chill_function_call): Return if not
	  pass 2.
	* ch-grant.c (print_proc_tail): Avoid trying to format
	  a VOID return type, or using a NULL pointer.
	  (decode_decl): Minor changes for PROCESS arg access.
	* ch-lang.c (lang_decode_option): Use -itu flag to
	  enable 'pedantic' mode.
	* ch-lex.l (init_lex): Initialize compiler-directive
	  variable trees.
	  (name_type-signal): Disable the returning of SIGNAL and BUFFER
	  name tokens.
	* ch-parse.y (rccase_label_flag): Renamed from rccase_ifs.
	  All uses renamed also.
	  (end_function): Always poplevel, not just in pass 2.
 	  (quasi_pdef): Check for end-label matching.
	  (quasi_formparlist): Write more clearly.
	  (rcaltlist, optelsercvcase, optstartset): Add ignore_actions
	  guards.
	  (rccase_label, sendaction): Use NAME, not SIGNALNAME 
	  or BUFFERNAME.
	  (process): Handle like procedure.
	  (mode): Add SIGNAL as a generic signal parameter.  This
	  is a client-specific extension, so pedantic is checked.
	* ch-tasking.c: Pervasive rewrites for 2-pass. Still not done.
	* ch-tree.h (CH_NOVELTY): Make it an lvalue.
	* ch-typeck.c: Fix comment.

Sun Sep 12 15:03:21 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* c-typeck.c (digest_init):  Compare types using comptypes
	instead of comparing pointers.  (Helps Chill front end.)
	* ch-expr.c (finish_chill_binary_op): 
	* ch-typeck.c (build_chill_array_ref, build_chill_bitref),
	ch-expr.c (finish_chill_binary_op):  For now, prefer IN_EXPR
	over BIT_FIELD_REF because of various problems with BIT_FIELD_REF
	(incomplete support for variable fields, and possible bug in
	optimize_bit_field_compare).
	* ch-expr.c (finish_chill_binary_op):  Fix type-checking
	and appropriately coerce operands for IN_EXPR and comparsions.
	* expr.c (expand_expr, case ARRAY_REF):  Coerce lower bound (if
	non-zero) to sizetype before subtraction.
	* expr.c (expand_expr):  Remove Chills-specific calls to
	__inpowerset from case BIT_FIELD_REF to case IN_EXPR.

Fri Sep 10 15:47:52 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-tree.def (UNDEFINED_EXPR):  New kind of expression.
	* ch-grant.c (decode_constant), ch-expr.c (chill_expand_expr),
	ch-convert.c (convert):  Handle UNDEFINED_EXPR.

	* ch-expr.c (build_char_array_expr):  Move CONCAT_EXPR support to ...
	* ch-expr.c (build_concat_expr):  ... here.
	Now also folds concatenation of STRING_CST and UNDEFINED_EXPR.
	Also, make result varying only if one of the operands are.

	* ch-expr.c (build_chill_binary_op):  Move stuff from here to ...
	* ch-expr.c (finish_chill_binary_op):  ... here, as needed for
	proper 2-pass split.  Also, clean up and simplify heavily.

	* ch-tree.h (enum ch_expr_class):  The 5 kinds of expression classes.
	* ch-typeck.c (classify_chill_expr):  New function:  Determine
	class of expression.
	* ch-typeck.c (chill_compatible_classes):  Re-structure; fix
	asymmetry bugs.
	* ch-tree.h (CH_CLASS_IS_XXX):  Re-define to use classify_chill_expr.

	* ch-convert.c (maybe_turn_scalar_into_array):  Complain
	unless scalar is a char constant (and we want a string).
	* ch-convert.c (convert):  New code for converting to variable
	string/array.  Avoid type errors by padding (with an UNDFIEND_EXPR).
	* ch-typeck.c (chill_expand_tuple):  Don't do conversion to
	varying type here;  that is handled by convert now.
	* ch-decl.c (digest_constructor):  Moved to ...
	* ch-convert.c (digest_constructor):  ... here.
	* ch-decl.c (do_decl):  Simplify; just use convert for initializer.
	* ch-decl.c (chill_digest_init):  Merged into convert, and removed.
	* ch-decl.c (init_decl_processing):  Set constructor_no_implicit flag.
	* ch-except.c (finish_handler-array), ch-decl.c (finish_decl):
	Replace chill_digest_init by convert.
	* ch-actions.c (chill_expand_array_assignment):  Simplify; use convert.
	* ch-lex.l (build_chill_string):  Make string type be derived
	from integer, not sizetype, because upper bound can be -1.

Thu Sep  9 18:21:46 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-typeck.c (my_build_array_ref): Delete pedantic
          C-specific error message.

Thu Sep  9 17:44:20 1993  Jeffrey Wheat  (cassidy@eclipse.cygnus.com)

	* gcc.c: pass {I*} spec to cc1chill. Fixes -Ifoo not working problem.

Thu Sep  9 12:22:22 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-typeck.c (build_chill_array_ref):  Remove redundant and
	broken call to my_build_array_ref.

Wed Sep  8 13:03:49 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-except.c (finish_handler_array), ch-decl.c (finish_decl): 
	Don't use store_init_value, since it calls digest_init instead
	of chill_digest_init.
	* ch-except.c (finish_handler_array):  Use build1 (ADDR_EXPR, ...)
	instead build_unary_op to avoid C-specific optimizations.
	* ch-typeck.c (my_build_array_ref):  Don't use default_conversion
	to convert array to pointer.
	* c-typeck.c (process_init_default):  New function, to support
	default values for array tuples in Chill.
	* c-typeck.c (default_conversion):  Don't convert array to pointer
	if compiling Chill.
	* ch-decl.c (digest_constructor):  New function;  used to be guts
	of chill_digest_init.  Now recursive, to handle nested tuples.

	* ch-decl.c (chill_digest_init):  Handle struct labels.
	* ch-grant.c (get_tag_value):  Use decode_constant in general case.
	* ch-grant.c (decode_constant):  Add support for lots of missing
	binary and unary operators.

Wed Sep  8 10:11:04 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lang.c: Look for '-I' option for seize file path.
	* ch-lex.l: Fix comment about above option.

Wed Sep  8 00:37:32 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-satisfy.c:  Move code to set (and restore) file-and-line
	from satisfy_decl to safe_satisfy_decl, for the sake of satisfying
	alias decls that refer to real decls with errors.
	* ch-actions.c (lang_init):  Move to ch-lang.c.
	* ch-decl.c (init_decl_processing):  Move code to initialize
	file-and-line from here ...
	* ch-lang.c (lang_init): ... to here, to avoid clobbering.

	* ch-decl.c (chill_digest_init):  Add support for SET_TYPE,
	and index values.
	* ch-typeck.c (chill_expand_typle):  Just call chill_digest_init.
	* c-typeck.c:  Fix various things that got broken
	in the latest merge.

Tue Sep  7 15:45:58 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (build_enumerator):  Handle a "unnamed set element"
	(obsolete feature) by generating a dummy name.
	* ch-decl.c (finish_decl):  Call rest_of_decl_compilation with
	"correct" value of top-level (to get better debugging output).
	* ch-decl.c (bind_saved_names):  Allow a null DECL_NAME.

Tue Sep  7 15:48:35 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (chill_expand_return): Correct breakage
	  due to recent fsf merge.

Tue Sep  7 11:16:10 1993  Bill Cox  (bill@rtl.cygnus.com)

	* .cvsignore: Add multilib.h.
	* ch-decl.c (chill_digest_init): New function.  Calls were
	  changed, since it has fewer parameters than old digest_init.
	* ch-parse.y (untyped_expr, primval, tupleelement): Calls to
          new init stuff.
	  (elementlist): Delete unused code.
	* ch-satisfy.c (safe_satisfy_decl): Just return if decl == NULL.
	* ch-tasking.c (build_tasking_enum): Attempt to adapt to 2-pass.
	* ch-tree.h: Delete digest_init prototype.
	* ch-typeck.c (digest_init): Much new code.

Tue Sep  7 12:06:28 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c, ch-parse.y, ch-tree.h, ch-typeck.c: Revert
          files to their pre-init-change state.

Mon Sep  6 15:28:27 1993  Bill Cox  (bill@rtl.cygnus.com)

	Preliminary adaptation to rms' new initializer code.
	* ch-decl.c (do_decl): Call chill_digest_init, not
	  digest_init, which rms made static.
	* ch-expr.c (chill_truthvalue_conversion): Delete C-
	  specific code.
	* ch-loop.c (init_loop_counter): Indent for readability.
	* ch-parse.y (untyped_expr, primval, tupleelement): Call new init code.
	* ch-tree.h: Prototype changes for new init code.
	* ch-typeck.c (chill_expand_tuple): Call new init code.
	* chill.texi: Add necessary '-f' prefix on options.

Wed Sep  1 13:21:53 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-convert.c (build_array_type_for_scalar),
	ch-tasking.c (build_chill_receive_case_end):  Index type
	specification is now chain of types (not chain of TREE_LIST).
	* ch-satisfy.c (satisfy):  Don't try to satisfy the
	abstract_origin of an ALIAS_DECL if DECL_POSTFIX_ALL.
	* ch-expr.c (build_chill_binary_op):  If pass 1, do NOT
	call finish_chill_binary_op.
	* ch-parse.y (arrayindex):  Simplify.

Tue Aug 31 14:57:35 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (print_lang_decl): Print weak-name status.
          (print_lang_identifier): Print signal_data as T or F.
	* ch-lex.l (convert_bitstring, convert_charliteral,
          convert_float, convert_number): Pass string directly to convert
	  as a parameter.  Return token code consistently, return 0
	  for error.
          (equal_number): Parse differently, allowing hex, binary
	  and octal constants.
	* ch-parse.y (dowithaction, structured_variable): Only
          push/pop scopes once per DO WITH.
          (structured_variable_list): Check ignore_actions flag here.
	* gcc.c: Delete 'traditional' from string, add 'itu'
	  as the standard flag's name.

Mon Aug 30 15:12:26 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-typeck.c, ch-tree.h (build_chill_range_type):  Take 3
	parameters instead of 2 (explicit low and high bounds).
	* ch-parse.y (arrayindex):  Build range type from low:high.
	(rangesize, optrangesize):  Removed.
	(where appropriate):  Use new build_chill_range_type interface.
	* ch-grant.c:  Clean up writing of range and array types.
	* ch-satisfy.c (satisfy):  Don't ignore the return value of
	layout_chill_array_type. (It may be an error mark.)
	* ch-typeck.c (build_chill_array_type):  Simplify.
	* ch-typeck.c (layout_chill_array_type):  Clean up checks.

Fri Aug 27 12:55:59 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (decl_temp1):  Set DECL_ASSEMBLER_NAME.
	(push_chill_extern_function)  Don't set current_function_decl.
	* ch-parse.y (tupleelement):  Don't wrap index is a TREE_LIST
	(i.e. a range), don't wrap a PAREN_EXPR around it.
	* ch-grant.c (decode_constant):  For tuple CONSTRUCTORs,
	add support for ranges in purpose.

Wed Aug 25 16:58:13 1993  Bill Cox  (bill@rtl.cygnus.com)

	* .cvsignore: Add g++.sum
	* ch-actions.c (chill_expand_result): Stop building a temp.
	  Assign the expression directly into function's DECL_RESULT.
	* ch-decl.c: Add formfeeds.  
	  (start_chill_function): Don't need to zero DECL_RESULT's pointer any more.
	  (push_chill_function_context): Delete C pedwarn message.
	* ch-expr.c: Move builtin functions together.
	* ch-parse.y (end_function): Delete unused code.
	  Reformat %union for readability.  Delete _MAX and _MIN
	  tokens.

Wed Aug 25 13:24:06 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (get_result_tmp_name): Delete unused function.
	  (chill_expand_result, chill_expand_return): Rewrite for
	  2-pass.
	* ch-decl.c (start_chill_function): NULL out the RESULT_DECL's
	  chain field, so we can make a temp, evaluate a RESULT action's
	  expression into it, and hang it on here.
	* ch-parse.y (end_function): Look for RESULT temps to emit.
	  (assertaction): Indentation.

Wed Aug 25 08:34:36 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lex.l, ch-parse.y: Delete CONTINUE_EVENT token.
          It wasn't used anyway.

Tue Aug 24 17:51:18 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (chill_expand_result, chill_expand_return):
	  No need to make a temp for the value, just use DECL_RESULT.

Tue Aug 24 16:38:24 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-tree.c (layout_powerset_type):  Remove redundant code.
	Generalize (in error message) to also handle bitstrings.
	* ch-tree.c (build_bitstring_type):  Remove all layout-like
	stuff, and defer that to layout_powerset_type.
	* ch-expr.c (chill_expand_expr):  For various SET_xxx_EXPRs,
	allocate stack temp for target using correct mode. 

Tue Aug 24 10:27:19 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c, ch-decl.c, ch-except.c,
	  ch-grant.c, ch-lang.c, ch-loop.c, ch-tree.h,
	  ch-typeck.c: Change build_modify_expr calls to
	  build_CHILL_modify_expr calls.
	* ch-expr.c (build_chill_modify_expr): Adapted from
	  build_modify_expr in c-typeck.c.

Mon Aug 23 16:48:39 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c, ch-convert.c, ch-decl.c, ch-expr.c,
	  ch-grant.c, ch-lang.c, ch-lex.l, ch-loop.c,
	  ch-satisfy.c, ch-tasking.c, ch-tree.c, ch-typeck.c:
	  Major re-allocation of functions to files.

Mon Aug 23 12:15:11 1993  Bill Cox  (bill@rtl.cygnus.com)

	Thanks for the tip, Jim.
	* Makefile.in: Add dependency lines for ch-except.o and
	  ch-satisfy.o.  Correct dependency lines for ch-convert.o,
	  ch-expr.o, ch-inout.o, and ch-loop.o.
          (chill, install-common): Add clean-up commands.

Sat Aug 21 17:11:26 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (get_type_precision): New function.
	  (layout_enum): Call it.
	* ch-tree.c (layout_powerset_type, build_bitstring_type):
	  Call it.

Sat Aug 21 13:59:40 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (init_decl_processing): Define setbitpowerset	
	  runtime function.
	* ch-expr.c (chill_expand_assignment): Call setbitpowerset
	  to set a bit.
	* ch-parse.y: Indentation.

Fri Aug 20 17:29:56 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y: Delete unused %type declaration.
	* ch-tasking.c (build_signal_struct): Delete return, since
	  function returns void.
	* ch-typeck.c: Indent to standard.
	* stor-layout.c: Fix comment.
	* toplev.c: Change -L option ti -I.
	* varasm.c (emit_set_data): Align set constant to word 
	  boundary.

Fri Aug 20 08:20:07 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: Fix indentation, comments.
	* ch-decl.c (push_chill_extern_signal): Use same interface
	  as build_signal_struct.
	* ch-parse.y (quasi_signaldef): Move build_signal_decl
	  here to sigdef.  Add quasi_signal to distinguish contexts
	  where sigdef gets used.
	* ch-tasking.c: Replace make_signal_struct and build_signal_decl
	  with build_signal_decl, which doesn't loop through a
	  TREE_LIST.
	* ch-tree.h: Fix protos.

Wed Aug 18 17:36:53 1993  Bill Cox  (bill@cygnus.com)

	* ch-actions.c: Fix comments.
	* ch-decl.c (push_modedefs): Return the new decl.
	  (shadow_record_fields): Move pushlevel (0) calls into
	  the grammar, so they'll get done in both passes.
	* ch-parse.y (dowithaction): Always compute & save # of
	  'with' variables seen (both passes), and always pop that
	  number of levels.
          (structured_variable_list): Always chain variables into a list.
  	  (structured_variable): Put pushlevel here (from shadow_record_fields).
	* ch-tasking.c: Indentation fixes.
	* ch-tree.h: Change proto.
	* chill.texi: Add Blue Book section numbers to unimplemented
	  features list.

Wed Aug 18 15:48:43 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-actions.c (build_generalized_call):  New function.
	Classifies semantically (if pass 2) this that look like calls.
	* ch-parse.y (call):  Invoke build_generalized_call.
	* ch-parse.y (sigdef):  Use defining_occurrence instead of NAME.
	* ch-parse.y (opt_untyped_exprlist):  New non-terminal.
	* ch-satisfy.c (satisfy):  Handle CALL_EXPR.

Tue Aug 17 16:36:15 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (find_implied_types): Handle INTEGER_TYPEs (ranges).

Mon Aug 16 18:07:36 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-tree.h (TUPLE_NAMED_FIELD):  New macro.
	* ch-parse.y (labelled structure tupleelement):
	Set TUPLE_NAMED_FIELD flag.
	* ch-grant.c (decode_constant):  Check for TUPLE_NAMED_FLAG.
	* ch-satisfy.c (satisfy):  Check for TUPLE_NAMED_FLAG.
	Do satisfy the elements of a CONSTRUCTOR even if call
	chill_expand_tuple isn't correct.
	* ch-satisfy.c (satisfy):  Satisfy TYPE_TAG_VALUES of a RECORD_TYPE.
	* ch-parse.y (label_spec):  Defer any semantic checking until ...
	* ch-decl.c (layout_chill_variants):  ... here.
	Also make sure to call layout_type on the union type.
	* ch-decl.c (bind_saved_names):  For weak names, allocate an
	ALIAS_DECL, rather than a CONST_DECL.

	Add support for implied (weakly visible) names.
	* ch-tree.h (DECL_WEAK_NAME):  New macro.
	* ch-satisfy.c (satisfy of IDENTIFIER_NODE):  Don't complain
	if lookup_name fails if LOOKUP_ONLY - name might be weakly visible.
	* ch-decl.c (proclaim_name):  Handle DECL_WEAK_NAME appropriately.
	* ch-decl.c (concat_lists, find_implied_types):  New functions.
	* ch-decl.c (bind_saved_names):  Search for implied names.
	* ch-tree.h (C_DECL_VARIABLE_SIZE): Removed.
	* ch-lang.c (layout_chill_struct_type):  Don't use
	C_DECL_VARIABLE_SIZE.

Mon Aug 16 16:10:43 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: Delete extra space in error message.
	* ch-parse.y: Fix comment.
	* expr.c (store_constructor): Avoid passing NULL to convert,
	  and getting back an error_mark_node and trying to process
	  *that* node.

Mon Aug 16 14:41:29 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c:  Add more overview comments.
	* ch-decl.c (proclaim_decl):  New function.
	* ch-decl.c (temp_pushdecl, struct shadowing):  Removed.
	* ch-decl.c (bind_saved_names):  Remove blevel parameter;
	use current_scope global instead.  Do some other cleanups.
 	* ch-decl.c (save_expr_under_name):  Create an ALIAS_DECL.
	* ch-decl.c (pushdecllist, save_expr_under_name):  Use proclaim_decl.
	* ch-satisfy.c (satisfy, safe_satisfy_decl):  Be more careful
	to not do inappropriate things (e.g. type layout) if LOOKUP_ONLY.

	* chill.texi:  Start collecting Chill documentation here.
	* ch-parse.y (mode):  Ignore READ specifier, for now.

Mon Aug 16 11:13:07 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (chill_comptypes): Correct handling reference        
 	  of type 1.
          (build_chill_length, build_chill_num,
	   build_chill_sizeof): Convert result to CHILL integer.
          (build_chill_function_call): Clean up INOUT and OUT
	  parameter handling.
	* ch-decl.c (build_chill_function_type): Handle INOUT and
	  OUT parameters.
	* ch-loop.c: Fix up comments.
	* ch-parse.y: Fix up comments.

Sun Aug 15 15:06:01 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_lower, build_chill_upper):
	  Re-write, mostly to delete bogus ENUMERAL_TYPE handling.
	* ch-decl.c (save_expr_under_name): New function to save
	  addressing expressions for DO WITH and DO FOR handling.
	  (handle_one_level): Call new function.
	* ch-loop.c (init_loop_counter): Call it here, too.
	  Check lp->user_var before passing it to lookup_name.
	  (high_domain_value, low_domain_value): Correct call
	  to build_chill_upper and build_chill_lower.
	  (begin_chill_loop, end_chill_loop): Move pushlevel,
	  poplevel up into the grammar, so they're done in both
	  passes.
	* ch-parse.y (doaction): Unconditionally make a scope
	  for a loop, pop it later.
	  (controlpart, iteration): Save return from
          build_chill_iterator.
	* expr.c: Readability changes.

Sat Aug 14 19:42:32 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (chill_expand_case_expr): Complete rewrite
	  for 2-pass.  About 1/2 the size, too.
	* ch-parse.y (actionlabel): Unconditionally do INIT_ACTION.
	  This assures that a label preceding a module's first action
	  is enclosed in the module-level function that's generated.

Sat Aug 14 14:56:07 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	Re-implement how EXIT is done.
	'LABEL: BEGIN ... EXIT LABEL; ... END' is converted to
	'LABEL: BEGIN ... GOTO EXIT!LABEL; ... EXIT!LABEL: ; END'.
	Hence we no longer need any support for EXIT in stmt.c.
	* stmt.c (stamp_nesting_label, expand_exit_labelled):  Removed.
	* ch-actions.c (lookup_and_handle_exit): Handle like 'GOTO EXIT!name'.
	* ch-tree.c, ch-tree.h (munge_exit_label): New function.
	* ch-parse.y:  Re-write bracked actions to support EXIT new way.
	* ch-decl.c, ch-loop.c:  Remove calls to stamp_nesting_level.
	* ch-parse.y:  Replace SC by new token semi_colon, which
	resets the 'label' global.  Also make sure that label gets
	reset whenever we might start a new action statement.
	* ch-parse.y (possibly_define_exit_label):  New function.

	* ch-except.c (chill_start_on):  Wrap an ADDR_EXPR round the jmpbuf.
	* ch-grant.c (chill_finish_compile):  Make sure
	get_file_function_name is only called once.
	* ch-expr.c (chill_expand_array_assignment):  Use store_expr,
	instead of incorrectly calling emit_block_move.

	* ch-parse.y (procedure):  Call push_chill_function_context
	in *both* passes (if nested).
	* ch-parse.y (primval):  Call get_type_of before chill_expand_type.
	* ch-parse.y (tupleelement):  Only build PAREN_EXPR during pass 1.

Fri Aug 13 16:36:36 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	Re-implement GRANT and SEIZE, to support prefixes and prefix
	rename.  All of the Blue Book semantics for these should
	now work (except FORBID).
	* ch-tree.def, ch-tree.h (DECL_OLD_PREFIX, DECL_NEW_PREFIX,
	DECL_POSTFIX, DECL_POSTFIX_ALL):  New ALIAS_DECL layout and macros.
	* ch-tree.c (get_identifier3, build_alias_decl, decl_old_name,
	decl_check_rename):  New functions.
	* ch-lex.h, ch-lex.l, ch-grant, ... (grant_all_seen): Removed.
	* ch-satisfy.c (satisfy_decl):  Handle SYN initialized with tuple.
	* ch-satisfy.c (satisfy_decl): Set DECL_ASSEMBLER_NAME here ...
	* ch-decl.c (pushdecllist): ... instead of here, which is too late.
	* ch-grant.c (decode_prefix_rename):  New function.
	Use to print out GRANT and SEIZE statements.
	* ch-decl.c (ALL_POSTFIX):  New global variable.
	* ch-decl.c (bind_saved_names, pop_module):  Change to use new
	ALIAS_DECL layout, and support general prefix rename and ALL.
	* ch-decl.c (various places):  Don't barf if DECL_ANME is NULL.
	* ch-parse.y (build_prefix_clause):  New function (handle PREFIXED).
	* ch-parse.y (optprogendname, optname):  Rename to opt_end_label.
	* ch-parse.y:  Add support for compound name strings, but defer
	using all over teh place, due to parser ambiguities.
	Howver, do use defining_occurrence where appropriate.
	* ch-parse.y:  Re-write syntax and semantics of GRANT and SEIZE
	statements to support Blue Book functionality.  Neato!

Fri Aug 13 17:10:52 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: Redo decl_temp1 calls to save resulting decl.
	* ch-decl.c (decl_temp1): Rewrite to return generated decl.
	  (decl_temp): Deleted.
	* ch-loop.c: Redo decl_temp1 calls to save resulting decl.
	* ch-satisfy.c (safe_satisfy_decl): Reorder switch for
	  readability, add comment.
	* ch-tasking.c: Redo decl_temp1 calls to save resulting decl.
	* ch-tree.h: Delete decl_temp proto, change decl_temp1.

Fri Aug 13 13:39:59 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (decl_temp): Break the chain of decls.  This
	  prevents an infinite loop.
	* ch-lang.c (make_chill_pointer_type): Fix compiler warning.
	* ch-lex.l (equal_number): Check passes in looking up a 
	  symbolic value.
	* ch-parse.y: Fix comments.
	* ch-tasking.c (tasking_setup): Only act in pass 2.
          (make_signal_struct, build_signal_decl,
	   build_chill_receive_case_label): Don't go indirect
	   thru NULL decl pointer.

Thu Aug 12 11:02:34 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (route_to_predefined_function): New function called
          from build_chill_function_call, to call the proper predefined routine.
          (build_chill_card, build_chill_length, build_chill_lower,
          build_chill_max, build_chill_min, build_chill_num, 
          build_chill_pred, build_chill_sizeof, build_chill_succ,
          build_chill_upper): Rewritten to run only in pass 2.
	* ch-decl.c (init_decl_processing): Build predefined functions for card,
          length, lower, max, min, num, pred, sizeof, succ and upper.  Delete
          unused builtin_function calls.
	* ch-grant.c (chill_finish_module_code): Save current_function_decl
	  before calling finish_chill_function, and use that to build the
          initializer structure.
	* ch-lex.l: Remove following tokens, since they're now just predefined,
          not reserved: card, length, lower, max, min, num, pred, sizeof, succ
          and upper.
	* ch-loop.c: Readability, indentation changes.
	* ch-parse.y: Delete tokens for card, length, lower, max, min, num, pred,
          sizeof, succ and upper.  Delete special rules for calls to these.
          Delete mode_location and upper_lower_arg non-terminals.
	  (pmodearg): Eliminate convolutions.
          (call): Add rule for typename parameter.
	* ch-tasking.c: Readability changes.
	* ch-tree.h: Add prototypes.

Thu Aug 12 00:38:17 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (save_decl):  Set DECL_CONTEXT (decl).
	* ch-grant.c (chill_finish_module_code):  Call
	finish_chill_function with nested==0.
	* ch-tree.h, ch-decl.c, ch-tasking, ch-parse.y:  Rename
	{push,pop}_c_function_context to {push,pop}_chill_function_context.
	* ch-parse.y (end_function): If nested, call
	pop_chill_function_context regardless of which pass we're in.

Wed Aug 11 02:34:02 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-actions.c (finish_chill_binary_op):  Handle error marks.
	* ch-decl.c (do_decl):  Laying out decl and generating rtl
	is too late to do here (if there are forward references), so ...
	* ch-satisfy.c (satify_decl):  ... do it here instead.
	* ch-decl.c (finish_enum):  Fixup types of enum decls now.
	* ch-satisfy.c (safe_satisfy_decl):  New routine.  Supports
	checking illegal cyclic definitions.
	All *satisfy* routines now take a 'chain' parameter (instead
	of 'lookup_only') used for checking cycles.
	* ch-satisfy.c (satisfy_decl):  Return DECL_INITIAL if appropriate.
	* ch-satisfy.c (satisfy):  Lots of little fixes.

	* ch-lex.l (init_lex):  Make all the standard ridpointers be
	lowercase, so that lookup_name on lower-cased user input
	will find the standard types.
	* ch-lex.l:  Remove all the standard types, in effect
	converting them from reservered anmes to predefined names.
	* ch-lex.l, ch-parse.y:  Remove PREDEF_MODEDECL - no longer used.
	* ch-grant.c (gfile):  Rename to grant_file_name.
	* ch-lex.l (yywrap):  Don't try to seize current grant_file_name.

	* initname.c:  Removed. get_file_function_name is now in tree.c
	* Makefile.in (CHILL_OBJS): Remove initname.o

	* ch-decl.c (do_decl):  New function, based on loop body of do_decls,
	* ch-decl.c (do_decls):  Just call do_decl.
	* ch-grant.c (chill_finish_module_code):  Minor cleasnups.
	Use new do_decl routine.  Clear init_entry_decl's source line.
	* ch-grant.c (print_proc_tail):  Fix for new param list structure.
	* ch-parse.y (whatpdef):  Removed.  Cleaned up procedure
	and process, allowing proper end-label-checking.
	* ch-typeck.c (build_chill_cast):  Remove decl->type conversion.

Wed Aug 11 00:33:44 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (layout_enum):  Don't call rest_of_type_compilation.

	* ch-lex.l (RETURN_PREDEF):  Don't call lookup_name.
	* ch-expr.c (build_chill_indirect_ref):  Call get_type_of.
	* ch-parse.y (call):  Call get_type_of before build_chill_cast.

Tue Aug 10 21:33:10 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	*  ch-actions.c (build_char_array_expr):  If a concat operand is
	a constant char, convert it to a STRING_CST.
	* ch-decl.c (finish_decl):  Call rest_of_decl_compilation
	with toplev=0.
	* ch-typeck.c (build_chill_cast):  Allow type to be TYPE_DECL.

	* ch-parse.y (actionlabel):  Call define_label in both passes.
	* ch-actions.c (lookup_and_expand_goto, lookup_and_handle_exit):
	New functions, using lookup_name to find LABEL_DECLs.
	* ch-parse.y (GOTO, EXIT):  Use above new functions.
	* ch-tasking.c (struct rc_state_type *current_rc_state):
	Use to store state for the current receive case statement.
	(build_chill_receive_case_start, build_chill_receive_case_end):
	Don't generate temporary LABEL_DECL; just use gen_label_rtx.
	* ch-decl.c:  Remove all stuff dealing with specific label scopes,
	including functions push_label_level, pop_label_level.
	* ch-decl.c (define_label):  Re-write for 2-pass.
	* ch_tree.h (lang_identifier):  Removed label_value.
	* ch-tree.h (IDENTIFIER_LABEL_VALUE):  Removed.

	* ch-parse.y (modename):  Changed to yield identifier, not type.
	This allows following changes, which work better for 2-pass:
	(location):  primval ARROW optmodename -> primval ARROW optname.
	(primval):  Tuple can now be prefixed by unsatisfied name.	

	* ch-actions.c (chill_grant_only):  Renamed to grant_only_flag.
	* ch-lex.l (yywrap):  Don't read seizefiles if grant_only_flag.
	* ch-decl.c (switch_to_pass_2):  Exit if grant_only_flag,

	* ch-satisfy.c (satisfy):  Support CONSTRUCTOR, REFERENCE_TYPE.
	* ch-satisfy.c (satisfy_decl, satisfy):  Kludge around
	to a TYPE_DECL can be simplified to its type.
	* ch-expr.c (build_chill_indirect_ref):  New function.
	* ch-lex.l (prepare_paren_colon):  Make kludge even uglier,
	since the left paran might already have been seen.
	* ch-lang.c (make_chill_pointer_type):  Allow parameter
	to select pointer or reference type.
	(build_chill_reference_type):  New function.
	Either function:  Be more careful (in case arg is identifier).
	* ch-except.c (initialize_exceptions):  Make
	exception_stack_decl be public.
	* ch-actions.c (build_char_array_expr):   Can only
	constant fold if operands are STRING_CST.
	* ch-grant.c (raw_decode_mode):  Allow TYPE_DECL.
	(chill_finish_compile:  Set TREE_PUBLIC of init function to 1.

Tue Aug 10 17:55:12 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_char_array_expr): Set array sizes correctly.
	* ch-decl.c: Fix comment.
	* ch-parse.y (pmodearg): Build tree_list in all cases.
	* varasm.c (assemble_tasssking_entry): Delete unused code.

Tue Aug 10 13:58:21 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_char_array_expr): save/restore
	  a tree's constant status.
	  (build_chill_binary_op): Don't convert an expression
	  if the type we're converting to is NULL.
	* ch-convert.c (maybe_turn_scalar_into_array): New functions.
	  Call it from convert, and from ..
	* ch-expr.c (chill_expand_assignment): call new function.
	  Move convert code earlier, too.
	* ch-decl.c (lookup_name): Delete bogus error message.
	* ch-tree.h (CH_NOVELTY, SCALAR_P): Handle NULL_TREE.
	  Add protos.
	* ch-typeck.c (valid_array_index): Comment out some strange code
	  which now seg faults.
	  (chill_expand_tuple): Re-enable prepending of VARYING
	  length to a tuple.
	  (chill_similar): Return FALSE if either mode is NULL_TREE.

Tue Aug 10 07:29:31 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c: Delete proto for unused function shadow_tag_warned.
	  Add commented-out calls to pushtag, in case we decide later
	  to fill in TYPE_STUB_DECL for dbxout.
	* ch-lang.c (build_chill_struct_type): Add commented-out
	  calls to pushtag, in case we decide later to fill in
	  TYPE_STUB_DECL for dbxout.

Mon Aug  9 23:09:08 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (chill_seize):  Don't get_next_next in pass 2.
	* ch-decl.c (get_next_decl):  Skip ALIAS_DECLs.
	* ch-decl.c (bind_saved_names):  Handle SEIZE ALL.
	* ch-lang.c (layout_chill_struct_type):  Don't call
	rest_of_type_compilation - it crashes without a TYPE_STUB_DECL.
	* initname.c (get_file_function_name):  Get new file and
	function for language-independent constructor name generation.
	* ch-grant.c (get_init_function_id):  Removed.
	* ch-grant.c (chill_finish_compile):  Call get_file_function_name
	instead of get_init_function_id.

Mon Aug  9 18:33:36 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c: Formfeeds and comments.
	* ch-parse.y (quasi_formpar): Treat just like real formpar.
	  Eliminate restriction on single name.
	  (pmodearg, pmodearglist): Remove ignore_exprs stuff.

Mon Aug  9 17:21:14 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-lex.h (enum rid), ch-lex.l (init_lex):  Added RID_ALL.
	* ch-lang.c (build_chill_pointer_type):  Layout the pointer type,
	if the pointee is laid out, even if pass==1.
	* ch-parse.y:  Set ignore_exprs=(pass=2) for entire spec module.

Mon Aug  9 15:44:01 1993  Bill Cox  (bill@rtl.cygnus.com)

	This version compiles the 5-line program.  Thanks, Per!
	* ch-decl.c (print_lang_decl, print_lang_identifier):
	  Add appropriate calls to indent_to().  Rename reverse_scopes
	  to switch_to_pass_2, and wait to set pass = 2 until
	  here.
	* ch-grant.c (chill_finish_module_code): Set module_init_list
	  non-NULL in pass 1;  in pass2, chain on the module_init
	  structure's decl.
	  (chill_finish_compile): Clear module_init_list to NULL.
	* ch-parse.y (quasi_formparlist): Rewrite to avoid seg fault.
	  Rename reverse_scopes to switch_to_pass_2, delete setting 
	  of pass = 2.
	* ch-tree.h: Rename reverse_scopes proto.

Mon Aug  9 13:21:34 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (build_enumerator):  If name is NULL,
	don't call save_decl or get_next_decl.
	* ch-decl.c (layout_enum):  Fix calculation of next value.
	* ch-grant.c (print_enumeral):  Re-do for new 2-pass scheme.
	* ch-grant.c (decode_constant):  Better CONSTRUCTOR support.

Mon Aug  9 11:59:12 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c, ch-convert.c, ch-decl.c, ch-grant.c,
	  ch-lang.c, ch-parse.y, ch-tree.h: gcc -Wall cleanup.
	  Lots of new prototypes.

Mon Aug  9 01:00:33 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-lex.h:  Remove unused RID_'s.  Make sure RID_MAX is last.
	* ch-decl.c (init_decl_processing):  Moved ridpointers
	initialization to init_lex().  Use them consistently.
	* ch-lex.l (RETURN_PREDEF):  New macro.  Uses ridpointers
	for all preferedined types.
	* ch-lex.l (init_lex):  Upper case all RIDs, so grantfiles
	(and error messages?) will use uppercase.
	* ch-decl.c (build_chill_enumerator):  Merged into build_enumerator.
	* ch-lang.c (finish_chill_enum):  Merged into ...
	* ch-decl.c (finish_enum): .... this function.
	* ch-decl.c (layout_enum):  New function.  Does all the pass-2
	stuff for enumerations.
	* ch-decl.c (finish_enum, start_enum):  Only trivial pass-1 stuff.
	* ch-satisfy.c (satisfy):  Support ENUMERAL_TYPE.  Improve ranges.
	* ch-parse.y:  Check ignore_exprs instead of ignore_decls when
	parsing and building types.

Sun Aug  8 16:26:40 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-lex.h:  Add some missing RID_'s.
	* ch-decl.c (init_decl_processing): 

Sun Aug  8 15:32:54 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (module_has_actions): Delete this and all
	  references.  It was a botch.
          (chill_finish_module_code): Move finish_chill_function_call inside
	  the test whether actions were found at module level.
	  Use current_function_name in the initializer build,
	  and init_entry_id in the module_list setup.
	  (chill_finish_compile): Call lookup_name to get the
	  decl from a module_init_list entry.
	* ch-parse.y: Revert module_has_actions additions.
	* ch-satisfy.c (satisfy): After satisfying the type  referenced
	  by a pointer_type, call layout type for the pointer.
	* ch-tasking.c (tasking_registry): Only active in pass 2.
	* ch-typeck.c: Call build_chill_pointer_type everywhere.

Sun Aug  8 13:13:29 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-tree.def (PAREN_EXPR):  New unary op:  '(' EXPR ')'.
	* ch-parse.y (primval):  If pass 1, generate PAREN_EXRR.
	* ch-satisfy.c (satisfy):  Reduce PAREN_EXPR to its operand.
	* ch-grant.c (decode_const):  Handle PAREN_EXPR.
	* ch-decl.c (pop_module):  Fix think.  Inprove error message.

Sun Aug  8 10:31:04 1993  Bill Cox  (bill@rtl.cygnus.com)

	Generally, replace 'function' with 'procedure' 
	and 'type' with 'mode' in error/warning messages.
	* ch-actions.c: See Generally. Fix up 'too many' and 'too few' error msgs.
	* ch-decl.c: See Generally.
	  (init_decl_processing): Call build_tasking_enum from here.
	  Now, it doesn't need a flag to do its work only once.
	  Also, build the TaskingStruct decl here.
	* ch-grant.c: Remove references to `current_grant_file';
	  there's now only one.  See Generally.  Do gcc -Wall cleanup.
	* ch-lex.l: Remove references to `current_grant_file'
	  and delete USE_GRANT_FILE token.
	* ch-parse.y: Remove call to build_tasking_enum, and its extern.
	* ch-tasking.c (tasking_setup): Move TaskingStruct build
	  to init_decl_procesing.  Delete build_tasking_enum calls.
	* ch-tree.c: See Generally.
	* ch-tree.h: Add proto for build_tasking_struct.

Sun Aug  8 08:59:23 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c: Make unnamed_module_number static, reset it to zero
	  before pass 2, so same module names get generated in both passes.
	  (push_module): Return user name or generated name.
	  (init_decl_processing): Build __tmp_initializer_type.
	  Code moved from chill_finish_module_code.
	* ch-grant.c: New flag module_has_actions.  Set TRUE by push_actions,
	  used, reset by chill_finish_module_code.    Replaces test of 
          module_function_name.  Shuffled finish-up code to end of module.
          (chill_finish_module_code): Use global_bindings_p to determine
	  'nested' parameter for finish_chill_function.  Use new
          module_has_actions flag to trigger generation of module_init list
	  entry.  We now can handle not only multiple modules per file,
	  but modules nested inside functions (I think).
	* ch-lang.c (build_chill_pointer_type): Restore missing assignment.
	* ch-parse.y (push_actions): Set module_has_actions flag.
	  (modulion, spec_module): Save possibly-generated module name
	  returned by push_module.
	* ch-satisfy.c (satisfy): Put switch cases into alpha order, add
          case for POINTER_TYPE.
	* ch-tasking.c: Replace build_pointer_type calls with
	  build_chill_pointer_type calls.
	* ch-tree.h: Fix, add prototypes.

Sat Aug  7 17:32:22 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-parse.y:  Remove many useless tests for ignore_decls.
	* ch-parse.y:  Remove obsolete support for _EXTERN and _INIT.
	* ch-parse.y:  Reset ignore_exprs while parsing declarations,
	but handle initializers appropriately.
	* ch-grant.c (decode_constant):  Update (for 2-pass) support
	for CONSTRUCTOR and SET_TYPE.
	* ch-grant.c (chill_initializer_name):  Renamed to
	module_function_name.
	* ch-grant.c (function_generated):  Removed;
	use module_function_name != NULL instead.
	* ch-tree.h, ch-parse.y:  Removed unused current_locnamelist.
	* ch-decl.c (push_modedef):  Simplify to take just one mode.
	* ch-tasking.c (make_process_struct, make_signal_struct):
	Change calls to push_modedef correspondingly.
	* ch-tree.c (build_powerset_type):  Move the stuff that's
	suitable for pass 1 into new function make_powerset_type,
	and that for pass 2 into new function layout_powerset_type.
	* ch-lang.c:  Move pass-1 stuff from build_chill_pointer_type
	into new function make_chill_pointer_type, and split
	build_chill_struct_type into make_chill_struct_type
	and layout_chill_struct_type.
	* ch-decl.c (grok_chill_variantdefs):  Similarly split up
	into make_chill_variants and layout_chill_variants.
	* ch-satisfy.c (satisfy):  Add support for SET_TYPE, and UNION_TYPE.
	Call layout_chill_struct_type for RECORD_TYPE.

Sat Aug  7 09:59:55 1993  Bill Cox  (bill@rtl.cygnus.com)

	Fixup previous check-in.
	* ch-decl.c: Restore unnamed_module_number, which *was*
	  used after all.
	* ch-grant.c (get_init_function_id): Return type s.b. tree.

Sat Aug  7 09:28:17 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (print_lang_decl, print_lang_type): Add
	  correct parameter list.  Add print statements for
	  nesting_level, signal_dest, buffer_size, and the
	  signal_data flag.
	  (decl_temp, decl_temp1): Delete unused code.
	  (init_decl_processing): Call build_instance_type and
	  build_tasking_type in both passes.
	  Generally change current_scope comparisons against 
	  global_scope to global_biidings_p calls.
	* ch-except.c (push_handler): Add space before parameter paren.
	* ch-grant.c (chill_start_module, chill_finish_module,
	  chill_finish_compile): Complete re-write for 2-pass and
	  multiple modules per source file.
	* ch-parse.y (pass1_2): Call chill_finish_compile once each pass.
	* ch-tasking.c: Diffused small adaptations to 2-pass.
	* ch-tree.h (print_lang_decl, print_lang_type): Correct
	  the prototypes.
	  (chill_finish_module_code): Add module name parameter.
	* ch-typeck.c: Fix comments, add whitespace.

Fri Aug  6 12:17:07 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (temp_pushdecl, bind_saved_names): The simple-minded
	way I allocated the shadow_list on an obstack was too fragile,
	so just use xmalloc/free instead.

Fri Aug  6 08:31:49 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-satisfy.c (satisfy): Satisfy TYPE_MIN_VALUE and
	  TYPE_MAX_VALUE for vanilla integer type.  Only need
	  to satisfy TREE_TYPE for integer range type.

Fri Aug  6 00:53:11 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-lang.c (build_chill_range_type):  Split up into two new
	functions (make_chill_range_type, layout_chill_range_type);
	only former part is done in pass 1.
	* ch-lang.c (build_chill_array_type):  Split up in the same
	way (yielding make_chill_array_type, layout_chill_array_type).
	* ch-satisfy.c (satisfy):  Handle array and range types.
	* ch-tree.h (TYPE_RANGE_PARENT):  Removed.  Not used.
	* ch-parse.y (mode2):  Handle optional rangesize.

Thu Aug  5 15:13:42 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-grant.c (print_an_int):  Re-enable (but don't search for SYN).
	* ch-grant.c (raw_decode_mode):  Support printing
	of an IDENTIFIER_NODE (unresolved type name).
	* ch-grant.c (decode_constant):  Support printing of an unresolved
	IDENTIFIER_NODE, as well as some kinds of binary operations.
	* ch-grant.c (grant_one_decl):  Don't call globalize_decl.

	* ch-grant.c (decode_decl):  Add support for ALIAS_DECLs
	(from SEIZEs and GRANTs).
	* ch-grant.c:  Remove support for multiple grantfiles.
	* ch-grant.c, ch-parse.y:  Removed grant_count, for now at least.
	* ch-lex.h (in_seizefile):  Moved to ch-tree.h.
	* ch-tree.h (CH_DECL_SEIZED), ch-tasking.c, ch-decl.c:  Removed.
	* ch-tree.h (CH_DECL_GRANTED): Added.
	* ch-actions.c (build_chill_exception_decl):  Use
	IDENTIFIER_LOCAL_VALUE, not obsolete IDENTIFIER_GLOBAL_VALUE.
	* ch-grant.c (write_grant_file -> write_spec_module): Rename.
	Change to accept list of remember_decls and granted_decls.

Thu Aug  5 11:58:21 1993  Stan Shebs  (shebs@rtl.cygnus.com)

	* expr.c: Remove no-longer-used PROCESS_DECL tree type.

Thu Aug  5 10:03:27 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (init_decl_processing): Only build types
	  in pass 2, since dbxout machinery is only ready for
	  output then.
	* ch-grant.c (chill_finish_module_code): Do most of the
	  work in pass 2.

Thu Aug  5 06:54:10 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y (receivecaseaction): Pass label-group
	  numbers around.
	* ch-tasking.c (build_chill_receive_case_start):
	  Generate unique labels for each case, pass back
	  the label-group's number.
	  (build_chill_receive_case_end): Accept label-group
	  number from parser, use it to build labels
	* ch-tree.h: Change prototypes.

Wed Aug  4 13:21:13 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (decl_temp1):  Call finish_decl().

	* ch-grant.c (chill_start_module_code):  Don't call
	push_c_function_context - not needed since we're not nested.
	* ch-grant.c (chill_finish_module_code): Call finish_chill_function
	with nested=0, not 1 (twice).
	* ch-grant.c (chill_finish_module_code): Clear function_generated.

Tue Aug  3 20:06:22 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-decl.c (push_chill_extern_function):  Set TREE_PUBLIC.

Tue Aug  3 19:08:51 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_function_call): Handle parameter
	  attributes better - LOC still not handled.
	* ch-tree.def: Amplify comment.

Tue Aug  3 18:07:36 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-lex.l (handle_use_seizefile_directive):  Update
	next_file_to_seize correctly.
	* ch-actions.c (build_chill_abs):  Create an ABS_EXPR, not an rts_call.

Tue Aug  3 14:03:50 1993  Bill Cox  (bill@rtl.cygnus.com)

	First Aid, not real long-term fixes...
	* ch-decl.c (pop_module, lookup_name_for_seizing): Check
	  current_module pointer for NULL before using it.
	  (init_decl_processing): Set up wchar_type_node before using it.
	* ch-grant.c (chill_finish_module_code): Don't build
	  initializer_type or initializer_decl until pass 2.
	* ch-lex.l: Readability - single statement per line.
	* ch-tasking.c (make_process_struct): Hide get_parm_info
	  call inside #ifdef for now.

Tue Aug  3 09:59:23 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (pushdecllist): Add forward decl.
	* ch-parse.y (handler): Add rules which allo
	  empty onalternativelist.
	* ch-tasking.c (get_tasking_code_name): Add
	  cast of alloca() result.

Tue Aug  3 00:11:40 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-lex.l (handle_use_seizefile_directive):  Make files_to_seize
	a queue.  Check for duplicate use_seizefile-s immediately.
	* ch-lex.l (yywrap):  Use this more portable mechanism,
	rather than the flex-specific <<EOF>>.  Also, clear saw_eof.
	* ch-lex.l:  Don't call push_module/pop_module automatically.
	* ch-decl.c (push_chill_extern_function:  Modify for 2-pass.

Mon Aug  2 14:24:59 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-parse.y:  Rename actionstatement -> nonempty_actionstatement.
	New actionstatement is now nonempty_actionstatement | SC.  Use
	where appropriate.  This is closer to Blue Book terminology.

	* ch-tree.def (ALIAS_DECL):  New tree type.
	* ch-decl.c:  Merged all the code we need (I hope) from c-decl.c,
	which is no longer used for cc1chill.
	* c-decl.c:  Remove all Chill-related code.
	* Makefile.in (CHILL_OBJS):  Don't use c-decl.o.
	* ch-decl.c:  No longer use IDENTIFIER_GLOBAL_VALUE anywhere.
	Introduce a 'nesting_level' level concept instead.
	* ch-decl.c:  Merged push_scope into pushlevel; pop_scope into
	poplevel;  struct scope and struct binding_level.
	* ch-decl.c:  Other major name lookup algorithm changes.
	* ch-tree.h (struct lang_identifier): Remove granted_value field.
	* ch-tree.h (IDENTIFIER_GRANTED_VALUE macro):  Removed.
	* ch-tree.h (DECL_NESTING_LEVEL):  New macro.
	* ch-satisfy.c (satisfy, satisfy_decl):  New 'lookup_only' arg.
	* ch-tree.h (struct module):  New fields nesting_level, granted_decls.
	* ch-grant.c (seize_implied_names, do_seize, chill_seize):  Move ...
	* ch-decl.c: ... here.
	* ch-grant.c (start_chill_function2):  Remove.
	* ch-grant.c (chill_start_module_code):  Now called in both passes.
	* ch-actions.c (lang_init):  Code moved to ...
	* ch-decl.c (init_decl_processing): ... here.
	* ch-actions.c (chill_expand_result, chill_expand_return):
	Handle being called during pass 1.
	* ch-lex.l (name_type_signal):  Don't try lookup_name during pass 1.
	* ch-parse.y (PUSH_ACTION, push_action):  Is now invoked during
	both passes, for the sake of chill_start_module_code.  Change all
	actions rules to invoke PUSH_ACTION unconconditionally.
	* ch-parse.y, ch-decl.c (push_module):  Module label is now optional.

Mon Aug  2 15:02:32 1993  Bill Cox  (bill@rtl.cygnus.com)

	* expr.c (store_constructor): Convert library function
	  parameters to proper integer precision before calling
	  emit_library_call.

Mon Aug  2 08:46:06 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (seize_implied_names): Check POWERSET's
	  base type for names to seize.

Fri Jul 30 19:59:30 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-tree.h: Delete unused definition of JOINER
	  macro.  Expand comment about INSTANCE_TYPE.

Thu Jul 29 14:57:11 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-convert.c (unreferenced_type_of): New function.
	  (convert): Call new function.

Thu Jul 29 07:34:57 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lex.l: Allow C-style comments before the module
	  header.  Use #undef to assure that strchr isn't a
	  macro (portability), and remove the extra paren-
	  theses in its extern name.
	  (check_newline): Call getlc less often, so that user
	  labels aren't lowercased before their time. Add BEGIN
	  INITIAL before starting pass 2, so the header is
	  correctly ignored.

Wed Jul 28 14:23:24 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (chill_start_module_code): Cast alloca()
	  return value.

Wed Jul 28 12:39:51 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)

	* ch-grant.c: remove extra parens around extern function
	declarations (they confuse the DECstation compiler)

Wed Jul 28 12:28:56 1993  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Stop deleting flex's #line lines.

Wed Jul 28 07:05:25 1993  Bill Cox  (bill@cygnus.com)

	Adjust after FSF merge:
	* calls.c (expand_call): Add comment.
	* ch-expr.c: Add newline.
	* expmed.c (store_split_bit_field): Add comment.

Tue Jul 27 17:32:13 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_binary_op): Set code0 and
	  code1 only in pass 2.
	  (get_result_tmp_name): Cast alloca return for portability.
	* ch-decl.c (pop_module): Test current_module ptr before
	  using it.
	* ch-lex.l: Set lineno and input_filename for pass 2
	  error messages.

Tue Jul 27 15:14:06 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lex.l: Fix the syntax error at line 329.  Will I
	  *ever* quit fixing these in the ch-lex.c file?  Stay tuned..

Tue Jul 27 15:01:25 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lex.l: Pervasive rewrite for queueing seize files,
	  then parsing them at the end of pass 1.  Still some
	  problems.

Tue Jul 27 07:40:39 1993  Bill Cox  (bill@rtl.cygnus.com)

	* chill.in: Check for .i suffices only, and use -xchill
	  to bracket the argument.

Thu Jul 22 19:17:23 1993  Bill Cox  (bill@rtl.cygnus.com)

	* c-decl.c (print_lang_identifier): Oops.  Syntax error.

Thu Jul 22 18:56:16 1993  Bill Cox  (bill@rtl.cygnus.com)

	* c-decl.c (pushdecllist): Standardize loop for readability.
	* ch-decl.c (decl_temp): Call pushdecllist to store decl
          into hash table, move after current_scope declaration.
	  (decl_temp1): Move also.
	* ch-lex.l (getlc): New function.  Force char to lower case.
	  (check_newline): Call it, so comparisons work on uppercase
          keywords.

Wed Jul 21 22:17:22 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (do_decls): Add saving of decl tree
	  address into ID node in pass 2,  reindent.
	* ch-grant.c (start_chill_function2): New function.
	  (chill_start_module_code,  chill_finish_module_code): Call it.
	* ch-loop.c (build_temporary_variable, begin_for_range):
	  Replace start_decl, finish_decl pairs with decl_temp1 calls.
	* ch-parse.y (parnamelist): Eliminate warning by eliminating
          the %type for now.
	* ch-actions.c, ch-tasking.c: Replace do_decls calls with
	  decl_temp1 calls.
	* ch-tree.h: New prototypes.
	* stmt.c (stamp_nesting_label): Check parameters for NULL.
	* toplev.c (lang_options): Add '-L' option.

Wed Jul 21 21:06:18 1993  Bill Cox  (bill@rtl.cygnus.com)

	Portability fixes.
	* ch-decl.c (save_decl): Make definition match forward declaration.
	* ch-lex.l (RETURN_TOKEN): Don't use the 'do { .. return } while 0'
	  in the macro - Sun's compiler throws warnings.  Thanks, Brendan.
	* ch-satisfy.c (satisfy): Add forward declaration.
          (SATISFY): Add outer parens for greater safety.

Wed Jul 21 12:59:20 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* c-decl.c (pushdecllist): New function.  Add a list of decls
	to the current scope, checking for duplicates.
	* c-decl.c (start_function):  Remove some Chill junk.
	(This function should no longer be used for Chill.)
	* ch-lex.l (ch_lex_init):  New function, to re-init for 2nd pass.
	* ch-lex.l (<<EOF>>):  Cleanup, and re-start for 2nd pass.
	* ch-tree.h (UNSATISFIED, UNSATISFIED_FLAG):  New flags.
	* ch-tree.h (CH_CLASS_IS_VALUE, CH_CLASS_IS_REFERENCE):
	Implement.  Add comments.
	* ch-tree.h (CH_COMPATIBLE_CLASSES, CH_ROOT_MODE, CH_RESULTING_MODE):
	Better Blue Book type checking.
	* ch-actions.c (finish_chill_binary_op): Handle folding
	and other stuff that couldn't be done in pass 1.
	* ch-actions.c (build_chill_binary_op):  Bail out early if pass 1.
	Use new CH_ROOT_MODE macro to handle integer promotions etc.
	* ch-except.c (push_handler):  Bail out if pass 1.
	* ch-tasking.c (make_process_struct):  Defer making this work.
	* ch-parse.y (assignaction):  Simplify, and move some code ...
	* ch-expr.c (chill_expand_assignment): ... here.
	* ch-typeck.c (chill_root_mode, chill_resulting_mode,
	chill_compatible_classes):  New functions, implementing the
	correspondingly named Blue Book concepts.
	* ch-parse.y generally:  Lots of little tweaks to support
	2-pass compilation.
	* ch-parse.y (push_module, pop_module):  Moved to ...
	* ch-decl.c (push_module, pop_module):  ... here.
	* ch-parse.y (push_action):  New function.
	* ch-parse.y (pdef):  Move complicated action to ...
	* ch-parse.y (end_function):  ... new function here.
	* ch-parse.y (procedure):  Major re-write.
	* ch-parse.y (paramname, paramnamelist):  New, to avoid conflict (?).
	* ch-decl.c (do_decls, push_syndecls, push_modedef,
	start_chill_function, finish_chill_function):  Do different things
	on each pass.  Hence, can use code in c-decl.c to lesser extent.
	* ch-decl.c (build_chill_function_type):  First arg is now
	just the return type, rather than a singleton list.
	* ch-decl.c (massage_param_node):  Remove not needed (we
	now encode parameter attributes directly in the TREE_PURPOSE).
	* ch-decl.c (chill_munge_params):  New function, called by parser.
	* ch-decl.c (push_parms):  Removed function.
	* ch-decl.c (push_cope, pop_scope, save_decl, get_next_decls):
	New functions, to coordinate decls between passes.

Wed Jul 21 14:23:25 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (lang_decode_option): Add option -Lpath
	  to specify seize file path.
          (ch_singleton_set): Readability formatting.
	  Add comment, move functions to easier found places.
	* ch-lex.l (setup_seizefile_read): Check for *no* slashes.
          (register_seize_path): Use memcpy so pathlen has an effect.
	* gcc.c (default_compilers): Add -L option to chill
	  compiler SPECs.

Wed Jul 21 12:59:20 1993  Per Bothner  (bothner@kalessin.cygnus.com)

	* ch-satisfy:  New file.  Used for name lookup.
	* Makefile.in (CHILL_OBJS): Add ch-satisfy.o.

Wed Jul 21 12:16:51 1993  Bill Cox  (bill@rtl.cygnus.com)

	* toplev.c (main): Delete -L option handling - breaks
	  non-chill compilers.

Wed Jul 21 09:29:24 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c: #undef strchr and strrchr names in extern
          declarations, to prevent RS6000 compiler from reporting
          their misuse as macros.
	* ch-lex.l (setup_seizefile_read): Refer to list of  paths
	  for seizefiles specified by -L options on command line.
          (register_seize_path): Add a new path to the seize file list.
	* toplev.c (strip_off_ending): Recognize chill suffix.
          (main): Recognize -L option, specifying a seize file path.

Tue Jul 20 12:41:52 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lex.l (convert_float): Make it really portable,
	  using the appropriate macros.

Tue Jul 20 11:26:02 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lex.l (convert_float): More casts for vxworks
	  portability.

Tue Jul 20 11:01:30 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lex.l (convert_float): Give variable `d' correct
	  type so build_real call is correct.  Should remove
	  vxworks portability problem.
          (convert_float): Re-indent to standards.

Mon Jul 19 17:32:10 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_char_array_expr): Add field decls to
	  constructor.  Now, it generates the library call.
	* ch-expr.c (chill_expand_array_assignment): Make sure that all
          error messages say 'mode' not 'type'.

Mon Jul 19 14:44:46 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c, ch-convert.c, ch-decl.c, ch-grant.c, ch-lang.c,
	  ch-loop.c, ch-parse.y, ch-tasking.c, ch-tree.c, ch-typeck.c:
	  Make sure that all error messages say 'mode' not 'type'.
	* ch-decl.c (push_modedef): Add novelty computation,
	  storage in each newmode.
	* ch-parse.y: Delete novelty counter - moved to ch-decl.c.
	  Reformat slightly for readability.  Fix comments.
	* ch-tree.h: Delete print_lang_type prototype.

Mon Jul 19 06:43:51 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (chill_expand_return): Disable
	  error message which requires 2-pass analysis, for
	  now.
	* ch-convert.c (convert): Build length-only constructor
	  for empty string (PR 2930).

Fri Jul 16 16:08:33 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (chill_expand_array_assignment): Check
	  non-varying string assignments for conformance to
	  the "string assignment condition" (PR 2920).

Thu Jul 15 13:25:33 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_array_expr): Check parameters.
	  Call convert to build unitary array from scalar if
	  needed.  Rewrite CONCAT_EXPR handling.
	* ch-convert.c (build_array_type_for_scalar): New functions.
	  (convert): Call new function, to convert scalar to unitary
	  array.  Only call chill_expand_tuple if expression hass
	  NULL_TREE type.
	* ch-expr.c (chill_expand_expr): Allow a larger static
	  varying array to be assigned to a smaller, with a runtime
	  test (to be provided).
	* ch-parse.y (locdec): Comment out bogus error msg.
          (elementlist): Replace several lines with chainon call.
	* ch-tree.h (SCALAR_P): New macro.  New prototype for
	  build_array_type_for_scalar.
	* ch-typeck.c (build_chill_cast): Re-indent.
          (chill_expand_tuple): Comment out strange addition of 
	  varying string's length to front of constructor list.

Thu Jul 15 05:58:46 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-except.c (start_handler_array): Use unique identifier for
	  exception array, so we can have > 1 array per reach
	  (PR 2931).  The change was originally entered June 23, and
	  subsequently lost.

Mon Jul 12 16:07:53 1993  Bill Cox  (bill@rtl.cygnus.com)

	Get executable test cases running again...
	* c-typeck.c (build_function_call): Bypass default
	  parameter promotions, format param syntax check for
	  CHILL; they've already been converted in
          build_chill_function_call.
	* ch-actions.c (chill_expand-return): Correct tests
	  for function which returns no value.
	* ch-convert.c (base_type_size_in_bytes): Check for
	  NULL type parameter, just return.
          (convert): Allow conversion of CHAR to varying array
	  of CHAR.
	  Change error msg to "conversion" from "assignment".
	  Remove default from case, which short-circuited before
	  REFERENCE_TYPEs got converted.  Deleted second copy
	  of REFERENCE_TYPE code.
	* ch-lang.c (build_chill_range_type): Simply exit if
	  NULL input parameter.
	* ch-loop.c: Fix comment.

Sun Jul 11 11:27:08 1993  Bill Cox  (bill@cygnus.com)

	* ch-actions.c (chill_expand_result, chill_expand_return):
	  Move here from ch-typeck.c.  Add a temporary to remember the
	  result value in.  Change return handler to fetch that 
	  temporary value, if there is one.
	* ch-parse.y (pdef): Call chill_expand_return to fetch
	  the temp's value.
	* ch-tree.h, ch-typeck.c: Move return, result functions to
          ch-actions.c.  And their prototypes.

Fri Jul  9 15:47:51 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c, ch-convert.c, ch-decl.c, ch-except.c,
	  ch-expr.c, ch-grant.c, ch-inout.c, ch-lang.c,
	  ch-lex.l, ch-loop.c, ch-parse.y, ch-tasking.c,
	  ch-tree.c, ch-tree.h, ch-typeck.c: gcc -Wall cleanup.

Fri Jul  9 09:41:05 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (decode_decl): Grant BUFFER, INSTANCE variables.
          (print_integer): Delete old non-working INSTANCE code.
	* ch-lex.l (name_type_signal): Recognize BUFFER name, too.
	* ch-parse.y (rccase_label): Move all actions inside if.
          Use BUFFERNAME to recognize receice case buffer clause,
	  eliminate one shift-reduce conflict.
	* ch-tasking.c (build_buffer_descriptor): Check for
	  CH_DECL_BUFFER flag, remove unused code.

Thu Jul  8 11:17:32 1993  Bill Cox  (bill@rtl.cygnus.com)

	Declaring and sending buffers..  first draft
	* ch-actions.c (lang_init): Define the send_buffer runtime
	  function.
	* ch-decl.c (do_decls): Standardize loop, so stepping
	  isn't hidden.
	* ch-lex.l: Clean up prototypes for readability.
	* ch-parse.y (sendaction): Add send buffer action.
          (locdec): Add rule for buffer declaration.
	* ch-tasking.c (generate_tasking_code): standardize indentation.
          (make_signal_struct): Readability changes.
          (build_chill_send_buffer, build_buffer_decl, 
           build_buffer_descriptor): New functions.
	* ch-tree.h (IDENTIFIER_BUFFER_SIZE): Add place to save
	  buffer's maximum queue length in buffer decl.
          (CH_DECL_BUFFER): Add flag in decl.  Clean up for
	  readability.  Add prototypes.
	* ch-typeck.c (build_chill_cast): Call convert rather
	  than storing directly into TREE_TYPE field.

Tue Jul  6 12:34:32 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (lang_init): Set warn_switch so case labels
	  get checked.  Move build_chill_case_expr to ch-expr.c.
	* ch-expr.c (chill_expand_case_expr): Enable checking
	  of expression case labels.
	* ch-grant.c: Move a comment.

Mon Jul  5 10:02:27 1993  Wilfried Moser  (fs_moser at rcsw1j)

	* ch-lex.l: Add compiler directive SUPPORT_CAUSING_ADDRESS.
	* ch-except.c (initialize_exceptions): Change the layout of the
	  structure __ch_handler. The entry __jbuf is moved to the end 
	  of the structure and its size was changed to _JBLEN+10.
	* ch-decl.c (push_chill_extern_process): Add processing of
	  processes with no arguments.
	* ch-grant.c (decode_decl, do_seize): Add processing of
	  processes with no arguments.
	* ch-tasking.c (build_process_header, build_chill_start_process):
	  Add processing of processes with no arguments.
	  (make_process_struct): Add processing of IN attribute for
          process arguments.
	  (tasking_setup): Add NUL-character to name of a tasking
          element. The name must be NUL terminated.
	  (build_chill_send_signal): Default SEND_SIGNAL_PRIORITY
          to 0 with a warning if -Wall specified on command-line.
	
Fri Jul  2 16:01:57 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y: Change 'empty' comments to new non-terminal
	  so that exyacc doesn't discard them.
	* ch-lang.c (build_chill_range_type): New error messages.

Fri Jul  2 12:43:25 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y (action): Catch and report actions which 
          shouldn't have exception clauses, but do.  Unfortunately,
	  catching more than one of these per compilation will 
          have to await the general addition of syntax error
          recovery to the parser.

Fri Jul  2 10:45:35 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y (locdec): Issue error for initialization 
	  of bitstring with tuple, not for powerset init with
	  tuple.

Thu Jul  1 15:29:26 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lang.c (build_chill_array_type): Check for indices
	  that didn't fold into constants, issue error (PR 2924b).
	* ch-parse.y: Add novelty counter, alphabeticalize.
	* ch-tree.h: Define CH_NOVELTY for novelty checks later.

Thu Jul  1 14:03:04 1993  Bill Cox  (bill@rtl.cygnus.com)

	For Wilfried Moser.
	* chill.in: Add -ansi switch at compiler call to avoid
	  translation of i.e. sun to 1 by cpp.

Wed Jun 30 22:21:33 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (raw_decode_mode): Add code for
	  integer and enumeral ranges.  Standardize indentation.

Wed Jun 30 14:02:23 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (print_an_int): New function to print a
	  decimal integer string or the CONST_DECL (SYN) which
	  best matches it.
          (print_integer): Call the above function.  Replace
	  calls to SAME_TYPE macro with TYPE_MAIN_VARIANT
	  comparisons, as suggested by Jim Wilson.
          (decode_decl): Set current_grant_modename sooner,
	  be sure to clear it when done.

Wed Jun 30 10:10:57 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_max_min): Change interface to accept
	  just a max/min flag.  Get min/max values from an
	  enumeral constructor.
          (build_chill_max, build_chill_min): Change calls to
	  build_max_min.
	* ch-lang.c (deep_const_expr): Check for NULL_TREE
	  arguments, don't seg fault.

Wed Jun 30 09:20:09 1993  Bill Cox  (bill@rtl.cygnus.com)

	* config/sparc/sparc.c (sparc_type_code): Add SET_TYPE
	  to switch cases, preventing abort.

Tue Jun 29 19:04:37 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c: Update comment.
	* ch-parse.y (range_or_mode): New non-terminal used in
	  lexpr to implement mode as case label.

Tue Jun 29 13:13:46 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_case_expr): Pass in the
	  optional ELSE clause, error for multiple case-selector
	  expressions, error for missing ELSE clause.
	* ch-expr.c (chill_expand_assignment): Error if multiple
	  location assignment and locations not novelty 
	  equivalent.
	* ch-parse.y (caseaction): Add range_list_clause non-
          terminal, sorry message for it.
          (assignaction): error if operator used on multiple
	  assignment.
	  (case_expr): Pass optional ELSE tree to 
	  build_chill_case_expr for checking.
	* ch-tree.h (build_chill_case_expr): Change proto.

Fri Jun 25 17:22:41 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (chill_comptypes, build_chill_binary_op):
          Allow PROC mode variables.
	* ch-convert.c (convert): Turn a NULL literal into a zero
	  valued pointer-to-function, given such a type.  Also
	  build the ADDR_EXPR of a function variable.
	* ch-grant.c: Pervasive -Wall -pedantic cleanup.
          (print_enumeral, print_integer, print_struct) Moved these
	  large functions out of the switch in raw_decode_mode for
	  readability, and to encourage future code-sharing.
          (print_proc_tail, print_proc_exceptions): Moved these out
	  of decode_decl, to share them.  They're used also to
	  output PROC modes.
	* ch-parse.y (mode2): Enable PROC modes.
	  (procmode): Represent PROC mode as a ptr-to-function type.
          (call): Recognize ptr-to-function as indirect call.
          Cleanup 'primval LPRN untyped_exprlist RPRN' action code.

Thu Jun 24 15:59:20 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c: (raw_decode_mode): Add support for unnamed
	  and user-numbered enumeration members.

Thu Jun 24 13:52:10 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_array_expr, build_chill_length):
	  Explicitly convert a varying array's length field to an
	  integer_type_node, now that it's only a chill_integer_
	  type_node.
	* ch-expr.c (chill_expand_expr, 
                     expand_assignment_to_varying_array, 
                     chill_expand_array_assignment,
                     expand_varying_length_assignment): Explicitly 
          convert a varying array's length field to an integer_type_node,
	  now that it's only a chill_integer_type_node.
	* ch-loop.c (init_loop_counter, top_of_loop_test): Change
	  to handle varying array location iterations.
	* ch-parse.y (mode2): Count number of named SET members,
	  as opposed to '*' members.  Issue error if there were none.
	  (setelement): Count named set members.  Generate a unique
	  identifier for the '*' element.
	* ch-typeck.c (validate_varying_array_ref):  Explicitly 
          convert a varying array's length field to an integer_type_node,
	  now that it's only a chill_integer_type_node.

Wed Jun 23 19:18:28 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lang.c (finish_chill_enum): Change test for too-
          large enumerations.
	* ch-parse.y (setelement, optsetvalue): Allow numbered,
          unnamed set elements.

Wed Jun 23 16:25:06 1993  Bill Cox  (bill@rtl.cygnus.com)

	* c-typeck.c (process_init_constructor): Suppress
	  errors about un-initialized array elements if the
	  array is VARYING, as signaled by C_TYPE_VARIABLE_SIZE.
	* ch-actions.c (lang_init): Set flag_short_enums, so that CHILL
	  enumerations *can* be only a byte in size.
          (adjust_parm_or_field): Convert untyped parameter before
	  looking at its type to process it.
	* ch-convert.c (convert): Generate [ -1, -1 ] value for
	  an INSTANCE type.
	* ch-decl.c (do_decls): Assure that a CONSTRUCTOR has a
	  type, so that output_constant doesn't seg fault.
	* ch-except.c (start_handler_array): Use unique identifier for
	  exception array, so we can have > 1 array per reach.
	* ch-lang.c (finish_chill_enum): Error if number of
	  enumeration values exceeds 256.
	* ch-parse.y (check_end_label): Error, not warning if start
	  and end labels don't match.
          (assignaction): Convert RHS.  Allows untyped tuples to be
	  passed to stabilize_reference.
          (exceptlist, onexceptprefix): Error if non-unique exception
	  name is coded.
	* ch-tree.c: Added form feeds, comment reformatted.
	* ch-typeck.c (chill_expand_tuple): Compare tree value to
	  NULL_TREE, not zero.  Add a constructor element for a
	  VARYING array's length to the constructor list.
          (build_varying_struct): Mark the type as VARYING for
	  process_init_constructor.
	* toplev.c (lang_options): Add '-lang-chill' and
          '-fchill-grant-only' options to table.

Tue Jun 22 13:13:41 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_function_call): Add check
	  to prevent calling a PROCESS like a PROCEDURE.
	* ch-parse.y (rcalternative): Add check for an 
	  receive case alternative after a RECEIVE CASE
	  statement.
	* ch-tree.h: Fix macro ENCAPSULATED_ARRAY_P.
	* ch-lang.c (lang_finish): Remove resetting errorcount
	  and sorrycount for granting.

Mon Jun 21 17:56:48 1993  Bill Cox  (bill@rtl.cygnus.com)

	Receiving signals works.
	* ch-actions.c (lang_init): Add else_clause flag to
	  __wait_signal parameter list.
	* ch-lex.l: Add SIGNALNAME token, return when appropriate.
	* ch-parse.y (SIGNALNAME): New token.  Delete 
	  empty_untyped_exprlist token, no longer used.  Add 
	  name_or_signal non-terminal.  Standardize a few NULL
	  tests.  Add real RECEIVE CASE semantics.  Add checks that
	  SIGNALS, BUFFERs are only declared at global scope.
	  (call): Add signal declarations with/without data fields.
	* ch-tasking.c (get_tasking_code_name, get_tasking_code,
          build_chill_receive_case_start, build_chill_receive_case_end,
          build_chill_receive_case_label): New functions.
	  Replace build (CONSTRUCTOR, ... calls with build_nt 
          (CONSTRUCTOR, calls.
	* ch-tree.h: New prototypes.

Thu Jun 17 18:36:38 1993  Bill Cox  (bill@rtl.cygnus.com)

	SIGNAL declaration compilation, seizing & granting,
          SENDing also.
	* ch-actions.c (lang_init): Move instance_type_node 
	  build to ch-tasking.c.  Call build_tasking_message_type.
	  Build a type for send_signal.  Put builtin_function
	  calls into alpha order.
	  (adjust_proc_param): Rename to adjust_parm_or_field,
	  add is_signal flag, so signal fields can use it.  Rename
	  calls to it, add flag to calls.
	* ch-decl.c (push_chill_extern_signal): Add function.
	* ch-grant.c (decode_decl): Correct signal decl output.
	  (do_seize): Correct check for process seizure.  Add
	  code for seized signal decl.
	* ch-lex.l (yylex): Treat POS, ROW, STEP as reserved.
	* ch-loop.c (get_unique_identifier): Standardize loop
	  temporary's name to assure that it's not granted.
	* ch-parse.y (SIG_NAME): Delete unused token.
          (spec_declist): Delete silly printf.
	  (quasi_signaldef): Add non-terminal.
	  (sendaction, optsendwith, optsendto, optpriority):
          Implement actual working semantics.
          (call, empty_untyped_exprlist): Allow empty signal 
          fields between parens.
	* ch-tasking.c: Rename adjust_proc_param calls, add
	  is_signal flag to calls.  Make instance_type_node a
          type, not a TYPE_DECL, change references.  Fix all
	  CONSTRUCTOR builds.  Add make_signal_struct function.
          Move build_instance_type here from lang_init.
          (build_tasking_message-type, build_signal_descriptor,
	  build_chill_send_signal): New functions.
	* ch-tree.h: Add, update protos.
	* ch-typeck.c (build_chill_cast): Check for NULL expression
	  type as well as error_mark.

Thu Jun 17 12:28:03 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)

	* Makefile.in (STAGESTUFF): Add chill to list.

Wed Jun 16 07:12:53 1993  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Complete the renaming of ch-process.c
	  to ch-tasking.c.
	* ch-decl.c (push_chill_extern_function): Drop is_process
	  parameter, and marking process decl trees.
          (push_chill_extern_process): New function for
	  SEIZEd processes.  Lotsa form feeds added for print
	  readability.
	* ch-grant.c (decode_decl): Handle GRANTing of SIGNAls.
	  (do_seize): New parameter seize_all.  Handle sseizing
	  processes.
	  (chill_seize): Pass seize_all parameter.
	  (chill_grant): Check for __tmp_ prefix, to disable
	  *either* seizing or granting.
	* ch-parse.y (quasi_pdef): Delete is_process parameter for
	  push_chill_extern_functon, call push_chill_extern_process
	  for processes.
	  (specialinit): Comment these rules as needed only until
	  2-pass compiler is operational.
	  (extprocedure): Delete is_process parameter.
	  (simpledec): Delete `sorry' about SIGNAL decls.
	  (optsigdest): Correct check for process name.
	* ch-tasking.c (build_signal_decl): Finish coding.
	* ch-tree.h: Add macro to save a SIGNAL's destination
	  process name in an id node.  Add/change prototype.

Mon Jun 14 18:17:13 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (lang_init): Build instance_type_node.
	  Change `this' to a runtime function call.
	* ch-grant.c (do_seize): Generate tasking-code
	  variable for seized process.
	* ch-lex.l (equal_number): Also accept synonym
	  name for numeric value.
	* ch-parse.y (primval): Add process-related
	  function calls.  
          (signaldef, etc.): Rough draft of SIGNAL definition
          processing. 
          (stopaction): Call runtime function.
          (pdef): Pop symbol level if ending a process
          and there were parameters.
          (primval): Call `whoami' runtime function for THIS.
	* ch-tasking.c (build_process_header): Be sure
          to define the tasking enum, if it hasn't already
	  been done.  Only call shadow_record_fields if there
	  are parameters.  
          (build_tasking_enum): Only call start_enum *after*
          checking the already_built flag.
          (build_copy_number, get_tasking_code,
	  build_gen_code, build_gen_inst, build_get_ptype,
	  build_proc_type): New functions for process-related
	  builtins.
          (build_signal_decl): New function for SIGNAL
          declaration - rough draft.
	* ch-tree.def (INSTANCE_TYPE): new tree code.
	* ch-tree.h: New prototypes.  Defines for instance
	  type field access.

Sat Jun 12 21:15:02 1993  Bill Cox  (bill@rtl.cygnus.com)

	Get start-process action working:
	* ch-actions.c (adjust_proc_param): new function,
	  extracted from build_chill_function_call and called
	  from there.
	* ch-tree.h, ch-grant.c (do_seize): Add process_type 
	  parameter to add_taskstuff_to_list call, prototype.
	* ch-parse.y (start_parlist): New non-terminal for
	  START action.
          (startaction): Reference start_parlist, check for
	  integer-valued process copy-number.
          (optstartset): Check instance parameter - must be
	  an INSTANCE_TYPE location.
	* ch-tasking.c (generate_tasking_code_variable): New
	  function, extracted from tasking_setup and called 
          from there.  Also called from build_process_header.
	  (build_process_header): Add process_type parameter
	  to add_taskstuff_to_list call.  Remove incrementing
	  of process_type (moved into generate_tasking_code
	  _variable).
          (build_chill_start_process): Complete rewrite.
	  (add_tasking_stuff_to_list): Add stuffnumber parameter
	  putit on the list.          

Sat Jun 12 06:08:09 1993  Bill Cox  (bill@rtl.cygnus.com)

	Getting processes compiled, initialized and granted:
	* .cvsignore: Add chill file.
	* c-decl.c (shadow_record_fields): Allow PARM_DECL
          as well as VAR_DECL.
	* ch-actions.c (lang_init): Move build of
	  initializer_type into ch-tasking.c.  Change
	  definition of THIS to function call.
	* ch-decl.c (massage_param_node): Add comments.
	  (start_chill_function): Set nested flag in
          start_function call based upon current_function_decl,
	  not as constant zero.
	* ch-grant.c (decode_decl): lotsa code by Wilfried to
	  GRANT process decls.  
          (finish_chill_module): Completely rewrote interface
          to runtime.
	* ch-lex.l (THIS): Just return the token code.
	* ch-parse: Add THIS token.
	  (processpar, processparlist): New rules, to collect
          process parameters. 
          (pdef): Add code to pop the process' WITH scope.
          (procedure): Set process WITH scope flag to zero.
          (process): Move most code into build_process_header.
          (primval): Output function call for THIS.
	* ch-tasking.c (add_taskstuff_to_list, build_tasking_enum,
          make_process_struct, build_process_header): New code 
          to handle process translation and interface to runtime.
	* ch-tree.h: New prototypes.

Thu Jun 10 13:32:51 1993  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Change ch-process.c to ch-tasking.c.
	  A delayed part of the last change..

Thu Jun 10 11:14:59 1993  Bill Cox  (bill@rtl.cygnus.com)

	* .cvsignore: Add 'chill' file.
	* ch-actions.c (lang_init): Add new runtime function
	  __register_process.
	* ch-decl.c (push_chill_extern_function): Add is_process
	  input flag, use it.
	* ch-grant.c (decode_decl): Recognize a process for
	  granting.
	  (do_seize): Put seized processes onto the tasking_list.
	  (chill_finish_module_code): Declare init_list entry,
	  link it onto the init_list.  Call tasking_setup and
	  tasking_registry.
	* ch-lex.l: Make tasking-related variables global,
	  delete their initialized flags.
	* ch-parse.y: Add is_process flag to push_chill_extern_function
	  calls.  Put processes onto the tasking_list.
	* ch-process.c: Renamed to ch-tasking.c.
	* ch-tasking.h: New file.
	* ch-tree.h: New, adjusted prototypes.

Wed Jun  9 10:59:27 1993  Wilfried Moser  (moser@deneb.cygnus.com)

	* chill: This file is replaced by chill.in and will be
	  generated during 'make' and 'make install'. This script
	  now finds the correct chillrt0.o and libchill.a during
	  linking.
	* chill.in: New file that replaced chill.
	* Makefile.in: Add rules to make chill out of chill.in.

Wed Jun  9 09:03:55 1993  Bill Cox  (bill@rtl.cygnus.com)

	* .cvsignore: Add gfloat.h and xlimits.h.
	* ch-actions.c (lang_init): Create new type for module-
	  level initializer list entry.
	* ch-grant.c (chill_start_module_code): Rename actual
	  module-level code to just the modulename, which is
	  *not* public.
          (chill_finish_module_code): Allocate space for initializer
	  list entry, build real initializer function, which puts
	  the list entry on the runtime list.  Name the init function
	  as the module's constructor function.
	* ch-tree.h (build_init_struct): Add prototype.
	* ch-typeck.c (build_init_struct): Add function, called
	  from lang_init.
	Note: these changes require a new devo/chillrt/chillrt0.c.

Thu Jun  3 17:04:01 1993  Bill Cox  (bill@rtl.cygnus.com)

	* c-decl.c: Fix comment.
	* ch-actions.c, ch-grant.c: Standardize front end:
          #define first, etc.  Add comments.
	  (lang_init): Delete unused flag, code for inapplicable
          gen-decls option.  (lang_decode_option): Delete
          gen-decls option, add grant-only option, flag.
	* ch-convert.c, ch-decl.c, ch-except.c, ch-tree.c,
	  ch-typeck.c: Add form feed after front end.
	* ch-expr.c: Standardize testing for error_mark node.
	* ch-lang.c: Remove unused deep_fold function.

Fri May 21 11:04:22 1993  Bill Cox  (bill@rtl.cygnus.com)

	* c-typeck.c (build_binary_op, build_unary_op):
	  Recognize BOOLEAN_TYPE.
	* ch-actions.c (build_chill_unary_op): Remove
	  some crufty work-arounds.

Thu May 20 19:03:48 1993  Per Bothner  (bothner@deneb.cygnus.com)

	* ch-grant.c (decode_constant):  If the granted value is a
	cast, make sure to emit an appropriate expression conversion.

Thu May 20 16:35:35 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lang.c (build_chill_range_type): Initialize the
	  precision variable.  Double-negative ranges work now.

Thu May 20 11:24:42 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_unary_op): Compound a wretched
	  hack which hides a BOOLEAN_TYPE from the underlying
	  C code.

Wed May 19 16:45:54 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: (CH_SINGLETON_SET): Add function, call it
	  from chill_comptypes. (build_chill_unary_op): Give
	  better name to unsigned flag.
	* ch-expr.c (chill_expand_assignment): Correct calling
	  sequence for setpowersetbits runtime routine.
	* ch-grant.c (raw_decode_mode): Give better name to 
          unsigned flag.  (decode_constant): Check for null
          'val' ptr, avoid seg fault.
	* ch-lex.l (convert_number):  Give better name to 
          unsigned flag. (convert_bitstring): Move increment
	  of bl counter to emphasize that it increments once
	  per loop.
	* ch-tree.h: (NO_SOURCE_UNARY_MINUS): Define new flag.
	* ch-typeck.c (chill_expand_tuple): Build BOOLEAN
	  constructor if given a singleton set constructor.

Thu May 13 17:03:04 1993  Bill Cox  (bill@rtl.cygnus.com)

	* c-decl.c (pushdecl): Complete May 9 change.
	* ch-actions.c (build_chill_unary_op): Set the
	  TREE_UNSIGNED flag FALSE for raw_decode_mode.
	* ch-grant.c (grant_array_type): Correct the May 12
	  check for circularity.
          (raw_decode_mode): Use TREE_UNSIGNED flag to
          control range's printing.
	  (chill_grant): Remove useless, bogus code.
	* ch-lex.l (convert_number): Set the TREE_UNSIGNED
	  flag TRUE for raw_decode_mode.

Wed May 12 18:04:01 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (push_syndecls, push_modedef): Comment
	  reminders to check for circular definitions.  Later!
	* ch-grant.c (grant_array_type, decode_decl): Prevent
	  circular definitions in the use of the array's 
	  type name.

Wed May 12 16:06:13 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (grant_array_type): If array_type has
	  a name, just use it.
	* ch-lang.c (build_chill_range_type): Don't force
	  unsigned ranges on output.
	* expr.c (store_constructor): Preclude seg fault.

Wed May 12 07:49:00 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (fold_set_*): Correct tests for 
	  range set-constructor list entries.
	  (lang_init): Define setpowersetbits function.
	* expr.c (store_constructor): Handle non-constant
          set constructors.

Tue May 11 18:25:40 1993  Per Bothner  (bothner@cygnus.com)

	* ch-lang.c (build_chill_range_type):  If the parent type
	is unknown, and the endpoints of the range are integer
	constants, use the smallest suitable integer type.
	* ch-lang.c (build_chill_range_type):  Remove kludge
	for dealing with char ranges.

Tue May 11 15:24:31 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_repetition_op): Build a
	  range-type set constructor if there's only one value
	  in the repeated constructor.
	  (fold_set_*): Abort if range value seen, for now.
	* expr.c (store_constructor): Handle range-type by
	  storing bytes rather than bits as much as possible.

Mon May 10 18:45:18 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (invalid{left right}_operand): Add
          handlers for REPLICATE_EXPR.
	  (build_chill_repetition_op): Build constructor list
	  for repetition of bitstring.
	* ch-parse.y (call): Recognize more trees as arrays,
	  to avoid error msg.
          (operand5): Add count, string temporaries, use them.

Mon May 10 16:49:08 1993  Per Bothner  (bothner@cygnus.com)

	* ch-grant.c (seize_implied_names):  Fix code that assumed
	a FUNCTION_DECL (or PROCESS_DECL) to work on types instead.
	* ch-grant.c (generate_set, grant_parent_of_enum,
	grant_parent_enum): Removed unused functions.
	* ch-grant.c (raw_decode_mode):  Remove commented-out code.

Mon May 10 10:54:57 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (do_seize, seize_implied_types): Move
	  result and parameter processing to proper place.
          (chill_seize): Mark unseized identifier with
          error_mark_node, to avoid excessive errors.
	* ch-parse.y (call): Check for ERROR_MARK before 
          reporting an error.

Sun May  9 17:21:24 1993  Bill Cox  (bill@rtl.cygnus.com)

	* c-decl.c (pushdecl): If a strongly-visible name is
	  seen, in conflict with a weakly-visible name, take
	  the strongly-visible one and don't complain.
	* ch-actions.c (chill_comptypes): Allow chain of ref-
	  erence types > 1 in length.
	* ch-grant.c: Turn disguised for-loops into actual
	  ones, so continue works.  Delete redundant code in
	  seize_implied_names.  Reindent.
	* expmed.c (store_split_bit_field): Disable abort for
	  CHILL.

Sun May  9 17:11:33 1993  Per Bothner  (bothner@cygnus.com)

	* ch-convert.c (convert):  Move handling of SET_TYPE until
	after we've handled de-referencing and such like.
	* ch-grant.c (grant_array_type):  Simplify; remove (now-)
	bogus call to generate_set.
	* ch-grant.c (get_type):  Remove obsolete stuff.

Fri May  7 10:30:34 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (lang_init): Add definition of psslice
          runtime routine. (build_chill_binary_op_1,
          build_chill_binary_op): Have result type of
          TRUTH_ANDIF_EXPR be boolean, not integer.  Some
	  reindenting.
	* ch-convert.c (convert): Use consistent notation
	  for expression.
	* ch-parse.y: Add front-end pass count. (locdec):
          Add syntax for other BASED declaration.
	* ch-tree.c: Fix comment.
	* ch-typeck.c (build_chill_slice): Implement a runtime
	  call for bitstring slices. (build_chill_cast):
          Add code for BITS_BIG_ENDIAN bit loop.
	  (chill_expand_tuple): Don't pass ref type to
          digest_init, only underlying type.

Thu May  6 12:52:14 1993  Per Bothner  (bothner@cygnus.com)

	* ch-typeck.c (build_chill_cast):  type_for_size takes
	a size in bits, not bytes.

Wed May  5 19:02:55 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: Break out separate routines for set
          folding, handle ranges in set_fold_eq and set_fold_ne.
          Fix folding as req'd by TTC test.
	* ch-grant.c (raw_decode_more): Check for content match
	  to decide output mode, not pointer identity.
	* ch-typeck.c: Add cross-reference comment.
	* varasm.c (emit_set_data): Clarify parameter name.
	  Handle INTEGER_CST as set constructor.
          (output_constant): Handle CONSTRUCTOR node for sets.
	  Apparently forgot to actually 'checkin' this one last
          time.

Wed May  5 12:23:58 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)

	* ch-parse.y, ch-tree.h (get_current_declspecs): Obsolete; deleted.

Tue May  4 15:47:44 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (fold_set_expr): new function to fold
          set expressions.  Calls inserted into 
	  build_chill_binary_op and build_chill_unary_op.
          (build_chill_repetition_op): New function, called
	  from build_chill_function_call.
	* ch-expr.c (chill_expand_assignment): Call 
	  build_chill_repetition_op.
	* ch-grant.c (decode_constant): Comment out deep_fold
	  call.  The earlier fold_set_expr calls should make
	  this one unnecessary.  Prevent seg fault when name
	  of structure field is NULL.  Standardize for loop.
	* ch-parse.y: Fix comments.
          (operand5): build a REPLICATE_EXPR.  Don't call
	  build_repetition_op until we have a type.
	* ch-tree.def (REPLICATE_EXPR): Define tree-code.
	* ch-tree.h (build_chill_repetiton_op): Fix proto.
	* ch-typeck.c (chill_expand_result): Call 
	  build_chill_repetition_op if needed.
	* varasm.c (emit_set_data): Clarify parameter name.
	  Handle INTEGER_CST as set constructor.
          (output_constant): Handle CONSTRUCTOR node for sets.

Mon May  3 13:06:47 1993  Per Bothner  (bothner@cygnus.com)

	* ch-typeck.c (build_chill_cast):  Allow more liberality to
	casting:  Any discrete type to any non-discrete type that is the
	same size as some other discrete type (and vice versa).
	* stor-layout.c (layout_type, case SET_TYPE):  If the number
	of bits will fit in a char or short, only use that many bits.

Mon May  3 08:22:45 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (decode_constant): Revert interpretation
          of SET_TYPE as integer.

Mon May  3 07:55:46 1993  Bill Cox  (bill@rtl.cygnus.com)

	* chparse.y (casealternative): Allow empty action list.

Sat May  1 15:07:01 1993  Bill Cox  (bill@rtl.cygnus.com)

	* expr.c (expand_expr): Add parameter to __inpowerset
	  runtime call, to match new runtime.

Sat May  1 14:55:58 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: Cleanup from -Wall.  Reindent.
	  Redefine __inpowerset to take a 'minval' parameter
	  that matches the new runtime.  Added comments.
	* ch-expr.c (chill_handle_case_label): Handle
          NULL or ERROR trees.
	* ch-grant.c (get_type): Survive bogus type params,
	  return empty string.
	* ch-tree.c (build_powerset_type): Diagnose powerset
          of non-discrete type.
	* ch-typeck.c (discrete_type_p): Reindent.

Fri Apr 30 16:08:54 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (decode_constant): Interpret SET_TYPE
          with integer value, so we output the same stuff as
          the user gave us.
	* ch-parse.y: Fix indentation.

Fri Apr 30 09:34:03 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (chill_comptypes): Simplify, correct
          integer subrange analysis.
	* ch-grant.c (seize_implied_names): Add handling for
	  PROCESS_DECL, PROCESS_TYPE.
          (do_seize): Call seize_implied_names for process,
          procedure parameters and return value.
	* ch-lang.c (finish_chill_enum): Canonicalize enum
	  types.
	* ch-tree.def (PROCESS_TYPE): Add.
	* ch-typeck.c (valid_array_index): Call chill_comptypes
	  rather than broken macro CH_COMPATIBLE.  The logic
	  in chill_comptypes will get moved to the macro later.

Thu Apr 29 13:07:55 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_lower, build_chill_upper):
          Handle enumeration types.
	  (build_chill_binary_op): Call chill_comptypes
	  to error check IN arguments.  Change error
          messages to say 'mode' rather than 'type'.  Cast
          tree codes when build is called.
	* ch-expr.c (chill_expand_array_assignment): Call
	  chill_comptypes to validate assignment args.
	* ch-lex.l: Add newline for readability.

Wed Apr 28 15:22:18 1993  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in (ch-hash.h): Add rule to build this
	  from chill.gperf.  Not yet used.
	* ch-actions.c (build_chill_binary_op): Allow enum
          subranges on RHS of IN operator.
	* ch-grant.c (decode_constant): Recognize 
	  error_mark_node as empty powerset initializer,
	  re-indent a bit.
	* ch-lang.c (deep_fold): Return error_mark_node for
          NULL input pointer or incoming error_mark_node.
	* ch-lex.l: Ignore PACK and UNPACK keywords. Return
	  POS, ROW, and STEP as user-defined names.
          (name_or_type): New function for above.
	* ch-parse.y: Move token defs for following, comment
	  them separately: NOPACK, PACK, POS, ROW, STEP
	* varasm.c (output_constant): Check for VAR_DECLs in 
	  records & unions, like arrays.  Don't abort.

Tue Apr 27 17:42:29 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (CH_PROMOTING_INTEGER_TYPE_P):
	  rewrite for generality.
	* ch-decl.c (grok_chill_variantdefs): Use chill
	  comptypes, so that subrange compatibility is ok.
	  (start_chill_function): Use lookup_name(), not
	  IDENTIFIER_GLOBAL_VALUE, for full generality.
	* ch-expr.c (chill_expand_assignment): Need to
	  handle non-NOP modify codes here, since C code
	  in build_modify_expr won't understand powersets, 
	  etc.

Tue Apr 27 09:05:31 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_max_min): Assign the set's
	  base type to the function's return type.
          (build_chill_function_call): Before complaining
          about parameter mismatches, convert certain actual
          parameters.
	* ch-expr.c (chill_expand_assignment): Before 
          complaining about LHS/RHS mismatches, convert
          certain RHS expressions.
	* ch-grant.c (decode_constant): Deep-fold incoming 
	  expression, so we can output it.
	* ch-lang.c (deep_const_expr): New function, called
	  from const_expr, actually traverses the tree 
	  looking at its leaves for 'const'ness.
	  (deep_fold): New function to fold already-built 
	  trees.
	* ch-parse.y (case_expr): Add whitespace.
	* ch-tree.h: Add prototype for deep_fold.

Tue Apr 27 07:21:43 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (chill_comptypes): Allow enumeration
          subranges as compatible with the parent enum.
          (build_chill_function_call): Before checking type
          compatibility, use convert on typeless expressions,
          like constructors.
	* ch-expr.c (chill_expand_assignment): Before 
	  checking type compatibility, use convert on 
          typeless expressions, like constructors.
	* ch-lex.l: Add comment.

Thu Apr 22 17:23:25 1993  Bill Cox  (bill@rtl.cygnus.com)

	* .cvsignore: Add genopinit, insn-opinit.c
	* c-common.c (binary_op_error): Prevent seg fault on
          unknown node code.
	* ch-typeck.c (build_chill_array_ref): Remove old
          lower-bound-of-array-index-nonzero code.
	* expr.c (expand-expr, get_inner_reference): Remove
	  old lower-bound-of-array-index-nonzero code.

Thu Apr 22 16:01:09 1993  Bill Cox  (bill@rtl.cygnus.com)

	* c-decl.c (shadow_record_fields): Add pushlevel for
	  each PROCESS parameter, too.
	* ch-process.c (make_process_struct): First working
          version.
	* ch-tree.def: Add PROCESS_DECL definition.
	* ch-tree.h: Add CH_IS_EVENT_MODE macro, change proto
          for make_process_struct.
	* expr.c (expand_expr): Add references to 
          PROCESS_DECL.  Add #include of ch-tree.h.
	* tree.c (decl_function_context): Add check for a
          PROCESS_DECL, and #include for ch-tree.h.

Thu Apr 22 09:25:08 1993  Bill Cox  (bill@rtl.cygnus.com)

	* expr.c (expand_expr): Add missing prototypes, and
	  parameters to expand_expr call.

Wed Apr 21 16:17:07 1993  Bill Cox  (bill@rtl.cygnus.com)

	* c-decl.c (shadow_record_fields): Add ability to
	  handle pointers to records/unions.  For PROCESS
	  compilation.

Thu Apr 22 09:25:08 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (chill_expand_expr): Add missing
          parameters to expand_expr calls.  Some trivial
	  reformatting for readability.

Wed Apr 21 16:17:07 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lex.l: Make send_*_prio externally visible,
          default them to zero, eliminate the init flags.
          Same for process_type.

Sat Apr 17 10:59:50 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_binary_op): Build a
          BIT_FIELD_REF tree for IN_EXPR operations.
	* ch-typeck.c (build_chill_array_ref): Build a
          BIT_FIELD_REF tree for access to packed array of
	  bits.

Fri Apr 16 12:33:34 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y (EXIT action): Improve error checking,
          messages.
	* ch-typeck.c (chill_expand_tuple): Remove code to
	  pack sets (moved to varasm.c long ago).
	* varasm.c (unpack_set_constructor): Rename size to
          bit_size, since 'size' always means bytes.
          (pack_set_constructor): Rename size to wd_size,
          since 'size' always means bytes.
	  (output_constant): Set size to zero, so that extra
          bytes of padding aren't output after set constants.

Fri Apr 16 11:57:50 1993  Bill Cox  (bill@rtl.cygnus.com)

	* .cvsignore: Add .gdbinit.
	* ch-decl.c (start_chill_bindings): Add function name
          to binding contour's exit_label for EXIT stmt.
	* ch-parse.y (EXIT action): Call lookup_name to avoid
          inserting label for function name.  Also check
          IDENTIFIER_LABEL_VALUE for label's decl.
          (caseaction, beginendblock, ifaction): Call
          stamp_nesting_label to put action's label into
          contour for EXIT to find.

Thu Apr 15 17:17:05 1993  Bill Cox  (bill@rtl.cygnus.com)

	* expr.c (expand_expr): Unify, clean up handling of
          IN_EXPR, and handling of bit-string element ref.
	  Now, all goes through IN_EXPR handler.
	* stmt.c (stamp_nesting_label, expand_exit_labelled):
          New functions, which allow either label or 
          function decls.

Thu Apr 15 17:17:05 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c ch-actions.h ch-convert.c ch-decl.c ch-except.c
          ch-expr.c ch-grant.c ch-inout.c ch-lang.c ch-lex.h ch-lex.l
	  ch-loop.c ch-parse.y ch-process.c ch-tree.c ch-tree.def
	  ch-tree.h ch-typeck.c: Add 1993 copyright, fix titles.
	* ch-actions.c (build_chill_binary_op): Move runtime function call
	  to expr.c.  Just build a tree here.  Clean up error checking.
	* ch-convert.c (convert): Simply store a type into an expression if
          TREE_TYPE (expr) == NULL.  Prevent error if an enum is to be
	  converted to a set of such enums.
	* ch-loop.c (init_loop_counter): Restore error msg for undeclared
	  variable if no local scope is to be created for the loop.
	* ch-typeck.c (build_chill_array_ref): Turn bit array ref into IN_EXPR,
	  remove redundant code which wasn't ever called.

Wed Apr 14 07:54:00 1993  Bill Cox  (bill@rtl.cygnus.com)

	* .cvsignore (y.tab.c) : Add to list.
	* ch-convert.c (convert): Check pointers better - avoid NULL reference.
	  Remove redundant check for ERROR_MARK - already checked earlier.
	* ch-parse.y (get_type_of): Add parameter checks for NULL ptrs and
          error_mark_node.

Tue Apr 13 16:00:37 1993  Per Bothner  (bothner@cygnus.com)

	* c-decl.c (start_function):  If there is a previous
	function declaration of the same name, steal its RTL.
	This is a kludge needed for forward declarations of
	nested functions.
	* ch-decl.c (push_chill_extern_function), ch-tree.h:  New
	function, for external and seized function declarations.
	Make sure to use permanent obstack.
	* ch-parse.y (quasi_pdef, extprocedure):  Use new function.

	* ch-grant.c (chill_finish_module_code):  Since module
	function is no longer visible,, can't get it using
	lookup_name().  Use current_function_decl instead.

	* ch-decl.c (build_chill_function_type):  Add void_type_node
	to end of parameter types list.

	* ch-grant.c (chill_start_module_code):  Make sure module
	function isn't visible (and hence isn't granted).

Tue Apr 13 15:48:25 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-loop.c (begin_chill_loop): Also stamp the user's loop name into
          current contour for DO FOR EVER loops.

Tue Apr 13 14:37:39 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y (actionstatement): Add error rule.  Delete 
          POP_UNUSED_ON_CONTEXT.  Add comments about label name usage.
	  (nohandleraction): Better error check in EXIT processing.
          (optexprlist): Comment out make_function_rtl call.
          (seizestatement): Change error to warning.

Tue Apr 13 08:29:31 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (raw_decode_mode): Supply missing parameter in get_type
          call.
	* ch-loop.c (begin_chill_loop): Take loop label as parameter.  Stamp
          its name into the current contour's exit_label, for EXIT to use.
	* ch-parse.y: (actionlabel): Save label tree in global variable.
          (actionstatement): Clear label to NULL when action is finished.
	  (handlerstatement, nohandlerstatement): Split actions into 
          categories which do/don't permit exception handlers.
          (exitaction): Move code into nohandleraction, make it work.
          (doaction): Pass (possibly NULL) label tree to begin_chill_loop.
	* ch-tree.h: Add parameter  to begin_chill_tree prototype.
	* stmt.c (stamp_nesting_label, expand_exit_labelled): Add functions.
          Note: This implementation of EXIT only exits from loops, not yet 
                from other bracketted statements.

Mon Apr 12 13:41:55 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-grant.c (chill_grant):  Remove obsolete code.

	* ch-decl.c (push_synmode, push_newmode):  Merged to yield ...
	* ch-decl.c (push_modedef):  ... w/ slightly different interface.
	* ch-tree.h, ch-process.c (make_process_struct), ch-parse.y
	(modedefinition):  Use new push_modedef function.
	* ch-parse.y (modedefinition):  Don't depend on inherited
	attributes (- implemented incorrectly!): Use a global variable
	parsing_newmode to distinguish synmode and newmode.

Mon Apr 12 08:10:34 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-loop.c: Diffuse cleanup after big functional changes.
	* ch-parse.y: Eliminate temporary variables, now unnecessary.  Use
          parse-time stack instead.
	* ch-tree.h: Change build_chill_iterator prototype.

Sun Apr 11 15:50:33 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-convert.c (convert): Replace an ERROR_MARK type - from a 
	  untyped_expr with the given type.  Move chill_expand_case_expr
	  call inside chill_expand_expr.
	* ch-expr.c, ch-tree.h, ch-typeck.c (chill_handle_case_default, 
          chill_handle_case_label, chill_expand_case_expr):  Move to ch-expr.c
          from ch-typeck.c.
	* ch-loop.c: Major reorganization to support multiple iterators in
          DO FOR loop, very little new code, just a re-org.
	* ch-parse.y (iterationlist): Add handling for multiple loop iterators.

Sat Apr 10 14:40:12 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_lower, build_chill_upper): Clean up.
	* ch-grant.c (chill_grant): Avoid making strange SYNMODE for enum
          member.
	* ch-lex.l (equal_number): Add function to look in the input for '='
          followed by a decimal literal.  Call it from directive scanning.
          (start state 'ccitt'): Deleted, unused.  Moved unused, but reserved,
          tokens to NORMAL state.
          (compiler_directive): Replaced by equal_number.  Now the only
          recursive call to yylex happens in check_newline at the beginning
          of a compilation.

Sat Apr 10 09:55:50 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_case_expr): Added from ch-parse.y.
	* ch-lex.l (ENTRY, PERVASIVE, ROW, STEP): Add token recognition to
          'reserve' them.
	* ch-parse.y (case_expr): Move code into ch-actions.c.  There will
          need to be much more written.
	* ch-tree.def (VARY_ARRAY_REF): Add comment.
	* ch-tree.h (build_chill_case_expr): Add prototype.
	* ch-typeck.c (build_chill_cast): Allow untyped_expr - just assign the
          type to the expr.  Check for CASE_EXPR, call expand_case_expr.

Sat Apr 10 01:10:51 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-parse,y (in_pseudo_module): New variable.  Try if we're
	in a seizefile, but not in a module nested in the seizefile.
	Use for backwards compatibility with old grantfiles.
	* ch-decl.c (do_decls, push_syndecls, push_newmode, push_synmode):
	If in_pseudo_module, grant new declaration.
	* ch-decl.c (pushd_newmode):  If there is a granted previous
	incomplete type, fix it up.
	* ch-grant.c (seize_implied_names):  Do remaining types.
	Guard against recursion.
	* ch-tree.h (IDENTIFIER_ENUM_VALUE):  Removed, not used.
	* ch-tree.h (CH_DECL_ENUM), ch-grant.c (chill_grant), ch-lang.c
	(finish_chill_enum):  Enum constants are marked with
	CH_DECL_ENUM so they don't get written to the grantfile.
	* ch-tree.h (IDENTIFIER_GRANTED_VALUE):  Allow fast seizing.
	* ch-lex.l:  Re-write to use start states, to avoid calling
	yylex() recursively.
	* ch-lex.l (compiler_directive);  This is now obsolste. FIXME.
	* ch-lex.l:  Call push_module and pop_module when reading a
	seizefile.  This creates a pseudo-module.
	* ch-parse.y:  Clean up handling of empty declarations and
	action statements; semicolons are now optional a number of
	places.
	* ch-parse.y:  Remove some bogus tests for "statement
	out of sequence" (they're both legal and work).
	* varasm.c (mak_function_rtl):  Remove  kludge that may
	not be necessary (and loses anyway).

Fri Apr  9 09:37:38 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (chill_expand_array_assignment): Remove false error	about
	  arrays that are too small.    
	* ch-parse.y (callaction): Don't pass an error_mark_node to
          c_expand_expr_stmt.

Fri Apr  9 00:26:54 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch_tree.h (DECL_HIDDEN_BY_MODULE, ENCAPSULATED_ARRAY_P):
	New macros.
	* ch-actions.c (build_chill_function_call):  Use latter.
	* ch-typeck.c (chill_similar):  Fix typo.
	* ch-grant.c (raw_decode_mode):  Handle ENCAPSULATED_ARRAY_P
	parameter types.
	* ch-grant.c (seize_implied_names):  Handle ranges of enums.
	* ch-grant.c (do_seize):  Set DECL_SOURCE_FILE and _LINE of
	seized declaration to be the point of the seize itself.
	* ch-grant.c (chill_grant), ch-tree.h:  Add a parameter
	which is the list (in order) of decls in the module.
	Don't reverse the getdecls() list; that is handled by caller.
	* ch-grant.c (chill_grant):  Test that a declaration is
	visible before writing it.
	* ch-parse.y (push_module):  Make sure to hide declarations
	from surrounding module.
	* ch-parse.y (pop_module):  Restore those declarations.
	* ch-parse.y (pop_module): This function is now responsible
	for writing out for calling chill_grant() to the grant file.
	* ch-actions.c (lang_finish):  Remove calls to chill_grant().

Thu Apr  8 16:56:52 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_char_array_expr): Add handling of varying
          arrays in relational expressions.
	* ch-decl.c: Add prototype for lookup_name_current_level.
	* ch-expr.c (chill_expand_expr): Make concat_expr's temp a BLKmode, 
          so its length is used as the temp's size.
	  (chill_expand_array_assignment): Correct for varying := varying
          assignment, clean up.
	* ch-typeck.c: Add prototype for require_complete_type.

Wed Apr  7 16:41:29 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-loop.c (for_location, begin_chill_loop, end_chill_loop): Major
	  diffuse changes to fix location loops.
	* ch-parse.y (location): Remove ref through NULL ptr.

Wed Apr  7 13:42:06 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-decl.c (massage_param_node):  New function.
	It handles the LOC/IN/OUT/INOUT parameter distinction,
	as well as calling build_chill_array_parm_type if needed.
	* ch-tree.h (massage_param_node):  New prototype.
	* ch-decl.c (push_parms):  Use new massage_param_node().
	* ch-parse.y (pmodearg):  Use new massage_param_node().
	* ch-parse.y (formpar):  Don't call build_chill_array_parm_type;
	now handled by massage_param_node.
	* ch-typeck.c (my_build_array_ref):  Handle non-zero array
	lower bounds.
	* ch-actions.c (build_chill_function_call):  If the formal
	parameter is a pseudo record wrapped around an array, make
	sure we wrap the actual parameter in a record CONSTRUCTOR.
	* ch-typeck.c (build_chill_array_parm_type):  Make sure
	the pseudo struct type is allocated on the permanent_obstack.
	* ch-parse.y (location):  Remove thinko.
	* ch-actions.c (chill_comptypes):  Comment out test for
	NEWMODEness - it gets broken by the forward declaration hacks.

Tue Apr  6 18:05:40 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: Move build_varying_struct to ch-typeck.c.
	* ch-parse.y (formpar): Turn ARRAY_TYPE parms into structure.
	* ch-parse.y (location): Do build_component_ref for an array wrapped
          in a structure.
	* ch-tree.h: Add prototype, #define for build_chill_array_parm_type.
	* ch-typeck.c (build_chill_array_parm_type): Add function, move
	  build_varying_struct here from ch-actions.c.

Mon Apr  5 19:56:56 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c, ch-decl.c: Use tree_int_cst_equal and integer_zerop 
	  rather than in-line code - tests LOW and HIGH values.
	* ch-lang.c: Use tree_int_cst_lt rather than inline code.
	* ch-typeck.c (my_build_array_ref): Handle case where array low bound
          isn't zero.

Mon Apr  5 15:45:10 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-typeck.c (my_build_array_ref): Add some more code from 
          build_array_ref.  Change checks, error messages to mention 
          'discrete types'.  I.E. types which don't kiss and tell..

Sat Apr  3 09:27:03 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-except.c, ch-expr.c: Turn externs into prototypes.
	* ch-grant.c (chill_grant): Remove orphan #else.
	* ch-tree.h: Add prototype for build_chill_bin_type.
	* ch-typeck.c: Turn externs into prototypes, delete code which
          was commented out in chill_expand_return; it will never be used.

Fri Apr  2 21:55:14 1993  Per Bothner  (bothner@rtl.cygnus.com)

	Major re-write of New module/seize/grant stuff.
	Now, a grantfile is a spec module and contains all the
	top-level declarations of the granting module, not just
	those that are granted.  It also contains explicit grant
	statments naming those declared names that are granted.
	It also has seize statements and use_seize_file directives
	to correctly handle transitive dependencies.

	* ch-parse.y:  Change to allow multiple modules per source file.
	Allow spec modules (including quasi definitions) as well as
	regular modules.
	Allow spec modules inside normal modules;  these behave as if
	they were outermost.  This violates the Blue Book, but is
	needed by the new grantfile mechanism.  (A grant file is a
	spec module that gets included by the use_seize_file directive.)
	* ch-parse.y (struct module *current_module, push_module,
	pop_module):  Support module nesting (for spec modules only).

	* ch-tree.h (struct module): New.
	* ch-grant.c (granted_decls):  New list of declarations
	that have been granted into the outermode pseudo-module.
	* ch-grant.c (decode_mode):  If the decl has a name,
	always write the name, not just if the decl has already
	been written.  Since we write out all decls, we can assume
	it will be written later, and depend on the forward
	declaration kludges to catch it.
	* ch-grant.c (decode_decl):  Don't write out _EXTERN.
	Instead write out standard (Blue Book) quasi-definitions.
	* ch-grant.c (push_granted):  New function.
	* ch-grant.c (seize_implied_names):  New function.  Re-write
	how set element names are seized when a set type is seized.
	* ch-grant.c (chill_seize):  Work by seraching the
	granted_decls list and copying the declaration.
	* ch-grant.c (chill_grant):  Write all declarations
	declared in this module.  Write GRANT statements for
	those granted.   seize statements for decls seized from
	other modules.  Write extra syntax to make a complete
	spec module.
	* ch-grant.c (grant_use_seizefile):  Copy use_seize_file
	directives into grant file.
	* ch-lex.l (setup_seizefile_read):  Call grant_use_seizefile.

	* ch-lex.l (struct input_state, current_input_state,
	push_input_file, pop_input_file):  New (type, variable,
	function*2).  Used to save and 	restore state on an input file.
	* ch-lex.l:  Clean up to handle nested input seizefiles
	(needed by new grant/seize mechanism.
	* ch-lex.l (skip_to_end_of_directive):  New function.
	* ch-lex.l (compiler_directive: USE_SEIZE_FILE):  Make sure
	we skip to the end of the directive *before* we switch
	input files.
	* ch-lex.l (setup_seizefile_read):  Prevent reading the
	same seizefile twice (otherwise likely with new grant/seize).
	* ch-lex.l:  Recognize SPEC.  Misc cleanups.

	* ch-parse.y:  Fixed foreward references of types.
	Removed the unknown_type_node crock.
	* ch-decl.c:  Remove all uses of unknown_type_node.
	Check for TYPE_SIZE zero instead.
	* ch-decl.c (fixup_unknown_type):  Make sure new mode
	gets copied into old mode.  Merge their variant chains.
	* c-decl.c (lookup_name_current_level):  Make non-static.
	* ch-decl.c (lookup_name_current_level):  No longer needed.

	* ch-parse.y (call):  Allow an implicitly defined function
	name following the CALL keyword.
	* ch-tree.h (struct lang_identifier): Add implicit_decl,
	and make sure order of fields matches c-tree.h.

	* ch-actions.c (lang_init, build_allocate_memory_call,
	build_allocate_globals_memory_call):  Fix names (add initial '_')
	and prototypes of _allocate_[global_]memory (2nd param is ref).
	Use build_chill_function_call, not build_function_call,
	so the reference parameter gets handled.
	* ch-actions.c. (lang_init):  Make sure boolean_{true,false}_node
	have boolean_type_node as their types.
	* ch-actions.c (build_chill_lower, build_chill_upper): Fix to
	work for arrays with BOOLEAN_TYPE ranges (and simplify some).

	* ch-except.c:  Make sure an end_label is generated,
	and jump to it if there is no exception.

	* ch-convert.c (convert_to_reference):  Strip off NOP_EXPR casts.
	* expr.c (expand_expr):  Handle NOP_EXPR as Chill-style casts.
	(Need cleaning up and FSF installation!)
	* ch-parse.y:  If taking the address of a cast, move the
	ADDR_EXPR inside the NOP_EXPR.

	* ch-typeck.c (my_build_array_ref):  Simplified, more suitable
	versions of build_array_ref from c-decl.c.  (E.g. don't barf
	if index type is char or bool.)
	* ch-typeck.c (build_chill_array_ref):  Use my_build_array-ref.

	* ch-typech.c (build_chill_bin_type):  New function.
	Support BIN(N) range type specification.
	* ch-parse.y (mode2), ch-lex.l:  Recognize BIN(N).

	* ch-tree.h (CH_SIMILAR):  Redefine in terms of chill_similar.
	* ch-typeck.c (chill_similar):  New function.  Recognize that
	that range types are similar to their parent types.

	* ch-tree.h:  Declare flag_local_loop_counter.
	* ch-loop.c:  Whether the loop variable is local to the loop
	in now controlled by flag_local_loop_counter, instead of
	#ifdef'd on CREATE_SCOPE.
	* ch-actions.c (lang_decode_option):  Recognize flags
	"-f[no-]local-loop-counter".
	* toplev.c (lang_options):  Add Chill flags -f[no-]local-loop-counter.

 	* varasm.c (make_function_rtl):  Due to problems with forward
	references, don't rename nested functions in Chill.  (Kudge!)

Sun Mar 28 10:12:45 1993  Ken Raeburn  (raeburn@kr-pc.cygnus.com)

	* ch-lex.l (push_back, readstring): Fix prototypes.

Fri Mar 26 18:32:15 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y: Put %type directives back into alpha order.
          (variant_alternative): Simplify error_mark test.
	  (variantfields, varianthack): Add error_mark checks.

Fri Mar 26 13:36:23 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lex.l (convert_charliteral): Rewrite to avoid bogus error msg.
	* ch-parse.y (get_type_of): Add function to deal with possible fwd
	  declared type name.  Call it from lotsa places.  Add lotsa checks
          for error_mark_node.  Standardize indentations.

Thu Mar 25 15:00:11 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (chill_expand_assignment): Avoid seg fault while checking
          for array assignments.
	* ch-parse.y (action): Add recognition for allocate_memory and
          allocate_global_memory system calls.
          (mode2): Remove ill-conceived error check that broke REFs to
          as-yet-undeclared types.  Check for IDENTIFIER_NODE, lookup its
          DECL if there, pass TREE_TYPE of decl to build_pointer_type.
          (variantfields, varianthack): Clean up.
          (variantfield): Check for IDENTIFIER_NODE, lookup its DECL if
          there, pass TREE_TYPE of decl to grok_fixedfields.
          (labellist): Explicitly assign error_mark_node to signal error.
	* ch-typeck.c (chill_compatible): Report FALSE for bad parameters,
	  rather than seg faulting.

Thu Mar 25 10:35:58 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (lang_init): build_function_type for allocate_memory
	  and allocate_global_memory runtime routines.  Move discrete_type_p
          into ch-typeck.c.
	* ch-typeck.c (discrete_type_p): Move here, where it belongs, call it
	  in build_chill_cast.

Wed Mar 24 16:25:16 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-grant.c:  Don't grant previously seized names.

Tue Mar 23 15:25:39 1993  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in (ch-actions.o): Add dependencies (expr.h insn-codes.h)
	* dwarfout.c (fundamental_type_code): Add handling of BOOLEAN_TYPEs,
          avoid abort.

Tue Mar 23 09:03:35 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_char_array_expr): Just build a type for the
          result of a CONCAT_EXPR, and pass the tree back.  
          chill_expand_array_assignment can do a better job of 
          code-generation.
	* ch-expr.c (chill_expand_array_assignment): Generate the CONCAT_EXPR
	  code.

Mon Mar 22 12:42:58 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-except.c (start_handler_array):  Make sure the handler
	array and its type get on the permanent obstack.
	* ch-grant.c (write_grant_file):  Don't write the _INIT=name
	specifier:  It isn't needed, and loses (because of funny
	characters in the chill_initializer_name).
	* ch-decl.c (push_synmode):  Set TYPE_NAME(mode) = syndecl.
	* ch-lang.c (finish_chill_enum):  Don't allocate a dummy
	TYPE_DECL for the enum.  I don't think it is needed (?),
	and removing it is needed for the change above.

	* ch-grant.c (grant_array_type, decode_mode):  Remove unused
	'decl' parameter.
	* ch-grant.ch (raw_decode_mode):  New function, based on old
	decode_mode.
	* ch-grant.c (decode_mode);  This is now just a wrapper around
	raw-decode_mode - but does not call raw_decode_mode if the
	type is named and has already been emitted.

Fri Mar 19 11:55:35 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: Add prototypes, remove unused variables.  Attempt to
	  continue generating grant file in presence of error (Wilfried's 
          patch to lang_finish).
	* ch-expr.c: Change assign_stack_temp calls so temps get recovered
          after each statement.  Move convert call into
          chill_expand_assignment from ch-parse.y.
	* ch-grant.c: Generally re-order, clean up.  Include Per's decode_mode
          simplification.  Include commented-out hack in decode_mode to return
          type's name if type SEIZEd or already GRANTed in this file.
	* ch-lex.l: Add prototypes.
	* ch-parse.y (assignaction): Move convert call into
	  chill_expand_assignment.

Thu Mar 18 16:04:45 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-convert.c (convert): Remove unused variable, fix int_size_in_bytes
	  comparison.
        * ch-decl.c: Add prototypes, correct error message spelling, remove
	  unused variables.
	* ch-lang.c (build_chill_range_type): Add error message.  Add prototypes.
	  Correct comment spelling.
	* ch-lex.l: Add prototypes, remove unused variable, put double parens aarround
	  assignment in conditional.
	* ch-loop.c: Add prototypes, remove unused variable.
	* ch-parse.y (structured_variable): Return NULL_TREE is invalid WITH
	  parameter is seen, don't count it in structured_variable_list.  Pre-
	  vents seg fault when only WITH operand is invalid.
	* ch-parse.y (label_spec): Correct assignment within IF expression which
	  was intended to be equality test.  Remove unused variables.
	* ch-tree.h: Add prototype.  Remove unused EXCP_CODE enumeration, and
          prototyping editorial comments.
	* ch-typeck.c: Disable generation of code to validate array index for
	  now.  Should be done as a call-back from more generic array_ref code.
	  Clean up parameter checking.  Remove unused variables.

Fri Mar 12 11:57:32 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (chill_varying_type_p): Return FALSE if given NULL type.
	* ch-actions.c (build_chill_binary_op): Pass ALL arrays to
	  build_char_array_expr.
	* ch-convert.c (convert): protect against seg fault, if type == NULL.
	* ch-expr.c (chill_expand_expr): Add FIXME comment.

Fri Mar 12 11:04:02 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (chill_expand_expr): Completely rethink set unary ops.
	  Thanks very much to dje!

Thu Mar 11 21:06:55 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_char_array_expr, build_chill_binary_op):
	  Move CONCAT_EXPR handling from binary_op to array_expr.  Add
	  handling for relationals between varying arrays to array_expr.

Thu Mar 11 19:20:37 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_set_expr, build_chill_binary_op): Calculate
          *BIT* length of powersets and arrays of BOOLs.
	  (invalid_left_operand, invalid_right_operand): Disallow relationals
	  with arrays of BOOL as operands.
        * ch-convert.c (convert): Test TREE_CODE for ERROR_MARK rather than
	  comparing pointers.
	* ch-decl.c (push_newmode): Re-indent.
	* ch-expr.c (chill_expand_expr): Calculate *BIT* length of powersets
          and arrays of BOOLs.
	* ch-lang.c (build_chill_array_type): Add parameter error checking.

Mon Mar  8 17:13:00 1993  Bill Cox  (bill@rtl.cygnus.com)

	* expr.c (store_constructor): Handle set construction.
	* varasm.c (output_constant): Prevent seg fault - terminate case
	  alternative with a 'break'.

Mon Mar  8 17:13:00 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (): Move SET_TYPE constructor to expr.c.
	* ch-loop.c (end_chill_loop): Only do expand_end_loop if not POWERSET loop.
	* ch-typeck.c (build_chill_cast): Fix error msg spelling.

Mon Mar  8 13:16:05 1993  Bill Cox  (bill@rtl.cygnus.com)

	* fold-const.c (fold_convert): Allow CHAR_TYPE CONVERT_EXPR to
          be folded.

Mon Mar  8 10:13:57 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (get_tag_value): Correctly output certain enumerations.
	  Correct some non-standard indentations.

Fri Mar  5 14:58:35 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: Fix up comment.

Thu Mar  4 18:05:43 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: Define builtin '__nepowerset' and call it - avoid
	  negating the result of calling __eqpowerset.  New function
	  discrete_type_p().
	* ch-grant.c (get_tag_value): Don't seg fault referring to an
	  anonymous enumeration's name.
	* ch-lex.l: Turn EVEN token into an ignored compiler directive.
	* ch-loop.c (end_chill_loop): Output end-of-loop marker.
	* ch-parse.y (label_spec): redefine variant structure label_spec
	  to agree with the Z.200 spec.
	             (locdec): Error if set/bitstring initialized with a tuple.
                     (case_label, arrayindex): Use new discrete_type_p 
                     function. 
	* ch-process.c: Fix typo.

Wed Mar  3 14:30:53 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-lang.c, ch-tree.h: Rename build_range_type to
	build_chill_range_type.  Call new build_range_type() in tree.c.
	* ch-parse.y:  Call build_chill_range_type as approriate.
	* ch-typeck.c (build_chill_cast);  Clean up.

Wed Mar  3 09:36:56 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y: Define CONTINUE_EVENT token.
	* ch-parse.y (mode2): Give error message for SYN modea = modeb
	  where modeb is undefined.

Tue Mar  2 20:16:37 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: Add builtin function descriptions for memset and
	  bitsetpowerset.  Allow build_chill_num expression to exceed 16 bits,
	  but not 32.
	* ch-tree.h: Correct chill_handle_case_default prototype.
	* ch-actions.h, ch-lex.h: Add prototypes.
	* ch-lex.l, chill.gperf: Add CONTINUE_EVENT token.

Thu Feb 25 17:35:46 1993  Bill Cox  (bill@rtl.cygnus.com)

	* c-decl.c (init_decl_processing): Disable creation of C-specific
	  builtin functions.  They pollute the CHILL name space.
	* stor-layout.c (variable_size): Allow variable-size objects at file
	  scope, for CHILL.

Fri Feb 26 07:14:34 1993  Bill Cox  (bill@rtl.cygnus.com)

	* c-decl.c (finsh_decl): Don't output non-constant storage size 
	  error for CHILL
	* ch-actions.c: Call build_temporary_variable, fix build_tree_list
	  call in build_chill_cause_exception.
	* ch-convert.c, ch-expr.c: Use tree_cons to build list's last entry
	* ch-loop.c (build_temporary_variable): New function
	* ch-process.c: Call build_temporary_variable, spell start_process
	  correctly.
	* ch-tree.h: Extern for build_temporary_variable

Thu Feb 25 12:09:01 1993  Bill Cox  (bill@rtl.cygnus.com)

	* c-decl.c (init_decl_processing): Disable initial creation of C-specific
	  builtins - they pollute the CHILL name space.
	* ch-typeck.c (valid_array_index): Correct upper-bound check.
	* expr.c (expand_expr): Use actual library name for __inpowerset
	  builtin.
	* stor-layout.c (variable_size): Disable complaint about variable-
	  size type or decl at file scope.  Perhaps later this s.b. a warning.
	* varasm.c (emit_set_data): Add function.
	  (output_constant): Call new emit_set_data function for VAR_DECLs, 
	  in addition to CONSTRUCTORs.

Thu Feb 25 11:34:36 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: Change all builtin functions names to their
	  actual library names.  Change references to boolean_type_node
	  to references to the TREE_CODE == BOOLEAN_TYPE, to follow the
	  convention.
	  build_set_expr: Remove length parameter, call powersetlen() instead.
	    remove handling of CHAR arrays - they're handled in build_char_array_expr.  
	    Call __eqpowerset to test for equality - we can't use a byte-length -
	    need bitcount instead.
	  build_chill_compound_expr, internal_build_compound_expr: Copy from C
	    version that does stuff we don't want.
	  build_binary_op: Check for in_size_in_bytes return < 0, indicating
	    size is changeable at run time.  Build two memcpy calls to implement
	    string concatenation.
	  powersetlen: Add function.
	  build_chill_card: Call powersetlen.
	  build_chill_max_min:  Common code for powerset max/min.
	  build_chill_length: Move VARYING array handling before regular char
	    array handling.
	* ch-expr.c chill_expand_expr: Disable concatenate code - we need to
	  the VARYING status of the target to do this correctly.  Use powersetlen
	  for the powerset operations, not a byte length.
	* ch-loop.c: Make CREATE_SCOPE #define to enable creation of a new scope
	  for each CHILL loop, as Z.200 requires.  Add powerset and error flags
	  to loop structure.  Evaluate user's powerset expression into a temp,
	  scan it destructively with __ffsetclrpowerset or __flsetclrpowerset
	  for powerset loop.  Only do loop-end assignments if NOT a powerset
	  loop, which has much less overhead now.
	* ch-tree.h: Add prototype for powersetlen.

Fri Feb 19 08:40:24 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lex.l (convert_number): Evaluate number and pass it as
	  HOST_WIDE_INT.

Fri Feb 19 08:56:44 1993  Michael Tiemann  (fs_tie at rcsw18)

	* ch-typeck.c (build_chill_array_ref): Handle newmodes
	correctly.

	* ch-actions.c (chill_comptypes): Always initilize ERRSTR if
	we are going to return 0.

	* ch-convert.c (convert_to_reference): Don't use
	TYPE_MAIN_VARIANT, because REFTYPE's type may be a newmode
	(which must match the type of the expr).

	* ch-grant.c (chill_seize): Don't let a type be copied just
	because we are seizing it.

	* ch-lang.c (finish_chill_enum): Convert TYPE_MIN_VALUE and
	TYPE_MAX_VALUE to integer type.

	* ch-loop.c (begin_for_range): Set lp->iter_type based on the
	tree type of the bounds.
	(build_loop_top): type of GE_EXPR and LE_EXPR is
	boolean_type_node, not lp->iter_type.
	(for_location): Ditto.

	* ch-action.c (build_chill_lower,build_chill_upper): Handle
	ENUMERAL_TYPE.  Also, handle different kinds of arguments more
	cleanly.

	* ch-parse.y (iteration): Convert start_exp and end_exp to
	match the type of modename.

	* ch-grant.c (chill_seize_aggr): Search also through anonymous
	types.

	* ch-grant.c (chill_seize): Check to see if SEIZEITEM has
	already been seized, and if so, do nothing.

	* c-typeck.c (process_init_constructor): If DEFAULT_VALUE
	comes out error_mark_node, set ERRONEOUS.

	* ch-actions.c (build_chill_binary_op_1): If EXP is NULL_TREE,
	don't use it.

	* ch-action.c (chill_comptypes): Test for structural
	equivalence of enums.

	* ch-typeck.c (build_chill_array_ref): Convert INDEX to
	TYPE_MIN_VALUE of DOMAIN if the types are compatible.

	* ch-grant.c (chill_seize): If DECLS is a TYPE_DECL for an
	ARRAY_TYPE, seize the domain type if its a set.

Thu Feb 18 20:02:15 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* c-typeck.c (process_init_constructor):  Emit error if some
	array elements are not initialized.
	* c-typeck.c (process_init_constructor):  Call digest_init()
	recursively to expand default_value.
	* ch-expr.c (chill_expand_array_assignment):  Simplify, and
	handle the case that the lhs has dynamic size (e.g. a slice).
	* ch-parse.y (elementlist):  Handle the case that tupleelement
	generates more than one TREE_LIST node.

Thu Feb 18 12:40:56 1993  Michael Tiemann  (fs_tie@rcvie.co.at)

	* .cvsignore: add yacc sources, xgcc and stmp-* files. (Bill)
	* c-typeck.c (lookup_field): add function, calls.
	* ch-actions.c (build_chill_binary_op): figure return_type differently.
	* ch-convert.c (convert_to_reference): return error_mark_node,
	  STRIP_NOPS.  (convert): Braces for readability.
	* ch-decl.c (build_chill_function_type): accept typespec as parm.
	  Handle exceptions.
	  (grok_chill_variantdefs): call comptypes, not chill_comptypes.
	* ch-expr.c (chill_expand_assignment): handle references.
	* ch-grant.c (chill_seize_set, chill_seize_aggr): new functions
	* ch-parse.y (structured_variable): check for REFERENCE_TYPE,
	  call convert.  Generally handle reference types.


Thu Feb 18 09:30:11 1993  Michael Tiemann  (fs_tie@rcvie.co.at)

	* ch-actions.c (chill_comptypes): Figure out which newmode or
          synmode decls look most canonical.
	* ch-convert.c (convert): handle location conversions of records,
	  unions and arrays.
	* ch-decl.c (fixup_unknown_type): changes for variant records
	* ch-parse.y (tupleelement): avoid confusing digest_init.
	* ch-typeck.c (build_chill_array_ref): give element ref the
	  type of the ELEMENT, not the array (Bill Cox).

Wed Feb 17 11:52:20 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y: change push_newmode and push_synmode interfaces.
	* ch-actions.c (build_chill_binary_op): convert operands.

Wed Feb 17 10:54:24 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_binary_op, build_chill_unary_op):
	  handle reference types.
	* ch-decl.c (push_newmode, push_synmode): rewritten
	* ch-process.c (make_process_struct): new push_newmode interface.
	* ch-typeck.c (build_chill_cast): change interface, error checks.

Wed Feb 17 09:50:37 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c, ch-parse.y, ch-tree.h: delete old INOUT, OUT parameter
	  code.
	* ch-typeck.c (valid_array_index): new function.

Tue Feb 16 22:36:34 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-convert.c (convert):  Slightly more correct conversion
	for ARRAY_TYPEs (return as OK if CH_COMPATIBLE).
	* ch-expr.c (chill_expand_array_assignment):  Invoke
	__builtin_memcpy using build_function_call, not directly at
	the rtx level (which doesn't work).
	* ch-typeck.c (build_chill_slice):  First attempt at slices.
	* ch-tree.h,  ch-typeck.c (build_chill_slice_with_range,
	build_chill_slice_with_length):  New functions.
	* ch-parse.y:  Use new slice-building functions.
	* expr.c (get_inner_reference):  Subtract low bound of
	array when doing an ARRAY_REF.

Tue Feb 16 14:17:55 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_function_call): better comments.
	* ch-decl.c (push_parms): encode OUT, INOUT parms in additional way.
	* ch-parse.y: indentation cleanup

Tue Feb 16 12:03:53 1993  Michael Tiemann  (tiemann@cygnus.com)

	* ch-decl.c (grok_chill_variantdefs): Really implement variant
	records for CHILL.
	* ch-grant.c (get_tag_value): New function.
	* ch-grant.c (decode_mode): Grant variant records.

	* ch-grant.c (chill_seize): If we seize a set, seize the set
	values.

	* ch-lex.l (RETURN_TOKEN): Make this safe to use in if/else
	constructs.

	* ch-parse.y (EMPTY): New pseudo-token to disambiguate
	variant_alternatives.
	(current_fieldlist): New variable to help processing tag
	declarations in variant records.
	(fields): Renamed from structdef.
	(field): Renamed from fields.
	(varianthack): New non-terminal to handle parsing ambiguity
	for variant records.
	(optlabellist): Changed to preserve CONST_DECLs when they are
	parsed.

	* ch-tree.h (TYPE_TAGFIELD): New macro.
	(TYPE_TAG_VALUES): Ditto.

Mon Feb 15 00:49:34 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-grant.c (decode_mode):  Fix output for powerset modes.
	* ch-grant.c (decode_constant):  Support grant output of
	powerset literals.
	* ch-actions.c (build_chill_binary_op):  IN_EXPR fix.
	* expr.c (expand_expr):  Add Chill-specific kludge for
	BIT_FIELD_REF if operand is SET_TYPE to call runtime function.
	* ch-expr.c (chill_expand_assignment):  Remove no-longer-needed
	special-case support for a BIT_FIELD_REF in right-hand-side.
	* ch-lang.c (finish_chill_enum):  Patch up enum elements to
	have the correct type (instead of integers, as in C).

	* ch-lex.l, ch-parse.y:  Add disgusting hack (involving
	context-dependent look-ahead) so we can parse exception
	handlers correctly.
	* c-typeck.c (digest_init):  Set output type for SET_TYPEs.
	* varasm.c (unpack_set_constructor):  Add support for
	(power-)set ranges (i.e. low_element:high_element).

Sun Feb 14 13:37:52 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-inout.c: delete unused #include
	* ch-typeck.c (build_chill_slice): turn abort call into error msg.

Sat Feb 13 13:13:31 1993  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: Add cc1chill to STAGESTUFF per Eichin's suggestion.

Sat Feb 13 12:17:41 1993  Bill Cox  (bill@rtl.cygnus.com)

	* Makefile.in: add lots of header files to the CHILL dependencies

Fri Feb 12 15:48:27 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-actions.c (build_chill_function_call):  Don't return
	error_mark_node on empty parameter-list.

Fri Feb 12 12:54:52 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_function_call): fix start_decl parms.
	* ch-parse.y (PUSH_ACTION): guarantee to generate an insn!

Fri Feb 12 10:32:37 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_function_call): create temps, do
	  assignments to handle INOUT and OUT parameters.
	* ch-decl.c (build_chill_function_type): better parameter name.
	* ch-parse.y (action): keep rules in alpha order.
          (pmodearg): turn INOUT, OUT parameter types into reference types.
	* ch-typeck.c (build_tree_slice): indentation change.

Thu Feb 11 23:16:34 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-lex.l (convert_bitstring), Changed SET_TYPE_CONSTRUCTOR to
	take a list of elements which are in the set.  This corresponds
	better to the tuple input form in Chill (and Pascal).
	* varasm.c (unpack_set_constructor, pack_set_constructor):
	New functions, to expand SET_TYPE CONSTRUCTORs.
	* varasm.c (output_constructor):  Use pack_set_constructor
	to assemble a SET_TYPE constant from a CONSTRUCTOR.

	* ch-grant.c (decode_constant):  Better grant for strings,
	enumeral, and bitstring constants.
	* ch-grant.c:  Fixes in seize to avoid duplicates, and emit
	things in the correct order.
	* c-typeck.c (chill_initializer_constant_valid_p):  Kludge
	needed to export a static function.
	* ch-typeck.c (convert):  Avoid needlessly (and lossingly) calling
	chill_expand_tuple to convert fix string to varying.
	* ch-actions.c (build_chill_binary_op):  Promote short
	integer operands if needed (otherwise emit routines barf).
	* ch-tree.h (SET_WORD_SIZE):  New macro.
	* ch-parse.y:  Fix syntax for RECEIVE CASE.
	* ch-parse.y (location):  If IDENTIFIER is a CONST_DECL
	return its value instead.

Thu Feb 11 07:41:45 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_max, build_chill_min): clean up
	* ch-typeck.c (chill_expand_tuple): correct set initialization from
	  an enumeration tuple.  Add sort_constructor function.

Thu Feb 11 07:41:45 1993  Bill Cox  (bill@rtl.cygnus.com)

	* config/sparc.c (sparc_type_code): handle CHAR_TYPE and
	  BOOLEAN_TYPE w/out an abort.

Wed Feb 10 14:59:53 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: change most integer_type_node references to
	  chill_integer_type_node.  Rewrite _max and _min routines,
	  redefine the signatures for those runtime routines.  Move
	  empty-set check into runtime.
	* ch-expr.c, ch-loop.c, ch-process.c, ch-tree.c, ch-typeck.c: change
	  most integer_type_node references to chill_integer_type_node.

Tue Feb  9 16:00:05 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-except.c:  New file.  Stuff for exception handling.
	* ch-parse.y:  Add working exception handling support.
	* ch-lex.l, ch-parse.y:  Prefer standard type terminology
	(BOOLS, CHARS) even though non-standard (BITS, CHAR) is ok.
	* ch-grant.c:  Fix various problems related to granting
	types such as bitsets.
	* ch-tree.c (build_bitstring_type):  Set TYPE_MIN_VALUE
	to distinguish bitstrings from powersets (in the same way
	we distinguish char strings from char arrays).
	* ch-tree.h:  New macro CH_BOOL_TYPE_P.
	* ch-tree.h, ch-actions.c (lang_init), ch-grant.c (decode_mode):
	Undo kludge where integer_type_node was hardwired to 16 bits.
	Make integer_type_node etc have the same size as in cc1.
	New types chill_integer_type_node and chill_unsigned_type_node
	that correspond to the Chill source types INT and UINT.
	For now, these match the C 'short' types, but that should
	become a configuration option later,

Tue Feb  9 11:41:25 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_unary_op): allow NOT of a set.

Tue Feb  9 08:27:18 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_function_call): add test for
	  too many/few actual parameters (and avoid seg fault).
	* ch-decl.c (do_decls): code cleanup for readability.
	* ch-loop.c (begin_chill_loop, end_chill_loop): remove
	  emit_nop() calls - they now (since exceptions) cause seg faults.
	  Make derogation on poor CHILL compiler non-specific.
	* ch-parse.y (mode2): enable VARYING keyword in CHAR(expr).
	* ch-tree.h: remove prototypes added to c-tree.h.
	* ch-typeck.c (build_chill_array_ref): correct getting domain
	  subtree for a PARM_DECL.  Subscripting a SET_TYPE is turned into
	  an IN_EXPR.

Sun Feb  7 18:20:49 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-tree.def: add a new tree type - just for varying array 
	  references.  We were using ARRAY_REF, but the underlying C
	  code also generates that one.
	* ch-convert.c, ch-expr.c, ch-typeck.c: use the new tree type.

Sun Feb  7 17:33:17 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-convert.c: test given type against type of expr before
	  calling chill_expand_tuple.  We were getting lots of spurious
	  calls...

Fri Feb  5 15:24:01 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* cccp.c:  Merge in various Chill-specific changes.
	* gcc.c (default_compilers array):  Pass -lang-chill
	to cpp, not -lang-ch.

Fri Jan 29 17:18:22 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* Makefile.in (install-libchill, install-librmt):  Removed.
	* ch-actions.c (build_chill_exception_decl):  Change decl
	to initialized char array, rather than unitialized common.
	(Simplifies extracting string name of exception.)
	* ch-actions.c:  Adjust interface to cause_exception accordingly.
	* ch-typeck.c (build_chill_array_ref):  Cause rangefail if
	index > limit, not >= limit.

	* ch-actions.c (build_chill_function_call):  Rename misleading
	formal parameter.
	* ch-decl.c (do_decls):  Allow (again) general initializer exprs.
	* ch-parse.y (call):  Test for function call needs to test for
	FUNCTION_TYPE, not FUNCTION_DECL.
	nreverse arg list to build_chill_array_ref.
	* ch-typeck.c (build_chill_array_ref):  Do recursive call at end
	and only if multiple indexes.
	* ch-typeck.c:  Cleanups.

Fri Jan 29 11:05:58 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (do_decls): handle set initializations better, more to do.
	* ch-loop.c (begin_for_range): correct interface to expand_start_cond
	  and build_binary_op.
	* ch-tree.h: lots more prototypes
	* ch-typeck.c (build_array_from_set): added function.
	* ch-typeck.c (chill_expand_tuple): handle set initializations better.

Thu Jan 28 17:41:58 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-grant.c (set_default_grant_file):  Change default.
	Normally, grant file should end up in cwd.
	* ch-lang.c (build_chill_struct_type):  Call pushtag,
	for the sake of debugging.
	* ch-lex.l:  Improve comment parsing.
	* ch-lex.l (readstring):  Some improvements.
	Initial support for control sequences in string literals.a

Thu Jan 28 16:16:00 1993  Bill Cox  (bill@rtl.cygnus.com)

        * ch-convert.c (convert): correct fixed->varying conversion.
        * ch-parse.y (mode2): delete unesthetic newline.

Thu Jan 28 10:32:55 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: delete maybe_array_ref()
        * ch-expr.c (chill_expand_assignment): handle RHS array_ref, delay
          calling convert().
        * ch-lex.l, ch-parse.y, chill.gperf: add keywords, syntax for time
	  supervision actions & builtins
        * ch-parse.y (call): eliminate optlocarrayidx, call build_chill_slice,
          smaller actions directly (maybe_array_ref() used to call them).
        * ch-tree.h: add build_chill_function_call, build_chill_slice
        * ch-typeck.c: add build_chill_slice()

Thu Jan 28 08:44:28 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-tree.h: bring up to date with ch-actions.c changes.

Wed Jan 27 23:45:20 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (chill_expand_assignment): handle an RHS varying array
	  reference.

Wed Jan 27 22:28:36 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-grant.c (decode_constant):  Add REAL_TYPE support.
	* ch-actions.c (build_chill_exception_decl):  New function.
	* ch-actions (build_chill_cause_exception, cond_exceptions):
	Convert to take a (char*) parameter (the exception name).
	* ch-actions.c, ch-expr.c, ch-typeck.c:  Convert calls to
	cond_exception.
	* ch-parse.y (check_end_label):  New function, to check if
	and end label matches start label.
	* ch-parse.y:  Fix syntax to properly recognize and
	test optional end labels (using check_end_label).
	* ch-decl.c (finish_chill_function):  Simplify, since
	we assume check_end_label has already been called.
	* ch-parse.y:  Put in infrastructure for exception handling.

Wed Jan 27 15:45:20 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c: delete convert_chill_parameter, replace call with
          call to convert().	
	* ch-convert.c (convert): combine chill_give_type_to_expr in here.
	* ch-decl.c: call convert rather than chill_give_type_to_expr.
	* ch-expr.c: delete chill_expand_array_assignment, move code to convert.
	* ch-expr.c (chill_expand_assignment): just call convert.
	* ch-loop.c (end_chill_loop): expand the end of the loop for a
	  do while.
	* ch-parse.y: call convert rather than chill_give_type_to_expr.
	* ch-process.c: checkpoint.
	* ch-typeck.c: delete chill_give_type_to_expr, call convert instead.

Wed Jan 27 15:45:20 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-grant.c (grant_array_type): new function to allow handling of
	  VARYING array types.

Wed Jan 27 15:45:20 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-typeck.c (chill_give_type_to_expr): fix typo.  Reorder to
	  avoid checking types on CONSTRUCTORs.  Correct typo.
	* ch-expr.c (expand_assignment_to_varying_array): use proper
	  expansion function expand_expr_stmt.
	* ch-expr.c (expand_chill_assignment): only convert VARYING
	  array refs or RHS.

Wed Jan 27 15:32:21 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_length, build_chill_lower,
                        build_chill_upper): accept parameters, too.
	* ch-expr.c (chill_expand_assignment):  decipher ARRAY_REF on RHS.
	* ch-typeck.c (chill_give_type_to_expr, build_chill_array_ref):
	  assign proper type to ARRAY_REF expression.

Wed Jan 27 09:51:46 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c (build_chill_binary_op): delete unused variable,
	  get set's base type from TYPE_DOMAIN rather than TREE_TYPE.
	* ch-actions.c (build_chill_repetition_op): handle differently-built
	  declaration trees.
	* ch-loop.c (begin_for_set): adapt to new powerset declaration tree.
	* ch-typeck.c (chill_give_type_to_expr): give type to constructor

Tue Jan 26 11:32:38 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y (ifaction): re-add lost call to expand_end_code().
	* ch-parse.y (siezelist, grantlist): use 'name' rather than
	  'checked_name'.  It makes no sense to check sieze/grant names
	  for WITH expansion.
	* ch-expr.c (chill_expand_expr): delete unnecessary (and
	  seg-fault-causing) code.
	* ch-expr.c (chill_expand_assignment): make test for varying array
	  on the LHS more specific.
	* ch-actions.c (invalid_left_operand, invalid_right_operand): error
	  for use of MOD, REM operators.
	* ch-actions.c (build_chill_repetition_op): error for bit-field
	  initializers (which will get handled in the lexer).

Mon Jan 25 17:26:47 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-typeck.c (build_chill_array_ref),
	* ch-expr.c (chill_expand_expr, chill_expand_assignment):
	  translate varying array ref into ARRAY_REF, defer processing
	  until chill_expand_expr.  Update array's length field in
	  new function expand_assignment_to_varying_array.

Mon Jan 25 14:57:24 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y (mode2): eliminate old method to mark varying arrays.
	* ch-expr.c (expand_varying_length_assignment): repair scaling of 
	  RHS expression.

Mon Jan 25 11:44:21 1993  Per Bothner  (bothner@cygnus.com)

	* ch-parse.y:  Allow character and bitstring literals
	in string repetition operator.

Sat Jan 23 14:18:11 1993  Per Bothner  (bothner@cygnus.com)

	* ch-parse.y (primval):  Re-recognize '(' expr ')'.
	* ch-parse.y (name):  Remove call to check_identifier -
	this is not appropriate in certain contexts.
	* ch-parse.y (checked_name):  Same as <name>, but *with* the
	call to check_identifier.  Use where appropriate.
	* ch-parse.y (operand5):  Only allow string repetition of
	string literals, because otherwise you get a conflict.

Thu Jan 21 16:32:39 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-actions.c, ch-parse.y, ch-process.c, ch-tree.h: sync modules,
	  continue start_process development.

Thu Jan 21 13:51:06 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (do_decl): fix handling of multi-char initializer.

Thu Jan 21 13:14:00 1993  Bill Cox  (bill@rtl.cygnus.com)

	* .cvsignore: add CHILL files to be ignored

Thu Jan 21 07:38:57 1993  Bill Cox  (bill@cygnus.com)

	* ch-parse.y: rough draft of start_process handling.

Wed Jan 20 17:11:05 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-inout.c: fix mismatch with readtext proto in ch-tree.h.

Wed Jan 20 16:48:13 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-tree.h, ch-process.c, ch-inout.c, Makefile.in: 
	  create new modules for I/O and process-related stuff.
	* ch-actions.c: move routines to new modules.  
	  call xmalloc, not malloc.
	* ch-lang.c (build_chill_struct_type): add parameter checking.
	* ch-lex.l (init_lex): remove redundant cast.

Tue Jan 19 16:33:56 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y (operand5): delete unnecessary argument to
	  build_chill_unary_op.  Add rule for string repetition.
        * ch-parse.y (primval): delete string repetition attempt.
	* ch-parse.y (start_process): rough draft of action.
	* ch-actions.c (build_repetition_op): add it
	* ch-actions.c (build_chill_binary_op): handle constant arguments
	  of CONCAT_EXPR, combine into a single string if possible.
	* ch-actions.c (invalid_left_operand, invalid_right_operand):
	  allow single character arguments to CONCAT_EXPR.
	* ch-tree.h: add prototype for build_repetition_op

Tue Jan 19 15:03:29 1993  Fred Fish  (fnf@cygnus.com)

	* dwarfout.c (output_type):  Add hack that matches the one in the
	chill front end to distinquish between true string types and 
	arrays of char, since it uses ARRAY_TYPE for both, rather than
	trying to use the existing support for STRING_TYPE.

Tue Jan 19 13:54:27 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-tree.h: added prototypes for all non-static CHILL functions.
	* ch-actions.c (lang_init): declare builtin type for start_process
        * ch-actions.c (build_chill_binary_op): combine	string literals when
	  concatenated.  
	* ch-actions.c (formpars2struct): added for later start_process
	  implementation.
	* ch-actions.h: remove un-needed function declarations.
	* ch-decl.c: extern cleanup.
	* ch-expr.c (chill_expand_array_assignment): add missing first
	  parameter to cond_exception call.
	* ch-lex.l: make build_chill_string non-static.

Mon Jan 18 19:15:08 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (do_decls): get varying array length initialized.

Mon Jan 18 09:51:43 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c (chill_expand_array_assignment): fix the copy length
	in the memcpy call (it was just 4 bytes always).   Simplify some
	code, also.

Mon Jan 18 08:24:21 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c (do_decls): change CH_VARYING_TYPE_P to function.

Mon Jan 18 08:00:11 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-lex.l, ch-parse.y: make BOOLS synonymous with BIT and 
	CHARS synonymous with CHAR, in the lexer.  Delete unnecessary
	'bools' non-terminal.
	* ch-parse.y (assignaction): add lhs version of length() function
	* ch-actions.c: add builtin_concat function, lots of support for 
	CONCAT_EXPR.
	* ch-actions.c, ch-tree.h: make a function out of former
	macro CH_VARYING_TYPE_P
	* ch-expr.c: add expand_varying_length_assignment ().
	* ch-expr.c (chill_expand_expr): add CONCAT_EXPR support.
	* ch-expr.c (chill_expand_array_assignment): call emit_library_call
	rather than build_rts_call, to eliminate a recursion problem.
	* ch-lang.c: eliminate 'sorry' about varying arrays.
	* ch-typeck.c (validate_varying_array_ref): re-enable constant
	index validation.

Sun Jan 17 18:20:04 1993  Per Bothner  (bothner@cygnus.com)

	* ch-grant.c, ch-lex.l:  Major simplification of how
	seizes are done and how seizefiles are read.
	* ch-actions.h:  Remove declaration of check_seize().
	* ch-decl.c (do_decls):  Handle READONLY types.
	* ch-parse.y (mode2):  Allow REF to be followed by any mode.
	* ch-parse.y (mode2):  Allow literal expressions in string length.
	* ch-parse.y (tupleelement):  Allow elemenst to be untyped_expr.
	* ch-parse.y (seizestatement, etc):  Call chill_seize each
	time something is seized, rather than building a list first.

Sat Jan 16 12:24:44 1993  Bill Cox  (bill@rtl.cygnus.com)

	* chill.gperf, ch-hash.h: add Wilfried's tokens
	* ch-lex.l: fold in Wilfried's changes.  Some tokens
	weren't getting recognized, and INSTANCE wasn't correctly
	reported to ch-parse.y as a PREDEF_MODEDCL.

Thu Jan 14 15:02:39 1993  Per Bothner  (bothner@cygnus.com)

	* ch-tree.h (CH_CHARS_TYPE_P):  New macro.  Add comment
	explaining difference between char strings and char arrays.
	* ch-tree.h (CH_STRING_TYPE_P):  Add FIXME re bitstrings.
	* ch-tree.c (build_string_type):  Add comment.

Wed Jan 13 15:19:15 1993  Per Bothner  (bothner@cygnus.com)

	* calls.c, expr.c, function.c, stmt.c, varasm.c:  Set
	MEM_IN_STRUCT_P for SET_TYPE where it is set for other aggregates
	* expmed.c (store_bit_field, extract_field_field):  Undo
	yesterday's removal of MEM_IN_STRUCT_P "sanity test".

	* ch-decl.c (do_decls):  Put back support for initializing.
	(Was accidentally removed in Jan 8 change.)

Wed Jan 13 14:13:11 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)

	* ch-lex.l (convert_bitstring): Correct typo in cast.

Tue Jan 12 20:29:08 1993  Per Bothner  (bothner@cygnus.com)

	* ch-lex.l (convert_bitstring):  Change to pack bits
	within words, not bytes, and to use machine bit-order
	(not always little-endian).
	* ch-parse.y:  Allow BOOLS(n) as well as BITS(n).
	Use build_bitstring_type, not build_string_type.
	* expmed.c (store_bit_field, extract_field_field):  Remove
	"sanity test" that prevents use with SET_TYPE.
	* tree.c (build_bitstring_type, build_powerset_type,
	build_string_type):  Move (so far) Chill-specific functions to ...
	* ch-tree.c:  ... new file.
	* ch-tree.c (build_powerset_type, build_bitstring_type):  Re-write.
	* ch-typeck.c (build_chill_array_ref):  Handle bit strings better.
	* ch-typeck.c (chill_expand_tuple):  Kludge to handle SET_TYPE.
	* Makefile.in (CHILL_OBJS):  Add ch-tree.o.
	* ch-decl.c (do_decls):  Call expand_decl.
	* stor-layout.c (layout_type):  Handle SET_TYPE.
	* expr.c (expand_expr):  Add FIXMEs about IN_EXPR.
	* ch-actions.c (lang_init):  Add type and decl for new
	function __builtin_setbitinstring.
	* ch-expr.c (chill_expand_assignmment):  Special-case handling
	for BIT_FIELD_REF with non-constant bit position (which is
	not yet handled by expand_expr).
	* ch-convert.c (convert):  Handle SET_TYPE.

Tue Jan 12 12:49:13 1993  Fred Fish  (fnf@cygnus.com)

	* chill:  If -B arg is given, use to find gcc.

Fri Jan  8 20:21:43 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c: revert to avoid seg fault

Fri Jan  8 14:20:42 1993  Bill Cox  (bill@rtl.cygnus.com)

	* ch-decl.c: fix storage into correct offset in varying array.
	* ch-actions.c: define sizetype for everyone, use it to build
	varying structure.
	* ch-parse.y: tiny cleanup.

Wed Jan  6 13:25:33 1993  Bill Cox  (bill@cygnus.com)

	* modules: use gdb rather than naked-gdb, to get opcodes
	in chill definition.

Wed Jan  6 09:48:35 1993  Bill Cox  (bill@cygnus.com)

	* ch-typeck.c: add code to handle references to elements of VARYING
	arrays.  Simplify chill_give_type_to_expr.  Add rough draft of run-
	time index checking for VARYING arrays (under #if 0).
	* ch-actions.c: new function cond_type_range_exception & calls.
	New function cond_range_exception, for more general range-checking.
	New function build_varying_struct, to do just that.  Use the macros
	for the special varying field names.
	* ch-tree.h: define macros for varying field names.
	* ch-expr.c: use macros for varying struct names.  Simplify 
	chill_expand_array_assignment.
	* ch-parse.y: assure that build_varying_struct is called everywhere
	that it applies.  Add a line-number note before the body of a DO 
	loop.
	* ch-loop.c: #ifdef out creation of new scope for DO loop body.

Tue Jan  5 17:26:14 1993  Bill Cox  (bill@cygnus.com)

	* c-decl.c: correct order of declaration of start_decl params,
	for readability.

Tue Jan  5 15:59:36 1993  Per Bothner  (bothner@cygnus.com)

	* ch-grant.c (still_start_module_code), ch-parse.y (procedure):
	Move shared code into ...
	* ch-decl.c (start_chill_function): ... here.
	* ch-decl.c (start_chill_function):  Add missing call to
	expand_start_bindings.
	* ch-decl.c (finish_chill_function): Add missing call to
	expand_end_bindings.

Tue Jan  5 01:00:47 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)

	* Makefile.in: took out the rest of the runtime support

Mon Jan  4 18:02:06 1993  Bill Cox  (bill@cygnus.com)

	* ch-expr.c: make chill_expand_array_assignment not static.

Mon Jan  4 17:57:48 1993  Per Bothner  (bothner@cygnus.com)

	* ch-grant.c, ch-parse.y:  Remove all code for explicitly
	calling initializer functions.  This is not needed, since we
	use the same mechanism used for C++ static constructors.
	* ch-grant.c (chill_start_module_code):  Make sure the
	init_name starts with the magic string also used for C++
	initializers.  Also, don't embed the file name in the name,
	just use the module name.
	* ch-grant.c (chill_finish_module_code):  Now that the
	initializer name follows the standard 'collect' convention,
	don't need to call assembler_constructor_alias, but can
	use the standard assemble_constructor instead.
	* varasm.c (assemble_constructor_alias):  Remove no-longer-
	needed function.
	* ch-parse.y:  Move code that is common to the beginning of
	all functions to a new macro INIT_ACTION.
	Make sure INIT_ACTION is also done for callaction, fixing a bug.
	* ch-parse.y (INIT_ACTION):  Do chill_start_module_code()
	before emit_line_note(), not after.

Mon Jan  4 11:43:12 1993  Bill Cox  (bill@cygnus.com)

	* ch-parse.y: restore requirement for :upper-bound in array decl.
	* ch-actions.c: enhance upper, lower, length functions for VARYING.

Mon Jan  4 09:28:44 1993  Bill Cox  (bill@cygnus.com)

	* ch-actions.c: fix NOT of boolean expr.

Mon Jan  4 08:42:57 1993  Bill Cox  (bill@cygnus.com)

	* ch-actions.c: provide range-checking function
	* ch-lex.l: better compiler-directive error messages,
	allow underscores in exponents
	* ch-loop.c: prevent passing NULL ptr to printf

Sun Jan  3 11:57:13 1993  Bill Cox  (bill@cygnus.com)

	* ch-typeck.c: correct & enable array index range-checking

Sun Jan  3 11:36:39 1993  Bill Cox  (bill@cygnus.com)

	* ch-parse.y: define IGNORED_DIRECTIVE
	* ch-typeck.c: subtract array's lower domain value, even if
	index expression is constant.

Sat Jan  2 23:05:14 1993  Fred Fish  (fnf@cygnus.com)

	* ch-lex.l (convert_float):  Fix misspelling in error message.

Sat Jan  2 16:02:16 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* Makefile.in:  Took out chill-runtime support.
	Chill run times are now in ../chillrt, not ./chillrt.p

Sat Jan  2 15:04:13 1993  Bill Cox  (bill@cygnus.com)

	* ch-hash.h, chill.gperf: cleanup.  fewer keywords seen by ch-parse.y.

Sat Jan  2 13:27:49 1993  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-lex.l (check_newline):  Use the orginal versions (derived
	from the C code, not the simplified, special-case version).
	Also, fix that version of check_newline to not call yylex()
	recursively.
	* ch-lex.l (yy_input):  Call check_newline to handle
	newlines and check for # directives.
	* ch-lex.l (syntax):  Don't recognize #-directives; these
	are now handled by check_newline.
	* ch-actions.c (lang_init):  Call the modified version of
	check_newline().  Do this at the *after* we've initialized
	standard types, so this can be done while lineno is still 0.

Sat Jan  2 10:57:20 1993  Bill Cox  (bill@cygnus.com)

	* ch-hash.h, chill.gperf: add remaining reserved words.

Sat Jan  2 09:59:55 1993  Bill Cox  (bill@cygnus.com)

	* ch-tree.h, ch-parse.y, ch-lex.l: add remaining reserved words,
	names for exceptions

Fri Jan  1 12:30:31 1993  Fred Fish  (fnf@cygnus.com)

	* ch-tree.h (JOINER):  Define joiner character the same way
	C++ defines it.
	* ch-grant.c (chill_start_module_code):  Use JOINER character
	to implement name mangling for the initializer function name.
	Algorithm is designed to be simple, distinct from C++ mangled
	symbols, and easy to convert to demangled form.

Thu Dec 31 10:30:51 1992  Bill Cox  (bill@rtl.cygnus.com)

	* ch-expr.c: make array assignments work with indirect refs.
	* ch-actions.c: prepare for array parameter handling.
	* ch-loop.c, ch-parse.y, ch-tree.def, ch-typeck.c: clean up.

Thu Dec 31 15:29:20 1992  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-lex.l (yy_input):  Re-write to return more than one
	character at a time (execpt when reading seize-files).
	Don't increment lineno until we start reading the next line.
	This fixes some off-by-one errors in lineno.

Wed Dec 30 16:15:23 1992  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-convert.c:  Assume use of new common.c.
	* ch-convert.c (convert_to_reference, convert_from_reference):
	New routines, to handle loc-identity declared variables and
	LOC parameters (both of which are implemented as references).
	* ch-lang.c (convert_to_boolean, convert_to_char):  Move to
	ch-convert.c, where they would seem to belong.
	* ch-convert.c (convert):  New function, since we no longer
	link in c-convert.c.
	* ch-expr.c (chill_expand_assignment):  Handle by calling
	convert() instead of chill_comptypes().
	Also handle the LHS being a reference.
	* ch-parse.y:  Add a procedure call as an action.
	* ch-parse.y (locdec, optlocinit):  Move handling of
	loc-identity declarations from optlocinit to locdec
	- and add working semantics for it.
	* ch-parse.y (seizestatement, visibilty_stmt):  Simplify.
	* ch-parse.y (grantstatement etc):  Don't bother making list.
	* ch-lex.l:  #include <sys/types.h> before <sys/stat.h>.

Wed Dec 30 16:06:55 1992  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y, ch-expr.c: add support for declaring & assigning
	VARYING arrays.
        * ch-typeck.c: allow VARYING structures in assign_type_to_expr.

Tue Dec 29 15:28:48 1992  Bill Cox  (bill@cygnus.com)

	* ch-actions.c: implement expressions of arrays of char,
        ( concatenation, relationals ), correct type of code parameters
        * ch-expr.c: correct type of code parameters

Tue Dec 29 11:16:19 1992  Bill Cox  (bill@cygnus.com)

	* ch-decl.c: cleanup.
        * ch-parse.y: put emit_line_note() calls in lotsa places,
        per Fred's request; be sure that statements get counted also.
        * ch-lex.l: standardize function headers.

Tue Dec 29 10:41:56 1992  Fred Fish  (fnf@cygnus.com)

	* ch-decl.c (start_chill_function):  Always return 1, rather
	than a random value.
	* ch-lex.l (check_newline):  Add a version for chill that
	just snarfs the right value for main_input_filename out of
	the first line of the input file, without disturbing the
	lexer state or requiring it's assistance.
	* ch-actions.c (lang_init):  Call check_newline, like the
	other language frontends, to get main_input_filename set
	from first line of input file.

Mon Dec 28 18:49:01 1992  Bill Cox  (bill@cygnus.com)

	* ch-parse.y: clean up conflicts.  The remaining one is
	harmless.

Mon Dec 28 17:28:40 1992  Bill Cox  (bill@cygnus.com)

	* ch-parse.y, ch-lex.l, ch-actions.c: add stubs for I/O,
	clean up some parser conflicts.

Mon Dec 28 15:00:20 1992  Bill Cox  (bill@cygnus.com)

	* ch-parse.y, ch-lex.l:  add keywords and parsing for most of
	CHILL I/O

Sat Dec 26 20:48:23 1992  Fred Fish  (fnf@cygnus.com)

	* chillrt/chillrt0.c:  Oops, SVR4 doesn't need leading '_'
	on build_exceptions.

Sat Dec 26 11:00:36 1992  Fred Fish  (fnf@cygnus.com)

	* ch-grant.c (chill_finish_module_code):  Call
	assemble_constructor_alias rather than assemble_constructor.
	* varasm.c (assemble_constructor_alias):  New function,
	like assemble_constructor, but also handles the case where
	ASM_OUTPUT_CONSTRUCTOR is not defined and GNU ld is not
	being used.  Emits a symbol table alias name with the correct
	prefix for collect to find and add to the __CTOR_LIST__.
	* chillrt/chillrt0.c:  Build on previous hack that gets
	_build_exceptions into the __CTOR_LIST__, to make it work
	for both the non GNU-ld case and for the SVR4 case.

Tue Dec 22 18:24:55 1992  Bill Cox  (bill@cygnus.com)

	* ch-loop.c: clean up location enumeration - one more
	pass to do.

Tue Dec 22 16:31:48 1992  Bill Cox  (bill@cygnus.com)

	* ch-loop.c: Working version of location enumeration loop

Tue Dec 22 14:42:14 1992  Bill Cox  (bill@cygnus.com)

	* ch-lex.l: readability cleanup

Mon Dec 21 14:58:39 1992  Bill Cox  (bill@cygnus.com)

	* ch-parse.y, c-decl.c: Add Jukka's Pascal WITH code.
	ch-loop.c: rough draft of location enumeration
	ch-lex.l, ch-expr.c, ch-decl.c: minor cleanup
	ch-actions.c: finish making pred() and succ() work.

Mon Dec 21 10:04:35 1992  Bill Cox  (bill@cygnus.com)

	* ch-actions.c: allow pred(char) and succ(char).

Sun Dec 20 16:04:28 1992  Bill Cox  (bill@cygnus.com)

	* ch-expr.c, ch-actions.c, ch-parse.y, ch-loop.c,
	c-expr.c: make DO WITH work.

Sun Dec 20 12:22:53 1992  Bill Cox  (bill@cygnus.com)

	* ch-loop.c, ch-actions.c, ch-typeck.c: powerset loops
	now work

Sat Dec 19 14:20:23 1992  Per Bothner  (bothner@cygnus.com)

	* c-typeck.c (process_init_constructor):  Add warning if
	there is a duplicate default initializer element.
	* ch-typeck.c (chill_give_type_to_expr):  New function,
	to handle coercion of an expression to context-given type,
	Takes care of untyped tuples, and case expressions.
	* ch-decl.c (do_decls), ch-typeck.c (chill_expand_return,
	chill_expand_result), ch-parse.y <assignaction>:
	Use chill_give_type_to_expr().
	* ch-typeck.c (chill_handle_case_label):  New parameter list,
	to handle the (new) conventions for <case_label>, including
	default elements and ranges.
	* ch-parse.y <expanded_case_label>, ch-typeck.c
	(expand_case_expr):  Use new version of chill_handle_case_label.
	* ch-decl.c (push_syndecls):  Change parameters:  Instead of
	TREE_LIST representing a compete <synonym definition statement>,
	just pass the parts of a single <synonym definition> as 3
	different parameters.  Also, use chill_give_type_to_expr(),
	to handle untyped tuples in the RHS.
	* ch-parse.y <syndeclist, syndef>:  Don't bother trying to construct
	a tree - just call push_syndecls() on each <synonum_definition>
	as we see it.
	* ch-parse.y (exprlist_get_single):  Remove; no longer needed.
	* ch-parse.y:  Handle <tuple> without mode name diferently from
	<tuple> with mode name.  The latter is a <primval> that can be
	in most contexts, but if the <mode name> is missing, the <tuple>
	is only allowed in certain contexts.  Use the new non-terminal
	<untyped_expr> to indicate those contexts where untyped tuples
	(and case expressions) are valid because the expression gets a
	type from its context (such as the RHS of an assignment).
	Use chill_give_type_to_expr in those contexts.

Sat Dec 19 14:01:26 1992  Bill Cox  (bill@cygnus.com)

	* ch-actions.c, ch-loop.c, Makefile.in: looping stuff.

Sat Dec 19 10:16:20 1992  Bill Cox  (bill@cygnus.com)

	* ch-parse.y: clean up warning messages from byacc.  bison
	still complains thrice.

Fri Dec 18 12:33:29 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)

	* ch-actions.c (maybe_chill_comptypes): Delete unused
	function.
	(chill_comptypes): Add new parameter ERRSTR.  All callers
	changed.
	(build_chill_binary_op): Fix indentation to match GNU coding
	style.

Fri Dec 18 08:18:13 1992  Bill Cox  (bill@rtl.cygnus.com)

	* ch-parse.y, ch-expr.c, ch-actions.c, expr.c:  major
	cleanup of expression and assignment handling.

Thu Dec 17 10:16:32 1992  Bill Cox  (bill@cygnus.com)

	* ch-parse.y: standardize indentation after c-parse.y

Wed Dec 16 15:22:12 1992  Per Bothner  (bothner@cygnus.com)

	* c-typeck.c (process_init_constructor):  Add support for
	a default initializer element.
	* ch-parse.y: Implement default elements for tuples
	(as in '(else):' and '(*):' ).

	* ch-parse.y:  Previous change to dis-ambiguate case-labels
	seems to have allowed getting rid of all of the expr_or_list hair.
	* ch-decl.c (do_decls): Undo Tiemann's change to "Handle
	initialization of multiple variables by a tuple" - the
	idea is bogus.

Wed Dec 16 11:17:53 1992  Bill Cox  (bill@cygnus.com)

	* ch-parse.y: complete re-write of DO statement handling.
	now operational, except WITH is stubbed out.  Improved
	syntax error message.
	* ch-actions.c: DO support: high_domain_value(), low_domain_value ().
	* ch-expr.c: fixes to IN_EXPR handling.

Tue Dec 15 17:15:13 1992  Jim Wilson  (wilson@sphagnum.cygnus.com)

	* ch-grant.c: Add casts to alloca return to avoid compiler warning.
	* ch-lex.c: Likewise.

	* Makefile.in (ch-lex.c): Delete incorrect free declaration added
	by flex to avoid compiler error.

Tue Dec 15 08:41:08 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)

	* ch-decl.c (do_decls): Handle initialization of multiple
	variables by a tuple.

	* ch-decl.c (do_decls,start_chill_function): Make DECL public
	if we're doing a GRANT ALL at top level.

	* ch-lang.c (build_range_type): Deal with typecast to CHAR in
	range expression.

	* c-typeck.c (digest_init): SET_TYPE is not a scalar type.
	BOOLEAN_TYPE and CHAR_TYPE are scalar types.

Mon Dec 14 14:58:32 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)

	* ch-lex.l (get_chill_{linenumber,filename}): New functions.
	(convert_number): Use LONG_TYPE_NODE instead of INTEGER_TYPE_NODE.

Mon Dec 14 13:36:44 1992  Bill Cox  (bill@cygnus.com)

	* expr.c: install and test newer Pascal IN_EXPR code,
	but don't activate it - it's very verbose.

Mon Dec 14 00:22:49 1992  Fred Fish  (fnf@cygnus.com)

	* Makefile.in (LANGUAGES):  Add chill.
	* Makefile.in (CHILL_INSTALL_NAME, CHILL_CROSS_NAME):
	New macros for chill native and cross installation names.
	* Makefile.in (COMPILERS):  Add cc1chill.
	* Makefile.in (CHILL_OBJS):  New macro, chill objects.
	* Makefile.in (CHILL_TREE_H):  New macro, chill headers.
	* Makefile.in (CHILL, chill, cc1chill, chill-runtime, libchill.a,
	sublibchill.a, ch-parse.o, ch-parse.c ch-*.o, install-libchill,
	install-librmt):  New targets.
	* Makefile.in (install-native):  Add install-libchill, 
	install-librmt.

Sun Dec 13 15:21:06 1992  Bill Cox  (bill@cygnus.com)

	* ch-actions.c, ch-expr.c: Fix the pop-count in library calls.

Sun Dec 13 14:07:32 1992  Bill Cox  (bill@cygnus.com)

	* ch-actions.c: fix unary operations, modulus ops,
	(discovered after extending regression tests).

Sun Dec 13 12:16:32 1992  Bill Cox  (bill@cygnus.com)

	* resync with Michael and Wilfried

Sun Dec 13 09:11:25 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)

	* ch-parse.y (output_constant): Fixed some whitespace
	problems.
	* ch-tree.h: Add declarations for new chill functions that
	have been implemented but not (yet) declared.

Sat Dec 12 00:17:23 1992  Per Bothner  (bothner@cygnus.com)

	* c-typeck.c (process_init_constructor):  Warn about duplicate
	labels for labelled initializer elements.
	* ch-lex.l (various operator tokens, such as "+"):  Don't
	set yylval.code to a TREE_CODE; this is better done in parser.
	* ch-parse.y:  Some work with case labels and tuples.
	Get literal range as tuple (and case) labels working.
	Fix some problems introduced by recent grammar overhaul.

Fri Dec 11 13:28:48 1992  Bill Cox  (bill@cygnus.com)

	* ch-actions.c, ch-parse.y ch-tree.h ch-expr.c, ch-typeck.c:
	got long, real expressions working.  We can also call a func-
	tion and use its return value.

Thu Dec 10 14:45:17 1992  Per Bothner  (bothner@cygnus.com)

	* ch-parse.y:  Major change to remove or at least identify
	parser ambiguities.  One result:  We now allow actions that
	start with '(', as required by teh Blue Book.  This does break
	some things; look for FIXME for things that need work.
	* ch-typeck.c (chill_expand_case_expr):  We need an extra
	level of looping to (in the future) support <case label
	specification>s with more than one <case label list>.

Thu Dec 10 09:21:41 1992  Bill Cox  (bill@cygnus.com)

	* ch-actions.c, ch-expr.c: Implement string assignments
	and relationals.

Thu Dec 10 07:17:35 1992  Bill Cox  (bill@cygnus.com)

	* ch-decl.c, ch-typeck.c: rest of previous commit.

Wed Dec  9 18:26:29 1992  Bill Cox  (bill@cygnus.com)

	* ch-parse.y, ch-actions.c, ch-expr.c: redo type checking.
	regression test and fix bit arrays and set ops.

Mon Dec  7 14:57:46 1992  Bill Cox  (bill@cygnus.com)

	* ch-actions.c: implement crude relationals between
	non-exotic operands, such as integers.

Mon Dec  7 10:42:35 1992  Bill Cox  (bill@cygnus.com)

	* ch-actions.c: implement relational, logic operations
        on arrays of BOOLs.

Mon Dec  7 08:55:20 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)

	* ch-actions.c (lang_init): Set LINENO to 1 at beginning to
	indicate we are done with initialization.

	* ch-decl.c (do_decls): Set TREE_PUBLIC if we are doing a
	`grant all'.
	(start_chill_function): Ditto.

	* ch-lex.c (convert_bitstring): Set TREE_CONSTANT.
	(compiler_directive): Don't confuse compiler directives with
	equality comparison operators.

	* ch-parse.y: Clear CURRENT_LOCNAMELIST after calling do_decls.

Sun Dec  6 13:12:32 1992  Bill Cox  (bill@cygnus.com)

	* ch-actions.c: repair set inequality code.

Sun Dec  6 11:15:59 1992  Bill Cox  (bill@cygnus.com)

	* ch-parse.y, ch-actions.c, ch-expr.c: Implement set-oriented
        relational expressions, including (<, <=, =, /=, >, >=, IN).

Fri Dec  4 13:54:58 1992  Brendan Kehoe  (brendan@lisa.cygnus.com)

	* tree.def: Move CARD_EXPR and SET_LE_EXPR back down with the other
	Pascal-required ones, since C++ no longer needs them.  When
	Chill's public, a comment can be added to the effect that
	SET_LE_EXPR is also used by Chill.

Fri Dec  4 12:05:01 1992  Bill Cox  (bill@cygnus.com)

	* Restore CARD_EXPR and SET_LE_EXPR to tree.def.

Fri Dec  4 10:23:10 1992  Bill Cox  (bill@cygnus.com)
	* Get *.def and *.c in sync.

Fri Dec  4 06:48:41 1992  Fred Fish  (fnf@cygnus.com)

	* ch-actions.c (lang_init):  Change types "long" and
	"ulong" from 16 bits to 32.
	* dwarfout.c (fundamental_type_code):  Use FT_signed_char
	for type "byte" and FT_unsigned_char for type "ubyte".

Thu Dec  3 15:13:24 1992  Bill Cox  (bill@cygnus.com)
	* ch-actions.c, ch-tree.def, ch-parse.y:  preparation
	for powerset expressions.

Tue Dec  2 17:02:30 1992  Bill Cox  (bill@cygnus.com)
	* ch-actions.c: sketch code for exceptions generated
	by builtin routines.

Tue Dec  2 12:49:50 1992  Bill Cox  (bill@cygnus.com)
	* ch-actions.c, ch-parse.y: add support for lower()
	upper() builtin functions.

Wed Dec  2 12:03:30 1992  Fred Fish  (fnf@cygnus.com)

	* Makefile.in (chillrt0.o, install-chillrt0):  Remove.
	* chill (library):  Remove chillrt0.o.
	* chillrt/Makefile:  Remove maintenance of chillrt0.o as a
	separate file.  Now gets put in libchill.a.

Tue Dec  2 10:100:20 1992  Bill Cox  (bill@cygnus.com)

	* ch-parse.y, ch-actions.c: add support for num()
	builtin function.

Wed Dec  2 09:52:06 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)

	* ch-decl.c (fixup_unknown_type): New function.
	(push_newmode,push_synmode): Call `fixup_unknown_type' when we
	see a declaration that uses `unknown_type_node'.  FIXME.

	* ch-grant.c (decode_constant): New function.
	(decode_decl): Call `decode_constant' for CONST_DECLs.

	* ch-lex.l (char action): Use ridpointers instead of
	lookup_name to get "char"'s declaration.

	* ch-parse.y: Call `build_lang_decl' instead of `build_decl'
	when we need to build a TYPE_DECL.

Tue Dec  2 09:44:05 1992  Bill Cox  (bill@cygnus.com)

	* ch-typeck.c: clean up a gcc warning with a forward
        declaration of build_string_type.

Tue Dec  1 16:51:05 1992  Bill Cox  (bill@cygnus.com)

	* ch-actions.c: completely remove those builtin calls
	that are duplicated in c-decl.c

Tue Dec  1 16:38:51 1992  Fred Fish  (fnf@cygnus.com)

	* ch-actions.c (lang_init):  Ifdef out initializations for
	__builtin_abs and __builtin_fabs, since they are duplicates of
	initializations in c-decl.c, and trigger spurious warnings.

Tue Dec  1 16:35:18 1992  Bill Cox  (bill@cygnus.com)

	* ch-parse.y: make size() work with a typename argument.

Tue Dec  1 16:15:56 1992  Bill Cox  (bill@cygnus.com)

	* ch-parse.y, ch-lex.l, ch-actions.c: add builtin
	functions min, max, card.

Tue Dec  1 12:35:56 1992  Bill Cox  (bill@cygnus.com)

	* ch-lex.l: fix char-type

Tue Dec  1 11:10:56 1992  Bill Cox  (bill@cygnus.com)

	* ch-parse.y, ch-actions: added parsing and processing 
        for upper, lower, and length built-ins.

Tue Dec  1 09:40:49 1992  Fred Fish  (fnf@cygnus.com)

	* dwarf.h (LANG_CHILL):  Add as GNU extension.
	* dwarfout.c (output_compile_unit_die):  Test language_string and
	set LANG_CHILL if appropriate.
	* ch-parse.y (language_string):  New for chill.
	* chillrt:  Renamed directory chill to chillrt.
	* chill:  Renamed chillsh to chill.
	* Makefile.in:  Adjust for renamings.
	* chillrt/Makefile:  Adjust for directory renaming.

Mon Nov 30 17:35:33 1992  Fred Fish  (fnf@cygnus.com)

	* chillsh:  New script frontend (ala g++), installed as "chill".
	Can't be called "chill.sh" because make tries to cat it into the
	"chill" directory.  Can't be called just "chill" cause that's
	already there as a directory.
	* Makefile.in:  Add rules to install chillsh as "chill".
	* chill/libchill.c:  Temporarily ifdef out stuff that wants
	to conflict with i486/SVR4 runtime or wants to pull in librmt.a,
	which itself causes linkage to fail.

Mon Nov 30 16:28:19 1992  Bill Cox  (bill@cygnus.com)

	* ch-lex.l: added keywords for TRUNC, ROUND, FLOAT, LFLOAT
	conversion routines.
	* ch-parse.y: added %tokens for TRUNC, ROUND, FLOAT, LFLOAT.
	Added production for SIZE(expr).
	* ch-actions.c: Add semantic routine chill_sizeof ().

Mon Nov 30 16:20:40 1992  Per Bothner  (bothner@cygnus.com)

	* ch-lex.l, ch-parse.y:  Translate token PFEIL into English ARROW.
	* ch-parse.y (op6):  Remove handling of string repetition operator,
	until we can figure out a way to parse it correctly.
	* ch-parse.y (optmodename):  New non-terminal.
	* ch-parse.y (tuple):  Merge the two variants using optmodename.
	* ch-parse.y (location):  Add semantic actions for
	dereferencing operator ->.

Mon Nov 30 08:01:29 1992  Bill Cox  (bill@cygnus.com)

	* ch-actions.c: removed compile warning, better code for abs.

	* ch-parse.y: add productions for builtin functions succ, pred,
	abs, and size.  Add %tokens also.  Sort %tokens alphabetically.

	* ch-lex.l: add parsing for builtin function names, such as abs,
	pred, succ, etc.  Put flex -a option into Makefile.in, so we can
	clean up the lexer soon.

Tue Nov 24 14:18:48 1992  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-typeck.c (chill_handle_case_label, chill_handle_case_default):
	New functions, for code common to CASE actions and expressions.
	* chill.y:  Replace some code by calls to chill_handle_case_label
	and chill_handle_case_default.
	* ch-typeck.c (chill_expand_case_expr):  Add semantics.

	* tree.c:  Change doing_chill_thang from extern to common.

Mon Nov 23 18:34:22 1992  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-tree.def:  New CASE_EXPR type, for case expressions.
	* ch-expr.c (chill_expand_expr):  Hook for CASE_EXPR.
	* ch-typeck.c (chill_expand_case_expr):  New function.
	Placeholder to implement case expressions.
	* ch-typeck.c (chill_expand_result, chill_expand_return):
	Handle mode-unspecified tuples and case expressions in
	the context of RETURN and RESULT actions.
	* chill.y (assignaction):  Handle case expressions in the
	context of the RHS of an assignment action.
	* chill.y (caseaction): Remove spurious duplicate OF in grammar.
	* chill.y:  Handle labeled structure tuples.
	* chill.y:  New rules to parse CASE expressions.
	* tree.c (build_function_types):  Allow Chill functions
	to return arrays and functions.

Wed Nov 18 13:50:28 1992  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-typeck.c (chill_expand_tuple):  New function. Expand a
	tuple (constructor) given an expected (context) type.
	* chill.y:  Implement 'LHS := TUPLE' using expand_chill_tuple,
	using the mode of the LHS and the expected type of the TUPLE.
	* chill.y:  Implement initialization.
	* chill.y:  Fix some syntax bugs (forbidlist must be surrounded
	by parentheses), and remove or note ambiguities.
	* chill.y:  Started converting layout style to be like c-parse.in.
	* chill.y:  Implement IF expressions.
	* chill.y:  Added syntax rules for tuples.  Labelled and unlabelled
	array tuples should now work (in some contexts).
	* ch-actions.c:  Initialize doing_chill_thang to 1.
	* ch-decl.c (do_decls):  Set DECL_INITIAL if there is an
	initializer, to make pushdecl and finish_decl work.
	* c-decl.c (convert_for_assignment):  If Chill, don't convert
	function and arrays into pointers.  (Maybe functions should
	still be converted?)
	* c-typeck.c (grokdeclarator):  Allow functions in Chill
	to return arrays and functions.

Mon Nov 16 15:40:47 1992  Per Bothner  (bothner@rtl.cygnus.com)

	* chill.y (exprlist_get_single):  New function, used when
	parsing tuples.
	* chill.y:  Re-did parsing of tuples to remove ambiguities.
	This was a bitch.

Tue Nov 10 16:30:55 1992  Per Bothner  (bothner@rtl.cygnus.com)

	* ch-typeck.c (chill_expand_result);  Set TREE_SIDE_EFEFCTS
	flags on assignment to result.
	* ch-typeck.c (build_chill_array_ref):  Subtract lower
	bound of domain if non-zero.  Preliminary hook for range checking.
	* ch-tree.h, chill.l:  Combine variables range_check and
	range_check_disabled into global variable range_checking.
	* ch-tree.h:  Better definitions of CH_CLASS_IS_VALUE
	CH_CLASS_IS_DERIVED.