summaryrefslogtreecommitdiffstats
path: root/gcc/java/ChangeLog
blob: 35bc1b3cd8c92c8de7837052595115dce36827a7 (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
1999-01-18  Andrew Haley  <aph@cygnus.com>

	* parse.y (patch_binop): Do a type conversion from signed to
	unsigned and then back to signed when a ">>>" is found.

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

	* Makefile.in (zextract.o): Add dependencies.

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

Fri Jan 15 20:16:20 1999  Per Bothner  <bothner@cygnus.com>

	* expr.c (process_jvm_instruction):  Coerce to correct Throwable
	sub-type the result of the call that gets the exception value.

	* parse.y (java_complete_expand_methods):  If flags_syntax_only,
	don't call finish_class.

	* parse.y (java_check_regular_methods):  If METHOD_PRIVATE,
	clear found before continuing.

	* verify.c (verify_jvm_instructions):  On an array load, allow
	and handle top of stack to be TYPE_NULL.

	* gjavah.c (generate_access):  Translate Java package private or
	protected access to C++ public, but with a comment.

1999-01-13  Andrew Haley  <aph@cygnus.com>

	* expr.c (generate_name): Name prefix changed to avoid clashes
	with assembler temp labels.

	* parse.y (patch_synchronized_statement): Set TREE_SIDE_EFFECTS on
	MODIFY_EXPR.  Without this, code for the assignement may not be
	generated at all and the synchronized statement will read an
	uninitialized variable.
  	
Wed Jan 13 01:24:54 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (maybe_layout_super_class): Fixed returned value.
	* lex.c: Added 1999 to the copyright.
	(java_init_lex): Initialize java_lang_imported.
	* lex.h: Added 1999 to the copyright.
	* parse.h: Added 1999 to the copyright.
	(REGISTER_IMPORT): Fixed typo in trailing macro.
	(CURRENT_OSB): New macro.
	(struct parser_ctxt): New fields osb_depth, osb_limit.
	* parse.y (java_lang_id): New global variable.
	(type_import_on_demand_declaration): Don't import java.lang.* twice.
	(array_creation_expression:): Use CURRENT_OSB.
	(dims:): Uses a stack to keep track of array dimensions.
	(cast_expression:): Use CURRENT_OSB.
	(find_expr_with_wfl): Return NULL if node found doesn't meet the
 	conditions.
	(register_fields): Fixed typos in comment.
	(check_method_redefinition): Fixed comment indentation.
	(java_check_regular_methods): Set saved found wfl to NULL after
 	having reinstalled it in the previously found DECL_NAME.

Sun Jan 10 13:36:14 1999  Richard Henderson  <rth@cygnus.com>

	* gjavah.c (java_float_finite): Use a union to do type punning.
	(java_double_finite): Likewise.

Sat Jan  9 11:25:00 1999  Per Bothner  <bothner@cygnus.com>

	* parse.y (build_new_array_init):  Don't set EXPR_WFL_LINECOL
	on CONSTRUCTOR (since that trashes TREE_CST_RTL).
	(patch_new_array_init):  Clear TREE_CONSTANT also if INDIRECT_REF.
	(register_fields):  Set TREE_STATIC on NEW_ARRAY_INIT, not on
	CONSTRUCTOR (which causes expand_expr to call output_constant_def).
	* expr.c (java_lang_expand_expr):  Check TREE_STATIC of NEW_ARRAY_INIT.

Fri Jan  8 15:48:03 1999  Per Bothner  <bothner@cygnus.com>

	* check-init.c (check_init):  If compiling to native, we don't
	see THROW_EXPR.  Instead, look for a call to throw_node (_Jv_Throw).

1999-01-08  Tom Tromey  <tromey@cygnus.com>

	* parse-scan.y (variable_declarator_id): Set or increment
	bracket_count.
	(bracket_count): New global.
	(formal_parameter): Handle case where bracket pairs trail variable
	declarator id.

1999-01-07  Andrew Haley  <aph@viagra.cygnus.co.uk>

	* jcf-parse.c (yyparse): variable len changed from a char to an
	int to prevent overflow.

Wed Jan  6 17:19:46 1999  Per Bothner  <bothner@cygnus.com>

	* java-tree.h:  Declare read_class.
	* jcf-parse.c (read_class):  New function.
	(load_class):  Now just call read_class.

	* java-tree.h (java_parse_abort_on_error):  Only return if new errors.
	* jcf-parse.c (parse_source_file):  Declare save_error_count,
	which is needed by java_parse_abort_on_error macro,
	* parse.y (java_layout_classes, java_expand_classes):  Likewise.

	* parse.y (register_fields):  Set TREE_STATIC flag of NEW_ARRAY_INIT
	constructor, if initializing a static field.
	(patch_new_array_init):  Set TREE_CONSTANT if it is.
	* expr.c (java_lang_expand_expr):  For a static array constructor
	of primitive elements, allocate the array itself statically.
	Disabled until we can set the vtable field statically.
	
	* check-init.c:  New file.  Checks for definite assignment.
	* Makefile.in (JAVA_OBJS):  Add check-init.o.
	* parse.y (java_complete_expand_method): Call check_for_initialization.
	* parse.h (BLOCK_EXPR_DECLS, BLOCK_EXPR_BODY):  Moved to java-tree.h.

Wed Jan  6 14:53:10 1999  Graham <grahams@rcp.co.uk>

	* parse.y : include system.h instead of including
	standard headers directly with the exception of <dirent.h>.

Wed Jan  6 16:20:06 1999  Per Bothner  <bothner@cygnus.com>

	* lex.h:  Moved static function declarations to lex.c,
	to shut up some -Wall warnings.
	* lex.c:  Static function declarations moved here.
	* jcf-dump.c:  Small fixes to shut up -Wall warnings.

Tue Jan  5 22:15:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        * Make-lang.in ($(GCJ).o): Depend on prefix.h.

Tue Dec 22 11:25:19 1998  Per Bothner  <bothner@cygnus.com>

	* expr.c (process_jvm_instruction):  Do load_type_state after JSR.
	* verify.c (verify_jvm_instructions):  Fix off-by-one error.

	* jcf-write.c (CHECK_PUT):  Add (void) cast to avoid -Wall warnings.
	(localvar_alloc):  Change return type to void,
	(emit_unop):  Remove unused variable size.
	
	* jcf-write.c (struct jcf_block):  Add new union.
	(PENDING_CLEANUP_PC, PENDING_EXIT_PC, UNDEFINED_PC):  New macros.
	(call_cleanups):  New functions.
	(struct jcf_partial):  New fields num_finalizers and return_value_decl.
	(generate_bytecode_insns):  Support CLEANUP_POINT_EXPR and
	WITH_CLEANUP_EXPR.  Handle cleanups in RETURN_EXPR and EXIT_BLOCK_EXPR.
	* lang.c (lang_init):  Call using_eh_for_cleanups.
	* parse.y (java_complete_lhs):  For SYNCHRONIZED_EXPR, defer
	completing operands to patch_synchronized_statement.
	Support CLEANUP_POINT_EXPR, WITH_CLEANUP_EXPR.
	(patch_synchronized_statement): Re-write suing CLEANUP_POINT_EXPR and
	WITH_CLEANUP_EXPR instead of TRY_EXPR.	

Sun Dec 20 16:15:44 1998  John F. Carr  <jfc@mit.edu>

	* Make-lang.in: Comment out control-Ls; they upset some makes.

1998-12-18  Tom Tromey  <tromey@cygnus.com>

	* parse.y (check_class_interface_creation): Use DIR_SEPARATOR
	consistently.

1998-12-17  Tom Tromey  <tromey@cygnus.com>

	* parse.y (DIR_SEPARATOR): New define.
	(check_class_interface_creation): Use it.

	* parse-scan.y (report_main_declaration): Recognize
	`java.lang.String' in argument to main.

Wed Dec 16 16:18:59 1998  Per Bothner  <bothner@cygnus.com>

	* parse.y (create_interface):  Remove bogus test.

Wed Dec 16 14:42:19 1998  Per Bothner  <bothner@cygnus.com>

	* jcf-parse.c (get_constant):  Set TREE_TYPE for string constants.
	(HANDLE_CONSTANTVALUE):  If flag_emit_class_files, call get_constant.

1998-12-16  Tom Tromey  <tromey@cygnus.com>

	* parse-scan.y (qualified_name): Use correct sprintf format.

1998-12-15  Tom Tromey  <tromey@cygnus.com>

	* gjavah.c (print_field_info): Changed how most negative number is
	printed.

Mon Dec 14 18:49:29 1998  Per Bothner  <bothner@cygnus.com>

	* parse.y (fold_constant_for_init):  New function.
	(resolve_expression_name):  Don't replace static final
 	constant-initialized fields by its value.
	(java_complete_lhs):  New.  Same as java_complete_tree, except does
	not replace static final constant-initialized fields by their values.
	(register_fields):  If there is an initializer, set DECL_INITIAL and
	MODIFY_EXPR_FROM_INITIALIZATION_P.
	(java_complete_tree):  For MODIFY_EXPR, use java_complete_lhs for lhs.
	Only call patch_initialized_static_field if
	MODIFY_EXPR_FROM_INITIALIZATION_P.
	(patch_initialized_static_field):  If not valid constant, clear
	DECL_INITIAL.

	* parse.y (lookup_field_wrapper):  Fix thinko.

	* parse.y (java_complete_tree):  In EXPR_WITH_FILE_LOCATION,
	set and restore global lineno.

1998-12-14  Tom Tromey  <tromey@cygnus.com>

	* gjavah.c (print_field_info): If value to print is the smallest
	value of its size, then print as hex to avoid later warnings from
	C++ compiler.

1998-12-14  Tom Tromey  <tromey@cygnus.com>

	* gjavah.c (decompile_method): Decompile `return null'.
	(process_file): Generate `#pragma interface'.
	(method_declared): New global.
	(print_method_info): Set it.
	(HANDLE_CODE_ATTRIBUTE): Only print it method_declared set.
	(print_method_info): Handle abstract methods.

Sun Dec 13 17:31:40 1998  Per Bothner  <bothner@cygnus.com>

	* parse.y (patch_method_invocation):  If class_decl is null
	(e.g. an array type), use original type.

	* parse.y (check_thrown_exceptions):  Temporary hack to suppress
	errors about uncaught exception from clone (of array, specifically).

1998-12-13  Tom Tromey  <tromey@cygnus.com>

	* gjavah.c (decompile_method): Handle all types of `return'
	opcode.  Decompile `return this' and `return'.
	(method_access): New global.
	(print_method_info): Set it.
	(decompile_method): Don't decompile a synchronized method.

1998-12-13  Tom Tromey  <tromey@cygnus.com>

	* jcf-reader.c (jcf_parse_one_method): Recognize
	HANDLE_END_METHOD.
	* gjavah.c (HANDLE_END_METHOD): New macro.
	(HANDLE_CODE_ATTRIBUTE): New macro.
	(decompile_method): New function.
	(print_method_info): Don't print `;\n' at end of function decl.
	Include java-opcodes.h.
	(decompiled): New global.

Sat Dec 12 20:13:19 1998  Per Bothner  <bothner@cygnus.com>

	* class.c (build_class_ref):  Handle PRIMTYPE.class if
	flag_emit_class_files.
	* expr.c (expand_java_field_op):  Don't optimize java.lang.XXX.TYPE
	if flag_emit_class_files.
	* parse.y (java_complete_tree):  Pre-liminary support for
	COMPONENT_REF - only to handle PRIMCLASS.TYPE.

	* parse.y (patch_synchronized_statement):   Don't call monitorexit
 	unless block CAN_COMPLETE_NORMALLY.  Propagate that flag properly.

	* java-tree.h (DECL_LOCAL_STATIC_VALUE):  Removed - no longer used.

	* zipfile.h (opendir_in_zip):  New declaration.
	* jcf-io.c (saw_java_source):  Moved to jcf-parse.c.
	(opendir_in_zip):  New function, using code from open_in_zip.
	(open_in_zip):  Call opendir_in_zip.
	(find_class):  Remove no-longer-used do_class_file parameter,
	but add source_ok parameter.  Change logic so if we find a .java file,
	we don't look for .class in later classpath emtries.
	* jcf-parse.c (load_class):  Pass saw_java_source to find_class.
	(jcf_figure_file_type):  Only call open_in_zip if correct magic number.
	* gjavah.c: Update call to find_class.
	* jcf-dump.c:  Likewise.

	* jcf-write.c (put_linenumber):  Handle duplicate line numbers.
	(generate_bytecode_insns):  For EXPR_WITH_FILE_LOCATION, do
	nothing if body is empty_stmt_node.
	Various little fixes so SP gets correctly adjusted.
	For NEW_ARRAY_INIT, handle IGNORE_TARGET.
	For CALL_EXPR, test if static first.
	(generate_classfile):  Ignore fields that are DECL_ARTIFICIAL,
	such as the ones we create for Object and Class.
	Set and restore current_function_decl.
	* parse.y:  Check/set IS_AN_IMPORT_ON_DEMAND_P in read_import_dir.
	(note_possible_classname):  New function.
	(read_import_entry):  Removed.  Merged with read_import_dir.
	(read_import_dir):  Don't call find_class - that only gives us
	the first classpath entry having the needed package.
	Use the struct buffer data structure from buffer.h.
	(read_import_dir, find_in_imports_on_demand):  The remembered
	class names now use '.' (not '/') as package separator.

	* parse.y (java_complete_expand_methods):  Call write_classfile
	here, and not in java_expand_classes (which only gets first class).

Sat Dec 12 19:46:04 1998  Alexandre Petit-Bianco  <apbianco@sendai.cygnus.com>

	* parse.y (<type_declaration>):  Do maybe_generate_clinit last.
	(register_fields):  If a static fields has an initializer, just
	chain it on ctxp->static_initialized, and handle later.
	(java_complete_expand_methods):  Force <clinit> first.
	(resolve_expression_name, resolve_field_access):  Just get DECL_INITIAL
	- it's already been completed.
	(patch_initialized_static_field):  New function.
	(java_complete_field):  Call it.

Sat Dec 12 19:21:11 1998  Per Bothner  <bothner@cygnus.com>

	* expr.c (encode_newarray_type, build_new_array):  New functions.
	* java-tree.h:  Declare build_new_array.
	* jcf-write.c (patch_newarray):  Use build_new_array.

	* expr.c (java_lang_expand_exp):  Support NEW_ARRAY_INIT.
	* jcf-write.c (generate_bytecode_insns):  Support NEW_ARRAY_INIT.

	* parse.y (patch_new_array_init):  Re-organize.
	Now is passed the actual array (pointer) type of the value.
	Set the type of the CONSTRUCTOR to be an ARRAY_TYPE.
	(patch_array_constructor):  Removed - merged into patch_new_array_init.
 	(java_complete_tree):  Update patch_new_array_init.

	* jcf-write.c (find_constant_index):  New function.
	(generate_bytecode_insns):  Use find_constant_index.
	(generate_classfile):  Use find_constant_index for ConstantValue.

1998-12-11  Tom Tromey  <tromey@cygnus.com>

	* expr.c (invoke_build_dtable): Renamed dtable -> vtable.
	* decl.c (init_decl_processing): Renamed dtable -> vtable.
	* class.c (make_class_data): Renamed dtable -> vtable, and
	dtable_method_count -> vtable_method_count.

Thu Dec 10 20:00:54 1998  Alexandre Petit-Bianco  <apbianco@sendai.cygnus.com>

	* decl.c (long_zero_node, float_zero_node, double_zero_node): New
 	global variables, initialized.
	* java-tree.h (long_zero_node, float_zero_node, double_zero_node):
 	Declared new global variables.
	* lex.c (java_lex): Return long_zero_node, float_zero_node,
 	double_zero_node, integer_zero_node upon direct matching.
	* parse.y (purify_type_name): Added function prototype.
	(duplicate_declaration_error_p): Consider new_type as potentially
 	being a incomplete type. Use purify_type_name on type string.
	(method_header): saved_type: unused variable removed. Don't figure
 	return type if method name is invalid.
	(java_complete_tree): Set CAN_COMPLETE_NORMALLY after `node' was
 	processed by patch_unaryop.
	(patch_unaryop): Fixed typo in comment. Re-convert pre/post
 	increment/decrement node into its original type after binary
 	numeric promotion on its operands.

Thu Dec 10 11:02:49 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (array_initializer:): Array init operand is NULL_TREE
 	instead of a TREE_LIST of NULL_TREEs when parsing `{}'. `{,}' is
 	now an error. Fixed indentation problems.
	(patch_string): Handle error_mark_node as an argument.
	(patch_new_array_init): Fixed indentation problems.
	(array_constructor_check_entry): Removed check on null wfl_value.
  	Return an error if wfl_value's walk returns an error.

Wed Dec  9 15:37:05 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* java-tree.def (NEW_ARRAY_INIT): New Java tree code.
	* lex.c (java_lex): Remember column position before advancing one
 	token. Retain location information on OCB_TK.
	* lex.h (typedef struct java_lc): Added new field.
	* parse.h (GET_SKIP_TYPE): New macro.
	(QUAL_DECL_TYPE): Redefined using GET_SKIP_TYPE.
	* parse.y (build_new_array_init, patch_new_array_init,
 	patch_array_constructor, maybe_build_array_element_wfl,
 	array_constructor_check_entry): New function prototypes.
	(switch_block:): Tagged <node>.
	(OCB_TK): Tagged <operator>.
	(array_initializer:): Installed actions.
	(variable_initializer): Build location information on element if
 	necessary.
	(switch_statement:): Fixed indentation typo.
	(switch_block:): Redefined default action.
	(java_complete_tree): Handle NEW_ARRAY_INIT in MODIFY_EXPR:.
	(patch_assignment): Removed duplicate code.
	(maybe_build_array_element_wfl, build_new_array_init,
 	patch_new_array_init, patch_array_constructor,
 	array_constructor_check_entry): New functions.

Mon Dec  7 15:13:52 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (array_initializer): Tagged <node>.
	(variable_initializer:): Use default rule.
	(array_initializer:): Defined actions.
	(variable_initializers:): Likewise.
	(resolve_qualified_expression_name): Use DECL_CONTEXT to build
 	non-static field accesses.
	(patch_invoke): Fixed indentation typo.
	(java_complete_tree): Likewise.
	(build_labeled_block): Changed leading comment. Generate an error
 	in case of duplicate loop labels.
	(patch_conditional_expr): Patch results of string concatenation
 	operations.

Sun Dec  6 13:45:00 1998  Per Bothner  <bothner@cygnus.com>

	* constants.c (find_methodref_index):  When the class is an interface,
	generate CONSTANT_InterfaceMethodref instead of a CONSTANT_MethodRef.

	* decl.c (finit_identifier_node):  Use "$finit$", rather than
	"<finit>" (which Sun's verifier rejects).
	* parse.y (maybe_generate_finit):  Leave out meaningless final flag.
	(generate_field_initialization_code):  Removed.
	(fix_constructors)  Don't add call to $finit$ here (wrong order).
	(patch_method_invocation):  Add $finit$ call here.

	* java-tree.h (CALL_USING_SUPER):  New macro.
	* parse.y (patch_invoke):  Remove im local variable.
 	(patch_method_invocation, patch_invoke):  Don't pass super parameter.
	(patch_invoke):  Use CALL_USING_SUPER instead of from_super parameter. 
	(resolve_qualified_expression_name):  Maybe set CALL_USING_SUPER.

	* jcf-write.c (get_access_flags):  Fix typo ACC_PUBLIC -> ACC_FINAL.

	* parse.y (java_complete_tree):  Don't complain about unreachable
	statement if it is empty_stmt_node.

	* jcf-write.c (find_constant_wide):  New function.
	(push_long_const):  Use find_constant_wide.

	* jcf-write.c (generate_bytecode_insn):  Fix bug in switch handling.
	(generate_bytecode_insn):  Use correct dup variant for MODIFY_EXPR.
	Add "redundant" NOTE_PUSH/NOTE_POP uses so code_SP_max gets set.
	Emit invokeinterface when calling an interface method.
	Emit invokespecial also when calling super or private methods.

	* jcf-write.c (generate_classfile):  Emit ConstantValue attributes.

Sun Dec  6 13:21:18 1998  Per Bothner  <bothner@cygnus.com>

	* jcf-dump.c (INVOKE):  If invokeinterface, print number of args.

Thu Dec  3 17:11:12 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* java-tree.h (java_layout_seen_class_methods): New function
 	prototype.
	(LAYOUT_SEEN_CLASS_METHODS): Macro removed.
	* jcf-parse.c (parse_class_file): Call java_layout_seen_class_methods.
	* parse.h (PROMOTE_RECORD_IF_COMPLETE): New macro.
	* parse.y (method_declarator:): Defined action.
	(issue_warning_error_from_context): input_filename saved, set to
 	the appropriate value and restored after java_error is called.
	(build_unresolved_array_type): Fixed comment.
	(register_fields): Use PROMOTE_RECORD_IF_COMPLETE.
	(method_header): Deal with return type the same way type are
 	handled for fields and method's parameters and local variables
 	types are handled.
	(check_method_redefinition): Removed extra CR.
	(declare_local_variables): Use PROMOTE_RECORD_IF_COMPLETE.
	(java_layout_seen_class_methods): New function.
	(java_layout_classes): Call java_layout_seen_class_methods.
	
Thu Dec  3 15:56:50 1998  Per Bothner  <bothner@cygnus.com>

	* parse,y (patch_synchronized_statement):  Set CAN_COMPLETE_NORMALLY.

Thu Dec  3 15:08:30 1998  Per Bothner  <bothner@cygnus.com>

	* jcf-dump.c (main):  Fix error message.
	* jcf-path.c (add_entry):  Style fix.

Wed Dec  2 15:52:25 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (layout_class_method): Call build_java_argument_signature
	on constructors too.
	* parse.y (check_method_redefinition): Use TYPE_ARGUMENT_SIGNATURE.
	(patch_method_invocation): Define a primary when resolving an
 	expression name. Augmented comment on code checking illegal `this'
 	usage. Loosened it test by accepting NEW_CLASS_EXPR.

Tue Dec  1 13:53:24 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (layout_class_method): Don't report error on non-static
 	overriding static if the method is private.
	* java-tree.h (finish_class): Prototype added.
	* lex.c (java_get_line_col): Handle col argument -2 value.
	* parse.h: All static method declarations moved to parse.y.
	* parse.y: Now contains all static method declarations previously
 	found in parse.h.
	(find_expr_with_wfl, missing_return_error,
 	unreachable_stmt_error): New functions.
	(java_get_real_method_name): Identify constructors bearing class
 	names in source code compiled classes only.
	(java_complete_expand_methods): Call missing_return_error.
	(invocation_mode): Private methods invoked as static methods.
	(java_complete_tree): Call unreachable_stmt_error.

1998-12-01  Tom Tromey  <tromey@cygnus.com>

	* Makefile.in (+target): Removed.
	(+xmake_file): Likewise.
	(+tmake_file): Likewise.
	(.NOEXPORT): Removed duplicate.

Fri Nov 27 13:20:51 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* Makefile.in (jc1, jv-scan): Link with $(SUBDIR_OBSTACK).

	* jv-scan.c: Fix xmalloc prototype.  Provide an xmalloc definition.
	
	* jvgenmain.c: Remove the xmalloc prototype, we get it from
	libiberty.h.  Provide an xmalloc definition.

	* jvspec.c: Remove the xmalloc prototype.

	* parse-scan.y: Include config.h and system.h.  Don't include
	OS headers or gansidecl.h.  Don't prototype xmalloc/xstrdup.
	Provide an xstrdup definition.

Wed Nov 26 22:03:58 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>

	* jcf-path.c (add_entry): recognize ".jar" too
	* lang-specs.h: ditto

Thu Nov 26 12:44:07 1998  Per Bothner  <bothner@cygnus.com>

	* jcf-write.c (generate_bytecode_insns):  In Call_EXPR, handle
	soft_monitorenter_node, soft_monitorexit_node, throw_node.

	* jcf-write.c (generate_bytecode_insns):
  	Handle pre/post-increment/decrement of long.

	* jcf-write.c (generate_bytecode_insns):
	Handle missing exception handler (finally for synchronized).

Wed Nov 25 09:47:15 1998  Per Bothner  <bothner@cygnus.com>

	* java-tree.h (end_params_node):  Declare global.
	* decl.c (end_params_node):  New global.
	(init_decl_processing, start_java_method):  Use end_params_node for
	end of list of parameter types.  Follows correct gcc conventions.
	* expr.c (pop_argument_types, pop_arguments):  Likewise.
	* lang.c (put_decl_node):  Likewise.
	* typeck.c (various places):  Likewise.
	* class.y (various places):  Likewise.
	* parse.y (various places):  Likewise.

	* parse.y (java_complete_tree):  Move CAN_COMPLETE_NORMALLY.
	(build_jump_to_finally):  Add missing CAN_COMPLETE_NORMALLY.

	* class.c:  Add #include flags.h, remove no-longer needed declaration.

	* class.c (layout_class_method):  Remove commented-out code, re-format.
	Don't add vtable entry (or index) for private methods.
	* expr.c (expand_invoke):  A private method is implicitly final.
	* class.c (make_class_data):  If inlining or optimizing,
	skip private methods.

	* class.c (finish_class):  New function.  Calls existing methods,
	but alls emits deferred inline functions.
	* jcf-parse.c (parse_class_file):  Call finish_class.
	* parse.y (java_complete_expand_methods):  Likewise.

	* expr.c (build_java_binop):  Explicit default, to silence -Wall.

	* expr.c (CHECK_PC_IN_RANGE):  Add void cast to kill warnings.

Wed Nov 25 00:50:58 1998  Marc Espie <espie@quatramaran.ens.fr>

	* jcf-write.c (generate_bytecode_conditional): Fix typo.

Tue Nov 24 17:06:38 1998  Per Bothner  <bothner@cygnus.com>

	* (generate_classfile): Always write class access flag with
 	ACC_SUPER set.

Tue Nov 24 16:34:33 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (maybe_layout_super_class): New function.
	(layout_class): Reorganized. Loop on class methods dispatched into
 	a new function. Call maybe_layout_super_class.
	(layout_class_methods, layout_class_method): New functions.
	* expr.c (expand_java_NEW): Call layout_class_methods on loaded
 	class.
	(expand_invoke): Likewise.
	* java-tree.h (all_class_list): New global variable declared.
	(layout_class_methods, layout_class_method): New function
 	prototypes.
	(LAYOUT_SEEN_CLASS_METHODS): New macro.
	* jcf-parse.c (all_class_list): New global variable.
	(load_class): Extended what class_or_name can be. Use parser
 	context mechanism to save globals before calling jcf_parse.
	(jcf_parse_source): Don't parse twice if HAS_BEEN_ALREADY_PARSED_P
 	is set on the file name.
	(jcf_parse): Layout class methods when Object is loaded, otherwise
 	record class in all_class_list for delayed method layout.
	(parse_class_file): Use LAYOUT_SEEN_CLASS_METHODS.
	* lang.c (put_decl_node): Decode <init> into the decl context
 	class name.
	* lex.c (java_allocate_new_line): Use xmalloc.
	* parse.h (INCOMPLETE_TYPE_P): Redefined to work with incomplete
 	pointers, not TREE_LIST elements.
	(struct parser_ctxt): Fixed comment indentations, added comments
 	and reordered some fields.
	(java_check_methods): Function prototype removed.
	* parse.y (java_push_parser_context): Use xmalloc.
	(java_parser_context_restore_global): Pop extra pushed ctxp only
 	when there's nothing next.
	(maybe_create_class_interface_decl): Fixed comment, add new
 	created class decl to all_class_list.
	(method_header): Use GET_REAL_TYPE on argument's types.
	(method_declarator): Use GET_REAL_TYPE, change type to the real
 	type in TREE_LIST dependency node. Build argument list with the
 	real type.
	(create_jdep_list): Use xmalloc. Removed allocation error message.
	(obtain_incomplete_type): Fixed leading comment. Broadened
 	incoming argument meaning.
	(register_incomplete_type): Use xmalloc. Removed allocation error
 	message.
	(safe_layout_class): Fixed leading comment.
	(jdep_resolve_class): Reversed if statement condition and switch
 	if and else bodies.
	(resolve_and_layout): Fixed leading comment. Broadened incoming
 	argument meaning.
	(complete_class_report_errors): New local variable name, for
 	clarity. purify_type_name used for all error cases.
	(java_get_real_method_name): Stricter check on constructors.
	(java_check_regular_methods): Reverse methods list only if not
 	already laid out. Layout artificial constructor.
	(java_check_methods): Deleted.
	(source_start_java_method): Obtain incomplete type for patchable
 	method arguments.
	(java_layout_classes): Fixed leading comment. Use
 	LAYOUT_SEEN_CLASS_METHODS, use a loop to check methods. Added else
 	statement to layout operation, reuse LAYOUT_SEEN_CLASS_METHODS
 	before returning. Fixed comments.
	(java_expand_classes): Check for errors up front.
	(patch_method_invocation): Class to search is resolved and laid
 	out.
	
Tue Nov 24 12:57:13 1998  Per Bothner  <bothner@cygnus.com>

	* expr.c (java_lang_expand_expr):  Add missing emit_queue.

	* javaop.h (int8):  Removed - not used.
	(jbyte):  Redefine portably with correct signedness.

	* jcf-write.c (generate_bytecode_insns):  Don't free sw_state.cases.

	* jcf-write.c (generate_bytecode_insns):  Fix typo
	OPCODE_getstatic to OPCODE_getfield.

	* java-tree.def (CASE_EXPR, DEFAULT_EXPR):  Kind is 'x', not '1'.
	* parse.y (java_complete_tree):  For CASE_EXPR and DEFAULT_EXPR,
	set TREE_SIDE_EFFECTS (otherwise expand_expr may skip them).

Thu Nov 19 11:16:55 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* jcf-parse.c (jcf_parse_source): Function returned type is
 	void. Added prototype.
	(jcf_parse): Function returned type is void.
	(yyparse): Remove call to fclose on the last parsed file.

	* java-tree.h (jcf_parse): Changed jcf_parse prototype.

Wed Nov 18 23:54:53 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (unmangle_classname): Set QUALIFIED_P when appropriate.
	(layout_class): Cope with methods featuring WFL in decl names.
	* decl.c (unqualified_object_id_node): New global variable,
 	initialized.
	(build_decl_no_layout): Removed.
	* expr.c (build_primtype_type_ref): Handle Double.
	(java_lang_expand_expr): Fixed indentations.
	* java-tree.h (CLASS_METHOD_CHECKED_P): Flag deleted.
	(flag_wall, flag_redundant, flag_not_overriding,
 	flag_static_local_jdk1_1, unqualified_object_id_node): Global
 	variable declarations.
	(build_decl_no_layout): Removed prototype.
	(java_get_real_method_name): Added prototype.
	(IS_UNCHECKED_EXPRESSION_P): Renamed IS_UNCHECKED_EXCEPTION_P.
	(java_parse_abort_on_error): Macro now just returns.
	* jcf-parse.c (jcf_parse_source): Check fclose returned
 	value. Call emit_register_classes if java_report_errors returns
 	zero.
	* lanc.c (flag_wall, flag_redundant, flag_not_overriding,
 	flag_static_local_jdk1_1): New integer flags.
	(lang_decode_option): New flags set here.
	* parse.h (GET_REAL_TYPE, GET_METHOD_NAME): New macros.
	(OBSOLETE_MODIFIER_WARNING): Issue error message conditionally to
 	the flag_redundant variable.
	(SET_TYPE_FOR_RESOLUTION): Consider Object being java.lang.Object
 	when parsing java.lang.Object class.
	(BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT): Added terminal
 	NULL_TREE to build.
	(resolve_qualified_expression_name): Fixed indentation.
	(patch_array_ref): Changed prototype.
	(not_initialized_as_it_should_p): Prototype removed.
	(java_report_errors): Added function prototype.
	* parse.y (formal_parameter:): Changed error message for not yet
 	supported final parameters.
	(class_type_list:): Set both PURPOSE and VALUE of created
 	TREE_LIST to be class_type.
	(primary_no_new_array:): Handle class literals on primitive types.
	(parse_warning_context): Reinstalled correct force_error and
 	do_warning flags setups.
	(java_report_errors): Changed prototype. Return java_error_count
 	value.
	(variable_redefinition_error): Consider treating variable type as
 	a fake pointer.
	(create_interface): Warn about redundant abstract modifier if
 	flag_redundant is set. Changed error message.
	(lookup_field_wrapper): Save/restore globals before/after looking
 	up field.
	(duplicate_declaration_error_p): Consider treating declaration
 	type as a fake pointer.
	(register_fields): Extract real type from dependency node. Check
 	for duplicate field declaration after type adjustment. Use
 	DECL_INITIAL to store static final initialized values.
	(method_header): Extract real function type from dependency node.
	(check_abstract_method_header): Use GET_METHOD_NAME.
	(obtain_incomplete_type): Layout fake pointer type.
	(safe_layout_class): Don't try to check for methods before layout.
	(java_complete_class): Don't check for correct throws clause
 	elements inheritance here.
	(resolve_and_layout): Broadened name parameter meaning.
	(reset_method_name): Use GET_METHOD_NAME.
	(java_get_real_method_name): New function.
	(java_check_regular_methods): Don't check methods in
 	java.lang.Object.  Verify lineage of throws clause elements. Use
 	flag_no_overriding in warning report.
	(check_throws_clauses): Don't check if class was from
 	bytecode. Use IS_UNCHECKED_EXCEPTION_P macro.
	(java_check_methods): Don't set CLASS_METHOD_CHECKED_P flag.
	(declare_local_variables): Use flag_static_local_jdk1_1 to report
 	warning on unsupported final local variables. Use build_decl
 	instead of build_decl_no_layout. Get real local variable type from
 	dependency node.
	(source_start_java_method): Get real parameter type from
 	dependency node. Call build_decl instead of build_decl_no_layout.
	(java_layout_classes): Reverse tree and layout type and class as
 	required. Mark class as loaded when done.
	(resolve_field_access): Fixed indentation. Restricted condition
 	leading to static field access code generation. Set field_type
 	decl's TREE_TYPE if QUAL_DECL_TYPE not available.
	(resolve_qualified_expression_name): Initialize type_found to
 	null. Handle static field resolved during qualification. Fixed
 	layout on non primitive field decl types.
	(not_accessible_p): Fixed typo in comment.
	(patch_method_invocation): Resolve and layout class to search from
 	type.
	(lookup_method_invoke): Keep integer constant 0 as is. Resolve and
 	layout non primitive type, if necessary. Make method node only to
 	report errors.
	(find_applicable_accessible_methods_list): Consider WFL'ed method
 	decl names. Fixed indentation.
	(argument_types_convertible): Resolve and layout target type if
 	necessary.
	(java_complete_tree): Fixed indentation problems. Rewrote
 	CALL_EXPR thrown exceptions check. Re-installed further processing
 	of the assignment in certain cases.
	(patch_assignment): Call maybe_build_primttype_type_ref to perform
 	inlining on class literals.
	(valid_builtin_assignconv_identity_widening_p): Cope with constant
 	0 literal.
	(valid_method_invocation_conversion_p): Likewise.
	(patch_string): Temporary disable forbidden use of `this' in
 	explicit constructor invocations when doing string concatenation
 	within their scope.
	(patch_unaryop): Added comment. Reinstalled code to disable
 	further check on assignment operation with cast expression RHS.
	(patch_switch_statement): Fixed indentation.
	(build_try_statement): Call build_decl instead of
 	build_decl_no_layout.
	(patch_synchronized_statement): Likewise.
	(patch_throw_statement): Use IS_UNCHECKED_EXCEPTION_P instead of
 	IS_UNCHECKED_EXPRESSION_P.
	(check_thrown_exceptions_do): Changed leading comment. Resolve and
 	layout argument exception type.
	(purge_unchecked_exceptions): Use IS_UNCHECKED_EXCEPTION_P instead
 	of IS_UNCHECKED_EXPRESSION_P.
	
Wed Nov 18 14:21:48 1998  Anthony Green  <green@cygnus.com>

	* jcf-parse.c (yyparse): Open class file in binary mode.

Sun Nov 15 17:14:17 1998  Per Bothner  <bothner@cygnus.com>

	* jvgenmain.c:  Need to #include "gansidecl.h" (to get PROTO).

	* jcf-write.c (perform_relocations):  Move check out one loop.

Sun Nov 15 15:09:56 1998  Anthony Green  <green@hoser.cygnus.com>

	* Make-lang.in: Fix reference to srcdir.
	* jv-scan.c: Add missing xmalloc prototype.
	* jvgenmain.c: Ditto.

Sun Nov 15 14:36:29 1998  Per Bothner  <bothner@cygnus.com>

	* decl.c (error_mark_node), java-tree.h:  New global.
	* parse.y:  Use empty_stmt_node instead of size_zero_node.
	(build_if_else_statement):  If missing else, use empty_stmt_node.

	* parse.y (not_initialized_as_it_should_p):  Removed, with its callers.
	(java_complete_expand_method):  Complain if return is missing.
	(java_check_regular_methods):  Comment out incorrect error check.
	(not_accessible_p):  Fix incorrect handling of protected methods.
	(patch_method_invocation):  Pass correct context to not_accessible_p.
	(find_applicable_accessible_methods_list):  Likewise.
	(qualify_ambiguous_name):  If ARRAY_REF, it's an expression name.
	(java_complete_tree):  For CASE_EXPR and DEFAULT_EXPR, set
	TREE_TYPE (to void_type_node);  otherwise expand_expr crashes.
	(patch_if_else_statement):  Fix setting of CAN_COMPLETE_NORMALLY.

	* jcf-write.c (CHECK_OP, CHECK_PUT):  Add some error checking.
	(push_int_const):  Remove reundant NOTE_PUSH.
	(generate_bytecode_insns - case STRING_CST):  Do NOTE_PUSH.
	(- case SWITCH_EXPR):  Fix code generation bug.
	(- case PREDECREMENT_EXPR etc):  Remove redundant NOTE_PUSH.
	(generate_classfile):  More robust for abstract methods.

Sun Nov 15 13:52:39 1998  Anthony Green  <green@cygnus.com>

	* Makefile.in: jv-scan and jvgenmain all require libiberty.
	* Make-lang.in: Ditto.

	* jv-scan.c: Remove xmalloc and xstrdup definitions.
	* jvgenmain: Ditto.

Sun Nov 15 14:10:56 1998  Per Bothner  <bothner@cygnus.com>

	* jcf-parse.c (HANDLE_EXCEPTIONS_ATTRIBUTE):  New macro.

	* jcf-io.c (find_class):  Simpler/cleaner structure fixes a bug.

Sat Nov 14 17:19:18 1998  Per Bothner  <bothner@cygnus.com>

	Allow uses of interface types to verify.  This is not really
	type-safe, but it matches what Sun does, and is OK as long as
	there are appropriate run-time checks.
	* verify.c (merge_types):  If merging two interface types,
	just set the result to java.lang.Object.
	* expr.c (pop_type):  Any interface is matches by java.lang.Object.

1998-11-13  Tom Tromey  <tromey@cygnus.com>

	* gjavah.c (main): Handle --output-class-directory argument.
	* jvspec.c (lang_specific_driver): Translate `-d' into
	-foutput-class-dir.
	* jcf.h (jcf_write_base_directory): Declare.
	* lang.c (lang_decode_option): Recognize -foutput-class-dir.
	* lang-options.h: Mention -foutput-class-dir.
	* jcf-write.c (jcf_write_base_directory): New global.
	(make_class_file_name): Put generated .class file into `-d'
	directory, or into source directory if -d not given.  Function now
	static.
	(write_classfile): Free class file name.  Handle case where class
	file name is NULL.
	(DIR_SEPARATOR): New macro.
	Include <sys/stat.h>

	* Makefile.in (prefix): New macro.

Thu Nov 12 14:15:07 1998  Per Bothner  <bothner@cygnus.com>

	* parse.y (patch_invoke):  Do less if flag_emit_class_files.
	* expr.c (build_known_method_ref):  Don't check flag_emit_class_files
	here (done in patch_invoke instead).
	(case_identity):  Moved here from parse.y.

	* java-tree.h (CAN_COMPLETE_NORMALLY):  New macro.
	* parse.y (java_complete_tree etc):  Maybe set CAN_COMPLETE_NORMALLY.
	* parse.y (java_complete_tree):  Re-order COMPOUND_EXPR in BLOCK
	so they can be efficiently scanned without recursion.
	Error it ! CAN_COMPLETE_NORMALLY first part of COMPOUND_EXPR.
	* expr.c (java_lang_expand_expr):  Expand statements of COMPOUND_EXPR
	in BLOCK iteratively, rather than recursively.

	* parse.y (do_unary_numeric_promotion):  New function.
	(patch_unaryop, patch_binop, patch_array_ref):  Use it.

	* parse.y (patch_newarray):  Various fixes.

	Re-do handling of switch statements (for proper block scoping).
	* parse.y:  Add just a single block for the enture switch block,
	but don't create any "case blocks".
	(group_of_labels):  Rmeoved unneeded non-terminal.
	CASE_EXPR and DEFAULT_EXPR are added to current block.
	* expr.c (java_lang_expand_expr):  Inline SWITCH_EXPR here.
	Now also need to handle CASE_EXPR and DEFAULT_EXPR.
	* java-tree.h (SWITCH_HAS_DEFAULT):  New macro.
	* parse.y (wfl_operator, print_int_node): Make non-static.
	(java_complete_tree):  CASE_EXPR and DEFAULT_EXPR are now processed
	as part of recursive scan of block.
	(java_expand_switch ):  Removed - inlined into java_lang_expand_expr.
	(patch_switch_statement):  Most tests move dinto java_complete_tree.
	
	* parse.y:  Make various production be non-typed (void).
	* parse.y (parse_error):  Merged into issue_warning_error_from_context.
	* parse.y (add_stmt_to_compound):  Don't create/change extra node.
	(patch_method_invocation_stmt):  Renamed to patch_method_invocation.

	* jcf-write.c (struct jcf_handler):  New type.
	(struct jcf_switch_state):  New type.
	(SWITCH_ALIGN_RELOC, BLOCK_START_RELOC):  New relocation kinds.
	(alloc_handler, emit_unop, emit_reloc):  New functions.
	(adjust_typed_op):  Add extra parameter ("max type" offset).
	(emit_switch_reloc, emit_case-reloc):  New function.
	(generate_bytecode_conditional):  Handle REAL_TYPE comparisons.
	(generate_bytecode_insns):  Support REAL_CST, switch statements,
	exception handling, method calls, object/array creation, and more.
	
	* class.c:  Remove some unused variables.
	* constants.c (find_string_constant):  New function.
	(count_constant_pool_bytes):  Fix to correctly handle wide constants.
	* decl.c (complete_start_java_method):  Don't _Jv_InitClass
	if flag_emit_class_files.

1998-11-12  Tom Tromey  <tromey@cygnus.com>

	* jcf-io.c (find_class): Added explanatory comment.

	* jcf-path.c (add_entry): Look for `.zip' at end of filename.  Add
	trailing slash to `.zip' entries.

	* jvspec.c (lang_specific_driver): Correctly handle case where
	GC_NAME not defined.

1998-11-11  Tom Tromey  <tromey@cygnus.com>

	* jvspec.c (GC_NAME): New define.
	(lang_specific_driver): Use GC_NAME.  Add GC_NAME to command line
	if required.
	* Make-lang.in (jvspec.o): Define WITH_GC_<name>.

Wed Nov 11 19:08:52 1998  Per Bothner  <bothner@cygnus.com>

	* jcf-dump.c (TABLE_SWITCH):  Fix typos.

1998-11-11  Tom Tromey  <tromey@cygnus.com>

	* jcf-dump.c (main): Correctly recognize `--'-style long options.

Tue Nov 10 12:34:03 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (is_compiled_class): Call safe_layout_class for class
 	compiled from source.
	* conver.h (convert_to_integer, convert_to_real,
 	convert_to_pointer): Added prototypes.
	* decl.c (init_decl_processing): Non longer push the decls of
 	`methodtable', `constants', `Class', `Field', `dispatchTable'
 	`jexception' and `Method'.
	* expr.c (build_invokeinterface): New function.
	(expand_invoke): static variable CLASS_IDENT now in
 	build_invokeinterface. Use build_invokeinterface.
	(expand_java_field_op): Moved code to inline
 	java.lang.PRIMTYPE.TYPE into a function.
	(build_primtype_type_ref): New function.
	* java-tree.def (INSTANCEOF_EXPR): New tree code.
	* java-tree.h (CLASS_METHOD_CHECKED_P, METHOD_DEPRECATED,
 	FIELD_DEPRECATED, CLASS_DEPRECATED): New flag macros.
	(DECL_CONSTRUCTOR_P): Fixed typo in comment.
	(DECL_LOCAL_STATIC_VALUE): New macro.
	(build_invokeinterface, build_primtype_type_ref): New function
 	prototypes.
	(java_parse_abort_on_error): Macro rewritten.
	* jcf-parse.c (current_method): Add comment to declaration.
	(parse_zip_file_entries, process_zip_dir, void parse_source_file):
 	Function prototypes fixed.
	(jcf_parse_source): push/pop parser context. save/restore global.
	(parse_source_file): Fixed leading comment. Now take a
 	IDENTIFIER_NODE as an argument. Doesn't check methods, layout
 	classes and pop the parser context anymore.
	(yyparse): Push parser context, save globals, parse the source
 	file, restore globals and pop the parser context when processing a
 	source file.
	* jcf.h (VERBOSE_SKELETON): Replaces SOURCE_FRONTEND_DEBUG define.
	* lex.c (java_parse_doc_section): New function.
	(java_lex): Call java_parse_doc_section when appropriate. Build an
 	operator around INSTANCEOF_TK.
	* lex.h (java_lineterminator, java_sprint_unicode,
 	java_unicode_2_utf8, java_lex_error, java_store_unicode):
 	Prototypes rewritten.
	(java_parse_escape_sequence, java_letter_or_digit_p,
 	java_parse_doc_section, java_parse_end_comment, java_get_unicode,
 	java_read_unicode, java_store_unicode, java_read_char,
 	java_allocate_new_line, java_unget_unicode, java_sneak_unicode):
 	Added function prototypes.
	* parse.h (VERBOSE_SKELETON): Replaces SOURCE_FRONTEND_DEBUG
 	define.
	(JNULLP_TYPE_P, CHECK_METHODS, CHECK_DEPRECATED, REGISTER_IMPORT):
 	New macros
	(struct parser_ctxt): New fields: deprecated,
 	current_parsed_class_un, gclass_list.
	(fix_method_argument_names, issue_warning_error_from_context,
 	resolve_package, lookup_package_type): New function prototypes.
	(resolve_expression_name): Fixed function prototype.
	(find_applicable_accessible_methods_list): Fixed indentation, added
	extra argument in prototype.
	(check_final_assignment, build_null_of_type, check_deprecation,
 	check_method_redefinition, reset_method_name,
 	java_check_regular_methods, java_check_abstract_methods,
 	maybe_build_primttype_type_ref): New function prototype.
	* parse.y (conver.h): Include.
	(INSTANCEOF_TK): Tagged <operator>.
	(single_type_import_declaration): Use REGISTER_IMPORT macro.
	(relational_expression:): Build binop for instanceof.
	(java_push_parser_context): Remember ctxp->gclass_list across
 	contexts.
	(java_pop_parser_context): Simply return if no context
 	exists. Remember gclass_list across contexts.
	(issue_warning_error_from_context): New function.
	(parse_error_context): Don't setup ctxp->elc here. Call
 	issue_warning_error_from_context instead.
	(parse_warning_context): Likewise.
	(maybe_create_class_interface_decl): Removed DECL_ARTIFICIAL
 	setup. Link new class/interface to ctxp->gclass_list.
	(add_superinterfaces): Register interface as incomplete if not
 	loaded.
	(create_class): Remember class unqualified name in
 	ctxp->current_parsed_class_un. Check class deprecation.
	(register_fields): Check field deprecation. Remember static final
 	field value in DECL_LOCAL_STATIC_VALUE. Changed comment in part
 	processing INIT.
	(method_header): New local variable ORIG_ARG. Use unqualified
 	current class name for check on constructor errors. Promote return
 	type if of record type. Argument list fix moved in
 	fix_method_argument_names, called here. Check method deprecation.
	(fix_method_argument_names): New function.
	(method_declarator): Promote record typed arguments.
	(safe_layout_class): Check class methods before layout.
	(java_complete_class): Compute field layout when patched.
	(do_resolve_class): Try to load class after having it renamed
 	after the package name.
	(get_printable_method_name): Use DECL_CONTEXT.
	(reset_method_name): New function.
	(check_method_redefinition): Use reset_method_name.
	(java_check_regular_methods): New local variable
 	SAVED_FOUND_WFL. Temporarily reinstall overriding/hiding method
 	names for error report. Check for compile-time error when method
 	found has default (package) access.
	(java_check_abstract_methods): Now takes an interface DECL node as
 	an argument. Also reinstall real name on unchecked
 	overriding/hiding methods for error report.
	(java_check_methods): Fixed leading comment. Get classes to verify
 	from ctxp->gclass_list. Use CHECK_METHODS macro and set
 	CLASS_METHOD_CHECKED_P on class verification.
	(lookup_java_method2): Get real method name if necessary.
	(find_in_imports): Don't check package class access here.
	(resolve_package, lookup_package_type): New functions.
	(java_layout_classes): Fixed leading comment. Take classes to be
 	laid out from ctxp->gclass_list.
	(java_complete_expand_methods): Don't expand native and abstract
 	methods.
	(java_expand_classes): New function.
	(resolve_expression_name): Use additional argument ORIG.  Retrieve
 	values of static final field of primitive types.
	(resolve_field_access): Handles static final field of promotive
 	type.
	(resolve_qualified_expression_name): Handle STRING_CST as
 	primaries and package name resolution. Check deprecation on found
 	decls. Set where_found and type_found on non static field resolved
 	during qualification. Layout non primitive field decl types.
	(check_deprecation): New function.
	(maybe_access_field): Simplified.
	(patch_method_invocation_stmt): Local variable CLASS_TYPE
 	removed. Reverse method's argument when primary is a type. Don't
 	use CLASS_TYPE to report problems, use IDENTIFIER_WFL
 	instead. Include abstract class in the list of class searchable
 	for constructors. Use DECL_CONTEXT of found method for access
 	checks. Check method deprecation.
	(patch_invoke): Pay extra care to NEW_CLASS_EXPR type call when
 	converting arguments. Handle INVOKE_INTERFACE.
	(lookup_method_invoke): Search constructor using existing
 	infrastructure (don't rely on lookup_java_constructor anymore).
	(find_applicable_accessible_methods_list): Extra argument flag
 	LC. Now include constructor in the search.
	(qualify_ambiguous_name): Conditional expression are primaries.
	(not_initialized_as_it_should_p): static final are always
 	initialized.
	(java_complete_tree): Pass extra NULL argument to
 	resolve_expression_name. Stricter test to carry on patching
 	assignments. New case for INSTANCEOF_EXPR.
	(complete_function_arguments): Inline PRIMTYPE.TYPE read access.
	(check_final_assignment, maybe_build_primttype_type_ref): New
 	functions.
	(patch_assignment): Detect resolved static finals and carry normal
 	assignment error check on them. Inline PRIMTYPE.TYPE read access.
	(try_builtin_assignconv): Access constant 0 on all primitive
 	types.
	(valid_builtin_assignconv_identity_widening_p): Accept identical
 	types. Accept all promoted type on int type.
	(valid_ref_assignconv_cast_p): Accept a null pointer to be
 	assigned to a reference.
	(valid_method_invocation_conversion_p): Accept to check null
 	pointers.
	(build_binop): Merge declaration and initialization of local
 	variable BINOP.
	(patch_binop): New case for INSTANCEOF_EXPR. NE_EXPR to accept all
 	numeric types. Improved validity test for qualify operators on
 	references.
	(patch_unaryop): Broadened rejection test for PREDECREMENT_EXPR
 	and PREINCREMENT_EXPR. Also detect resolved static finals of a
 	primitive type and issue the appropriate error message.
	(resolve_type_during_patch): Mark class loaded when resolved.
	(patch_cast): Allow null to be cased to reference types.
	(build_null_of_type): New function.
	(patch_array_ref): Handle array on references correctly.
	(patch_return): Removed unused local variable MODIFY. Force
 	boolean to be returned as integers. Allows null to be returned by
 	a function returning a reference.
	* typeck.c (convert_to_integer, convert_to_real,
 	convert_to_pointer): Prototypes moved to convert.h
	(lookup_argument_method): Use method real name, if necessary.

1998-10-30  Tom Tromey  <tromey@cygnus.com>

	* class.c (build_class_ref): Changed name of primitive classes to
	start with `_Jv_'.

	* class.c (make_class_data): Renamed fields: nmethods to
	method_count, method_count to dtable_method_count.  Always set
	`state' field to 0.
	* decl.c (init_decl_processing): Likewise.

Wed Oct 28 08:03:31 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (layout_class): Don't mangle <finit>, produce
 	__finit<class> instead. Don't verify artificial methods.
	* decl.c (finit_identifier_node): New declared global.
	(init_decl_processing): finit_identifier_node initialized.
	* java-tree.def (CONDITIONAL_EXPR): New Java tree code.
	* java-tree.h (finit_identifier_node): Declared as extern.
	(struct lang_decl): New field called_constructor.
	(DECL_CONSTRUCTOR_CALLS): Access macro to called_constructor.
	(CLASS_HAS_FINIT_P): New macro.
	(CALL_CONSTRUCTOR_P): Leading comment changed. Macro now checks
 	explicit constructor invocation.
	(CALL_EXPLICIT_CONSTRUCTOR_P, CALL_THIS_CONSTRUCTOR_P,
 	CALL_SUPER_CONSTRUCTOR_P): New macros.
	(write_classfile): Added prototype.
	* jcf-parse.c (jcf_parse_source): Parse and remember for
 	generation if the file was seen on the command line.
	(parse_source_file): Don't write the class file here.
	(yyparse): Loop on files rewritten. Set current_jcf.
	(parse_zip_file_entries): Parse class file only if it was found.
	* lang.c (init_parse): Don't open command line provided filename
 	here.
	(lang_parse): Don't set main_jcf anymore.
	* parse.h (ABSTRAC_CHECK): Capitalized arguments.
	(JCONSTRUCTOR_CHECK): New macro.
	(JBSC_TYPE_P): New macro.
	(IN_TRY_BLOCK_P, EXCEPTIONS_P): Fixed leading comment.
	(COMPLETE_CHECK_OP_2): New macro.
	(struct parse_ctxt): New field explicit_constructor_p.
	(check_class_interface_creation): Fixed prototype indentation.
	(patch_method_invocation_stmt): Prototype reflects added argument.
	(patch_invoke): Likewise.
	(complete_method_declaration, build_super_invocation,
 	verify_constructor_circularity,
 	build_this_super_qualified_invocation, get_printable_method_name,
 	patch_conditional_expr, maybe_generate_finit, fix_constructors,
 	verify_constructor_super, create_artificial_method,
 	start_artificial_method_body, end_artificial_method_body,
 	generate_field_initialization_code): New function prototypes.
	* parse.y: Fixed leading comment
	(constructor_header:, constructor_body:, block_end:): Rules tagged
 	<node>.
	(type_declaration:): Call maybe_generate_finit.
	(method_declaration:): Action for method_body: placed in new
 	function complete_method_declaration, called here.
	(constructor_declaration:): Defined actions. Removed leading
 	FIXME.
	(constructor_header:): New rule with action.
	(constructor_body:): Rule rewritten using block_begin: and
 	block_end:. Defined actions.
	(constructor_declarator:, explicit_constructor_invocation:):
 	Defined actions.
	(block:): Use new rules block_begin: block_end:.
	(block_begin:, block_end:): New rules and actions.
	(block_statements:): Fixed error message for explicit
 	constructors.
	(method_invocation:): Call build_this_super_qualified_invocation
 	if primary is `this' or `super' was seen.
	(conditional_expression:): Action defined.
	(extra_ctxp_pushed_p): New static global flag.
	(java_parser_context_save_global): Create parser context if
 	necessary. Use extra_ctxp_pushed_p to remember it.
	(java_parser_context_restore_global): Pop extra parser context if
 	one exists.
	(build_array_from_name): Array on primitive types are marked
 	loaded.
	(register_fields): Restore new name in field initializer
 	expression if type was altered. Non static fields initialized upon
 	declaration marked initialized.
	(maybe_generate_finit): New function.
	(maybe_generate_clinit): Use create_artificial_method,
 	start_artificial_method_body, end_artificial_method_body. Generate
 	debug info for enclosed initialization statements.
	(method_header): Fixed leading comment. Check constructor
 	flags. Detect constructor declarations and set DECL_CONSTRUCTOR_P
 	accordingly.
	(complete_method_declaration, constructor_circularity_msg,
 	verify_constructor_circularity): New functions.
	(get_printable_method_name): New function.
	(check_method_redefinition): Don't rename <finit> methods. Fix
 	declared constructor names. Error message for
 	constructors modified.
	(java_check_regular_methods): Local variable seen_constructor
 	renamed saw_constructor. Skip verification on constructors. Create
 	default constructor with create_artificial_method.
	(java_check_methods): Removed unnecessary empty line.
	(create_artificial_method, start_artificial_method_body,
 	end_artificial_method_body): New functions.
	(java_layout_classes): Changed leading comment. Reverse fields
 	list if necessary. Always layout java.lang.Object if being
 	defined.
	(java_complete_expand_methods): Verify constructor circularity.
	(java_complete_expand_method): Call fix_constructor on
 	constructors.  Local variable no_ac_found removed. Restore
 	bindings if method body expansion failed.
	(fix_constructors, verify_constructor_super,
 	generate_field_initialization_code): New function.
	(java_expand_classes): Fixed leading comment. Write class file
 	here.
	(resolve_expression_name): Check for illegal instance variable
 	usage within the argument scope of an explicit constructor
 	invocation.
	(resolve_qualified_expression_name): Pass extra from_super flag
 	when invoking patch_method_invocation_stmt. New case for
 	conditional expression when used as a primary. Check for error
 	when acquiring super.
	(patch_method_invocation_stmt): Added extra argument super. New
 	local variable is_static_flag. Set class_to_search according to
 	the nature of the constructor invocation. Don't add `this'
 	argument when expanding NEW_CLASS_EXPR. Check for illegal method
 	invocation within the argument scope of explicit constructor
 	invocation. Set is_static according to is_static_flag. Provide
 	extra `super' argument to patch_invoke invocation.
	(patch_invoke): New argument from_super. Loop on arguments
 	indentation fixed. Pass from_super to invocation_mode. New switch
 	case INVOKE_SUPER. Fixed error message in switch default case.
  	Don't use CALL_CONSTRUCTOR_P but rather a test on the tree node
 	value.
	(invocation_mode): Return INVOKE_SUPER mode when appropriate.
	(lookup_method_invoke): Fixed prototypes in candidates list. Error
 	message takes constructors into account.
	(find_applicable_accessible_methods_list): Fixed indentation.
	(qualify_ambiguous_name): Take explicit constructor invocation
 	into account. Deal with a conditional expression as a primary to
 	a method call.
	(java_complete_tree): Added local wfl_op3. New CONDITIONAL_EXPR
 	case. Added extra argument to patch_method_invocation_stmt.
 	Register calls made to explicit constructor `this'. Don't call
 	save_expr in ARRAY_REF case when emitting class files. Check for
 	illegal use of this when expanding explicit constructor invocation
 	arguments.
	(complete_function_arguments): Set and reset parser context
 	explicit_constructor_p field value when appropriate.
	(build_super_invocation, build_this_super_qualified_invocation):
 	New functions.
	(patch_assignment): Fixed typo.
	(patch_unaryop): Check on final fields occurs only when a decl
 	exits.
	(patch_return): Take constructors into account.
	(patch_conditional_expr): New function.
	* typeck.c (build_java_signature): Removed unnecessary empty line.
	
Wed Oct 28 00:46:15 1998  Jeffrey A Law  (law@cygnus.com)

	* Makefile.in (jcf-dump, gcjh): Link in $(LIBS) too.

1998-10-28  Tom Tromey  <tromey@cygnus.com>

	* decl.c (init_decl_processing): Renamed fields.
	* class.c (make_class_data): Renamed bfsize, nfields, nsfields,
	interface_len, msize fields.

	* class.c (make_class_data): Removed subclass_head and
	subclass_next fields.
	* decl.c (init_decl_processing): Removed subclass_head and
	subclass_next fields.

Wed Oct 28 00:46:15 1998  Jeffrey A Law  (law@cygnus.com)

	* jcf-write.c (emit_load_or_store): Avoid implicit int arguments.
	* mangle.c (emit_unicode_mangled_name): Similarly.

Mon Oct 26 12:17:23 1998  Nick Clifton  <nickc@cygnus.com>

	* jcf-parse.c (get_constant): Place braces around code to compute
	'd' when REAL_ARITHMETIC is not defined.

Sun Oct 25 14:58:05 1998  H.J. Lu  (hjl@gnu.org)

	* Make-lang.in (jv-scan$(exeext)): Add stamp-objlist to
	dependency.

1998-10-23  Tom Tromey  <tromey@cygnus.com>

	* lang-specs.h: `.zip' files are input to jc1.

Thu Oct 22 23:01:54 1998  Per Bothner  <bothner@cygnus.com>

	* jvspecs.c:  Add (but don't enable) support for combining multiple
	.class and .java input filenames to a single jc1 invocation.
	Add support for -C flag (copile to .class files).
	Translate -classpath and -CLASSPATH arguments.
	* lang-specs.h:  Don't set %2 spec.

1998-10-22  Tom Tromey  <tromey@cygnus.com>

	* jcf-path.c (add_entry): Don't add trailing separator if entry is
	a .zip file.
	(add_path): Don't add trailing separator to non-empty path
	elements.

	* lang.c (lang_decode_option): Check for -fclasspath and
	-fCLASSPATH before examining other `-f' options.

	* java-tree.h (finalize_identifier_node): Don't declare.
	* class.c (make_class_data): Don't push "final" field.
	* decl.c (init_decl_processing): Don't push "final" field.
	(finalize_identifier_node): Removed.
	(init_decl_processing): Don't set finalize_identifier_node.

	* config-lang.in (stagestuff): Added jcf-dump and jv-scan.

Sun Oct 11 10:31:52 1998  Anthony Green  <green@cygnus.com>

	* Make-lang.in (java): Depend on jcf-dump and jv-scan.
	(JV_SCAN_SOURCES): New macro.
	(JCF_DUMP_SOURCES): Likewise.
	(jcf-dump$(exeext)): New target.
	(jv-scan$(exeext)): New target.

1998-10-22  Tom Tromey  <tromey@cygnus.com>

	* Makefile.in (LEX): Removed.
	(LEXFLAGS): Likewise.
	(SET_BISON): New macro.
	(BISON): Removed.
	($(PARSE_C)): Use SET_BISON.  Run bison from srcdir to avoid
	spurious diffs in parse.c.
	($(PARSE_SCAN_C)): Likewise.
	(PARSE_DIR): New macro.
	(PARSE_C): Use it.
	(PARSE_SCAN_C): Likewise.
	(PARSE_RELDIR): New macro.

	* jcf-io.c (saw_java_source): Define here, not in jcf-parse.c.

	* jcf-io.c (find_class): Use saw_java_source to determine when to
	look for `.java' file.
	* jcf-parse.c (saw_java_source): New global.
	(yyparse): Set it if `.java' file seen.

	* Make-lang.in (JAVA_SRCS): Added jcf-path.c.
	(GCJH_SOURCES): Likewise.
	* Makefile.in (datadir): New macro.
	(libjava_zip): Likewise.
	(JAVA_OBJS): Added jcf-path.o.
	(../jcf-dump$(exeext)): Depend on and link with jcf-depend.o.
	(../gcjh$(exeext)): Likewise.
	(jcf-path.o): New target.
	* java-tree.h (fix_classpath): Removed decl.
	* jcf-parse.c (fix_classpath): Removed.
	(load_class): Don't call fix_classpath.
	* parse.y (read_import_dir): Don't call fix_classpath.
	* lex.h: Don't mention classpath.
	* lex.c (java_init_lex): Don't initialize classpath.
	* jcf-io.c (classpath): Removed global.
	(find_class): Use jcf_path iteration functions.  Correctly search
	class path for .java file.
	(open_in_zip): New argument `is_system'.
	* jcf-dump.c (main): Call jcf_path_init.  Recognize all new
	classpath-related options.
	* lang.c (lang_decode_option): Handle -fclasspath, -fCLASSPATH,
	and -I.
	(lang_init): Call jcf_path_init.
	* lang-options.h: Mention -I, -fclasspath, and -fCLASSPATH.
	* lang-specs.h: Handle -I.  Minor cleanup to -M options.
	Correctly put braces around second string in each entry.
	* gjavah.c (main): Call jcf_path_init.  Recognize all the new
	classpath-related options.
	(help): Updated for new options.
	* jcf.h: Declare functions from jcf-path.c.  Don't mention
	`classpath' global.
	* jcf-path.c: New file.

	* jcf-depend.c: Include jcf.h.

	* jcf-write.c (localvar_alloc): Returns `void'.
	(localvar_free): Removed unused variable.

	* lang.c (OBJECT_SUFFIX): Define if not already defined.
	(init_parse): Use OBJECT_SUFFIX, not ".o".

Wed Oct 21 07:54:11 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (emit_register_classes): Renamed from
 	emit_register_class.
	* java-tree.h (emit_register_classes): Prototype renamed from
 	emit_register_class.
	* jcf-parse.c (yyparse): Call emit_register_classes once before
 	returning.
	* parse.y (java_expand_classes): No longer register classes.

Tue Oct 20 09:15:38 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (is_compiled_class): New local variable
 	seen_in_zip. Identify classes found in currently compiled source
 	file(s).
	* decl.c (complete_start_java_method): Fixed typo.
	* java-tree.h (CLASS_FROM_CURRENTLY_COMPILED_SOURCE_P,
 	HAS_BEEN_ALREADY_PARSED_P, IS_A_COMMAND_LINE_FILENAME_P): New macros.
	(CLASS_P): Moved around.
	(java_parse_abort_on_error): Macro moved from jcf-parse.c
	* jcf-parse.c (java_parse_abort_on_error): Macro moved to
 	java-parse.h
	(jcf_parse_source): Changed leading comment. Removed unnecessary
 	fclose and CLASS_FROM_SOURCE_P marking.
	(parse_source_file): New local variables remember_for_generation
 	and filename. Mark parsed file name identifier node. Removed block
 	executed when parse_only was null. Set remember_for_generation. 
	Use it as an argument to java_pop_parser_context.
	(yyparse): New local variables several_files, list, next node and
 	current_file_list. Split ampersand separated file names into
 	current_file_list. Iterate through the list and parse accordingly.
	* parse.h (java_pop_parser_context): New function prototype.
	* parse.y (ctxp_for_generation): New static global variable.
	(java_pop_parser_context): New argument generate. Link popped ctxp
 	to ctxp_for_generation list accordingly.
	(java_complete_expand_methods): Fixed indentation.
	(java_expand_classes): New function.
	
Sat Oct 17 11:25:21 1998  Per Bothner  <bothner@cygnus.com>

	* Makefile.in:  Link with libiberty.a instead of memmove.o.

Fri Oct 16 10:59:01 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* lex.c (setjmp.h): No longer included.
	* lex.h (setjmp.h): Included.
	* parse.h (SET_TYPE_FOR_RESOLUTION): New macro.
	(duplicate_declaration_error_p): Renamed from
 	duplicate_declaration_error.
	(build_array_from_name): New function prototype.
	* parse.y (setjmp.h): No longer included.
	(variable_declarator_id): Define action.
	(build_array_from_name): New function.
	(duplicate_declaration_error_p): Renamed from
 	duplicate_declaration_error.  Fixed leading comment.
	(register_fields): Main `for' loop reorganized. Uses
 	SET_TYPE_FOR_RESOLUTION and build_array_from_name.
	(method_declarator): Uses SET_TYPE_FOR_RESOLUTION and call
 	build_array_from_name.
	(resolve_class): Set CLASS_LOADED_P on newly build array dimension
 	types.
	(read_import_dir): Don't try to skip `.' and `..'.
	(declare_local_variables): Uses SET_TYPE_FOR_RESOLUTION and
 	build_array_from_name. Main `for' loop reorganized.
	(resolve_qualified_expression_name): When building access to a
 	field, use the type where the field was found, not its own type.
	(maybe_access_field): Use field DECL_CONTEXT if the type where the
 	field was found is null.
	(qualify_ambiguous_name): Sweep through all successive array
 	dimensions.
	
Wed Oct 14 18:21:29 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* java-tree.h (pop_labeled_block, lang_printable_name,
 	maybe_add_interface, set_super_info, get_access_flags_from_decl,
 	interface_of_p, inherits_from_p, fix_classpath,
 	complete_start_java_method, emit_handlers, init_outgoing_cpool,
 	make_class_data, register_class, alloc_name_constant): New
 	function prototypes.
	* lang.c (lang_decode_option): Set argc argument unused. Fixed
 	indentation. Added cast to remove warning.
	(lang_printable_name): Set v argument unused.
	(lang_print_error): Added argument to lang_printable_name call.
	(java_dummy_print, print_lang_decl, print_lang_type,
 	print_lang_identifier, lang_print_xnode): All argument marked
 	unused.
	* lex.c (java_unget_unicode): Removed unnecessary argument.
	(java_allocate_new_line): Unused local variable is gone.
	(java_read_char): Added parenthesis in expressions to remove
 	warnings.  Added final return statement.
	(java_read_unicode): Added parenthesis in expression to remove
 	warning.
	(java_parse_end_comment): Fixed java_unget_unicode invocation.
	(java_parse_escape_sequence): Likewise.
	(java_lex): Unused local variables are gone. Fixed
 	java_unget_unicode invocation.
	* lex.h (set_float_handler): Prototype added when JC1_LITE not
 	defined.
	* parse.h (ERROR_CANT_CONVERT_TO_BOOLEAN): Fixed
 	lang_printable_name invocation in macro.
	(ERROR_CANT_CONVERT_TO_NUMERIC, ERROR_CAST_NEEDED_TO_INTEGRAL):
 	Likewise.
	(duplicate_declaration_error): Suppressed unused argument in
 	prototype.
	(identical_subpath_p): Function declaration is gone.
	(patch_invoke): Suppressed unused argument in prototype.
	(patch_cast, build_labeled_block, check_thrown_exceptions):
 	Likewise.
	* parse.y (setjmp.h): Included
	(toplev.h): Likewise.
	(field_declaration:): Suppressed unused local
	(label_decl:): Fixed build_labeled_block invocation.
	(java_pop_parser_context): Put extra parenthesis around assignment
 	in if.
	(yyerror): Suppressed unused local variables.
	(variable_redefinition_error): Fixed lang_printable_name
 	invocation.
	(create_interface): Suppressed unused local variables.
	(create_class): Likewise.
	(duplicate_declaration_error): Suppressed unused argument. Fixed
 	lang_printable_name invocation.
	(register_fields): Suppressed unused local variable. Fixed
 	duplicate_declaration_error invocation.
	(method_header): Suppressed unused local variable.
	(method_declarator, parser_check_super): Likewise.
	(java_complete_class): Suppressed unused local variable. Fixed
 	fatal error message.
	(complete_class_report_errors): Added default: in switch.
	(java_check_regular_methods): Fixed lang_printable_name
 	invocations.
	(check_throws_clauses): Likewise.
	(java_check_abstract_methods): Suppressed unused local
 	variable. Fixed lang_printable_name invocation.
	(read_import_entry): Added supplemental return statement.
	(read_import_dir): Suppressed unused local variables.
	(check_pkg_class_access, declare_local_variables): Likewise.
	(source_start_java_method): Suppressed unused extern variable
 	declarations
	(expand_start_java_method): Suppressed unused extern and local
 	variable declarations.
	(java_complete_expand_methods): Likewise.
	(java_complete_expand_method): Suppressed unused local variables.
	(make_qualified_name): Likewise.
	(resolve_qualified_expression_name): Added default: in
 	switch. Fixed lang_printable_name invocation.
	(class_instance_creation_expression): Added parenthesis around
 	expressions.
	(patch_method_invocation_stmt): Fixed lang_printable_name and
 	patch_invoke invocations.
	(check_for_static_method_reference): Fixed lang_printable_name
 	invocation.
	(patch_invoke): Suppressed unused arguments and local variables.
	(lookup_method_invoke): Suppressed unused local variables.
	(qualify_ambiguous_name): Added default: in switch.
	(identical_subpath_p): Function removed.
	(patch_assignment): Suppressed unused local variables. Suppressed
 	unnecessary if statement. Fixed lang_printable_name invocations.
	(try_builtin_assignconv): Fixed lang_printable_name invocations.
	(valid_ref_assignconv_cast_p): Parenthesis around
 	expression. Suppressed unused local variables.
	(build_binop): Suppressed unused local variables. fixed
 	lang_printable_name invocations.
	(string_constant_concatenation): Suppressed unused local
 	variables.
	(patch_unaryop): Fixed lang_printable_name invocation.
	(patch_cast): Suppressed unnecessary argument. Fixed
 	lang_printable_name invocation.
	(patch_array_ref): Fixed lang_printable_name invocation.
	(patch_newarray, patch_return, patch_if_else_statement): Likewise.
	(build_labeled_block): Suppressed unused argument.
	(generate_labeled_block): Fixed build_labeled_block invocation.
	(build_loop_body): Suppressed unused local variables.
	(patch_loop_statement): Likewise.
	(patch_exit): Fixed lang_printable_name invocation.
	(patch_switch_statement): Likewise.
	(case_identity): First argument marked unused.
	(patch_try_statement): Fixed lang_printable_name invocations.
	(patch_synchronized_statement, patch_throw_statement): Likewise.
	(check_thrown_exceptions): Fixed check_thrown_exceptions and
 	lang_printable_name invocations.
	(check_thrown_exceptions_do): Suppressed unused argument.

1998-10-14  Tom Tromey  <tromey@cygnus.com>

	* jcf-write.c (write_classfile): Add output class file as target.
	* lang-options.h: Added -MD, -MMD, -M, and -MM.
	* jcf.h: Added declarations for dependency-tracking functions.
	* lang-specs.h: Handle -M, -MM, MD, and -MMD.
	* lang.c (lang_decode_option): Recognize -MD and -MMD.
	(finish_parse): Call jcf_dependency_write.
	(dependency_tracking): New global.
	(DEPEND_SET_FILE): New define.
	(DEPEND_ENABLE): New define.
	(init_parse): Enable dependency tracking if required.
	Include "flags.h".
	* Makefile.in (JAVA_OBJS): Added jcf-depend.o.
	(../jcf-dump$(exeext)): Depend on and link with jcf-depend.o.
	(../gcjh$(exeext)): Likewise.
	(jcf-depend.o): New target.
	* Make-lang.in (JAVA_SRCS): Added jcf-depend.c.
	(GCJH_SOURCES): Likewise.
	* jcf-io.c (open_class): Call jcf_dependency_add_file.  Added
	dep_name argument.
	(find_classfile): Added dep_name argument.
	(find_class): Compute name of dependency.
	(open_in_zip): Call jcf_dependency_add_file.
	* gjavah.c (output_file): No longer global.
	(usage): Don't mention "gjavah".
	(help): Likewise.
	(java_no_argument): Likewise.
	(version): Likewise.
	(main): Recognize and handle -M family of options.
	(print_mangled_classname): Return is void.
	(process_file): Handle case where output is suppressed.
	(HANDLE_END_FIELD): Likewise.
	(HANDLE_METHOD): Likewise.
	* jcf-depend.c: New file.

Tue Oct 13 23:34:12 1998  Jeffrey A Law  (law@cygnus.com)

	* java-tree.def: Add missing newline at EOF.

1998-10-13  Tom Tromey  <tromey@cygnus.com>

	* jcf-dump.c (process_class): Use FATAL_EXIT_CODE, not -1.
	(main): Likewise.  Exit with SUCCESS_EXIT_CODE at end of
	function.
	Include <config.h> and "system.h".
	(disassemble_method): Undefine RET to avoid clash with
	config/i386/i386.h.

Tue Oct 13 03:50:28 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* decl.c (runtime_exception_type_node, error_exception_type_node):
 	New global variables.
	(init_decl_processing): Initialized.
	* expr.c (java_lang_expand_expr): Set caught exception type to
 	null if catch handler argument doesn't exit.
	* java-tree.def (SYNCHRONIZED_EXPR, THROW_EXPR): New Java specific
 	tree codes.
	* java-tree.h (runtime_exception_type_node,
 	error_exception_type_node): Global variables declared.
	(DECL_FUNCTION_THROWS): New macro.
	(DECL_FUNCTION_BODY): Modified comment.
	(DECL_SPECIFIC_COUNT): Likewise.
	(struct lang_decl): New field throws_list.
	(IS_UNCHECKED_EXPRESSION_P): New macro.
	* lex.c (java_lex): Generate location information for THROW_TK.
	* parse.h (PUSH_EXCEPTIONS, POP_EXCEPTIONS, IN_TRY_BLOCK_P,
 	EXCEPTIONS_P): New macros.
	(enum jdep_code): New value JDEP_EXCEPTION.
	(BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT,
 	BUILD_ASSIGN_EXCEPTION_INFO, BUILD_THROW, SET_WFL_OPERATOR,
 	PATCH_METHOD_RETURN_ERROR): New macros.
	(patch_method_invocation_stmt): Added new argument to prototype.
	(patch_synchronized_statement, patch_throw_statement,
 	check_thrown_exceptions, check_thrown_exceptions_do,
 	purge_unchecked_exceptions, check_throws_clauses): New function
 	prototypes.
	* parse.y Fixed typo in keyword section.
	(throw:): Rule tagged <node>.
	(THROW_TK): Keyword tagged <operator>.
	(method_header:): Last argument to call to method_header passed
 	from throws: rule.
	(throws:, class_type_list:, throw_statement:,
 	synchronized_statement:, synchronized:): Defined actions.
	(method_header): New local variable current. Register exceptions
 	from throws clause.
	(java_complete_tree): Complete and verify exceptions from throws
 	clause.
	(complete_class_report_errors): Error message on exceptions not
 	found
	(java_check_regular_methods): Fixed typo. Shortcut on private
 	overriding methods. Changed error message on method
 	redefinition. Check for throws clause compatibility.
	(check_throws_clauses): New function.
	(java_check_abstract_methods): Use DECL_NAME for wfl or current
 	method. Changed error message on method redefinition.
	(currently_caught_type_list): New static variable.
	(java_complete_expand_methods): Purge unchecked exceptions from
 	throws clause list. Call PUSH_EXCEPTIONS before walk and
 	POP_EXCEPTIONS after.
	(resolve_qualified_expression_name): Pass new argument as NULL to
 	patch_method_invocation_stmt.
	(patch_method_invocation_stmt): New argument ref_decl. Invoke
 	PATCH_METHOD_RETURN_ERROR when returning with error. Reverse
 	argument list when appropriate. Use new argument if non null to
 	store selected method decl.
	(patch_invoke): Convert if necessary args of builtin types before
 	forming CALL_EXPR. Argument list no longer reversed here.
	(invocation_mode): Treat final methods as static methods.
	(java_complete_tree): New cases for THROW_EXPR: and
 	SYNCHRONIZED_EXPR:. Check thrown exceptions when completing
 	function call.
	(complete_function_arguments): No more RECORD_TYPE
 	conversion. Function parameter nodes no longer saved.
	(valid_ref_assignconv_cast_p): Avoid handling null type.
	(patch_binop): Fixed null constant reference handling.
	(build_try_statement): Use BUILD_ASSIGN_EXCEPTION_INFO and
 	BUILD_THROW macros.
	(patch_try_statement): Fixed comments. Record caught types in
 	list, push the list, expand try block and pop the list.
	(patch_synchronized_statement, patch_throw_statement,
 	check_thrown_exceptions, check_thrown_exceptions_do,
 	purge_unchecked_exceptions): New functions.
	* typeck.c (lookup_argument_method): Allow WFL in place of method
 	DECL_NAME during method definition check
	
1998-10-09  Tom Tromey  <tromey@cygnus.com>

	* gjavah.c (decode_signature_piece): New function.
	(print_c_decl): Use it.  Added `name_override' argument.
	(print_method_info): Use name_override argument to print_c_decl.
	(seen_fields): Removed.
	(print_field_info): Don't update seen_fields.
	(struct method_name): New structure.
	(method_name_list): New global.
	(print_method_info): Add new method to list of methods.
	(name_is_method_p): New function.
	(print_field_info): If field name has same name as method, then
	change field name.
	(process_file): Parse methods before fields.
	(field_pass): New global.
	(HANDLE_END_FIELD): Take field_pass into account.

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

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

Sat Oct  3 13:29:46 1998  Anthony Green  <green@cygnus.com>

	* jvspec.c: Fix bug in jvgenmain_spec patch.

Fri Oct  2 17:22:52 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* Makefile.in (lang.o:): Install dependency on java-tree.def.
	* decl.c (soft_exceptioninfo_call_node): New global variable.
	(init_decl_processing): Fixed indentation. soft_badarrayindex_node
 	takes extra integer argument. soft_exceptioninfo_call_node
 	initialized.
	* except.c (java_set_exception_lang_code): New function
	(method_init_exceptions): Called here.
	(prepare_eh_table_type): New function.
	(expand_end_java_handler): Called here.
	* expr.c (build_java_throw_out_of_bounds_exception): Now features
 	one argument. Modified generation of call to
 	soft_badarrayindex_node to use new argument.
	(build_java_arrayaccess): Pass faulty index value to
 	build_java_throw_out_of_bounds_exception.
	(generate_name): New function.
	(java_lang_expand_expr): New local variables node, current,
 	has_finally_p. Expand TRY_EXPR node.
	(process_jvm_instruction): Replace top of the stack with thrown
 	object reference when entering exception handler.
	* java-tree.def (TRY_EXPR, CATCH_EXPR, FINALLY_EXPR): New Java
 	specific tree codes.
	* java-tree.h (soft_exceptioninfo_call_node): Declaration of new
 	global.
	(DECL_SPECIFIC_COUNT): New macro.
	(prepare_eh_table_type, java_set_exception_lang_code,
 	generate_name): New function declarations.
	(match_java_method): Declaration deleted.
	(FINALLY_EXPR_LABEL, FINALLY_EXPR_BLOCK, CATCH_EXPR_GET_EXPR): New
 	macros.
	* lex.c (TRY_TK, CATCH_TK): Generate location information.
	* parse.h (redefinition_error, refine_accessible_methods_list,
 	can_cast_to_p): Function declaration removed.
	(classitf_redefinition_error, variable_redefinition_error,
 	parse_jdk1_1_error, find_applicable_accessible_methods_list,
 	find_most_specific_methods_list, argument_types_convertible,
 	enter_a_block, valid_builtin_assignconv_identity_widening_p,
 	valid_cast_to_p, valid_method_invocation_conversion_p,
 	try_reference_assignconv, add_stmt_to_compound,
 	build_jump_to_finally, build_tree_list, patch_try_statement,
 	java_get_catch_block): New function declarations.
	* parse.y (string_buffer_type): Global variable deleted.
	(group_of_labels, catches, catch_clause, catch_clause_parameter,
 	finally): Rules tagged <node>.
	(TRY_TK, CATCH_TK): Token tagged <operator>.
	(class_body_declaration:, class_member_declaration:,
 	formal_parameter:, explicit_constructor_invocation:,
 	interface_member_declaration:, constant_declaration:,
 	primary_no_new_array:, class_instance_creation_expression:,
 	array_creation_expression:): Issue error on unsuported JDK1.1
 	features.
	(try_statement:, catches:, finally:): Define actions.
	(catch_clause_parameter): New rule.
	(catch_clause:): Use new rule catch_clause_parameter.
	(parse_jdk1_1_error): New function.
	(redefinition_error): Renamed classitf_redefinition_error.
	(variable_redefinition_error): New function.
	(check_class_interface_creation): Call
 	classitf_redefinition_error.
	(java_complete_tree): Added error message on JDEP_TYPE: case.
	(complete_class_report_errors): Fixed indentation.
	(declare_local_variables): Call variable_redefinition_error.
	(source_end_java_method): Call java_set_exception_lang_code and
 	emit_handlers where appropriate.
	(java_method_add_stmt): Call add_stmt_to_block.
	(add_stmt_to_block): New function.
	(lookup_method_invoke): Fixed outside comment. new local variable
 	candicates.  Call find_applicable_accessible_methods_list and
 	find_most_specific_methods_list when searching for a
 	method. Modified error report to list possible candidates when
 	applicable.
	(find_applicable_accessible_methods_list,
 	find_most_specific_methods_list, argument_types_convertible): New
 	function.
	(refine_accessible_methods_list): Function deleted.
	(java_complete_tree): Handle TRY_EXPR. ARRAY_REF handling: save
 	expr (if applicable) before calling patch_array_ref.
	(build_expr_block): Fixed BLOCK_EXPR_BODY assignment.
	(enter_block): Fixed comment.
	(enter_a_block): New function.
	(patch_assignment): Reorganized. Call try_reference_assignconv for
 	references. Call valid_cast_to_p instead of can_cast_to_p.
	(try_reference_assignconv,
 	valid_builtin_assignconv_identity_widening_p): New functions.
	(valid_ref_assignconv_cast_p): Fixed inverted test on CLASS_FINAL.
	(valid_cast_to_p, valid_method_invocation_conversion_p): New
 	functions.
	(build_string_concatenation): Don't resolve StringBuffer.
	(patch_cast): Fixed inverted arguments.
	(patch_array_ref): Code to save array expr deleted. Call
 	valid_cast_to_p instead of can_cast_to_p.
	(generate_labeled_block): Call generate_name.
	(build_jump_to_finally, build_try_statement, java_get_catch_block,
 	patch_try_statement): New functions.
	* typeck.c (match_java_method): Function deleted.
	
Fri Oct  2 13:48:36 1998  Anthony Green  <green@cygnus.com>

	* jvspec.c: jvgenmain_spec uses different temporary file names.

Fri Oct  2 12:50:19 1998  Anthony Green  <green@cygnus.com>

	* jvspec.c (lang_specific_driver): Fail if user specifies
	--main= when not linking.

Mon Sep 28 13:48:33 1998  Tom Tromey  <tromey@cygnus.com>

	* class.c (make_class_data): Push value for `thread' field.
	* decl.c (init_decl_processing): Added `thread' field to class.

	* class.c (add_field): Always make static fields externally
	visible.

Sat Sep 26 08:22:47 1998  Anthony Green  <green@cygnus.com>

	* expr.c (build_java_athrow,
	build_java_throw_out_of_bounds_exception, expand_invoke,
	build_newarray, expand_java_multianewarray, build_java_monitor):
	Update comments to reflect _Jv_* function names.

Fri Sep 25 16:03:02 1998  Per Bothner  <bothner@cygnus.com>

	* decl.c (complete_start_java_method):  DECL_RESULT is always promoted.
	* decl.c (start_java_method):  Handle PROMOTE_PROTOTYPES target macro.
	* parse.y (expand_start_java_method):  Likewise.

Thu Sep 24 12:20:35 1998  Per Bothner  <bothner@cygnus.com>

	* expr.c (pop_arguments):  Handle PROMOTE_PROTOTYPES target macro.

	* class.c (push_class):  IDENTIFIER_SIGNATURE_TYPE is now POINTER_TYPE.
	(add_field):  No longer need to convert from RECORD_TYPE to pointer,
	* expr.c:  Remove no-longer-needed calls to promote_type.
	* decl.c (give_name_to_locals):  Liekwise.
	* jcf-parse.c (get_class_constant):  Compensate for new signatures.
	* parse.y:  Add/remove promote_type calls as appropriate.
	* typeck.c (parse_signature_type):  Returns POINTER_TYPE for objects.
	(parse_signature_string):  Likewise.
 	(build_java_array_type):  Fix for now signature convenions.

	* lex.c (java_lex):  Fix (from Alex) for JC1_LITE problem.

Wed Sep 23 14:49:35 1998  Tom Tromey  <tromey@cygnus.com>

	* class.c (init_class_processing): libjava function renamed to
	_Jv_RegisterClass.

Tue Sep 22 12:00:02 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* expr.c (java_lang_expand_expr): New case for SWITCH_EXPR.
	* java-tree.def: Fixed DEFTREECODE third argument.
	(UNARY_PLUS_EXPR, NEW_ARRAY_EXPR, NEW_CLASS_EXPR, THIS_EXPR,
 	CASE_EXPR, DEFAULT_EXPR): New tree codes for Java.
	* java-tree.h: (IS_CRAFTED_STRING_BUFFER_P): New macro.
	(JAVA_UNARY_PLUS_EXPR, JAVA_NEW_ARRAY_EXPR, JAVA_NEW_CLASS_EXPR,
 	JAVA_THIS_EXPR): Now replaced by tree code definitions.
	(CALL_CONSTRUCTOR_P): Now uses NEW_CLASS_EXPR.
	* lang.c (java_tree_code_type, java_tree_code_length,
 	java_tree_code_name): New arrays.
	(lang_init): Append Java tree node definitions to Gcc ones.
	* lex.c (expression_obstack): Declared as extern when JC1_LITE
 	defined.
	(java_init_lex): Initialize wfl_append, wfl_string_buffer,
 	wfl_to_string.
	(java_lex): Allow declaration of empty string constants. Retain
 	location information on CASE_TK and DEFAULT_TK.
	* parse.h (JFLOAT_TYPE_P, JINTEGRAL_TYPE_P, JNUMERIC_TYPE_P,
 	JPRIMITIVE_TYPE_P, JSTRING_TYPE_P, JSTRING_P, JREFERENCE_TYPE_P):
 	Modified to be more robust.
	(BUILD_APPEND, BUILD_STRING_BUFFER): New macros.
	(build_new_invocation, try_builtin_assignconv,
 	patch_switch_statement, string_constant_concatenation,
 	build_string_concatenation, patch_string_cst, patch_string,
 	java_expand_switch): New function declarations.
	* parse.y: Rules related to switch and EH tagged <node>.
	(label_id): Set to NULL_TREE
	(wfl_string_buffer, wfl_append, wfl_to_string): New static global
 	tree nodes.
	(this_or_super:): Fixed indentation.
	(statement:, statement_nsi:, statement_without_trailing_substatement:,
 	statement_expression:): Removed call to RULE on all sub-rules.
	(switch_expression:, switch_labels:): New rules.
	(switch_statement:, switch_block:, switch_block_statement_groups:,
 	switch_block_statement_group:, switch_labels:, switch_label:):
 	Defined actions.
	(throw_statement:, synchronized_statement:, try_statement:):
 	Defined temporary actions.
	(class_instance_creation_expression:): Call
 	build_new_invocation. Fixed indentation.
	(field_access): Fixed indentation.
	(method_invocation): Likewise.
	(make_qualified_primary): Use THIS_EXPR.
	(resolve_qualified_expression_name): Use NEW_CLASS_EXPR. When
 	resolving from SUPER, set *type_found.
	(qualify_ambiguous_name): Use NEW_CLASS_EXPR.
	(java_complete_tree): Removed unused local variable `location'. Case
 	for SWITCH_EXPR, sharing code with LOOP_EXPR. Use NEW_ARRAY_EXPR,
 	NEW_CLASS_EXPR, UNARY_PLUS_EXPR and THIS_EXPR. New string handling
 	on MODIFY_EXPR: and all binary operator tree code cases. Removed
 	STRING_CST: case. default: checks for patchable strings.
	(complete_function_arguments): Transform string constant or
 	crafted StringBuffer if necessary.
	(build_method_invocation): Fixed comments.
	(build_new_invocation): New function.
	(patch_assignment): Call try_builtin_assignconv to figure a valid
 	assignment conversion between builtin types.
	(try_builtin_assignconv): New function.
	(build_binop): Use URSHIFT_EXPR directly to call build.
	(operator_string): Use UNARY_PLUS_EXPR.
	(patch_binop): Use UNARY_PLUS_EXPR. Handle string concatenation
 	operator.
	(do_merge_string_cste, merge_string_cste,
 	string_constant_concatenation, build_string_concatenation,
 	patch_string, patch_string_cst): New function.
	(build_unary_op): Use UNARY_PLUS_EXPR and CONVERT_EXPR.
	(patch_unaryop): Likewise. New test of valid ++/-- operands.
	(build_newarray_node): Use NEW_ARRAY_EXPR.
	(build_this): Use THIS_EXPR.
	(build_return): Enable debug information on return statement.
	(build_if_else_statement): Likewise.
	(complete_labeled_statement): Fixed related comment.
	(build_loop_body): Fixed comment.
	(build_bc_statement): Enable debug information on break/continue
 	statements.
	(patch_bc_statement): Fixed typos. Handle SWITCH statement
 	context.
	(patch_switch_statement, case_identity, java_expand_switch): New
 	functions.

Mon Sep 21 13:21:35 1998  Per Bothner  <bothner@cygnus.com>

	* buffer.h (BUFFER_INIT):  New macro.
	* jcf-write.c (struct jcf_partial):  New type.  Put global stuff here.
	Pass (struct jcf_partial *state) to most functions.
	(jcf_block, jcf_relocation):  New types.
	Support labels, branches, conditionals, loops.

Mon Sep 21 15:08:48 1998  Tom Tromey  <tromey@cygnus.com>

	* decl.c (INT_TYPE_SIZE): Define as BITS_PER_WORD if not defined.

Mon Sep 21 13:21:35 1998  Per Bothner  <bothner@cygnus.com>

	* decl.c (integer_type_node):  Make it have INT_TYPE_SIZE.
	* verify.c (verify_jvm_instructions):  Use int_type_not (32 bits),
	not integer_type_node (INT_TYPE_SIZ bits).

	* parse.y (patch_if_else_statement):  Accept promoted_boolean_type_node.

	* jcf-reader.c (get_attribute):  New HANDLE_EXCEPTION_TABLE hook.
	* jcf-dump.c (print_exception_table):  New function.
	(disassemble_method):  Better handling of wide instructions.
	Make more robust for bad input.

Wed Sep 30 20:53:51 1998  Jeffrey A Law  (law@cygnus.com)

	* jcf-write.c (OP2, OP4): Use "_i", not "_I" to avoid problems on
	FreeBSD.

Thu Sep 17 19:45:01 1998  Jeffrey A Law  (law@cygnus.com)

	* Makefile.in (jcf-dump, jvgenmain): Link in memmove.o too.

Thu Sep 17 16:21:52 1998  Tom Tromey  <tromey@cygnus.com>

	* Makefile.in ($(PARSE_H)): Removed target.

Thu Sep 17 01:57:07 1998  Jeffrey A Law  (law@cygnus.com)

	* Makefile.in (JAVA_OBJS): Add memmove.o
	(memmove.o): New target & rules.

Tue Sep 15 23:21:55 1998  Tom Tromey  <tromey@cygnus.com>

	* expr.c (expand_invoke): Don't generate a call to the class init
	code.

Mon Sep 14 10:14:47 1998  Jeffrey A Law  (law@cygnus.com)

	* Makefile.in: Add many missing dependencies.
	* buffer.c, class.c, constants.c, decl.c: Use system.h and toplev.h
	as appropriate.
	* except.c, expr.c, jcf-io.c jcf-parse.c, jcf-write.c: Likewise.
	* jvgenmain.c lang.c mangle.c typeck.c verify.c: Likewise.

Fri Sep 11 14:05:21 1998  Per Bothner  <bothner@cygnus.com>

	* decl.c (complete_start_java_method):  If method is static (and
	not private) call _Jv_InitClass.
	* expr.c (expand_invoke):  Don't call build_class_init.

	* jvspec.c (jvgenmain_spec):  Fix spec for generated .o file.

Thu Sep 10 10:33:31 1998  Jeffrey A Law  (law@cygnus.com)

	* Make-lang.in (GCJ): Define before using.

Wed Sep  9 21:23:10 1998  Jeffrey A Law  (law@cygnus.com)

	* gjavah.c (java_no_argument): Renamed from no_argument to avoid
	losing due to namespace pollution in GNU getopt.h

Wed Sep  9 13:33:39 1998  Tom Tromey  <tromey@cygnus.com>

	* Make-lang.in (java.all.build): Don't mention jvgenmain or gcjh.
	(java.all.cross): Likewise.
	(java.rest.encap): Likewise.

Tue Sep  8 10:34:05 1998  Jeffrey A Law  (law@cygnus.com)

	* gjavah.c (print_class_decls): Fix thinko in arglist
	* jcv-io.c (find_classfile): Similarly.

Mon Sep  7 13:59:49 1998  Jeffrey A Law  (law@cygnus.com)

	* Makefile.in (INCLUDES): Update for recent toplevel gcc changes.

Sat Sep  5 16:08:01 1998  Tom Tromey  <tromey@cygnus.com>

	* Make-lang.in (java.maintainer-clean): Don't remove parse.h.
	(java.mostlyclean): Remove parse.c and parse-scan.c, not parse.h.
	* Makefile.in (PARSE_C): New macro.
	(PARSE_H): Likewise.
	(PARSE_SCAN_C): Likewise.
	($(PARSE_C)): Target renamed from parse.c.
	($(PARSE_SCAN_C)): Target renamed from parse-scan.c.
	(clean): Remove parse-scan.c as well.
	(parse.o): Depend on $(PARSE_C).

Sat Sep  5 08:48:40 1998  Anthony Green  <green@cygnus.com>

	* README, license.terms: Removed.

	* Make-lang.in, Makefile.in, class.c, config-lang.in, constants.c,
	decl.c, except.c, expr.c, gjavah.c, java-except.h, java-tree.h,
	javaop.def, javaop.h, jcf-dump.c, jcf-io.c, jcf-parse.c,
	jcf-reader.c, jcf-write.c, jcf.h, jvgenmain.c, jvspec.c,
	keyword.gperf, keyword.h, lang-options.h, lang-specs.h, lang.c,
	lex.c, lex.h, mangle.c, parse-scan.y, parse.h, parse.y, typeck.c,
	verify.c, zextract.c, zipfile.h: Fixed copyright assignment,
	and Java trademark attribution.

Fri Sep  4 10:42:05 1998  Tom Tromey  <tromey@cygnus.com>

	* Makefile.in: Use gcjh, not gjavah.
	* config-lang.in (stagestuff): Use gcjh, not gjavah.
	* Make-lang.in: Changed gjavah to gcjh everywhere.

Thu Sep  3 18:04:09 1998  Per Bothner  <bothner@cygnus.com>

	* gjavah.c:  Support new -prepend -add -append flags.
	(print_method_info):  Method is not virtual if class is final.	

Thu Sep  3 12:03:53 1998  Alexandre Petit-Bianco  <apbianco@sendai.cygnus.com>

	* jv-scan.c: Fixed copyright assignment.
	* keyword.gperf: Likewise.
	* keyword.h: Likewise.
	* lex.c: Fixed copyright assignment.
	(java_lex): Push unicode back when parsing '<'.
	* lex.h: Fixed copyright assignment.
	* parse-scan.y: Likewise.
	* parse.h: Fixed copyright assignment.
	(build_debugable_stmt, complete_for_loop): New function prototypes.
	* parse.y: Fixed copyright assignment.
	(for_statement:): Call complete_for_loop. Set EXIT_EXPR to be
 	size_zero_node when completing a loop with no exit condition.
	(for_statement_nsi:): Define action.
	(for_init:, for_update:): Return size_zero_node when empty.
	(declare_local_variables): Call build_debugable_stmt.
	(build_debugable_stmt): New function.
	(build_loop_body): Build debugable statement around loop
 	condition part.
	(complete_loop_body): Take into account the debugable statement
	around the EXIT_EXPR.
	(complete_loop_body): New function.
	(patch_exit_expr): Fixed condition inversion.

Wed Sep  2 11:53:58 1998  Tom Tromey  <tromey@cygnus.com>

	* Make-lang.in (jvspec.o): Use GCC_THREAD_FILE to compute correct
	name of thread define.
	* jvspec.c (THREAD_NAME): New macro.
	(GCLIB): Likewise.
	(THREADLIB): Likewise.
	(lang_specific_driver): Recognize attempt to link with thread
	library or gc library.  Recognize -ljava on command line so it
	isn't linked against more than once.

Wed Sep  2 11:28:35 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse-scan.y (report_main_declaration): Name of the class
 	containing `main' can be a qualified name.

Mon Aug 31 13:25:58 1998  Tom Tromey  <tromey@cygnus.com>

	* config-lang.in: Changed gjavac to gjc everywhere.
	* Make-lang.in: Changed gjavac to gjc everywhere.

Thu Aug 27 02:28:27 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* Make-lang.in (JAVA_TARGET_INDEPENDENT_BIN_TOOLS): New variable.
	(java.install-common:): Loop over JAVA_TARGET_INDEPENDENT_BIN_TOOLS
	and install the files.
	* Makefile.in (JAVA_OBJS_LITE): New variable.
	(compiler:): Now include jv-scan as a dependency.
	(../jv-scan$(exeext), parse-scan.c): New targets.
	(../jcf-dump$(exeext)): Was jcf-dump$(exeext) before.
	* config-lang.in (compilers): Removed gcj, gjavah from the list.
	* jcf-parse.c (parse_source_file): Call java_layout_classes and
 	check for errors even if parse_only.
	* lex.c (java_init_lex): Reorganized and skip parts if JC1_LITE is
 	defined.
	(yylex): New function. Uses java_lex body.
	(java_lex): Removed commented out statement. Remove local variable
 	literal. Use SET_LVAL_NODE_TYPE and SET_LVAL_NODE where
 	appropriate.  Use macros FLOAT_TYPE_NODE, DOUBLE_TYPE_NODE,
 	DCONST0, SET_FLOAT_HANDLER, SET_REAL_VALUE_ATOF,
 	SET_LVAL_NODE_TYPE and GET_TYPE_PRECISION. Don't create STRING_CST
 	if JC1_LITE is defined. Use BUILD_ID_WFL to build identifiers. Use
 	SET_MODIFIER_CTX, SET_LVAL_NODE, BUILD_ID_WFL and GET_IDENTIFIER
 	where appropriate.
	(java_lex_error): Empty if JC1_LITE is defined.
	(java_get_line_col): Return 0 if JC1_LITE is defined.
	* lex.h (JAVA_FLOAT_RANGE_ERROR, JAVA_INTEGRAL_RANGE_ERROR,
 	SET_MODIFIER_CTX): Moved into the section containing the macros
 	conditionally defined by JC1_LITE.
	(BUILD_OPERATOR,BUILD_OPERATOR2): Just return the TOKEN
 	argument if JC1_LITE is defined.
	(HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT, REAL_VALUE_ATOF,
 	REAL_VALUE_ISINF, REAL_VALUE_ISNAN): Preset to values if JC1_LITE
 	is defined.
	(DCONST0, SET_FLOAT_HANDLER, GET_IDENTIFIER, SET_REAL_VALUE_ATOF,
 	FLOAT_TYPE, DOUBLE_TYPE, SET_MODIFIER_CTX, GET_TYPE_PRECISION,
 	SET_LVAL_NODE, SET_LVAL_NODE_TYPE, BUILD_ID_WFL): New macros, set
 	to different values according to JC1_LITE.
	* parse.h (int_fits_type_p, stabilize_reference): Prototype not
 	declared if JC1_LITE set.
	(jdep_code, typedef struct _jdep, typedef struct _jdeplist): Not
 	defined if JC1_LITE not set.
	(struct parser_ctx): Reorganized and skip the jc1 front end part
 	if JC1_LITE set.
	(java_layout_classes): New function definition.
	(java_push_parser_context, java_init_lex, yyparse, yylex,
 	yyerror): Prototype always declared. All other static function
 	prototypes declared only if JC1_LITE is not set.
	* parse.y (yyparse, yylex, yyerror): No longer declared here. Now
 	declared in parse.h.
	(java_layout_classes): New function.
 	(java_complete_expand_methods): No longer layout the class here.
	* parse-scan.y: New file.
	* jv-scan.c: New file.

Tue Aug 25 10:17:54 1998  Tom Tromey  <tromey@cygnus.com>

	* gjavah.c (main): Handle -friend option.
	(friend_specs): New global.
	(generate_access): Handle friend_specs.
	(process_file): Likewise.
	(MAX_FRIENDS): New macro.
	(friend_count): New global.
	(print_cxx_classname): Added `prefix' argument.  Ignore arrays.
	Changed all callers.

Mon Aug 24 20:19:27 1998  Per Bothner  <bothner@cygnus.com>

	* jcf-dump.c (process_class):  Move JCF_FINISH use to main,
	(main):  Handle processing all the entries of a named .zip archive.
	* jcf-io.c (jcf_trim_old_input):  New function.
	* jcf.h (GET_u2_le,GET_u4_le,JCF_readu2_le,JCF_readu4_le):  New macros.

Mon Aug 24 07:35:13 1998  Per Bothner  <bothner@cygnus.com>

	* lang.c (flag_assume_compiled):  Make default be on.

Fri Aug 21 17:29:04 1998  Per Bothner  <bothner@cygnus.com>

	* jcf-dump.c:  Add bunches of flags to control output more.
	(process_class):  New function;  support printing more than one class.
	(main): Support new --print-main and --javap flags.
	* jcf-reader.c (IGNORE_ATTRIBUTE):  New hook.
	* jcf.h (CPOOL_INDEX_IN_RANGE):  New macro.

Thu Aug 20 14:24:47 1998  Per Bothner  <bothner@cygnus.com>

	Change mangling of dispatch table to match C++ vtable (w/thunks).
	* class.c (build_dtable_decl), java-tree.h:  New function.
	(make_class_data):  Call it.
	* decl.c (init_decl_processing):  Likewise.

Wed Aug 19 17:57:07 1998  Warren Levy  <warrenl@cygnus.com>

	* decl.c (init_decl_processing): Use _Jv_NewObjectArray, not
 	soft_anewarray; adjust args passed.
	* expr.c (build_anewarray): Adjust args for soft_anewarray_node to
 	match _Jv_NewObjectArray.
	
Wed Aug 19 09:33:23 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* decl.c (push_labeled_block, pop_labeled_block): New functions.
	* expr.c (loopup_label): Call create_label_decl.
	(create_label_decl): New function.
	(java_lang_expand_expr): Call expand_start_bindings with argument
 	set to zero.
	* java-tree.h Added space after PROTO in function declarations
 	when necessary.
	(IS_FOR_LOOP_P, IS_BREAK_STMT_P): New macros.
	(create_label_decl, push_labeled_block): New function
 	declarations.
	* lex.c (label_id): Initialize.
	(SUPER_TK, THIS_TK, RETURN_TK): Merged common actions in final
 	switch.
	* parse.h Added space after PROTO in function declarations when
 	necessary.
	(LOOP_EXPR_BODY_MAIN_BLOCK, LOOP_EXPR_BODY_UPDATE_BLOCK,
 	LOOP_EXPR_BODY_CONDITION_EXPR, LOOP_EXPR_BODY_LABELED_BODY,
 	LOOP_EXPR_BODY_BODY_EXPR, LOOP_HAS_LABEL_P, LOOP_HAS_LABEL_SKIP_P,
 	PUSH_LABELED_BLOCK, POP_LABELED_BLOCK, PUSH_LOOP, POP_LOOP): New
 	macros.
	(struct parser_ctxt): New fields current_loop,
 	current_labeled_block.
	(build_if_else_statement, patch_if_else_statement,
 	add_stmt_to_compound, patch_exit_expr, build_labeled_block,
 	generate_labeled_block, complete_labeled_statement,
 	build_bc_statement, patch_bc_statement, patch_loop_statement,
 	build_new_loop, build_loop_body, complete_loop_body): New function
 	declarations.  
	* parse.y (java_warning_count): New global variable.
	(label_id): New static variable.
	(BREAK_TK, CONTINUE_TK): Token tagged <operator>.
	(block:): Return size_zero_node when block is empty.
	(empty_statement:): Return size_zero_node.
	(statement:): Implement supplemental action when for_statement: is
 	reduced.
	(label_decl:): New rule.
	(labeled_statement:): Rewritten using label_decl. Actions
 	implemented.
	(labeled_statement_nsi:): Likewise.
	(if_then_statement): Actions implemented.
	(while_expression): New rule.
	(while_statement:): Rewritten using while_expression. Actions
 	implemented.
	(while_statement_nsi:): Likewise.
	(do_statement_begin:): New rule.
	(do_statement:): Rewritten using do_statement_begin. Actions
 	implemented.
	(for_statement:): Rewritten using for_begin. Actions implemented.
	(for_statement_nsi:): Likewise.
	(for_header:, for_begin:): New rules.
	(for_init:): Actions implemented.
	(statement_expression_list:, break_statement:,
 	continue_statement:): Likewise.
	(yyerror): Count number of issued warning(s).
	(java_report_errors): Report error(s) and/or warning(s).
	(java_complete_class): Use build_java_argument_signature to
 	recompute completed method signature.
	(java_check_regular_methods): New locals method_wfl and aflags.
  	Use method_wfl instead of lookup_cl during error reports. Fixed
 	indentation and modified some error messages. Use
 	lang_printable_name in method instead of the DECL_NAME. New code
 	to issue warnings on methods not overriding corresponding methods
 	private to a different package.
	(java_method_add_stmt): Call add_stmt_to_compound.
	(add_stmt_to_compound): New function.
	(java_complete_tree): Handle LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR,
 	LOOP_EXPR, EXIT_EXPR and COND_EXPR.
	(build_if_else_statement, patch_if_else_statement,
 	build_labeled_block, generate_labeled_block,
 	complete_labeled_statement, build_new_loop, build_loop_body,
 	complete_loop_body, patch_loop_statement, build_bc_statement,
 	patch_bc_statement, patch_exit_expr): New functions.
	* typeck.c (build_java_signature): Build argument signature before
 	enclosing it in between parenthesis.
	
Mon Aug 17 17:44:24 1998  Warren Levy  <warrenl@cygnus.com>

	* Make-lang.in (JAVA_SRCS): Created for dependencies * Makefile.in
 	(JAVA_OBJS): Added reminder comment

Thu Aug 13 10:01:45 1998  Nick Clifton  <nickc@cygnus.com>

	* gjavah.c (D_NAN_MASK): Append LL to the constant to force it to
	be interpreted as a long long.

Thu Aug 13 14:34:07 1998  Warren Levy  <warrenl@cygnus.com>

	* decl.c (init_decl_processing): Use _Jv_InitClass, not
 	soft_initialise_class.  Use _Jv_NewMultiArray, not
 	soft_multianewarray.  Use _Jv_ThrowBadArrayIndex, not
 	soft_badarrayindex.  Use _Jv_CheckCast, not soft_checkcast.  Use
 	_Jv_CheckArrayStore, not soft_checkarraystore.  Use
 	_Jv_LookupInterfaceMethod, not soft_lookupinterfacemethod.
	
Wed Aug 12 14:23:13 1998  Per Bothner  <bothner@cygnus.com>

	* decl.c, java-tree.h (this_identifier_node, super_identifier_node,
	length_identifier_node):  New global tree node constants.
	* parse.y (kw_super, kw_this, kw_length):  Removed globals.
	Replace uses by super_identifier_node etc.
	* lex.c (kw_super, kw_this, kw_length):  Don't initialize.

	* parse.y (resolve_field_access):  Don't special-case ".length" if
	flag_emit_class_files.
	(patch_array_ref):  Leave as ARRAY_REF if flag_emit_class_files.
	* jcf-write.c (generate_bytecode_insns):  Handle ARRAY_REF opcode
	and ARRAY.length.

Tue Aug 11 11:31:55 1998  Per Bothner  <bothner@cygnus.com>

	* decl.c (init_decl_processing): Remove unused method_type_node fields.
	* class.c (make_method_value):  Remove init for removed fields.

	* class.c (layout_class):  Use build_java_argument_signature.
	* java-tree.h (TYPE_ARGUMENT_SIGNATURE):  New macro.

	* typeck.c (push_java_argument_signature):  Removed.  Merged into ...
	(build_java_argument_signature):  Use TYPE_ARGUMENT_SIGNATURE cache.
	(build_java_signature):  Don't use push_java_argument_signature.

	* typeck.c (lookup_argument_method):  New function.
	* parse.y (java_check_regular_methods):  Use lookup_argument_method
	instead of lookup_java_method2 followed by lookup_java_method.
	
	* parse.y (check_method_redefinition):  Minor optimization.
	
	* jcf-write.c (generate_bytecode_insns):  Handle RETURN_EXPR,
	MINUS_EXPR, MULT_EXPR, TRUNC_DIV_EXPR, and RDIV_EXPR.

Mon Aug 10 09:57:15 1998  Tom Tromey  <tromey@cygnus.com>

	* Make-lang.in (jc1$(exeext)): Don't depend on c-common.o or
	c-pragma.o.

	* gjavah.c (java_float_finite): Use K&R-style definition.
	(java_double_finite): Likewise.
	(generate_access): Now returns void.  Changed all callers.
	(last_access_generated): Removed.
	(process_file): Only make a single pass over the .class file.

Wed Jul 29 17:50:23 1998  Per Bothner  <bothner@cygnus.com>

	* class.c (get_dispatch_table):  Add extra dummy vtable entry,
	for compatibility for G++ (with -fvtable-thunks).
	* expr.c (build_invokevirtual):  Add one for extra dummy vtable entry.

	* gjavah.c (process_file):  Use public inheritance for super-class.

Wed Jul 29 13:19:03 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* lex.c (java_init_lex): Initialize ctxp->package.
	* parse.h (struct parser_ctxt): package and package_len replaced
 	by tree package, an identifier node. Field method_decl_list is
 	gone. Fixed comments.
	(lookup_field_wrapper, merge_qualified_name, not_accessible,
 	class_in_current_package): New function prototypes.
	* parse.y (array_type:): Set class loaded flag on primitive type
 	arrays.
	(package_declaration:): Assign ctxp->package to the
 	identifier node.
	(method_invocation:): Handle invocation of method qualified by
 	`super'.
	(single_type_import_declaration:): Removed ambiguity check.
	(java_pop_parser_context): New local variable `next'. Reset and
 	set IMPORT_CLASSFILE_NAME flags on current and previous import
 	list.
	(java_accstring_lookup): Use new local macro COPY_RETURN.
	(lookup_field_wrapper): New function.
	(parser_qualified_classname): Use merge_qualified_name.
	(parser_check_super_interface): Broaden error message.
	(do_resolve_class): Check for qualified class name in the current
 	compilation unit if appropriate.
	(process_imports): Check for already defined classes.
	(check_pkg_class_access): Got rid of call to
 	get_access_flags_from_decl.
	(java_complete_expand_methods): Call safe_layout_class based on
 	the current class size.
	(make_qualified_primary): Build a WFL qualification on primary if
 	none exists.
	(merge_qualified_name): New function.
	(make_qualified_name): Use merge_qualified_name.
	(resolve_expression_name): Use safe_lookup_field.
	(resolve_field_access): Got rid of call to get_access_flags_from_decl.
	(resolve_qualified_expression_name): Likewise. Check on resolved
 	element accessibility.
	(not_accessible_p, class_in_current_package): New functions.
	(maybe_access_field): Got rid of call to get_access_flags_from_decl.
	(patch_method_invocation_stmt): Merged common pieces. Check
 	accessibility of invoked method.
	(check_for_static_method_reference): Add returned type in error
 	message.
	(invocation_mode): Get rid of bogus check on PRIVATE methods.
	(refine_accessible_methods_list): Merged two conditions in test.
	(java_complete_class): Sanity check on stabilize_ref gone.
	* zextract.c (read_zip_archive): Cast lseek second argument to long.
	
Tue Jul 28 21:39:22 1998  Per Bothner  <bothner@cygnus.com>

	* class.c (hashUtf8String):  Fix - use new JavaSoft specification.

Fri Jul 24 10:43:25 1998  Tom Tromey  <tromey@cygnus.com>

	* gjavah.c (F_NAN): Removed.
	(F_NAN_MASK): New macro.
	(F_POSITIVE_INFINITY): Removed.
	(F_NEGATIVE_INFINITY): Likewise.
	(java_float_finite): Rewrote.
	(D_NAN_MASK): Renamed.
	(java_double_finite): Rewrote.
	(D_POSITIVE_INFINITY): Removed.
	(D_NEGATIVE_INFINITY): Likewise.

	* jcf-dump.c (print_constant): [CONSTANT_Double, CONSTANT_Float]
	If verbose, print underlying representation of value in hex.

Fri Jul 24 14:14:32 1998  Per Bothner  <bothner@cygnus.com>

	* buffer.h, buffer.c:  New files.
	* Makefile.in (JAVA_OBJS):  Add buffer.o.

	Support locals variables and writing their debug entries to .class.
	* jcf-write.c:  Simplify some by user new buffer type.
	(vode_buffer_grow):  Removed.
	(struct localvar_info):  New type.
	(localsvars, localvartable):  New buffers.
	(localvar_alloc, localvar_free):  New functions.
	(generate_bytecode_insns):  Handle local variables.
	(generate_classfile):  Write LocalVariableTable attribute.

Fri Jul 24 13:46:59 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* jcf-io.c (open_in_zip): Check the zipfile magic number.
	* zipfile.h (ZIPMAGIC): New macro.

Fri Jul 24 10:43:25 1998  Tom Tromey  <tromey@cygnus.com>

	* Makefile.in (gjavah.o): Updated dependencies.
	(jcf-dump.o): Likewise.
	(all.indirect): Use ../gjavah.
	(../gjavah$(exeext)): Likewise.
	(clean): Don't remove gjavah.
	(clean): Remove parse.c, not java/parse.c.
	* Make-lang.in (java): Added gjavah.
	(gjavah$(exeext)): New target.
	(GJAVAH_SOURCES): New macro.
	(java.all.build): Added gjavah.
	(java.all.cross): Likewise.
	(java.rest.encap): Likewise.
	* config-lang.in (compilers, stagestuff): Added gjavah.

Thu Jul 23 18:33:56 1998  Tom Tromey  <tromey@cygnus.com>

	* gjavah.c (java_float_finite): New function.
	(java_double_finite): Likewise.
	(F_POSITIVE_INFINITY): New macro.
	(F_NEGATIVE_INFINITY): Likewise.
	(F_NAN): Likewise.
	(D_POSITIVE_INFINITY): Likewise.
	(D_NEGATIVE_INFINITY): Likewise.
	(D_NAN): Likewise.
	(print_field_info): Use java_float_finite and java_double_finite.

Thu Jul 23 15:28:24 1998  Per Bothner  <bothner@cygnus.com>

	* parse.y (method_header):  Name "this" implicit argument.

Wed Jul 22 15:47:30 1998  Per Bothner  <bothner@cygnus.com>

	* jcf-write.c:  Write out LineNumberTable attribute in .class file.
 	(linenumber_buffer, linenumber_ptr, linenumber_limit):  New statics.
	(put_linenumber):  New function.
	(generate_bytecode_insns, generate_classfile):  Write line numbers.

Wed Jul 22 14:39:00 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* java-tree.h (CALL_EXPR_FROM_PRIMARY_P): Changed in PRIMARY_P.
	(lookup_name, build_known_method_ref, build_class_init,
 	build_invokevirtual, invoke_build_dtable, match_java_method,
 	build_field_ref, pushdecl_force_head, build_java_binop,
 	binary_numeric_promotion, build_decl_no_layout,
 	build_java_arrayaccess, build_newarray, build_anewarray,
 	build_java_array_length_access, build_java_arraynull_check): New
 	extern function prototypes.
	(JAVA_UNARY_PLUS_EXPR, JAVA_NEW_ARRAY_EXPR, JAVA_NEW_CLASS_EXPR,
 	JAVA_THIS_EXPR, CALL_CONSTRUCTOR_P): Macro definition moved in
 	java-tree.h.
	* jcf-parse.c (init_outgoing_cpool): Set current_constant_pool_data_ref
	to NULL 
	* jcf.h (jcf_out_of_synch): New extern function prototype.
	* parse.h: Static/global function implemented in parse.y
 	prototyped and declarations moved at the end of the file.
	(DECL_P): Check that the argument isn't null.
	(JAVA_UNARY_PLUS_EXPR, JAVA_NEW_ARRAY_EXPR, JAVA_NEW_CLASS_EXPR,
 	JAVA_THIS_EXPR): No longer defined here. See java-tree.h
	(QUAL_DECL_TYPE): New macro.
	(PARAMS): Macro definition removed.
	* parse.y: (yyparse, yyerror): Use PROTO instead of PARAMS.
	(return_statement:): Call build_return.
	(field_access:): Call make_qualified_primary in sub rule.
	(method_invocation:): Build method invocation and call
 	make_qualified_primary when processing primaries.
	(java_complete_class): Set IDENTIFIER_SIGNATURE_TYPE by calling
 	get_type_from_signature.
	(java_check_regular_method): Extra integer 0 argument when calling
 	lookup_java_method2.
	(lookup_java_interface_method2): Extra method DECL argument when
 	calling lookup_java_interface_method2.
	(java_method_add_stmt): Set TREE_SIDE_EFFECTS on newly created
 	COMPOUND_EXPR node.
	(java_complete_expand_method): Layout current class iff not
 	already done. Don't process interface's methods.
	(java_complete_expand_method): Use super class only if it
 	exists. Use current class otherwise.
	(make_qualified_primary): New function.
	(resolve_expression_name): Process qualified expression or
 	expression from primary the same way.
	(resolve_expression_name): Two last arguments to
 	resolve_field_access are now NULL_TREEs.
	(resolve_field_access): New variable is_static. Local field must
 	be DECLs. is_static computed on field DECLs only. Append code in
 	where_found to the field access if necessary. Use QUAL_DECL_TYPE
 	to initialize field_type.
	(resolve_qualified_expression_name): New local variable,
 	previous_call_static and is_static. Handle primaries with function
 	calls, casts, array references and `this'. `super' now handled as
 	`(super_class)this'. Use is_static to clarify boolean expressions.
  	Added code to handle case where a proper handle is required to
 	access a field. Use QUAL_DECL_TYPE where applicable.
	(maybe_access_field): New function.
	(patch_method_invocation_stmt): New arguments primary, where,
 	is_static. Branch of the test on CALL_EXPR_FROM_PRIMARY_P
 	deleted. Use `where' as a type to search from if specified. Check
 	for static method reference where forbidden. Append primary or
 	current_this to the argument list if not calling constructor nor
 	static methods.
	(check_for_static_method_reference): New function.
	(patch_invoke): Layout the class on which new is done if
 	necessary.
	(lookup_method_invoke): Changed format to report errors on
 	methods.
	(qualify_ambiguous_name): New local variable this_found. Now
 	handle things from primaries. Method call are considered
 	expression names.
	(identical_subpath_p): NULL_TREE arguments to breakdown_qualified
 	changed into NULLs.
	(not_initialized_as_it_should_p): Comply with the new DECL_P.
	(java_complete_tree): New case fo RETURN_EXPR. Process function
 	call arguments in separate function. 
	(complete_function_arguments): New function.
	(build_method_invocation): Don't use CALL_EXPR_FROM_PRIMARY_P
 	anymore.
	(patch_assignment): Take the return function slot into account as
 	a RHS. Distinguish assignment from a return.
	(valid_ref_assignconv_cast_p): Use build_java_argument_signature
 	when checking methods in interfaces.
	(resolve_type_during_patch): NULL argument to unresolve_type_p
 	instead of NULL_TREE.
	(patch_newarray): Fixed typo in comment.
	(buid_this): Build a WFL with `kw_this' instead of a FIELD_DECL.
	(build_return, patch_return): New functions.
	* typeck.c (lookup_java_constructor): Fixed typo in comment.
	
Tue Jul 21 12:10:04 1998  Per Bothner  <bothner@cygnus.com>

	* constants.c (find_name_and_type_constant, find_fieldref_index,
	find_methodref_index):  New methods.
	* expr.c (build_invoke_non_interface):  If flag_emit_class_files,
	just return given method.  Also, rename to build_known_method_ref.
	(expand_invoke):  Rename call to build_invoke_non_interface.
	* java-tree.h, parse.h:  Update prototype.
	* parse.y, decl.c, jcf-parse.c:  Suppress calls to back-end functions
 	(such as expand_expr_stmt) if flag_emit_class_files.
	* jcf-write.c (RESERVE, OP1, OP2, OP4, NOTE_PUSH, NOTE_POP,
	STACK_TARGET, IGNORE_TARGET):  New macros.
 	(code_buffer, code_ptr, code_limit, code_S, code_SP_max):  New globals.
	(generate_bytecode_insn):  New function to generate method's bytecode.
	(generate_classfile):  Node generate Code attribute for a method.
	(code_buffer_grow, push_constant1, push_constant2, push_int_const,
	push_long_const, field_op, adjust_typed_op, maybe_wide):
	New functions used by generate_bytecode_insn.
	
	* typeck.c (signature_include_return):  Remove variable.
	(push_java_argument_signature, build_java_argument_signature):  New.
	(build_java_signature):  Use push_java_argument_signature.
	* parse.y:  Use build_java_argument_signature instead of fiddling
	with signature_include_return.

Fri Jul 17 09:48:51 1998  Tom Tromey  <tromey@cygnus.com>

	* gjavah.c (print_c_decl): Always generate JArray<>* for array
	types.

	* Makefile.in (all.indirect): Added gjavah$(exeext).
	(gjavah$(exeext)): Added $(exeext).
	(clean): Likewise.

Thu Jul 16 15:29:20 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (layout_class): Call to java_layout_parsed_class replace
 	by safe_layout_class.
	* expr.c (build_java_array_length_access): Removed static storage
 	class in the function definition.
	(build_java_arraynull_check): Likewise.  
	Also fixed typos in two comments.
	* lex.c (java_init_lex): Initialize static global kw_length.
	(java_lex): Use BUILD_OPERATOR on RETURN_TK.
	* lex.h (JAVA_FLOAT_RANGE_ERROR): Add extra argument to
 	java_lex_error.
	(JAVA_INTEGRAL_RANGE_ERROR): Likewise.
	* parse.h (resolve_no_layout): New static function declaration.
	(get_identifier_in_static): Declaration removed.
	(java_layout_parsed_class): Function name declaration changed to
 	safe_layout_class.
	(build_newarray_node, patch_newarray, resolve_type_during_patch,
 	not_initialized_as_it_should_p, build_this): New static function
 	declarations.
	(pushdecl_force_head, build_java_binop, int_fits_type_p,
 	binary_numeric_promotion, stabilize_reference,
 	build_decl_no_layout, build_java_arrayaccess): Extern function
 	declarations moved into their own section.
	(build_newarray, build_anewarray, build_java_array_length_access,
 	build_java_arraynull_check): New extern function declarations.
	(UNARY_PLUS_EXPR): Macro renamed into JAVA_UNARY_PLUS_EXPR.
	(JAVA_NEW_ARRAY_EXPR, JAVA_NEW_CLASS_EXPR, JAVA_THIS_EXPR): New
 	fake tree codes.
	(CALL_CONSTRUCTOR_P): New macro.
	* parse.y (kw_length): New static global tree node.
	(return_statement): Tagged <node>.
	(RETURN_TK): Tagged <operator>.
	(variable_declarator_id:): Build variable declaration with an
 	empty initialization value if a syntax error was found in the
 	initialization part of the variable declaration.
	(statement_without_trailing_substatement:): return_statement: now
 	uses the default rule.
	(return_statement:): Temporarily fixed to return NULL_TREE.
	(primary_no_new_array:): Call build_this when THIS_TK was parsed.
	(class_instance_creation_expression:): Class creation rules now
 	call build_method_invocation upon reduction.
	(array_creation_expression:): Rules call build_newarray_node upon
 	reduction.
	(dim_exprs:): Build a list of dimension expressions.
	(dim_expr:): Store location of the OSB_TK in the dimension
 	expression node.
	(method_invocation:): Added a new error rule.
	(build_unresolved_array_type): WFL argument may also be an array
 	on a primitive type. Name of the argument changed to reflect this.
	(method_declarator): Insert argument type at the beginning of the
 	argument type list and later reverse the list.
	(unresolved_type_p): Argument 'returned' may be optionally
 	NULL_TREE.
	(java_layout_class_from_source): Function renamed
 	safe_layout_class.
	(resolve_and_layout): Now call resolve_no_layout and
 	safe_layout_class.
	(resolve_no_layout): New function.
	(purify_type_name): New function.
	(complete_class_report_errors): Call purify_type_name during error
 	report on a type not found.
	(process_imports): error_found local variable doesn't need to be
 	initialized to zero.
	(declare_local_variables): New local type_wfl. Fixed typo in error
 	message. type_wfl assigned to unresolved type and used to register
 	incomplete type. Build a WFL around the variable initialization
 	statement so that debug info can be generated on it.
	(source_start_java_method): Reverse argument list after they've
 	been processed.
	(current_this): New static global variable.
	(java_complete_expand_methods): Set current_this when appropriate.
	(resolve_expression_name): Build correct static and non static
 	field access bearing a simple name.
	(resolve_field_access): Resolve the length field of arrays. Handle
 	f.m() cases.
	(patch_method_invocation_stmt): Set the type of the method
 	invocation to error_mark_node. This value is later overridden by a
 	valid type, if any. Don't handle qualified constructor invocation
 	as qualified method invocation. Call lookup_method_invoke with its
 	new flag. It's no longer necessary to access the selected method
 	as the value of a tree list. Handle constructor invocation.
	(patch_invoke): Reverse argument list when invoking non interface
 	methods. Insert call to new as the first argument of the
 	constructor.
	(invocation_mode): Return a INVOKE_STATIC is the invoked method is
 	defined within a final class. Return INVOKE_STATIC if the invoked
 	method is a constructor.
	(lookup_method_invoke): New lc argument is a flag to indicate a
 	constructor lookup. Now handle constructor lookup. Choose the most
 	specific method in case several were matching the invocation
 	requirements. Return a method decl instead of a tree list featuring
 	one single method decl element.
	(refine_accessible_methods_list): New lc flag argument to
 	indicate that a constructor is being looked up.
	(not_initialized_as_it_should_p): New function.
	(java_complete_tree): Now process fake tree codes
 	JAVA_NEW_ARRAY_EXPR, JAVA_NEW_CLASS_EXPR and JAVA_THIS_EXPR. Call
 	save_expr on resolved function call arguments. Case on
 	UNARY_PLUS_EXPR changed into a case on JAVA_UNARY_PLUS_EXPR.
	(patch_assignment): LHS can be a field access expression. When
 	dealing with reference, lhs_type is the promoted type of the
 	rhs_type, not the RHS. Use not_initialized_as_it_should_p where
 	applicable.
	(operator_string): JAVA_UNARY_PLUS_EXPR replaces UNARY_PLUS_EXPR.
	(patch_binop): Use not_initialized_as_it_should_p where
 	applicable.
	(build_unaryop): JAVA_UNARY_PLUS_EXPR replaces UNARY_PLUS_EXPR.
	(patch_unaryop): Likewise. And use not_initialized_as_it_should_p
 	where applicable.
	(resolve_type_during_patch): New function.
	(patch_cast): Call resolve_type_during_patch to resolve type and
 	report error accordingly.
	(patch_array_ref): Use not_initialized_as_it_should_p where
 	applicable. Array base expression is saved before being
 	used. Promote the type of an array elements if it contains non
 	builtin types.
	(build_newarray_node, patch_newarray, build_this): New functions.

Thu Jul 16 10:46:47 1998  Tom Tromey  <tromey@cygnus.com>

	* gjavah.c (print_c_decl): UTF8_GET increments pointer; don't
	increment it in `for' statement.
	(print_field_info): If number is inf or nan, don't print it.
	(print_method_info): If method name is `delete', just ignore it.
	(print_c_decl): Special-case jstringArray.

	* gjavah.c (help): New function.
	(no_argument): New function.
	(usage): Changed text.
	(main): Rewrote argument handling.  Now handles -v, --help,
	--version.
	(version): New function.
	(found_error): New global.
	(main): Return found_error.
	(generate_access): Set found_error.
	(print_c_decl): Likewise.

Wed Jul 15 10:36:27 1998  Tom Tromey  <tromey@cygnus.com>

	* gjavah.c (print_c_decl): Don't print "," when examining field.
	Skip type name when looking at "[L" types.
	(process_file): Now static.
	(generate_access): Now returns int.
	(last_access_generated): New global.
	(process_file): Clear last_access_generated; make multiple passes
	over the class.
	(print_field_info): Just return if generate_access returns true.
	(print_method_info): Likewise.  Also, allow <init> functions to
	pass through.
	(print_c_decl): Added is_init argument.  Print constructors
	properly.
	(print_cxx_classname): Use UTF8_GET to extract characters from
	string.
	(print_base_classname): New function.
	(print_class_decls): New function.
	(process_file): Use it.
	(utf8_cmp): New function.

Mon Jul 13 14:21:47 1998  Nick Clifton  <nickc@cygnus.com>

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

1998-07-10  Brendan Kehoe  <brendan@cygnus.com>

	* decl.c (init_decl_processing): Revert change to dtable_type.

Thu Jul  9 18:22:12 1998  Per Bothner  <bothner@cygnus.com>

	* java-tree.h (CLASS_P):  Changed DECL_LANG_FLAG_7 -> TYPE_LANG_FLAG_4.

1998-07-08  Brendan Kehoe  <brendan@cygnus.com>

	* decl.c (init_decl_processing): Set CLASS_LOADED_P on dtable_type.

	* lang.c (lang_init): Default flag_exceptions to 1, without
	checking to see if it's 2 first.

Wed Jul  8 03:01:32 1998  Jeffrey A Law  (law@cygnus.com)

	* constants.c: Include "system.h".
	* decl.c: Likewise.
	* lang.c (flag_new_exceptions): Get via extern now.
	(lang_init_options): New functions.  Turn on flag_new_exceptions.
	
Tue Jul  7 12:56:48 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* lex.c (java_lex): Return 0 when we see an invalid character in
 	the input.

	* lex.c (java_read_char): Specify extra argument when calling
 	java_lex_error.
	(java_read_unicode, java_parse_end_comment,
 	java_parse_escape_sequence): Likewise,
	(java_lex): Specify extra argument when calling
 	java_lex_error. Test that IDs are beginning with a legal character
 	for IDs. Handle invalid characters with an error message and a
 	call to java_lex_error.
	(java_lex_error): Adjust column position by new argument
 	`forward'. Issue an error even if in the middle of reporting an
 	other error.

1998-07-07  Brendan Kehoe  <brendan@cygnus.com>

	* jcf-io.c (find_class): Zero out BUFFER before we use it, since
	we don't explicitly put a null pointer when we're copying it.

Tue Jul  7 09:38:38 1998  Tom Tromey  <tromey@cygnus.com>

	* gjavah.c (print_cxx_classname): New function.
	(super_class_name): Likewise.
	(print_super_fields): Removed.
	(in_super): Removed.
	(print_field_info): Never generate #defines.
	(print_c_decl): Changed generated types to match JNI.  No longer
	print class name before method name.
	(print_method_info): Print "static" before static methods.
	Print "virtual" before non-final methods.
	(usage): Use exit(1), not exit(-1).
	(main): Likewise.
	(print_field_info): Use %.17g to print a double.
	(last_access): New globals.
	(process_file): Initialize last_access.
	(usage): Now static.
	(ACC_VISIBILITY): New define.
	(generate_access): New function.
	(print_field_info): Call it.
	(print_method_info): Likewise.  Also, generate information for all
	methods, not just native methods.  Return void.
	(print_c_decl): Return void.
	(print_field_info): Return void.

Thu Jul  2 16:53:16 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* Makefile.in (JAVABISONFLAGS): Specific flag for bison when
 	processing the jc1 grammar file. Prefix bison functions and
 	variables with java_.
	(parse.c): Dependencies on parse.h and lex.h
	* expr.c (build_java_arrayaccess): Function now global.
	* java-tree.h: Comment reorganized to carry on previous
 	classification effort.
	(RESOLVE_EXPRESSION_NAME_P, RESOLVE_PACKAGE_NAME_P,
 	RESOLVE_TYPE_NAME_P): New flags on WFLs.
	* jcf-parse.c (parse_source_file): java_parse_source_file renamed
 	java_parse (new prefix java_ generated by bison).
	(java_layout_parsed_class, java_register_parsed_class): Function
 	call removed.
	(yyparse): Removed unnecessary call to init_outgoing_cpool.
	* lex.c (static tree wfl_op): Variable deleted.
	(java_init_lex): Initialize kw_super and kw_this. Initialize more
 	ctxp fields to NULL_TREE.
	(java_lex): No longer create WFL for operators. Filename caching
 	mechanism deleted. Call BUILD_OPERATOR for `.', '(', '['. Strings
 	created as STRING_CST and later expanded. Removed extra argument
 	to BUILD_OPERATOR and BUILD_OPERATOR2. Build operators for THIS
 	and SUPER.
	(build_wfl_node): Removed code in comments.
	* lex.h (BUILD_OPERATOR, BUILD_OPERATOR2): No longer build a WFL but
 	store token and location data in the current bison token.
	* parse.h: Removed pre-processor based symbol prefixes hack. Moved
 	static/extern function declaration at the beginning of the file.
	(struct qualification): Data structure definition deleted.
	(RESOLVE_CHAIN_REMAINDER): Macro definition deleted.
	(qualify_ambiguous_name): Function declaration modified. Function
 	now returns nothing.
	(build_array_ref, patch_array_ref, make_qualified_name,
 	resolve_qualified_expression_name, maybe_generate_clinit,
 	resolve_field_access): New static function declarations.
	(build_java_arrayaccess): New extern function declaration.
	(enum { RESOLVE_EXPRESION_NAME...}): Enum deleted.
	(CALL_EXPR_PRIMARY): Macro deleted.
	(EXPR_WFL_QUALIFICATION, QUAL_WFL, QUAL_RESOLUTION): New macros.
	(struct parser_ctxt): Field initialized_final
 	removed. non_static_initialized, static_initialized: New fields.
	* parse.y (static tree kw_super, static tree kw_this): New global
 	static.
	(%union): tree wfl field of operator member replaced by int
 	location. WFLs are non longer created for operators.
	(OSB_TK, DOT_TK, THIS_TK, SUPER_TK): Tagged <operator>.
	(qualified_name:): Now calls make_qualified_name to build the
 	identifier.
	(type_declaration:): Consider generating <clinit> when class
 	parsing completed.
	(variable_declarator:): Directly build an assignment node when the
 	variable is initialized when declared.
	(this_or_super:): Build a WFL and set current location when THIS
 	or SUPER are parsed.
	(expression_statement:): Wrap statement around a WFL.
	(primary_no_new_array:): Fixed typo. Changed value returned by
 	THIS_TK because of its new type (temporary).
	(dim_exprs:): Temporary fix because of OSB_TK's new type.
	(field_access:): Build qualified name with SUPER.
	(method_invocation:): Fixed returned value because of SUPER's new
 	type.
	(array_access:): Use OSB_TK location information.
	(post_increment_expression:, post_decrement_expression:,
 	unary_expression:, pre_increment_expression:,
 	pre_decrement_expression:, unary_expression_not_plus_minus:,
 	cast_expression:, multiplicative_expression:,
 	additive_expression:, shift_expression:, relational_expression:,
 	equality_expression:, and_expression:, exclusive_or_expression:,
 	inclusive_or_expression:, conditional_and_expression:,
 	conditional_or_expression:, assignment:): Use new location/token
 	information available on operators.
	(create_class): Set super_decl_type to NULL_TREE when processing
 	java.lang.Object.
	(register_fields): Field initialization is now a MODIFY_EXPR
 	node. Chain initialization code to the matching lists (according
 	the the field declaration modifiers).
	(maybe_generate_clinit): New function.
	(method_header): Don't set method's DECL_NAME to a WFL when adding
 	methods to java.lang.Object.
	(resolve_and_layout): Now can return NULL_TREE if the type
 	resolution fails. Otherwise, return the class DECL instead of its
 	TYPE.
	(check_method_redefinition): Don't patch method DECL_NAME if it
 	belongs to java.lang.Object.
	(process_imports): Simply assign error_found to the value returned
 	by check_pkg_class_access.
	(declare_local_variables): Don't use their init statements (if
 	any) when parsing error were previously found. Reuse MODIFY_EXPR
 	build during parsing as an init statement.
	(java_method_add_stmt): Now return the current method body.
	(java_layout_parsed_class, java_register_parsed_class): Functions
 	removed.
	(java_complete_expand_methods): Initialize the constant pool on a
 	per class basis. Layout the classes before expanding their method
 	bodies. Don't try expand artificial constructor code if error were
 	found. Make the classes data and register them if no error were
 	found.
	(java_complete_expand_method): Retrieve an artificial constructor
 	argument list before entering its body. Assign the top block to
 	the artificial constructor function body and set types of declared
 	blocks and compound statements to void. Walk method body if not an
 	artificial constructor.
	(make_qualified_name, cut_identifier_in_qualified): New functions.
	(resolve_expression_name): Fixed comments. Save/restore the
 	current class CLASS_LOADED_P flag value. Build non qualified
 	static field access and handle qualified expression names.
	(resolve_field_access, resolve_qualified_expression_name): New
 	functions.
	(patch_method_invocation_stmt): Use the new expression resolution
 	scheme, calling resolve_field_access when the function call is
 	resolved as an expression.
	(qualify_ambiguous_name): Function rewritten to work on qualified
 	expression produced by make_qualified_name.
	(java_complete_tree): Promote type when function's argument are
 	RECORD_TYPEs. While processing the MODIFY_EXPR case: don't patch
 	the assignment to discover further errors if RHS is a expression
 	name that fails to evaluate. Declare LHS initialized even though
 	the assignment failed. Don't use the location variable and removed
 	extra argument in patch function calls. Now handle the ARRAY_REF
 	case and build internal string representation when STRING_CSTs are
 	walked.
	(build_method_invocation): Don't wrap function call around a WFL.
	(build_assignment): Likewise. Use the operator location
 	information.
	(patch_assignment): Handle array access LHSs. Handle error
 	provenance, resulting in a better error report.
	(build_binop): Use op_location from operator as binop location
 	information.
	(build_unaryop, build_incdec, build_cast): Likewise.
	(patch_binop): Extract location information from the node. Fixed
 	typo in error message.
	(patch_unary_op): Extract location information from the node.
	(build_array_ref, patch_array_ref): New functions.
	
Wed Jul  1 13:11:36 1998  Tom Tromey  <tromey@cygnus.com>

	* expr.c (expand_java_INSTANCEOF): Changed calling convention to
	match _Jv_IsInstanceOf.
	* decl.c (init_decl_processing): Use _Jv_NewArray, not
	soft_newarray.  Use _Jv_IsInstanceOf, not soft_instanceof.

Tue Jun 30 14:12:54 1998  Tom Tromey  <tromey@cygnus.com>

	* decl.c (init_decl_processing): Functions are now named
	_Jv_MonitorEnter and _Jv_MonitorExit, and return jint.

Mon Jun 29 14:47:10 1998  Per Bothner  <bothner@cygnus.com>

	* java-tree.h (load_class):  Add prototype.
 	* class.c (is_compiled_class):  Add missing arg to load_class.
	* expr.c (expand_java_NEW):  Call load_class.
	* parse.y (process_import):  Removed bogus use of void return value.

Thu Jun 25 11:50:48 1998  Per Bothner  <bothner@cygnus.com>

	* decl.c, java-tree.h (soft_athrow_node):  Renamed to soft_node.
	Function name is "_Jv_Throw" instead of "soft_athrow".
	* decl.c, java-tree.h (soft_new_node):  Renamed to alloc_object_node.
	Function name is "_Jv_AllocObject" instead of "soft_new".
	Takes an extra parameter (object size).
	* expr.c:  Update calls.

Wed Jun 24 13:59:02 1998  Per Bothner  <bothner@cygnus.com>

	* lex.c (java_get_line_col):  Handle end-of-file.
	* except.c (expand_end_java_handler):  Handle null type (i.e. finally).

Wed Jun 24 09:22:34 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>

	* lang.c (lang_init): Make -fexceptions the default.
	* except.c (maybe_start_try, maybe_end_try): Don't do anything if
	exception handling is not turned on.

Tue Jun 23 10:17:09 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>

	* lang.c (flag_new_exceptions): Make this this default.
	* decl.c (end_java_method): Call emit_handlers.
	* except.c (method_init_exceptions): Set language code and version.
	(expand_start_java_handler): Enable exception, and call 
	expand_eh_region_start.
	(expand_end_java_handler): Enable exception, and set up catch blocks.
	(emit_handlers): New routine to generate the saved handlers.
	* java-except.h (emit_handlers): Add prototype.

Fri Jun 12 11:31:24 1998  Per Bothner  <bothner@cygnus.com>

	We used to have three different representations of the constant pool:
	the CPool structure, the tree_constant_pool, and the constructures
	used to build the Class object (which may need class and string
	constants) in compiled code.  None were appropriate for compiling
	to .class files, so I did a major overhaul.

	First, the tree_constant_pool array was removed.  Things were
	modified to the CPool structure in the JCF could be used.
	Second, a "capacity" field was added to the CPool, and functions
	written to search for a matching constant, adding one if not found.
	The code that generated the Class object was changed to use a CPool.
	The actual TREE_LISTs used to build the CONSTRUCTORs used for
	the static Class object are now only in build_constants_constructor.
	Finally, I wrote code which can generate a .class file (including its
	constant pool) from the RECORD_TYPE of a class.  This is a big step
	on the way to compiling Java source into .class files.
	
	* jcf-write.c:  New file. Writes out a RECORD_TYPE as a .class file.
	* Makefile.in (JAVA_OBJS):  Added jcf-write.o.

	* java-tree.h (CPOOL_UTF, CONSTANT_ResolvedFlag,
	CONSTANT_ResolvedString, CONSTANT_ResolvedClass):  New macros.
	(NAME_AND_TYPE_NAME, NAME_AND_TYPE_SIGNATURE, COMPONENT_REF_NAME,
	COMPONENT_REF_NAME_AND_TYPE, COMPONENT_REF_SIGNATURE): Redefined.
	(COMPONENT_REF_CLASS):  Replaced by COMPONENT_REF_CLASS_INDEX.
	(lang_type):  Removed constant_pool field.
	* jcf.h (CPool):  Renamed size to count.  Added field capacity.
	(CPOO_COUNT, CPOOL_UINT, CPOOL_USHORT1, CPOOL_USHORT2,
	CPOOL_FINISH, CPOOL_INIT, CPOOL_REINIT):  New macros.
	Rewrite some of the old JCF_XXX in terms of CPOOL_XXX macros.

	* constants.c (current_constant_pool_tags, current_constant_pool_data,
	current_constant_pool_length), java-tree.h: Replaced by outgoing_cpool.
	* constants.c (build_constants_constructor):  Use new outgoing_cpool.
	(set_constant_entry, find_constant1, find_constant2,
	find_class_constant, count_constant_pool_bytes, write_constant_pool,
	find_utf8_constant, find_class_or_string_constant):  New functions.
	
	* jcf-parse.c (load_class):  Don't save/restore tree-constant_pool.
 	(get_constant):  Use current_jcf.cpool instead of tree_constant_pool.
	(give_name_to_class, get_class_constant):  Likewise.
	* jcf-parse.c, java-tree.h (tree_constant_pool):  Removed.
 	(get_name_and_type_constant, get_ref_constant):  Removed.
	* parse.h (parser_ctxt):  Remove field tree_constant_pool.
	* parse.y:  Don't save/restore tree_constant_pool.
	* verify.c (verify_jvm_instructions):  Update for new approach.
	* expr.c (expand_invoke, expand_java_field_op): Likewise.

	* lang-options.h:  Added -femit-class-file, -femit-class-files.
	* lang.c (flag_emit_class_files), java-tree.h:  New flag.
	(lang_f_options):  Added "emit-class-file(s)".

	* expr.c (build_java_arrayaccess):  Generate more efficient array
	bounds checking, by using unsigned compare.

	* expr.c (expand_invoke):  Re-arrange error checks to make more robust.

Wed Jun 10 17:34:42 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.h: New comment on the handling of unresolved type
 	identifiers. JDEPs are now part of the jdep_code enum.
	(typedef struct jdep): Now use enum jdep_code or int, depending on
 	availability. Both are narrowed down to an 8 bits bitfield.
	(CALL_EXPR_PRIMARY): Fixed comment.

Wed Jun 10 10:54:39 1998  Tom Tromey  <tromey@cygnus.com>

	* Make-lang.in (java): Added gjavac and jvgenmain.
	(java.start.encap): Depend on gjavac.
	(java.rest.encap): Depend on jvgenmain.

	* Make-lang.in (JAVA_INSTALL_NAME): Name is gjavac, not c++.
	(JAVA_CROSS_NAME): Likewise.
	(java.all.build): Depend on jvgenmain and gjavac.
	(java.all.cross): Depend on jvgenmain and gjavac-cross.
	(jvgenmain$(exeext)): New target.
	(java.install-common): Wrote.
	* config-lang.in (compilers, stagestuff): Added gjavac and
	jvgenmain.

Wed Jun 10 12:19:04 1998  Dave Brolley  <brolley@cygnus.com>

	* lang.c (lang_decode_option): New argc/argv interface.

Tue Jun  9 18:12:46 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* ChangeLog: Fixed entries not compliant with the Gnu Coding Standard.
	* decl.c (build_decl_no_layout): New function.
	* expr.c (java_lang_expand_expr): Layout declarations found in
 	blocks before they're pushed.
	* jcf-parse.c (load_class): Save current line when parsing class
 	file.
	(parse_source_file): Register class before expanding their
 	methods.
	* lang.c (put_decl_node): Produce `null' when `void *' is
 	processed.
	* lex.c (static tree wfl_op): New static global, for error report
 	on casts.
	(java_init_lex): wfl_operator and wfl_op initialized
 	here. Filename caching added for wfl_op. Return wfl_op when `(' is
 	parsed.
	* parse.h (build_unaryop, build_incdec, patch_unaryop, build_cast,
 	patch_cast, valid_ref_assignconv_cast_p, can_cast_to_p,
 	build_unresolved_array_type): New static function definitions.
	(build_decl_no_layout): New extern function declared.
	(OBSOLETE_MODIFIER_WARNING): Report error only if the WFL of the
 	faulty modifier exists.
	(TYPE_INTERFACE_P, TYPE_CLASS_P): New macros.
	(ERROR_CAST_NEEDED_TO_INTEGRAL): Error message tuned.
	(UNARY_PLUS_EXPR): New fake operator.
	(struct parser_ctxt): New field osb_number.
	* parse.y (static tree wfl_operator): New static WFL for operator
 	bound error messages.
	(DECR_TK, INCR_TK): Moved.
	(OP_TK): Tagged <operator>.
	(array_type:): Now call build_unresolved_array_type.
	(dim_expr:): Count the number of '[' seen.
	(post_increment_expression, post_decrement_expression,
 	pre_increment_expression, pre_decrement_expression,
 	unary_expression_not_plus_minus, unary_expression:): Actions are
 	now building the corresponding unary expressions.
	(cast_expression:): Actions are now building cast expressions.
	(build_unresolved_array_type): New function.
	(create_interface): Reset the number of declared interfaces.
	(create_class): Likewise.
	(method_header): Methods declared within the scope of an interface
 	are now implicitly set public and abstract.
	(java_complete_class): Variable's and parameter's type are patched
 	with a promoted type.
	(declare_local_variables): Resolved non builtin types are promoted
 	before being used to build a variable decl. Removed type patch
 	posted on variable initialization statement.
	(source_start_java_method): Use build_decl_no_layout to build the
 	decl of a parameter of incomplete type.
	(java_register_parsed_class): Process interfaces too. Call
 	rest_of_decl_compilation on each processed class declarations.
	(java_complete_expand_methods): Don't attempt to expand things in
 	interfaces.
	(java_complete_tree): Process CONVERT_EXPR, even though it always
 	has a type. Propagate error_mark_node to node's type too. Promote
 	method's call argument type and return error_mark_node if
 	argument's completion didn't work. MODIFY_EXPR can have a WFL as a
 	RHS. Fixed bug in the handling of bogus RHS of a fixed type. Now
 	handle unary operator nodes.
	(build_assignment): Added comment.
	(print_int_node): New function.
	(patch_assignment): New second argument. New error handling. Use
 	print_int_node. Handle references. Use can_cast_to_p to issue
 	different error message according to the context and check upon
 	the initialization of the RHS.
	(can_cast_to_p, valid_ref_assignconv_cast_p): New functions.
	(operator_string): Handle more operators.
	(patch_binop): No longer use a function static
 	wfl_operator. Improved error message on shift distance.
	(build_unaryop, build_incdec, build_cast, patch_unaryop,
 	patch_cast): New functions.
	
Fri Jun  5 18:03:07 1998  Per Bothner  <bothner@cygnus.com>

	* jvspec.c:  New file.
	* Make-lang.in:  New rules to build gjavac from jvspec.c and ../gcc.c.

	* java-tree.h (identifier_subst):  Add declaration.

Thu Jun  4 13:44:23 1998  Tom Tromey  <tromey@cygnus.com>

	* jvgenmain.c (main): Generate call to JvRunMain.

	* class.c (make_class_data): Push value for "sync_info" field.
	* decl.c (init_decl_processing): Push "sync_info" field.

Wed Jun  3 20:39:14 1998  Per Bothner  <bothner@cygnus.com>

	* typeck.c (build_java_array_type):  Set TYPE_NAME to actual
	Java (source) name, not signature.
	Set TYPE_ALIGN to (at least) that of element_type.

Tue Jun  2 15:19:19 1998  Per Bothner  <bothner@cygnus.com>

	* class.c:  Moved classname-mangling-rekated code to ...
	* mangle.c:  ... this new file.
	* jvgenmain.c:  New program (needs mangle.c) to generate main program.
	* Makefile.in:  Update for above changes.	 

Mon Jun  1 09:58:36 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* expr.c (truthvalue_conversion): Convert integer and floating
 	point value to their truth value.
	* lex.c (java_lex): Handle the `null' literal.
	* parse.h (JREFERENCE_TYPE_P, DECL_P): New macros.
	(ERROR_CANT_CONVERT_TO_BOOLEAN, ERROR_CANT_CONVERT_TO_NUMERIC,
 	ERROR_CAST_NEEDED_TO_INTEGRAL, ERROR_VARIABLE_NOT_INITIALIZED):
 	New macros.

	* parse.y: Reorganization/documentation on token declaration.
	(binop_lookup[]): New added new tree codes.
	(relational_expression): Build corresponding binary operators.
	(equality_expression, conditional_and_expression,
 	conditional_or_expression): Likewise.
	(java_complete_class): Fix crash in debug message.
	(java_complete_tree): Check initialization of method call
 	arguments. Further bogus node evaluation to detect more error
 	during assignments. Handles more binary operators.
	(patch_assignment): Use DECL_P.
	(build_binop): Fix crash when using URSHIFT_EXPR, a Java only tree
 	code.
	(operator_string): Handle more case. Compacted source.
	(patch_binop): Changed function comment. Checking for
 	uninitialized first operand takes the compound assignment into
 	account and uses DECL_P. Checking for uninitialized second operand
 	delayed to routine's end. Use macros to issue type bound error
 	messages and issue messages on both operands if their types are
 	different. Force fixed type into node. Handle all binary
 	operators.
	
Wed May 27 10:30:31 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* java-tree.h (COMPOUND_ASSIGN_P, INITIALIZED_P): New macros.
        * lex.c (java_lex): Use BUILD_OPERATOR and BUILD_OPERATOR2 to
        build operator node and return tokens.
        * lex.h (BUILD_OPERATOR, BUILD_OPERATOR2): New macros.
	* parse.h (java_complete_tree): Changed returned type in prototype.
	(build_method_invocation, build_assignment, patch_assignment,
 	patch_binop): New static function declarations.
        (JFLOAT_TYPE_P, JNUMERIC_TYPE_P, JPRIMITIVE_TYPE_P, JSTRING_P,
 	BUILD_EXPR_WFL): New macros.
	* parse.y (enum tree_code binop_lookup[]): New static for token to
 	TREE_CODE lookup.
	(%union): Parser union has new sub-structure `operator'.
        (ASSIGN_TK, MULT_ASSIGN_TK, DIV_ASSIGN_TK, REM_ASSIGN_TK,
        PLUS_ASSIGN_TK, MINUS_ASSIGN_TK, LS_ASSIGN_TK, SRS_ASSIGN_TK,
        ZRS_ASSIGN_TK, AND_ASSIGN_TK, XOR_ASSIGN_TK, OR_ASSIGN_TK,
        ASSIGN_ANY_TK): Tokens tagged `operator'.
	(EQ_TK, GTE_TK, ZRS_TK, SRS_TK, GT_TK, LTE_TK, LS_TK, BOOL_AND_TK,
 	AND_TK, BOOL_OR_TK, OR_TK, INCR_TK, PLUS_TK, DECR_TK, MINUS_TK,
 	MULT_TK, DIV_TK, XOR_TK, REM_TK, NEQ_TK, NEG_TK, REL_QM_TK,
 	REL_CL_TK, NOT_TK, LT_TK): Tokens tagged `operator'.
        (assignment_operator:): Rule tagged `operator'.
	(expression_statement:): Re-installed default rule.
        (method_invocation:): Sub rules call build_method_invocation.
	(postfix_expression:): Don't attempt to resolve name here. Just
 	return an ID.
	(multiplicative_expression:): Sub-rules build corresponding binop
 	expression node.
	(additive_expression:, shift_expression:, and_expression:,
 	exclusive_or_expression:, inclusive_or_expression:): Likewise.
        (assignment:): Sub rule invoke build_assignment.
        (assignment_operator:): Default rules on sub rules.
	(force_error): Added documentation on this variable.
        (declare_local_variables): Build initialization calling
        build_assignment.
        (expand_start_java_method): Removed unused rtx declaration. Mark
 	arguments as already initialized.
        (java_method_add_stmt): Type of built COMPOUND_EXPR set to NULL.
	(java_complete_expand_methods): Don't process next method if
 	completion of the previous one triggered errors.
	(java_complete_expand_method): Call source_end_java_method if no
 	error were found during completion.
	(resolve_expression_name): Use IDENTIFIER_LOCAL_VALUE to retrieve
 	locals declaratilon. Handle names found within a class. Return
 	error_mark_node when things aren't found.
	(patch_method_invocation_stmt): Return error_mark_node on failures.
	(patch_invoke): Removed unused local. Return the correct node.
	(java_complete_tree): Now returns a value. The BLOCK section binds
 	local identifiers and the type of a BLOCK is now void. Assign the
 	result of operand completion on COMPOUND_EXPR. Assign the
 	encapsulated node of a WFL to the result of its completion, except
 	when the node is an identifier. Now handle MODIFY_EXPR and several
 	binary operators. Return error_mark_node on errors.
	(build_method_invocation, build_assignment, patch_assignment,
 	build_binop, operator_string, patch_binop): New functions.
	* typeck.c (binary_numeric_promotion): New function.

Thu May 21 12:01:04 1998  Per Bothner  <bothner@cygnus.com>

	* class.c (identifier_subst):  New convenience wrapper for ident_subst.
	Replace most uses of ident_subst by identifier_subst.

	* class.c (push_class_static_dummy_field):  Removed function.
	(build_class_ref):  Find Class object decl by looking up "CNAME.class",
	instead of looking got "class" static field.  Create that decl here.
	(class_identifier_node):  Removed;  no longer needed.
	(init_class_processing):  Don't init class_identifier_node.
	* jcf-parse.c (jcf_parse):  Don't call push_class_static_dummy_field.
	Do nreverse 0 times (instead of twice) for Object and Class.
	* parse.y (java_layout_parsed_class): No push_class_static_dummy_field.

Wed May 20 16:35:04 1998  Per Bothner  <bothner@cygnus.com>

	* jcf-parse.c (parse_class-file):  Set lino to smallest line number,
	while initializing linenumber_count and linenumber_table.
	Do it before init_function_start (which calls emit_line_note).
	* expr.c (expand_byte_code):  Don't need to clear lineno here.

Mon May 18 16:23:32 1998  Tom Tromey  <tromey@cygnus.com>

	* class.c (append_gpp_mangled_type): If `qualifications' is >=9,
	then mangle number as _N_.

	* class.c (mangle_class_field): New function.
	(build_class_ref): Set assembler name of class reference using
	mangle_class_field.
	(push_class_static_dummy_field): Likewise.

Sun May 17 12:52:35 1998  Michael Tiemann <tiemann@cygnus.com>

	* parse.y (source_start_java_method): Use TREE_SET_CODE instead
	of assigning to TREE_CODE.  The latter method exploits a feature
	of GCC that is not ANSI compliant.

Thu May 12 13:44:27 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* decl.c (pushdecl_force_head): New function.
	(pushlevel): Removed conditional printf.
	(complete_start_java_method): Don't enter local variable scope if
 	function is compiled from source code.
	* expr.c: parse.h now included
	(java_lang_expand_expr): New function.
	* jcf-io.c (find_class): Use SOURCE_FRONTEND_DEBUG instead of
 	printf. Terminate buffer when doing directories.
	* jcf-parse.c (parse_source_file): Call lang_init_source before
 	parsing and before code generation.
	* jcf.h (SOURCE_FRONTEND_DEBUG): Macro redefined to conditionally
 	use printf if the macro is defined.
	* lang.c (lang_init): Install lang_expand_expr hook on
 	java_lang_expand_expr.
	(java_dummy_print): New function.
	(lang_init_source): New function.
	* lex.c (java_lex): Remember location of an opening brace at the
 	second nesting level.
	(java_is_eol): Unget character seen after a CR if it is EOF.
	* parse.h: Now includes lex.h
	(SOURCE_FRONTEND_DEBUG): Macro redefined to conditionally use
 	printf if the macro is defined.
	(expand_start_java_method, build_expr_block, enter_block,
 	exit_block, lookup_name_in_blocks, maybe_absorb_scoping_blocks):
 	New static function declarations.
	(pushdecl_force_head): New extern function declaration.
	(INCOMPLETE_TYPE_P): New macro.
	(JDEP_PARM, JDEP_TYPE): New entries in JDEPs enum.
	(BLOCK_CHAIN_DECL, BLOCK_EXPR_DECLS, BLOCK_EXPR_BODY,
 	BLOCK_EXPR_ORIGIN): New macros.
	(DECL_SOURCE_LINE_MERGE, DECL_SOURCE_LINE_FIRST,
 	DECL_SOURCE_LINE_LAST): New macros.
	(struct parser_ctxt): Removed field current_method_decl, redundant
 	with the field current_function_decl. Added fields
 	first_ccb_indent1 and pending_block.
	* parse.y (method_body, literal, INT_LIT_TK, FP_LIT_TK,
 	BOOL_LIT_TK, CHAR_LIT_TK, STRING_LIT_TK, NULL_TK, VOID_TK): Rules
 	tagged <node>
	(SOURCE_FRONTEND_DEBUG): Used as macro accepting varargs.
	(compilation_unit:): Cosmetic on sub rule.
	(type_declaration:): Cosmetic on sub rules. Added an error rule.
	(variable_initializer:): Installed default rule on expression:.
	(method_declaration:): method_header: starts a new
 	method. method_body: installs the function body, absorbs blocks
 	emitted for temporary variable scopings, pops function's body block
 	and merges function's last statement lineno in DECL_SOURCE_LINE.
	(method_body:): Installed default rules.
	(block:): Call enter_block when an opening brace is seen.  Absorb
 	scoping blocks and call exit_block when a closing brace is seen.
	(block_statement:): Cosmetic changes.
	(method_invocation:): Create WFL around CALL_EXPR node.
	(patch_stage): Added comment around definition.
	(method_header): Try to use first_ccb_indent1 as the first line of
 	the method, so BP debug info are emitted at the first opening
 	brace of the function. If the function has no body, use the
 	location of the function's name. Override currently defined method
 	name with the matching WFL so we can point redefinition errors
 	using the location where the function's name was declared.
	(check_abstract_method_header): Interprets DECL_NAME as an
 	identifier or as a WFL, accordingly.
	(java_complete_class): New cases for JDEP_TYPE and JDEP_PARM.
	(check_method_redefinition): Use DECL_NAME as a WFL. Extract
 	location and name information out of it and reinstall DECL_NAME to
 	its original identifier node value.
	(lookup_cl): Use DECL_SOURCE_LINE_FIRST (first line of the
 	function's source code).
	(read_import_dir): Test the value returned by find_class and issue
 	a fatal accordingly.
	(declare_local_variables): Push a new block for the scope of the
 	new variable(s) if code has been already generated at that nesting
 	level. Pinpoint redefinition errors using the variable id
 	WFLs. Generate initialization code if necessary. If the variable
 	type is incomplete, register a patch on its decl.
	(source_start_java_method): Rewritten. Define a new block for the
 	function's parameters. Build parameter decl out of function's
 	arguments and register them for a patch if their types are
 	incomplete.
	(expand_start_java_method): Includes the part of
 	source_start_java_method that was pushing the parameter decls and
 	completing the method start code.
	(source_end_java_method): Removed call the expand_end_bindings and
 	poplevel (already taken care of). Reinstall function's arguments
 	and get function's last line of code before calling
 	expand_function_end.
	(java_method_add_stmt): New comment before the function's
 	code. Complement the second operand of the current COMPOUND_EXPR
 	if necessary.
	(java_complete_expand_methods): Don't generate debug info on line
 	zero when expanding a generated constructor.
	(java_complete_expand_method): Set start and end line numbers for
 	a artificially generated constructor to one and manually call
 	enter_block and exit_block when defining it. For all methods:
 	expand function's start calling the new expand_start_java_method
 	and invoke java_complete_tree on the effective method's body, if
 	any.
	(resolve_expression_name): Now use lookup_name_in_blocks to search
 	local variable decls and print out an error when variables are
 	undefined.
	(patch_method_invocation_stmt): Inserted comment before the
 	function's code.
	(lookup_method_invoke): Chain method's arguments using chainon
 	with the current arg list as a second argument. Inserted missing
 	IDENTIFIER_POINTER when reporting an error on methods not found.
	(refine_accessible_methods_list): Don't retain constructors.
	(patch_arguments): Function removed.
	(java_complete_tree): Inserted comment before the function's
 	code. New case for BLOCKs. Moved the WFL case a bit
 	further. Complete function's arguments.
 	(build_expr_block, enter_block, exit_block, lookup_name_in_blocks,
 	maybe_absorb_scoping_blocks): New functions.
	
Mon Apr 27 10:50:05 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* jcf-io.c (find_class): Reset jcf->java_source after JCF_ZERO, if
 	previously set.
	* jcf-parse.c (parse_source_file, java_error_count): New forward
 	and extern declarations.
	(java_parse_abort_on_error): Macro moved.
	(jcf_parse_source): fatal called if fopen fails. Now calls
 	parse_source_file.
	(parse_source_file): New parse_only parameter. Reflects the
 	elimination of the second pass.
	(yyparse): parse_source_file called with argument set to 0.
	* jcf.h (JCF_ZERO): Sets java_source to zero.
	* lex.c (java_init_lex): pass argument is gone. Function modified
 	to be called once during the analysis of a file.
	(java_unget_unicode): Fixed typo in fatal message.
	(java_get_line_col): Likewise.
	(java_lval): Likewise. String literals no longer built during
 	second pass.
	* lex.h (JAVA_COLUMN_DELTA): Take the tabulation character into
 	account.
	* parse.h (MODIFIER_WFL): New macro.
	(parse_check_super, parser_check_super_interface): Now return int.
	(parser_chain_incomplete_item, not_builtin_p,
 	complete_method_decl): Declarations removed.
	(build_method_invocation_stmt, build_invoke): Renamed using the
 	`patch' instead of `build'
	(register-incomplete_type, obtain_incomplete_type,
 	java_complete_tree, java_complete_expand_method,
 	unresolved_type_p, create_jdep_list): New function declarations.
	(IC_TYPE, IC_DEPEND, DEPEND_DECL, DEPEND_WFL, BEGIN_ONLY_PASS,
 	END_ONLY_PASS, ELSE_ONLY_PASS): Macro deleted.
	(jdep): New typedef on new struct _jdep.
	(JDEP_DECL, JDEP_DECL_WFL, JDEP_KIND, JDEP_SOLV, JDEP_WFL,
 	JDEP_MISC, JDEP_APPLY_PATCH, JDEP_GET_PATCH, JDEP_CHAIN,
 	JDEP_TO_REVOLVE, JDEP_RESOLVED_DECL, JDEP_RESOLVED,
 	JDEP_RESOLVED_P): New macros.
	(JDEP_NO_PATCH, JDEP_SUPER, JDEP_FIELD, JDEP_METHOD,
 	JDEP_METHOD_RETURN, JDEP_METHOD_END, JDEP_INTERFACE,
 	JDEP_VARIABLE): New enum values and jdep kinds.
	(jdeplist): New typedef on struct _jdeplist.
	(CLASSD_FIRST, CLASSD_LAST, CLASSD_CHAIN, JDEP_INSERT): New
 	macros.
	(CALL_EXPR_PRIMARY): New macro.
	(struct parser_ctxt): Fields java_pass, current_method_decl,
 	method_decl_list deleted. New field jdeplist.
	(INCOMPLETE_P): Macro deleted.
	* parse.y (single_type_import_declaration:): Removed pass switch.
	(type_import_on_demand_declaration): Likewise.
	(field_declaration:): Removed pass switch on all sub rules.
	(class_declaration:): Call the complete_class_decl removed on
 	class_body rules.
	(method_declaration:): Removed second pass switch. No longer chain
 	methods decl when method_header reduced.
	(method_header:): Sub rules no longer depend on pass switch.
	(method_declarator:): Likewise.
	(method_body:): Likewise.
	(abstract_method_declaration:): Likewise.
	(block_statement:): Likewise.
	(local_variable_declaration:): Likewise.
	(argument_list:): Likewise.
	(method_invocation:): Likewise. Call to	build_method_invocation_stmt
	removed. Partial CLASS_EXPR tree node built instead.
	(postfix_expression:): Removed pass switch on all sub rules.
	(java_pop_parser_context): Free classd_list content.
	(yyerror): Call obstrack_grow0 to finalize error message.
	(check_class_interface_creation): Comment modified to reflect new
 	returned value meaning. Removed second pass switch. Return 1 if an
 	error was found, 0 otherwise. Adjust pointer on filename if a
 	leading path separator was found.
	(maybe_create_class_interface_decl): Removed first pass switch
 	when linking the class decl to the class_list. Install a new
 	jdep_list for the class.
	(add_superinterfaces): List of unresolved interfaces is
 	gone. Unresolved interfaces are directly added to the current
 	dependencies list.
	(create_interface): Second pass shortcut removed. 
	ctpx->modifier_ctx access through MODIFIER_WFL.
	(create_class): Second pass shortcut removed. Call to
 	register_incomplete_type replaces the call to
 	parser_chain_incomplete_item.
	(complete_class_decl): Function removed.
	(duplicate_declaration_error): New way of retrieving redeclared
 	item type.
	(register_fields): Call to lookup_modifier_cl replaced by
 	MODIFIER_WFL. New way of handling unresolved type, using
 	unresolved_type_p and obtain_incomplete_type.
	register_incomplete_type replaces call to parser_chain_incomplete_item.
	(patch_stage): New static global variable.
	(method_header): New way of handling unresolved type, using
 	unresolved_type_p and obtain_incomplete_type. patch_stage used to
 	indicates that the method decl needs to be patched.
	(check_abstract_method_header): Call to lookup_modifier_cl
 	replaced by MODIFIER_WFL.
	(method_declarator): Incomplete argument type are registered
 	calling register_incomplete_type. Patch on the declared method is
 	issued in that case.
	(unresolved_type_p): New function.
	(parser_check_super_interface): New comment to reflect function's
 	modified returned type (int). Function and has a new argument
 	this_wfl. Call to parse_error_context uses this_wfl instead of
 	relying on lookup_cl.
	(parser_check_super): Comment reflects function's new returned
 	type (int). Function returns non zero value on error.
	(create_jdep_list, reverse_jdep_list, obtain_incomplete_type,
 	register_incomplete_type, jdep_resolve_class): New functions to
 	handle incomplete types in declarations.
	(java_complete_class): Rewritten to work with the new incomplete
 	type handling scheme.
	(complete_class_report_errors): Likewise.
	(complete_method_decl): Removed: it jobs is now handled by
 	java_complete_class.
	(do_resolve_class): Class loaded in not already loaded and not
 	found in Java source code.
	(java_check_regular_methods, java_check_abstract_methods): Don't
 	call complete_method_decl anymore.
	(lookup_modifier_cl, not_builtin_p): Functions deleted.
	(read_import_dir): Got rid of the pass number dependency.
	(declare_local_variables): New handling of unresolved types (patch
 	issued).
	(source_start_java_method): New parameter level. Function called
 	with level set to 1 when argument types are potentially
 	unresolved.  Called to complete the job with level set to 2 once
 	types are complete.
	(source_end_java_method): Call to permanent_allocation
 	removed. Waiting to be replaced by a more suitable obstack
 	management.
	(java_complete_expand_methods, java_complete_expand_method,
 	java_expand_finals): New functions.
	(build_method_invocation_stmt): Renamed
 	patch_method_invocation_stmt. Extracts function call expression
 	(wfl) and arguments (args) from CALL_EXPR tree operands.
	(build_invoke): Renamed patch_invoke. Fixed typo in fatal
 	call. Patch the function and argument operand of the CALL_EXPR
 	tree argument.
	(patch_argument, java_complete_tree): New functions.

Mon Apr 20 18:26:57 1998  Per Bothner  <bothner@cygnus.com>

	Recover from missing fields and methods (i.e. error instead of fatal).
	* decl.c, java-tree.h (TYPE_identifier_node):  New global constant.
	* expr.c (expand_invoke):  Recover from missing method.
	(expand_java_field_op):  Recover from missing field.
	Inline references to java.lang.{Integer,Char,...}.TYPE.
	* typeck.c (get_type_from_signature), java-tree.h:  New function.
	* class.c (add_method):  Use get_type_from_signature.
	(build_class_ref):  Handle a class that was not found.
	* typeck.c (convert):  Handle conversion to pointers (for convenience).
	* verify.c (verify_jvm_instructions):  Use get_type_from_signature
	instead of lookup_field to handle missing fields.
	
	* jcf-parse.c (process_zip_dir):  Set java_source.

1998-04-20  Brendan Kehoe  <brendan@cygnus.com>

	* jcf-parse.c (set_source_filename): Use TYPE_NAME, not DECL_NAME.

Tue Apr 14 15:59:54 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* jcf-parse.c (load_class): Don't change input_filename before
 	calling jcf_parse_source (but still do it before calling
 	jcf_parse).
	(jcf_parse_source): Assign input_filename after having saved the
 	parser context.
	* lex.c (java_init_lex): Chain a WFL node to the import on demand
 	list. ctxp->modifier_ctx zeroed according to its new
 	definition. ctxp->filename initialized. Removed 
	JAVA_MODIFIER_CTX_UNMARK.
	(java_unget_unicode): Update the character based column position.
	(java_allocate_new_line): ref_count not used anymore. Always free
 	ctxp->p_line. Initialize c_line->char_col to 0.
	(java_get_unicode): Update the character based column position. 
	(java_lex): Use ctxp->elc to store current position in source
 	file, at the beginning of the parsed token. Set modifier_ctx entry
 	corresponding to the parse modifier to a WFL node. Return a WFL
 	node when an identifier is parsed.
	(java_lex_error): Now uses ctxp->elc to store current position in
 	source.
	(build_wfl_node, java_is_eol, java_get_line_col): New functions.
	* lex.h (build_wfl_node): New function definitions.
	(struct java_line): ref_count and next fields are gone. New field
 	char_col.
	(JAVA_LINE_CHECK, JAVA_LINE_MARK, JAVA_LINE_CHAIN,
 	JAVA_LINE_UNMARK, ID_NAME, ID_CL): Macro definitions deleted.
	(JAVA_COLUMN_DELTA): New macro.
	(java_lc): New typedef on new struct _java_lc.
	* parse.h (lookup_cl, lookup_modifier_cl): Changed returned types.
	(parse_error_context, parse_warning_context): Changed prototypes.
	(java_get_line_col): Added as an available global function.
	(JAVA_MODIFIER_CTX_UNMARK): Macro removed.
	(IC_DECL): Replaced by macro IC_TYPE
	(DEPEND_WFL): New macro.
	(THIS_MODIFIER_ONLY): Now works with WFL and only remembers the first
	wrong modifier.
	(exit_java_complete_class): Removed a commented out statement.
	(struct parser_ctxt): Added comments on fields. modifier_ctx is
 	now an array of tree nodes. Deleted fields line_list and
 	e_line. New field elc, to replace e_line.
	* parse.y (array_type:): Build WFL node. 
	(qualified_name:): Build a single WFL node out of two. Retain
 	the location information of the first node in the resulting node.
	(package_declaration:): Use package name as a WFL node 
	(single_type_import_declaration:): Use imported name as a WFL node.
	(type_import_on_demand_declaration:): Use root of the imported
 	packages as a WFL node.
	(field_declaration:): Removed unused local variable cl.
	(method_declaration:): Don't call JAVA_MODIFIER_CTX_UNMARK.
	(yyerror): New static elc. Removed static error_line, error_pos.
  	New local code_from_source. Save ctxp->elc into elc at the first
 	pass. Call java_get_line_col to get a string of the line where
 	the error occured.
	(debug_line): Removed static function.
	(parse_error_context, parse_warning_context): Parameter cl is now
 	a WFL node. Use its value to initialize ctxp->elc.
	(redefinition_error): Parameter cl is now a WFL node.
	(parse_add_interface): New parameter wfl. No longer call
 	lookup_cl, use wfl instead.
	(check_class_interface_creation): Parameter cl is now a WFL node.
	(maybe_create_class_interface_decl): Likewise.
	(add_superinterfaces): New function.
	(create_interface): Removed local cl, node, super_decl,
 	super_decl_type.  Function now uses id as a WFL node. Better
 	warning/error report on obsolete or forbidden mix of
 	modifiers. Now calls add_superinterfaces to register interfaces.
	(create_class): Removed local cl, node. Local variable id is used
 	as a WFL node. Better error report on forbidden modifier
 	mix. Uses add_superinterfaces to register interfaces.
	(find_field): Argument cl is now a WFL node. Now store the WFL
 	node of a fields that needs to be checked for their
 	initialization.
	(method_header): Local variable node non longer used. Local
 	variable id replaces cl.
	(check_modifiers_consistency): Local variable cl is now a WFL
 	node.
	(method_declarator): Local variable cl replaced by parameter id.
	(parser_qualified_name): Now uses parameter name as a WFL node.
	(parser_check_super_interface): New parameter wfl, for achieve
 	greater accuracy during error reports.
	(parser_chain_incomplete_item): New parameter named location. Used,
 	along the decl, to construct the incomplete item node.
	(java_complete_class): resolve_class now uses WFL node extracted
 	from the incomplete item node. Macro IC_TYPE replaces TREE_PURPOSE
	where appropriate.
	(complete_method_decl): Unresolved function's argument types are WFL.
	(resolve_class): Parameter cl is now a WFL node.
	(resolve_and_layout): Likewise.
	(do_resolve_class): Likewise. Try first to use cl and then do the
 	lookup on the decl when calling check_pkg_class_access.
	(complete_class_report_errors): Use IC_TYPE in place of
 	TREE_PURPOSE where appropriate. Use DEPEND_WFL on dependency
 	instead of doing a lookup over the decl.
	(java_check_final): Use WFL info from field tree list.
	(lookup_cl): Rewritten and returns a statically defined WFL node.
	(lookup_modifier_cl): Now uses information from WFL nodes.
	(process_imports): Likewise.
	(read_import_dir): name and cl arguments replaced by a single WFL
 	node. Function modified accordingly.
	(find_in_imports_on_demand): Now uses WFL node.
	(check_pkg_class_access): cl argument is now a WFL node.
	(declare_local_variables): Fixed to use WFL nodes.
	(resolve_expression_name): Likewise.
	(build_method_invocation_stmt): name_combo argument renamed
 	wfl. Function modified to use WFL nodes.
	(build_invoke): cl used as a WFL node when calling build_expr_wfl.
	(lookup_method_invoke): cl is now a WFL node. Added missing
 	IDENTIFIER_POINTER to class type decl name.
	
Tue Apr 14 15:23:29 1998  Dave Brolley  <brolley@cygnus.com>

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

Fri Apr 10 11:36:04 1998  Per Bothner  <bothner@cygnus.com>

	* class.c (layout_class):  Mangle repeated arg types to match cc1plus.

	* decl.c, java-tree.h (integer_four_node):  New INTEGER_CST node.
	* class.c (make_class_data):  If flag_assume_compiled, initial class
	state is CSTATE_PREPARED; make superclass and interfaces direct
	references, rather than constant pool indexes.

Thu Apr  9 16:10:56 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parser.y: Include flags.h. Removed debug variable pl.
	(method_declaration:): Uses ctxp->parser_ccb_indent instead of pl.
	(block:): Likewise.
	(labeled_statement_nsi:): Generate debug info when reducing
 	expression_statement:.
	(check_pkg_class_access): get_access_flags_from_decl invokation
 	fixed for new CLASS_* flags location.
	(source_end_java_method): Save/restore parser context when
 	entering/leaving this routine. Restore lineno to its right value
 	before calling expand_end_bindings.
	(build_method_invocation_stmt): build_invoke called with the
 	current line information.
	(build_invoke): New argument cl. Wrap the function call around a
 	wfl node.
	(refine_accessible_methods_list): Changed comment, removed
 	unnecessary code.
	* parse.h: Fixed typo in comments.
	(CLASS_OR_INTERFACE): Handle the new CLASS_* flags location.
	(JAVA_MAYBE_GENERATE_DEBUG_INFO): New macro.
	(struct parser_ctxt): New fields ccb_indent, last_ccb_indent1,
 	parser_ccb_indent.
	* lex.c (java_lex): Record the last closing curly bracket of a
 	function.
	* jcf-parse.c (jcf_parse_source): Now calls
 	java_check_methods. Clarified comment, fixed typo.

1998-04-09  Dave Brolley  <brolley@cygnus.com>

	* lang.c (init_parse): Expose for non USE_CPPLIB builds.
	(finish_parse): Expose for non USE_CPPLIB builds.

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

	* lang.c (lang_print_xnode): New function.

Fri Apr  3 13:22:41 1998  Per Bothner  <bothner@cygnus.com>

	* decl.c (class_dtable_decl), java-tree.h:  New tree node.
	* class.c (get_dispatch_vector, get_dispatch_table):  New functions
	used to build a class's dispatch table.
	(make_class_data):  Generate dispatch table if flag_assume_compiled.
	Set dtable of class object to address of class_dtable_decl.

	* decl.c (int_decl_processing):  Make soft_badarrayindex_node
	be volatile and have side effects - generates better code.

	* class.c, expr.c, parse.y:  CLASS_INTERFACE, CLASS_FINAL, etc:
	These flags were defined for TYPE_DECLs, but used on RECORD_TYPEs.

	* expr.c (expand_invoke):  If class is final, method is
	effectively final, so can call it directly.

	* java-tree.h (TYPE_NVIRTUALS, TYPE_VTABLE):  New macros.

	* Makefile.in, Make-lang.in:  Add missing $(exeext)s.

Thu Mar 19 16:59:16 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (build_method_invocation_stmt): Removed extra argument
 	to build_invoke.

Mon Mar 16 17:25:19 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* expr.c (dtable_indent): Now static global.
	(expand_invoke): Now call invoke_build_dtable and
 	build_invokevirtual.
	(invoke_build_dtable, build_invokevirtual): New functions.
	* jcf-io.c (find_class): Defer issuing a warning by setting
 	jcf->outofsynch to 1.
	* jcf-parse.c (jcf_out_of_synch): New function.
	(load_class): Test this_jcf.outofsynch flag and call
 	jcf_out_of_synch accordingly.
	* jcf.h: (typedef struct JCF): New flag outofsynch. Fixed typo in
 	comment indentation.
	* lex.c (java_get_unicode): Fixed code indentation.
	(java_lex): Create string literal. Fixed typo. Removed several
 	premature obstack_free.
	* parse.h: New enums for name resolution and invocation mode.
	(struct qualification): New data structure.
	(RESOLVE_CHAIN_REMAINDER, BUILD_PTR_FROM_NAME): New macros.
	(do_resolve_class, build_method_invocation_stmt,
 	breakdown_qualified, qualify_ambiguous_name, resolve_and_layout,
 	debug_line, identical_subpath_p, invocation_mode,
 	refine_accessible_methods_list, build_invoke,
 	lookup_method_invoke): New functions declared.
	(build_invokevirtual, invoke_build_dtable, match_java_method,
 	build_field_ref, jcf_out_of_synch): New references to external
 	functions.
	(struct parse_ctxt): Removed artificial_constructor field.
	* parse.y: (array_type:): Type defined for this rule.
	(class_type:): Installed default rule for interface_type:.
	(array_type:): Now build Java array type.
	(qualified_name:): Now use obstack_grow0.
	(method_declaration:): Skip the artificial constructor added to
 	the list, if any.
	(abstract_method_declaration:): Execute the code only during pass 1.
	(block:): Installed default rule in block_statements:.
	(block_statement:): Add the statement to the method during pass 2.
	(statement_expression): Installed default rule for
 	method_invocation:.
	(argument_list:): Added code to build the argument list.
 	(method_invocation:): Added call to create the method invocation
 	node.
	(yyerror): Now use obstack_grow0. Removed bogus obstack_free.
	(debug_line): New function for debug.
	(complete_class_decl): No longer do something during pass 1.
	(method_header): Use BUILD_PTR_FROM_NAME.
	(parser_qualified_classname): Use obstack_grow0. Removed bogus
 	obstack_free.
	(parser_chain_incomplete_item): Use BUILD_PTR_FROM_NAME. Modified
 	function's main comment.
	(java_complete_class): Set CLASS_LOADED_P on all fixed incomplete
 	classes.
	(complete_method_decl): Use BUILD_PTR_FROM_NAME and promote types.
	(resolve_class): Now works with arrays.
	(do_resolve_class, resolve_and_layout): New functions.
	(java_check_regular_methods): Reverse method list before and after
 	having processed it. No longer set ctxp->artificial_constructor.
	(read_import_dir): Test jcf->outofsynch and call jcf_out_of_synch
 	accordingly. Fixed typo in issued error message. Now use
 	obstack_grow0.
	(find_in_imports_on_demand): Now use obstack_grow0.
	(declare_local_variables): Use BUILD_PTR_FROM_NAME.
	(source_end_java_method): Call expand_expr_stmt instead of
 	expand_expr. Calls it before calling expand_function_end.
	(java_method_add_stmt): Do nothing if errors were found during
 	parsing.
	(java_layout_parsed_class): Set CLASS_LOADED_P and fixed typo.
	(build_method_invocation_stmt, build_invoke, invocation_mode,
 	lookup_method_invoke, refine_accessible_methods_list,
 	qualify_ambiguous_name, breakdown_qualified, identical_subpath_p):
 	New functions.
	* typeck.c (build_java_signature): Properly end method signature
 	if return type skipped.
	(match_java_method): New function.	
	
Mon Mar 16 10:40:47 1998  Per Bothner  <bothner@cygnus.com>

	* jcf-io.c (find_classfile):  If USE_JCF_STDIO, fopen in binary mode.

Wed Feb 25 08:55:49 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* expr.c (build_invoke_non_interface): New function.
	(methods_ident, ncode_ident): Now static globals.
	(expand_invoke): Use build_invoke_non_interface.
	* java-tree.h (struct lang_decl): New field function_decl_body.
	(DECL_FUNCTION_BODY): New macro.
	* jcf-parse.c (jcf_parse_source): Deeper check before setting
 	CLASS_FROM_SOURCE_P.
	(parse_source_file): Fixed typos. Call java_layout_parsed_class
	before starting pass 2. Call to java_generate_parsed_class replaced
	by java_register_parsed_class.
	* lex.c: Fixed typo in header. Some line width related formating.
	* lex.h: Some line width related formating.
	* parse.h (source_end_java_method, resolve_expression_name,
 	complete_class_decl, maybe_create_class_interface_decl,
 	check_class_interface_creation): New static function declarations.
	(java_layout_parsed_class, java_method_add_stmt): New function
 	declarations.
	(struct parser_ctxt): Field mark_class_generate removed. New
 	fields class_list and artificial_constructor.
	* parse.y: Fixed typo in header.
	(class_declaration:): Call complete_class_decl when class body
 	parsed.
	(method_declaration:): Call source_end_java_method in pass 2 when
	the method body is defined.
	(postfix_expression:): Do expression name resolution on sub-rule
 	name during pass 2.
	(create_class, create_interface): Merged common pieces.
 	(check_class_interface_creation, maybe_create_class_interface_decl):
	New functions.
	(complete_class_decl): New function.
	(register_fields): Fixed line width related typo.
	(method_header): Correctly skip first argument when fixing
 	argument line. Changed the loop.
	(java_check_circular_reference): Now use ctxp->class_list.
	(java_complete_class): Removed start/stop marking.
	(java_check_regular_methods): Now takes a class decl as an
 	argument.  Add default constructor if none were encountered.
	(java_check_methods): Now use ctxp->class_list. Changed call to
 	java_check_regular_methods.
	(source_start_java_method): Set DECL_ARG_TYPE for each function
 	arguments.
	(source_end_java_method, java_method_add_stmt): New functions.
	(java_generate_parsed_class): No longer exists.
 	(java_layout_parsed_class, java_register_parsed_class): New functions.
	(resolve_expression_name): New function.	

Thu Feb 12 11:54:28 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* jcf-parse.c: (parse_source_file): Check on errors after init lex.
	* lex.c: (java_init_lex): Defer ctxp->java_pass initialization
 	until pass initializations are done. Call read_import_dir with
 	pass set to 0.
	* parse.h: (lookup_modifier_cl): New function declared.
	(INTERFACE_FIELD_MODIFIERS): New macro.
	(OBSOLETE_MODIFIER_WARNING): New macro.
	* parse.y: (register_fields): Class type and current field name in
 	local variables. Check modifier(s) if adding field(s) to an interface.
	(check_abstract_method_header): Now use OBSOLETE_MODIFIER_WARNING
 	and report errors using the faulty modifier line context.
	(lookup_modifier_cl): New function.
	(read_import_dir): Detect and report default import processing
 	failure.

1998-02-11  Brendan Kehoe  <brendan@cygnus.com>

	Add a pair of -fassume-compiled/-fno-assume-compiled options.
	* class.c (is_compiled_class): Return 1 after making sure it
	qualifies as loaded, if FLAG_ASSUME_COMPILED is set.
	* lang-options.h: Add -fassume-compiled/-fno-assume-compiled.
	* java-tree.h (flag_assume_compiled): Add decl.
	* lang.c (lang_f_options): Add the flag.
	(flag_assume_compiled): Add decl, default to 0.

Wed Feb 11 11:27:59 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (class_depth): Call to load_class uses extra VERBOSE arg.
	(is_compiled_class): Likewise.
	(layout_class): Likewise.
	(layout_class): Detect and lay out classes defined in source code.
	(interface_of_p, add_interface_do, may_add_interface): New
 	function.
	(add_interface): Now use add_interface_do.
	(add_method_1): New function.
	(add_method): Now use add_method_1.
	(pushlevel): Debug message conditional to SOURCE_FRONTEND_DEBUG.
	(complete_start_java_method): New function.
	(start_java_mehod): Now call complete_start_java_method.
	* expr.c (lookup_field): Call to load_class uses extra VERBOSE arg.
	(expand_invoke): Likewise and fixed typo.
	*gjava.c: (print_super_field): Use new argument to find_class
 	DO_CLASS_FILE.
	(main): Likewise.
	*java-tree.h: (CLASS_FROM_SOURCE_P): New flag on RECORD_TYPE.
 	(IS_A_SINGLE_IMPORT_CLASSFILE_NAME_P, IS_A_CLASSFILE_NAME,
 	QUALIFIED_P, IS_AN_IMPORT_ON_DEMAND_P): New flags on
 	IDENTIFIER_NODE.
 	(CLASS_COMPLETE_P): New flag on TYPE_DECL.
	(add_method_1, push_class): New prototypes.
	*jcf-dump.c: find_class now uses new DO_CLASS_FILE argument.
	*jcf-io.c: (open_in_zip): jcf now stores a pointer to the Zip
 	directory where the class was found.
	(find_class): New argument DO_CLASS_FILE. Function find_class
 	modified accordingly.
	*jcf-parse.c: (fix_class_path): New function.
	(load_class): Use new VERBOSE argument. load_class now finds and
 	loads/parses .class/.java files. Save read_state of current_jcf
	if necessary.
	(java_parser_abort_on_error): New macro.
	(jcf_parse_source, parse_source_file): New function.
	(jcf_parse): Fixed typo.
	(yyparse): Call parse_source_file () only.
	(process_zip_dir): Fixed typo, fix zdir->filename_length when
 	writing the real class name back in the zip directory entry.
	(find_in_current_zip): IDENTIFIER_CLASS_VALUE may be null.
	(jcf_figure_file_type): Fixed bogus alloc and bcopy.
	*jcf.h: (typedef struct JCF): New fields java_source and zipd.
	(find_class): Prototype fixed.
	*lex.c: Added 1998 time stamp.
	Removed all static global variables, moved into the parser
 	context data structure.. Now include unistd.h if SEEK_SET not
 	defined.
	(java_init_lex): Rewritten.
	(java_sneak_unicode): Modified current unicode access in current line.
	(java_unget_unicode): Likewise.
	(java_allocate_new_line): New allocation management.
	(java_read_char): Modified access and storage of unget_utf8_value.
	New way of processing current unicode.
	(java_store_unicode, java_read_unicode): Fixed typo in declaration.
	(java_get_unicode): Now use the parser context.
	(java_lineterminator): Likewise.
	(java_lex): Now used java_lval argument (pointer to YYSTYPE), part
 	of the reentrant parser implementation. Function now use the
 	parser context data structure and java_lval. Fixed production of
 	the float and double constant "out of range" error message. Fixed
 	obstack use. Return integer value when hitting a modifier. Now
 	return type for TRUE, FALSE and other predefined types. Return
 	identifier as a TREE_LIST list containing the current line context
 	as the TREE_VALUE sub-node.
	(java_unicode_2_utf8): Fixed typo in declaration.
	(java_lex_error): Now use the parser context data structure.
	*lex.h: Added 1998 time stamp.
	(struct java_line): New fields ref_count and next.
	(JAVA_LINE_CHECK, JAVA_LINE_MARK, JAVA_LINE_CHAIN,
 	JAVA_LINE_UNMARK, ID_NAME, ID_CL): New macros.
	(JAVA_FLOAT_RANGE_ERROR, JAVA_INTEGRAL_RANGE_ERROR, UNGETC): Fixed.
	*parse.h: Added 1998 time stamp.
	(java_parse_source_file): Renamed from parse_source_file.
	(YYERROR_NOW, YYNOT_TWICE): Fixed.
	(CLASS_MODIFIERS, FIELD_MODIFIERS, METHOD_MODIFIERS,
 	INTERFACE_MODIFIER, INTERFACE_METHOD_MODIFIERS,
 	JAVA_MODIFIER_CTX_UNMARK, IC_DECL, IC_DEPEND, DEPEND_DECL,
 	THIS_MODIFIER_ONLY, ABSTRACT_CHECK, BEGIN_ONLY_PASS,
 	END_ONLY_PASS, ELSE_ONLY_PASS, exit_java_complete_class,
 	CLASS_OR_INTERFACE, INCOMPLETE_P): New macros.
	(struct parser_ctxt): New data structure to keep the parser context.
	*parse.y: Added 1998 time stamp, got rid of static global variables.
	(java_error_count, ctxp): New global variables.
	(%union): New value field.
	(numeric_type, integral_type): Rules removed.
	(primitive_type): Rule defined to handle integral, float, double and
 	boolean types.
	(qualified_name, package_declaration,
 	single_type_import_declaration, type_import_on_demand_declaration,
 	modifiers, class_declaration, super, interfaces,
 	interface_type_list, class_body, field_declaration,
 	field_declaration, variable_declarators, variable_declarator,
 	variable_declarator_id, method_declaration, method_header,
 	formal_parameter_list, formal_parameter, method_body, block,
 	static, interface_declaration, extends_interfaces,
 	abstract_method_declaration, local_variable_declarators): Rules now
 	define actions.
	(force_error, do_warning): New global statics.
	(push_parser_context, parser_context_save_global,
 	parser_context_restore_global, pop_parser_context): New functions.
	(yyerror): Now uses the global parser context. Fixed use of obstack.
	(parse_error, parse_error_context, parse_warning_context,
 	java_accstring_lookup, redefinition_error, check_modifiers,
 	parser_add_interface, create_interface, create_class, find_field,
 	duplicate_declaration_error, register_fields, method_header,
 	check_modifiers_consistency, check_abstract_method_header,
 	method_declarator, parser_qualified_classname,
 	parser_check_super_interface, parser_check_super,
 	parser_chain_incomplete_item, java_check_circular_reference,
 	layout_class_from_source, java_complete_class,
 	complete_method_decl, resolve_class, complete_class_report_errors,
 	java_check_final, check_method_redefinition,
 	java_check_regular_methods, java_check_abstract_methods,
 	java_check_methods, lookup_java_interface_method2,
 	lookup_java_method2, lookup_cl, find_name_in_single_imports,
 	process_imports, find_in_imports, read_import_entry,
 	read_import_dir, find_in_imports_on_demand,
 	check_pkg_class_access, not_builtin_p, declare_local_variables,
 	source_start_java_method, java_generate_parsed_class): New
 	functions.
	*typeck.c: (signature_include_return): New global variable.
	(build_java_signature): Use SIGNATURE_INCLUDE_RETURN figure whether
 	to add the function returned type in the signature.

1998-02-09  Brendan Kehoe  <brendan@cygnus.com>

	* jcf-io.c (open_in_zip): Use strncmp and LEN.

Thu Jan 29 16:12:13 1998  Dave Brolley  <brolley@cygnus.com>

	* Make-lang.in (java.info): Added.
	(java.install-info): Added

1998-01-27  Brendan Kehoe  <brendan@cygnus.com>

	* Makefile.in (clean): Also remove java/parse.c.

1998-01-26  Brendan Kehoe  <brendan@cygnus.com>

	Add a pair of -fbounds-check/-fno-bounds-check options.
	* lang.c (lang_decode_option): Add code to grok arguments.
	(flag_bounds_check): Add decl.
	(lang_f_options): New array w/ the option in it.
	* java-tree.h (flag_bounds_check): Add decl.
	* lang-options.h: New file.
	* expr.c (build_java_arrayaccess): Use flag_bounds_check instead
	of a static macro value.
	(JAVA_ARRAY_EXCEPTION): Delete macro.

Fri Jan 23 14:19:47 1998  Per Bothner  <bothner@cygnus.com>

	* typeck.c (build_java_array_type):  Fix two bugs in previous change.
	* expr.c (build_anewarray):  Add missing promote_type.

Thu Jan 22 17:43:45 1998  Per Bothner  <bothner@cygnus.com>

	Add array types with known length to optimize bounds checking.
	* typeck.c (build_java_array_type):  Take length parameter.
	(java_array_type_length, build_prim_array_type):  New functions.
	* java-tree.h:  Update for new functions.
	* expr.c, typeck.c, verify.c: Update build_java_array_type calls.
	* class.c:  Use build_prim_array_type.
	* expr.c (can_widen_reference_to):  Handle known-length array types.
	(verify_jvm_instructions):  Keep track of integer push instructions
	followed by newarray/anewarray, so we can build known-length arrays.
	(JAVA_ARRAY_DATA_OFFSET):  Replace by ...
	(java_array_data_offset):  New function.
	(build_java_array_length_access):  New function.  Optimize if constant.
	(build_java_arrayaccess):  Constant fold bounds check.
	(expand_java_newarray, expand_java_anewarray):  Replaced by ...
	(build_newarray, build_anewarray):  New functions.
	(ARRAY_NEW_NUM, ARRAY_NEW_PTR):  Use build_{a,}newarray.
	* verify.c (merge_types):  Handle known-lengh array types.

Mon Jan 19 13:09:25 1998  Per Bothner  <bothner@cygnus.com>

	* expr.c (expand_byte_code):  Fix performace bug, which caused
	searching linenumber_table to be linear rather than constant.

Fri Dec 12 19:18:42 1997  Per Bothner  <bothner@cygnus.com>

	* Makefile.in (BISON, BISONFLAGS):  Add missing macros.

	* decl.c, java-tree.h (soft_fmod_node):  New global.
	* decl.c (init_decl_processing):  Define __builtin_fmod.
	* expr.c (build_java_binop):  Implement TRUNC_MOD_EXPR for REAL_TYPE
	using __builtin_fmod.

Thu Dec  4 13:22:59 1997  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* keyword.h: New file, output of keyword.gperf as processed by
 	gperf.
	* lex.c (java_lex_init): Initialize java_error_flag.
	* parse.c (YYERROR_NOW): Uses java_error_flag.
	* parse.y: New static java_error_flag. Useless definition of
 	buffer_error gone.
	* parse.y (java_error): Portable error recovery using
 	java_error_flag	(not yet completely tuned).

1997-12-04  Brendan Kehoe  <brendan@lisa.cygnus.com>

	* Makefile.in (parse.c): Use $(srcdir) for parse.y.

Wed Dec  3 18:37:42 1997  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* Makefile.in: (JAVA_OBJS): New object jcf-parse.o.
	(parse.c, lex.c, keyword.h): New rules for Java source code
 	front-end.
	* parse.c: Renamed into jcf-parse.c.
	* jcf-parse.c (yyparse): Invoke the parser to process Java source code.
	* keyword.gperf: New file, Java keywords.
	* parse.y: New file, Java language grammar.
	* parse.h: New file, Java language grammar definitions.
	* lex.c: New file, Java language lexer.
	* lex.h: New file, Java language lexer definitions.

Wed Dec  3 17:00:17 1997  Per Bothner  <bothner@cygnus.com>

	* decl.c (clinit_identifier_node), java-tree.h:  New global.
	* java-tree.h (IS_METHOD_INIT_P, IS_METHOD_CLINIT_P):  Removed.
	* verify.c (verify_jvm_instructions):  Inline use of removed macros.
	* expr.c (expand_java_field_op):  Check for invalid assignment
	to final field.

	* jcf-reader.c (get_attribute):  Test for wrong attribute length.

Mon Oct 27 17:46:36 1997  Per Bothner  <bothner@cygnus.com>

	* verify.c (verify_jvm_instructions):  When processing a handler,
	attempt to set the current_subr to the right value.
	(More complicated code combines Sep 17 and Oct 22 versions.)

Fri Oct 24 11:36:54 1997  Per Bothner  <bothner@cygnus.com>

	* class.c (push_class):  Figure out (guess) name of source file.
	* parse.c  (set_source_filename):  Set DECL_SOURCE_FILE of class decl.
	(give_name_to_class):  Don't guess source name;  use DECL_SOURCE_FILE.
	(parse_class_file):  Change return type from int to void.
	Call debug_start_source_file/debug_end_source_file.

	* expr.c (build_java_binop):  Fix masking 2nd operand.
	* decl.c (init_decl_processing):  Set sizetype first.

Wed Oct 22 19:39:05 1997  Per Bothner  <bothner@cygnus.com>

	* verify.c (verify_jvm_instructions):  Don't set current_subr to NULL.
	(Revert Sep 17 change.)

Tue Oct 21 15:09:02 1997  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.c (process_zip_dir): Skip ZIP entries not bearing the
 	.class extension in their name and fix thing so we don't process
 	them parse_zip_file_entries().
	(parse_zip_file_entries): Cleaned unused local variables.

Mon Oct 20 14:52:42 1997  Per Bothner  <bothner@cygnus.com>

	* expr.c (can_widen_reference_to):  Allows equal array element types.
	(expand_byte_code):  PRE_RET must expand OPERAND_VALUE (to get index).
	* jcf-dump.c (RET):  Get (and print) index.

	* verify.c (verify_jvm_instructions case OPCODE_anewarray):
	Promote element type to POINTER_TYPE.

Mon Oct 20 13:40:41 1997  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* jcf-reader.c, parse.c: (parse_zip_file, process_zip_dir,
 	find_in_current_zip, jcf_figure_file_type): Moved from
 	jcf-reader.c to parse.c.
	* zextract.c: (read_zip_archive): takes file_comment_length possible
	field into account.

Mon Oct 20 11:45:06 1997  Per Bothner  <bothner@cygnus.com>

	* verify.c (verify_jvm_instructions):  Var can also be promoted to int.

	* verify.c (merge_types):  Handle array types even better ...

Fri Oct 17 15:56:37 1997  Per Bothner  <bothner@cygnus.com>

	* expr.c (java_stack_pop):  Fix use of NULL_TREE for TYPE_SECOND.

	* java-tree.h (PUSH_FIELD):  Set DECL_ARTIFICIAL.
	* class.c (make_class_data):  Don't build fields_decl if no fields.
	When building fields_decl, skip if DECL_ARTIFICAL.  

	* expr.c (java_stack_swap):  Update stack_type_map.
	* verify.c (merge_types):  Handle array types better.

Wed Oct 15 18:09:45 1997  Per Bothner  <bothner@cygnus.com>

	* class.c (add_field):  Don't promote short integral fields to
	int any more (unless JAVA_PROMOTE_TO_INT), since Kaffe doesn't.
	* expr.c (push_value):  Promote and convert short integral values.

	* decl.c, java-tree.h (integer_two_node):  New constant node.
	* verify.c (merge_types):  Check for TYPE_RETURN_ADDR.

Wed Oct 15 17:04:50 1997  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (append_gpp_mangled_type): Use function argument
 	unpromoted type to generate mangled name.

Mon Oct 13 16:52:55 1997  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* constants.c (build_constant_data_ref): Now uses current_class
 	instead of main_class.
	(build_constants_constructor): Now uses current_class instead of
 	main_class.
	* zipfile.h: (struct ZipFileCache): Now defined here. Declaration
 	of the global variable SeepZipFiles done here.
	* zextract.c (read_zip_archive): extra_field optional field taken
 	into account while computing the position of the class file in the
 	archive.
	* verify.c (verify_jvm_instructions): Use current_jcf to search
 	the constant pool.
	* parse.c (load_class): First search for the class to load in the
 	current zip file. Saves current_jcf (restored before returning
 	from that function). Don't call JCF_FINISH in the class was found
 	in the current ZIP file.
	(jcf_parse): If the class was found in the current ZIP file, save
 	its tree_constant_pool (for later reuse).
	(parse_class_file): New function. Process each method defined in
 	the current class and record the class as to be later registered.
	(yyparse): Rewritten. Figure the type of the current file and switch
	accordingly.
	* lang.c: New global variable current_jcf.
	(lang_init): Removed compiling_from_source test (done later, in
 	yyparse). Removed call the jcf_parse ().
	* jcf.h (JCF_ZIP, JCF_CLASS, JCF_SOURCE): New defined values.
	(typedef struct JCF): New fields seen_in_zip (to mark a class found
	in the current ZIP file) and zip_offset (offset to the class data in
	the current zip file).
	* jcf-reader.c: zipfile.h included.
	localToFile: New ZipFileCache static global variable
	(parse_zip_file_entries): New function. Browse the current ZIP
 	file directory and process each class found.
	(process_zip_dir): New function. Register each class found in the
 	ZIP file directory. The class aren't parsed but a valid JCF is
 	link to each of them.
	(find_in_current_zip): New function. Search for a class in the
 	current ZIP file directory. If found, prepare the class so that it
 	can be loaded.
	(jcf_figure_file_type): New function. Examine the file structure
 	to figure a class file, a ZIP file. If none of these categories are
 	matched, a source file is assumed.
	* jcf-io.c: Removed definition of ZipFileCache (moved in zipfile.h).
  	SeenZipFile: New global variable.
	(open_in_zip): Use zipmember's length to accelerate the search for
 	a member. If zipmember was NULL and zip file successfully read,
 	return 0.
	* java-tree.h: New global variable current_jcf declared.  Added
 	declaration for current_constant_pool_tags, current_constant_pool_data,
	current_constant_pool_length, current_constant_pool_data_ref.
	(struct lang_type): Augmented with two fields. struct JCF *jcf (to
 	store the JCF of classes seen in a zip file) and tree *constant_pool
	(to save a loaded class constant pool). current_class declared here.
	* expr.c (expand_invoke): Use current_jcf instead of main_jcf to
 	retrieve method_ref_constant.
	(PUSHC): java_push_constant_from_pool now uses current_jcf.
	(OBJECT): get_class_constant now uses current_jcf.
	(ARRAY_NEW_PTR): get_class_constant now uses current_jcf.
	(ARRAY_NEW_MULTI): get_class_constant now uses current_jcf.
	(expand_invoke): Now uses current_class instead of main_class
	(build_class_init): Now uses current_class instead of main_class
	* class.c: New static global variable registered_class.
	(register_class): New function.
	(emit_register_class): Modified to use registered_class instead of
 	main_class
	(is_compiled_class): Now take into account class seen in the archive.

Mon Oct  6 12:03:23 1997  Per Bothner  <bothner@cygnus.com>

	* except.h:  Renamed to: java-except.h.
	* parse.c, except.c, expr.c, verify.c:  Update #include accordingly.
	* except.c:  Add semi-working (commented out) implementation.

	* expr.c (expand_iinc):  Add needed flush_quick_stack.
	* parse.c (set_source_filename):  New function.
	(give_name_to_class):  Set input_filename from package.classname.java.

	* jcf-io.c (find_class):  Don't look first in ".".

Wed Oct  1 11:26:10 1997  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* zextract.c (read_zip_archive): Now takes into account the
 	extra_field field.
	* expr.c (can_widen_reference_to): Modified to handle sub-interfaces.
	
Sat Sep 20 12:44:28 1997  Per Bothner  <bothner@cygnus.com>

	* constants.c, java-tree.h (build_internal_class_name):  New function.
	(alloc_class_constant):  Re-implement using build_internal_class_name.
	* class.c (make_class_data):  Likewise.
	* class.c (hashUtf8String):  Make hash algorithm match String.hashCode.

Wed Sep 17 13:15:23 1997  Per Bothner  <bothner@cygnus.com>

	* verify.c (verify_jvm_instructions):  Temporarily set current_subr
	to NULL before pushing an exception handler target.

	* expr.c (flush_quick_stack):  Save from low stack indexes to high.
	(java_stack_swap, java_stack_dup):  Re-write to be safe from
	clobbering registers.
	(build_class_init):  New function.

Wed Sep 17 11:02:41 1997  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* typeck.c (build_java_array_type): Temporary use
 	permanent_obstack to create the array 'length' field.
	* expr.c (lookup_label): Temporay use permanent_obstack to create
 	label if not found.
	* class.c (push_super_field): Tempory use permanent_obstack.

Mon Sep 15 11:33:31 1997  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* typeck.c (type_for_mode): Now handles double_type_node and
 	float_type_node.
	* verify.c (verify_jvm_instructions): The instruction following
 	the wide bytecode is checked. OPCODE_ret added to the list of
 	wide.

Thu Sep 11 19:45:18 1997  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (make_class): Temporary use permanent_obstack. Set the
 	class CLASS_P field to 1.
	(push_class): Temporary use permanent_obstack.
	(set_super_info): Temporary use permanent_obstack.
	(add_method): Temporary use permanent_obstack, set
 	METHOD_TRANSIENT().
	(add_field): Temporary use permanent_obstack. Sets
 	FIELD_VOLATILE() and FIELD_TRANSIENT().
	(build_class_ref): Temporary use permanent_obstack if the class
 	isn't compiled.
	(build_static_field_ref): Temporary use permanent_obstack when
 	creating field's rtl.
	(get_access_flags_from_decl): Handle ACC_VOLATILE, ACC_TRANSIENT,
 	ACC_SYNCHRONIZED, ACC_NATIVE, ACC_ABSTRACT flags for methods
	and fields. Function finalized, as far as flag handling.
	(push_class_static_dummy_field): Temporary use permanent_obstack.
	(emit_register_class): Force generation of class registration at
 	-O3 or deeper.
	* decl.c (end_java_method): Call permanent_allocation() before
	returning.
	* expr.c (can_widen_reference_to): Added comment to interface
	handling, fixed typo.
	(lookup_field): Now uses CLASS_P() to correct FIXME
	(expand_invoke): Verification on public && !static && 
	!abstract moved into soft_lookupinterfacemethod (kaffe).
	Use Object class dtable if objectref is an array when expanding
	invokeinterface.
	(java_push_constant_from_pool): Temporary use permanent_obstack
	for CONSTANT_string
	* parse.c (get_ref_constant): Temporary use permanent_obstack to
 	create constant references.
	(get_constant): Temporary use permanent_obstack to create constant.
	(load_class): Temporary use permanent_obstack to load class.
	(jcf_parse): Temporary use permanent_obstack to perform class
	layout.
	* typeck.c: (parse_signature_string): Temporary use permanent_obstack.
	(build_java_signature): Temporary use permanent_obstack.
	* verify.c: (verify_jvm_instruction): removed unecessary verification
	on ACC_SUPER flag.
	* java-tree.h (METHOD_NATIVE, METHOD_TRANSIENT): Defined.
	(FIELD_VOLATILE, FIELD_TRANSIENT): Defined.
	(CLASS_P): Defined

Thu Sep 11 11:57:32 1997  Per Bothner  <bothner@cygnus.com>

	* class.c (append_gpp_mangled_type):  Fix typo.
	(emit_register_class):  Use main_class to get class object, rather
	than looking for no-longer-existing static decl starting with _CL.
	* typeck.c (parse_signature_type):  Promote array element type
	if it is a RECORD_TYPE.
	
Wed Sep 10 16:09:23 1997  Per Bothner  <bothner@cygnus.com>

	* class.c (push_class_static_dummy_field):  New function.
	(mangle_static_field):  New. Do G++-style mangling of static fields.
	(layout_class):  Mandle static fields here, not in add_field.
	(build_class_ref):  The class object is now a dummy static field.
	* decl.c (find_local_variable):  Look for best, instead of first match.
	* expr.c (push_type):  Always promote_type, not just for RECORD_TYPE.
	(build_java_athrow):  Don't check here if exception is Throwable.
	* java-tree.h (TYPE_UNSET):  Renamed to TYPE_UNKNOWN.
	(TYPE_USED):  Removed.  No longer used ...
	* parse.c (jcf_parse):  Call push_class_static_dummy_field.
	* verify.c (push_pending_label):  New function.
	(push_pending_block):  Renamed to check_pending_block.
	(merge_types):  Remove unneeded suuport for TYPE_UNUSED.
	(verify_jvm_instructions):  Only reset prev_eh_ranges (to force
	re-checking possible handlers) after a store (less wasted work).
  	Check for null handler (finally) before calling add_handler.
	Various changes to (finally?) correctly handle try/finally.

1997-09-09  Brendan Kehoe  <brendan@lisa.cygnus.com>

	* class.c: Include stdio.h.

Thu Sep  4 21:30:55 1997  Per Bothner  <bothner@cygnus.com>

	* expr.c (expand_invoke):  Use COMPOUND_EXPR (and TREE_SIDE_EFFECTS)
	to make sure class is initialized before static/special invoke.

	* verify.c (verify_jvm_instructions):  On a store instruction,
	call find_local_variable to force pre-allocation of decl and rtx.
	* decl.c (push_jvm_slot):  Set DECL_REGISTER on stack slots.

Wed Sep  3 16:13:23 1997  Per Bothner  <bothner@cygnus.com>

	* class.c (build_class_ref):   Strip off "promoted_" if need be.
	(make_field_value): Call build_java_signature when needed.
	(layout_class):  Don't make_function_rtl if METHOD_ABSTRACT.
	* expr.c (build_java_athrow):  Don't push_value of exception.
	(build_java_binop):  Implement COMPARE_L_EXPR and COMPARE_G_EXPR to
	match specification of [fd]cmp[lg] for NaNs.
	(expand_byte_code):  Add support for exception handler ranges.
	* except.c:  Add skeleton for EH code-generation.
	* verify.c (merge_types):  Treat all promoted integral types as equal.
	* constants.c (build_constants_constructor):  To force creation of
 	current_constant_pool_data_ref, call build_constant_data_ref.
	
	* javaop.def (lload):  Fix typo.
	* jcf-dump.c (main):  Clear filename to prevent possibly-bad free.
	
Tue Sep  2 17:37:25 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>

	* parse.c: Don't include function.h.

Wed Aug 27 18:33:04 1997  Per Bothner  <bothner@cygnus.com>

	* except.[ch]:  New files.
	* Makefile.in (JAVA_OBJS):  Add except.o
	* expr.c:  Temporary warning about unimplemented exceptions.
	* verify.c:  Verify exception handlers.
	
	* jcf-dump.c (disassemble_method):  Print exception table.

Wed Aug 27 13:26:58 1997  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* expr.c (verify_jvm_instructions): Started a thorough
 	verification of invoke* bytecodes.
	(expand_byte_code): flush quick stack if PC is the target of a
 	branch.  and undef RET (conflicting with config/i386/i386.h).
	(expand_java_arrayload): Fixed bogus cast, when Boolean type is
 	used.
	(expand_invoke): Now handles invokeinterface and do more
 	verification according to the bytecode.
	(lookup_field): Don't try to load the class if processing
 	dtable_type.
	(can_widen_reference_to): Now handles interfaces.
	* decl.c (init_decl_processing): New global variable
 	soft_lookupinterfacemethod_node, declared in java-tree.h. 
	Call set_super_info on string_type_node.
	* java-tree.h (CLASS_INTERFACE, CLASS_ABSTRACT, CLASS_SUPER): Now
	defined.
	* class.c (set_super_info): Fills the CLASS_* flags according to
	access_flags.
	(get_access_flags_from_decl): Handles all class flags.

Tue Aug 26 18:54:34 1997  Per Bothner  <bothner@cygnus.com>

	* class.c (add_method):  Zero out newly-allocated DECL_LANG_SPECIFIC.
	* parse.c (yyparse):  Check for abstract method, and missing code.
	* expr.c (expand_byte_code):  Change interface.
	* lang.c (put_decl_node):  Print promoted types prettier.
	* verify.c (verify_jvm_instruction):  Change interface.
	Partial support for scanning exception table.
	For load instructions, handle promoted integral types.

Thu Aug 21 13:48:01 1997  Per Bothner  <bothner@cygnus.com>

	* verify.c:  New file, with contents moved from expr.c.
	* expr.c:  Bunch of stuff (mostly verification) moved to verify.c.
	* typeck.c (is_array_type_p):  Moved here from expr.c.
	* java-tree.h:  Add some now-needed function declarations.
	* Makefile.in (JAVA_OBJS): Added verify.o.

Wed Aug 20 14:34:34 1997  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (add_method): Sets the METHOD_SYNCHRONIZED flag, sets the
	METHOD_ABSTRACT flag.

	* java-tree.h (METHOD_SYNCHRONIZED): Set to DECL_LANG_FLAG_4.
	(IS_METHOD_CLINIT_P, IS_METHOD_INIT_P): New macros.
	(METHOD_ABSTRACT): Set to DECL_LANG_FLAG_5

	* decl.c (soft_monitorenter_node, soft_monitorexit_node): New global
	variables.
	(start_java_method): Hook for SYNCHRONIZED methods.

	* expr.c (build_java_jsr, build_java_ret): New functions
	(JSR,PRE): New macros
	(PRE_TABLE_SWITCH, PRE_LOOKUP_SWITCH): Fixed and secured.
	(verify_jvm_instructions): tableswitch, lookupswitch, 
	monitorenter, monitorexit, goto_w: verified.
	(LOOKUP_SWITCH, TABLE_SWITCH): Fixed generation of default: label
	(build_java_monitor): New function.
	(MONITOR_OPERATION): Modified to call build_java_monitor()
	(verify_jvm_instructions): Started a thorough verification of 
	invoke* bytecodes.

Tue Aug 19 13:35:49 1997  Per Bothner  <bothner@cygnus.com>

	Support verification of jsr/ret subroutines (used for try/finally).
	* decl.c (return_address_type_node):  New type node.
	* java-tree.h (LABEL_RETURN_LABEL, LABEL_RETURN_TYPE_STATE,
	RETURN_MAP_ADJUSTED, LABEL_RETURN_LABELS, LABEL_IN_SUBR,
	LABEL_SUBR_START, LABEL_SUBR_CONTEXT, BCODE_VERIFIED):  New macros.
	(TYPE_UNSET, TYPE_SECOND, TYPE_NULL, TYPE_RETURN_ADDR, TYPE_UNUSED,
	TYPE_USED):  New macros for special types in type_map.

	* java-tree.h (BCODE_JUMP_TARGET):  Renamed to BCODE_TARGET.
	(BCODE_BACKWARDS_TARGET, CODE_FORWARDS_TARGET):  Replaced by
	BCODE_JUMP_TARGET.
	* expr.c (expand_byte_code):  Fix logic to warn of unused instructions.

	* expr.c (can_widen_reference_to):  New function.
	(pop_type):  Use it.
	(merge_type_state):  Support handling start of subroutine.
	(push_pending_block):  Return char* error message, instead of calling
	fatal on an error.  Also handle subroutines.
	(verify_jvm_instructions):  Handle errors from push_poending_block.
	Support jsr and ret instructions.
	
Tue Aug 19 13:33:36 1997  Per Bothner  <bothner@cygnus.com>

	* jcf-io.c (find_classfile):  Fix thinko.
	* jcf-dump.c:  Add CONVERT2 (to match changed javaop.def).

Tue Aug 12 20:14:45 1997  Jason Merrill  <jason@yorick.cygnus.com>

	* Makefile.in (BISON): Remove.

Thu Aug  7 23:08:24 1997  Per Bothner  <bothner@cygnus.com>

	* Makefile.in:  Convert to autoconf.
	* config-lang.in (outputs):  Added java/Makefile.

	* Make-lang.in, lang-specs.h, config-lang.in, Makefile.in:
	Rename cc1java to jc1.

	* lang.c (init_parse, finihs_parse):  New functions #ifdef USE_CPPLIB.
	* Makefile.in (INTERNAL_CFLAGS):  Add @extra_c_flags.

	* class.c (class_depth):  Do load_class if needed.

	Mostly better verification.
	* decl.c (pushdecl):  Set TYPE_STUB_DECL for a type.
	(init_decl_processing):  Change return type of soft_checkcast.
	* expr.c (expand_java_CHECKCAST):  Do push_value of the "casted" value.
	* lang.c (put_decl_string, put_decl_node, lang_printable_name,
	lang_print_error):  New functions.
	(lang_init):  Set global hook print_error_function to lang_print_error.
	* expr.c:  In the type_map ptr_type_node is only used for null now.
	(pop_type, merge_types):  Hence ptr_type_node matches any reference.
	(merge_types):  Dererence pointer to record types before comparing.
	(decode_newarray_type, merge_types):  On error just return NULL.
	(build_java_binop):  Add preliminary implementation (with warning)
	for COMPARE_L_EXPR and COMPARE_G_EXPR (i.e. [fd]cmp[lg]).
	(lookup_label):  Set DECL_IGNORED_P (for dwarf2out).
	(expand_compare, expand_java_goto, expand_java_call):  Don't
	push_pending_block, since that only makes sense when verifying.
	(merge_type_state):  Different return codes.
	(push_pending_block):  A block may need to be verified more than once.
	(expand_byte_code):  Warn about unused code at code generation time.
	(verify_jvm_instruction):  Changed logic, since code may need to be
	re-verified if type-state has changed.  Also, better error handling.
	Implement acmpeq, acmpne, pop, pop2, swap, checkcast, instanceof.
	Improve newarray, anewarray, ?aload, athrow,
	* java-tree.h (LABEL_CHANGED):  New macro.
	
Tue Aug  5 12:21:27 1997  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* decl.c (soft_athrow_node): New global variable initialized.
	* javaop.def (i2b, i2c, i2s): Invoke CONVERT2
	* typeck.c (convert): Added support for REAL_TYPE.
	(convert_to_char): New function.
	(convert): Handle CHAR_TYPE.
	* expr.c (expand_java_arraystore): Modified because CHAR/BYTE/BOOLEAN/
	SHORT now expect INT but store as CHAR/BYTE/BOOLEAN/SHORT.
	(expand_java_arrayload): CHAR/BYTE/BOOLEAN/SHORT now convert result to
	promoted type.
	(verify_jvm_instructions): Added break a the end of bogus unop: label.
	(OPCODE_<b|c|s>astore): Pop an int operand from the type stack
	(OPCODE_<b|c|s>astore): Push the promoted type onto the stack
	(process_jvm_instruction): New macro CONVERT2 for i2c, i2s and i2b.
	(JAVA_ARRAY_LENGTH_OFFSET, JAVA_ARRAY_DATA_OFFSET): Modified
	to Use The Right Things.
	(pop_type): Accept CHAR/BYTE/BOOLEAN/SHORT promoted type as
 	compatible with INT. BOOLEAN is made equivalent to BYTE.
	(OPCODE_athrow, OPCODE_aconst_null, OPCODE_ifnull, 
	OPCODE_ifnonnull): Now supported.
	(build_java_athrow): New function.

Mon Aug  4 15:46:45 1997  Per Bothner  <bothner@cygnus.com>

	Rename method name <init> to match G++ (and fix mangling).
	* class.c (layout_class):  Replace method name of <init> by class name.
	(make_method_value):  Do inverse renaming of constructor from <init>.
	* java-tree.h (DECL_CONSTRUCTOR_P):  New macro.
	* typeck.c (lookup_java_constructor):  New function.
	* expr.c (expand_invoke):  If method_name is <init>, call
	lookup_java_constructor to find constructor.

	* parse.c (get_constant):  Handle CONSTANT_Float and CONSTANT_Double.

Fri Aug  1 11:37:09 1997  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.c (get_class_constant): Modified to handle array "classes"
	* typeck.c (set_local_type): Bug fixed when filling type_map[] with
	wide type.
	(convert): Modified to handle real type.
	* java-tree.h (soft_badarrayindex_node, soft_anewarray_node,
	soft_multianewarray, soft_newarray_node, soft_throw_node): New global
	variables declared.
	* decl.c (soft_badarrayindex_node, soft_anewarray_node,
	soft_multianewarray, soft_newarray_node, soft_throw_node): New
	global variables initialized.
	(find_local_variable): Handles the case of a pointer
	(end_java_method): Restore the use of one more scope
	* expr.c (build_java_arraynull_check, build_java_arrayaccess,
	build_java_array_length_access, expand_java_arrayload,
	expand_java_arraystore, expand_java_array_length,
	expand_java_multianewarray, expand_java_anewarray, 
	build_java_check_indexed_type, is_array_type_p,
	build_java_throw_out_of_bound_exception): New functions.
	(STORE_INTERNAL): Now forces type of the decl to be type of the value.
	(OPCODE_arraylength, OPCODE_newarray, OPCODE_<t>astore,
	OPCODE_<t>aload): Implemented code for verification.
	(ARRAY_STORE, ARRAY_LOAD, ARRAY_LENGTH, ARRAY_NEW_PTR, ARRAY_NEW_NUM
	ARRAY_NEW_MULTI): Macro defined.
	(CONVERT): Modified to invoke convert().
	(case OPCODE_aload2): Fixed index typo from 2 to 1.

Thu Jul 31 12:48:18 1997  Per Bothner  <bothner@cygnus.com>

	* class.c (push_class):  Set DECL_ARTIFICIAL (for dbxout.c).
	(build_class_ref, is_compiled_class):  Handle pointer-to-record types.
	(make_class_data):  Field name needs '/' as package prefix.
	* expr.c (type_stack_dup, java_stack_dup):  Fix fencepost errors.

Fri Jul 25 11:44:21 1997  Per Bothner  <bothner@cygnus.com>

	Implement debug information for local variables.
	* java-tree.h (DECL_CODE_LENGTH, DECL_ARG_SLOT_COUNT,
	DECL_LOCAL_SLOT_NUMBER, DECL_LOCAL_START_PC, DECL_LOCAL_END_PC,
	DECL_LOCAL_SLOT_CHAIN):  New macros.
	(struct lang_decl_var):  New type.
	* parse.c (give_name_to_locals):  Move to decl.c.
	* decl.c (give_name_to_locals):  Re-written to Do The Right Thing.
	(start_java_method):  Re-write parameter handling.
	(pending_local_decls):  New global variable.
	(push_jvm_slot, maybe_pushlevels, maybe_poplevels):  New functions.
	(find_local_variable):  Accept pc so we can skips decls not in range.
	(struct binding_level):  Add end_pc field.
	* expr.c (expand_byte_code): Call maybe_pushlevels and maybe_poplevels.
	(various):  Change so current pc gets passed to find_local_variable.

	* decl.c (init_decl_processing):  Re-arrange fields in
	class_type_node and and method_type_node to match kaffe 0.9.1.
	* class.c (make_method_value, make_class_data):  Update
	initializations to match.
	
Wed Jul 16 17:17:50 1997  Per Bothner  <bothner@cygnus.com>

	* class.c (unicode_mangling_length, emit_unicode_mangled_name,
	append_gpp_mangled_name, append_gpp_mangled_type):  New functions.
	(push_super_field):  New function.
	(make_class_data):  Handle inheritance of class static initializer.
	(layout_class):  New name mangling.
	* constants.c (build_constant_data_ref):  Init type of data array
	to a one-element array.
	(build_constants_constructor):  Set DECL_SIZE from complete array type.
	* decl.c:  Rename class_type, object_type etc to class_type_node,
	object_type_node etc.  Make former inherit from latter. 
	* expr.c (expand_invoke):  Add cast of function address.
	* java-tree.h (TYPE_ARRAY_ELEMENT, PUSH_SUPER_VALUE):  New.
	* parse.c (yyparse):  Don't call layout_class here.
	* typeck.c (build_java_array_type):  Set TYPE_ARRAY_ELEMENT.

Sat Jun 14 12:06:57 1997  Per Bothner  <bothner@cygnus.com>

	* decl.c, class.c:  Update method type to match latest Kaffe snapshot.
	* constants.c (lookup_name_constant):  Renamed to alloc_name_constant.
	(alloc_class_constant):  New.
	* expr.c (expand_invoke):  Make sure method's class is initialized.
	* class.c (interits_from_p, emit_register_class):  New functions.
	* parse.c (yyparse):  Call emit_register_class.

Mon Jun  9 18:08:06 1997  Per Bothner  <bothner@cygnus.com>

	* constants.c:  New file, to handle constant pool.
	* Makefile.in (JAVA_OBJS):  Add constants.o.
	* decl.c (init_decl_processing):  Update, fix, finish various structs.
	(pushdecl_top_level):  New.
	* parse.c (layout_class):  Moved to class.c.
	* expr.c (java_push_constant_from_pool):  New function.
	* class.c (build_class_ref):  Make work fully
	(make_class_data):  Emit super-class, constant pool, interface vector.

Tue Jun  3 10:14:31 1997  Per Bothner  <bothner@cygnus.com>

	java-tree.h (DECL_SIGNATURE, BCODE_EMITTED):  Remove.
	(LABEL_VERIFIED, BCODE_EXCEPTION_TARGET, TYPE_ARRAY_P):  New.
	* class.c (class_depth):  New function.
	(lookup_named_class):  Replaced by new function lookup_class.
	* decl.c (object_type_node, string_type_node):  New.
	Remove various types that we no longer need.
	* expr.c (verify_jvm_instructions):  New separate verifier pass.
	(push_type, pop_type):  New functions for verifier.
	(type_stack_dup, pop_argument_types, merge_types):  Likewise.
	(expand_byte_code):  Simplify, since we assume already verified.
	(expand_invoke):  Now mostly works.
	* javaop.def:  Rename ldc1->ldc, ldc2->ldc_w, ldc2w->ldc2_w.
	* lang.c (main_class):  Move to parse.c.  Don't make_class yet.
	* parse.c:  Wait to allocate class object until we know its name.
	(layout_class):  Calculate DECL_VINDEX for each virtual method.
	* typeck.c (get_array_type):  Rename to ...
	(build_java_array_type):  ... and provide working implementation.
	(build_java_signature):  New function - build Java signature of type.
	(set_java_signature):  New function - cache signature with type.
	(lookup_java_method):  New function.
	
Tue May  6 22:08:24 1997  Per Bothner  <bothner@deneb.cygnus.com>

	* class.c (ident_subst):  Take extra SUFFIX parameter.
	(add_field):  Set DECL_ASSEMBLER_NAME of static fields;  more.
	(set_constant_value, build_static_field_ref, is_compiled_class):  New.
	(build_class_ref):  Actually implement.
	* decl.c, java-tree.h:  Renamed some xx_type to xx_type_node.
	* decl.c (builtin_function):  New.
	(init_decl_processing):  Update for current Kaffe.  Declare some
	builtin Kaffe functions.
	* expr.c (build_address_of):  New.
	(expand_java_NEW, expand_java_INSTANCEOF, expand_java_CHECKCAST):
	Renamed (from expand_java_new etc), and added working implementations.
	(build_field_ref):  Now also handle static fields.
	(expand_invoke):  Implement invokestatic, and start implement rest.
	* java-opcodes.h:  Use javaop.def to avoid duplicated list.
	* javaop.def:  Rename invokevirt -> invokevirtual.
	* lang.c (use_handles):  Removed.
	* parse.c:  Add support for ConstantValue atribute.
	Handle nested loading of a class.  (JPOOL_UTF):  New.

Tue Mar 11 20:11:05 1997  Per Bothner  <bothner@deneb.cygnus.com>

	* expr.c (expand_java_pushc):  Support #ifndef REAL_ARITHMETIC case.

Thu Feb 27 14:24:29 1997  Per Bothner  <bothner@deneb.cygnus.com>

	* Make-lang.in (java.install-man):  New empty rule.
	* typeck.c (set_local_type):  New function.
	* expr.c (STORE_INTERNAL):  Call find_local_variable,
	not find_stack_slot.  Call set_local_type.

Wed Feb 12 16:11:05 1997  Per Bothner  <bothner@kalessin.cygnus.com>

	* java-tree.h:  Various new macros for constructing RECORD_TYPEs,
	and building RECORD_TYPE CONSTRUCTORs.
	Also support for creating Utf8Const objects from an INDETIFIER_NODE.

	* lang.c (use_handles):  Change the default to 0.
	* decl.c:  Define and build class_type, field_type, utf8const_type.
	* class.c (make_class_data, make_field_value,
	get_access_flags_from_decl, build_class_ref, build_utf8_ref,
	hashUtf8String, strLengthUtf8, mangled_classname:
	Functions to build reflective data structures.
	* parse.c (yyparse):  Call make_class_data.

	* jcf-io.c (open_class, find_classfile):  New functions.
	* jcf-dump.c:  Support reading classfile from explicitly-named
	class file (without CLASSPATH searching).

Thu Oct 24 14:10:16 1996  Per Bothner  <bothner@deneb.cygnus.com>

	* jcf-reader.c:  Add parameter list to HANDLE_CONSTANT_Utf8.
	* parse.c (JPOOL_UTF_LENGTH, JPOOL_UTF_DATA, HANDLE_CONSTANT_Utf8):
	Override jcf-reader macros so CONSTANT_Utf8 becomes tree node here.
	(get_constant):  Now trivial for CONSTANT_Utf8.

	* jcf.h:  Make NEW_CPOOL the default.
	* jcf.h, jcf-reader.c, parse.c:  Remove support for !NEW_CPOOL.
	
Thu Oct 24 13:52:45 1996  Per Bothner  <bothner@deneb.cygnus.com>

	New directory.
OpenPOWER on IntegriCloud