aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/ChangeLog
blob: 8b19debd08eb3d782a07c5f613668100af1a7af3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
2025-12-08  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/123037
	* rtinit.c [__MINGW32__]: Include <stdlib.h> and not <windows.h>.
	* rtfinal.c [__MINGW32__]: Do not include <windows.h>.

2025-12-07  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/115349
	* sem_attr.adb (Resolve_Attribute) <Attribute_Reduce>: Use the base
	type as Accum_Type if the reducer is an operator from Standard and
	the type is numeric.  Use the type of the first operand for other
	operators.  Streamline the error message given for limited types.

2025-12-06  Denis Mazzucato  <mazzucato@adacore.com>

	* sem_attr.adb (Resolve_Attribute): Check if the reducer is a
	procedure before giving the warning.

2025-12-05  Javier Miranda  <miranda@adacore.com>

	* einfo.ads (Has_Unsigned_Base_Range_Aspect): Update documentation.
	(Has_Modular_Operations): New synthesized predicate.
	(Has_Overflow_Operations): New synthesized predicate.
	* einfo-utils.ads (Has_Modular_Operations): New function.
	(Has_Overflow_Operations): New function.
	* einfo-utils.adb (Is_Modular_Integer_Type): Undo previous patch.
	(Is_Signed_Integer_Type): Undo previous patch.
	(Has_Modular_Operations): New function.
	(Has_Overflow_Operations): New function.
	* checks.adb (Determine_Range): Replace selected occurrences of calls to
	Is_Modular_Integer_Type by calls to Has_Modular_Operations, and calls to
	Is_Signed_Integer_Type by calls to Has Overflow_Operations.
	(Enable_Range_Check): Ditto.
	(Insert_Valid_Check): Ditto.
	* exp_aggr.adb (Others_Check): Ditto.
	* exp_attr.adb (Expand_N_Attribute_Reference [Attribute_Pred,
	Attribute_Succ]): Ditto.
	* exp_ch4.adb (Expand_Compare_Minimize_Eliminate_Overflow): Ditto.
	(Size_In_Storage_Elements): Ditto.
	(Expand_N_Op_Abs): Ditto.
	(Expand_N_Op_Expon): Ditto.
	(Expand_N_Op_Minus): Ditto.
	(Expand_N_Op_Multiply): Ditto.
	(Expand_N_Op_Subtract): Ditto.
	* freeze.adb (Freeze_Entity): Ditto.
	* sem_aggr.adb (Report_Null_Array_Constraint_Error): Ditto plus
	report specific error for index with unsigned_base_range aspect.
	* sem_attr.adb (Check_Modular_Integer_Type): Ditto.
	(Analyze_Attribute [Attribute_Pred, Attribute_Succ, Attribute_
	Range_Length, Attribute_Small, Attribute_Reduce]): Ditto.
	* sem_ch12.adb (Instantiate_Type): Ditto.
	(Validate_Formal_Type_Default): Ditto.
	* sem_ch13.adb (Valid_Empty): Ditto.
	* sem_ch2.adb (Analyze_Integer_Literal): Ditto.
	* sem_ch3.adb (Unsigned_Base_Range_Type_Declaration): Set attribute
	Has_Unsigned_Base_Range_Aspect on the implicit base, and set Etype
	of its first subtype E_Modular_Integer_Subtype.
	* sem_ch4.adb (Analyze_Call): Ditto.
	* sem_eval.adb (Check_Non_Static_Context_For_Overflow): Ditto.
	(Eval_Arithmetic_Op): Ditto.
	(Eval_Integer_Literal): Ditto.
	(Eval_Logical_Op): Ditto.
	(Eval_Op_Expon): Ditto.
	(Eval_Op_Not): Ditto.
	(Eval_Unary_Op): Ditto.
	(Fold_Shift): Ditto.
	(Test_Expression_Is_Foldable): Ditto.
	* sem_intr.adb (Check_Shift): Ditto.
	* sem_prag.adb (Analyze_Pragma [Pragma_Unsigned_Base_Range]): Add
	assertion.
	* sem_res.adb (Resolve_Logical_Op): Ditto.
	(Resolve_Unary_Op): Ditto.
	(Set_String_Literal_Subtype): Ditto.
	* sem_type.adb (Covers): Ditto.
	(Specific_Type): Ditto.
	(Valid_Boolean_Arg): Ditto.
	* sem_util.adb (Wrong_Type): Ditto
	* style.adb (Check_Boolean_Operator): Ditto.

2025-12-05  Ronan Desplanques  <desplanques@adacore.com>

	* doc/gnat_rm/representation_clauses_and_pragmas.rst: Improve table.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-12-05  Viljar Indus  <indus@adacore.com>

	* sem_util.adb (Get_Cursor_Type): use the
	specific type for classwide container checks.

2025-12-05  Eric Botcazou  <ebotcazou@adacore.com>

	* sem_ch12.adb (Remove_Parent): Only set the Is_Transient component
	of the local scope stack entry.

2025-12-05  Marc Poulhiès  <poulhies@adacore.com>

	* doc/gnat_ugn/building_executable_programs_with_gnat.rst
	(-gnato??): Remove redundant/confusing doc on floating-point
	overflow.
	* gnat_ugn.texi: Regenerate.

2025-12-05  Tonu Naks  <naks@adacore.com>

	* adaint.c: use the _tsopen macro when opening RO file

2025-12-05  Denis Mazzucato  <mazzucato@adacore.com>

	* sem_attr.adb
	(Analyze_Attribute): Set the type of the attribute expression only when
	not ambiguous (it will later be resolved correctly). Emit an error in
	case the type is limited.
	(Resolve_Attribute): Emit an error if the reducer has no entity.
	(Get_Value_Subtype): Try to resolve the Value_Subtype of the aggregate
	expression, and if it succeeds, set the candidate reducer subprogram.
	(Is_Reducer_Subprogram): Check whether the selected candidate has a
	proper reducer profile.
	(Make_Array_Type): Return simple array type to resolve the array
	aggregate against it.
	(Resolve_Attribute): Reimplement the resolution of Reduce attribute,
	including its prefix.
	* sem_res.adb (Resolve_Declare_Expression): Save and restore variables
	that may be hidden by the local declaration. Only setting the new
	entities is problematic when dealing with copied trees where the ref is
	lost (eg. when resolving array aggregates).
	* exp_attr.adb (Expand_N_Attribute_Reference): Remove tricks to resolve
	the reducer in case of faulty resolution as not needed anymore.

2025-12-05  Iain Sandoe  <iain@sandoe.co.uk>

	PR ada/115305
	* Makefile.rtl: Use s-oslock__darwin instead of the Posix version.
	* libgnat/s-oslock__darwin.ads: New file.

2025-12-03  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/122960
	* gcc-interface/Makefile.in (powerpc64-suse-linux): Remove kludge.

2025-11-30  Andrew Pinski  <andrew.pinski@oss.qualcomm.com>

	* gcc-interface/lang.opt.urls: Regenerate.

2025-11-27  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch6.adb (Expand_Actuals): Do not create activation chain and
	master for build-in-place calls here but...
	(Make_Build_In_Place_Call_In_Allocator): Use Unqual_Conv.
	(Make_Build_In_Place_Call_In_Anonymous_Context): ...here instead.
	Call Make_Build_In_Place_Call_In_Object_Declaration directly.
	(Make_Build_In_Place_Iface_Call_In_Anonymous_Context): ...and here
	instead.  Add missing rewriting of the call.

2025-11-27  Ronan Desplanques  <desplanques@adacore.com>

	* doc/gnat_ugn/about_this_guide.rst: Minor fixes
	* gnat_ugn.texi: Regenerate.

2025-11-27  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/122574
	* doc/gnat_ugn/building_executable_programs_with_gnat.rst (-gnatwp):
	Replace reference to -gnatN with -gnatn and adjust accordingly.
	* inline.adb: Remove clauses for Exp_Tss.
	(Has_Initialized_Type): Delete.
	(Add_Inlined_Subprogram): Test that the Is_Inlined flag is still set
	on the subprogram.
	* usage.adb (Usage): Adjust description of -gnatwp.
	* gnat_ugn.texi: Regenerate.

2025-11-27  Denis Mazzucato  <mazzucato@adacore.com>

	* sem_ch5.adb: Skip check for assignment that doesn't come from source.

2025-11-27  Ronan Desplanques  <desplanques@adacore.com>

	* exp_aggr.adb (Gen_Loop): Only preanalyze expressions we know won't
	evaluated.

2025-11-27  Tom Tromey  <tromey@adacore.com>

	* repinfo.adb (Visit): New procedure.
	(List_GCC_Expression): Rewrite.
	* repinfo.ads (Visit): New generic procedure.

2025-11-27  Ghjuvan Lacambre  <lacambre@adacore.com>

	* sem_ch13.adb (Analyze_Code_Statement): Do not emit error
	message when only checking relaxed semantics.

2025-11-27  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch7.adb (Build_Finalizer_Call): Delete.
	(Build_Finalizer): Always insert the finalizer at the end of the
	statement list in the non-package case.
	(Expand_Cleanup_Actions): Attach the finalizer manually, if any.
	* exp_smem.adb (Add_Shared_Var_Lock_Procs): Insert all the actions
	directly in the transient scope.

2025-11-27  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch11.adb (Expand_N_Handled_Sequence_Of_Statement): Merge the
	eslif condition with the if condition for cleanup actions.
	* sem_ch6.adb (Analyze_Procedure_Call.Analyze_Call_And_Resolve): Get
	rid of if statement whose condition is always true.
	* sinfo.ads (Finally_Statements): Document their purpose.

2025-11-27  Eric Botcazou  <ebotcazou@adacore.com>

	* gen_il-gen-gen_nodes.adb (N_Extended_Return_Statement): Add
	Activation_Chain_Entity semantic field.
	* exp_ch3.adb (Build_Master): Use Build_Master_{Entity,Renaming} in
	all cases.
	(Expand_N_Object_Declaration): Small tweak.
	* exp_ch6.adb (Make_Build_In_Place_Iface_Call_In_Allocator): Use
	Build_Master_{Entity,Renaming} to build the master.
	* exp_ch7.adb (Expand_N_Package_Declaration): Do not guard the call
	to Build_Task_Activation_Call for the sake of consistency.
	* exp_ch9.ads (Build_Class_Wide_Master): Delete.
	(Find_Master_Scope): Likewise.
	(Build_Protected_Subprogram_Call_Cleanup): Move to...
	(First_Protected_Operation): Move to...
	(Mark_Construct_As_Task_Master): New procedure.
	* exp_ch9.adb (Build_Protected_Subprogram_Call_Cleanup): ...here.
	(First_Protected_Operation): ...here.
	(Build_Activation_Chain_Entity): Streamline handling of extended
	return statements.
	(Build_Class_Wide_Master): Delete.
	(Build_Master_Entity): Streamline handling of extended return
	statements and call Mark_Construct_As_Task_Master on the context.
	(Build_Task_Activation_Call): Assert that the owner is not an
	extended return statement.
	(Find_Master_Scope): Delete.
	(Mark_Construct_As_Task_Master): New procedure.
	* sem_ch3.adb (Access_Definition): Use Build_Master_{Entity,Renaming}
	in all cases to build a master.
	* sem_ch6.adb (Check_Anonymous_Return): Rename to...
	(Check_Anonymous_Access_Return_With_Tasks): ...this.  At the end,
	call Mark_Construct_As_Task_Master on the parent node.
	(Analyze_Subprogram_Body_Helper): Adjust to above renaming.
	(Create_Extra_Formals): Do not set Has_Master_Entity here.
	* sinfo.ads (Activation_Chain_Entity): Adjust description.

2025-11-27  Bob Duff  <duff@adacore.com>

	* sem_ch13.adb (Aspect_Annotate): Avoid disturbing the tree of the
	aspect.
	* vast.adb: Enable Check_Parent_Present.
	* exp_ch6.adb (Validate_Subprogram_Calls): Minor reformatting.

2025-11-27  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch4.adb (Expand_N_Case_Expression): When not optimizing for a
	specific context, call Make_Build_In_Place_Call_In_Anonymous_Context
	on expressions of alternatives when they are calls to BIP functions.
	(Expand_N_If_Expression): Likewise for the Then & Else expressions.

2025-11-27  Bob Duff  <duff@adacore.com>

	* frontend.adb: Move call to VAST from here...
	* gnat1drv.adb: ...to here.
	* vast.ads (VAST_If_Enabled): Rename main entry point of VAST from
	VAST to VAST_If_Enabled.
	* vast.adb: Miscellaneous improvements. Mostly debugging
	improvements. Also enable Check_Error_Nodes. Also add checks:
	Check_FE_Only, Check_Scope_Present, Check_Scope_Correct.
	* debug.ads: Minor comment tweaks. The comment, "In the checks off
	version of debug, the call to Set_Debug_Flag is always a null
	operation." appears to be false, so is removed.
	* debug.adb: Minor: Remove some code duplication.
	* sinfo-utils.adb (nnd): Add comment warning about C vs. Ada
	confusion.

2025-11-27  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch6.ads (Needs_BIP_Task_Actuals): Adjust description.
	* exp_ch6.adb (Expand_N_Extended_Return_Statement): Move activation
	chain for every build-in-place function with task formal parameters
	when the type of the return object might have tasks.

2025-11-27  Ronan Desplanques  <desplanques@adacore.com>

	* libgnat/s-dwalin.ads (Display_Mode_Type): New enumerated type.
	(Symbolic_Traceback): Use new type in profile.
	* libgnat/s-dwalin.adb (Symbolic_Traceback): Use new type in profile
	and adapt body.
	* libgnat/s-trasym__dwarf.adb (Multi_Module_Symbolic_Traceback): Fix
	wrong call in body of one overload. Use new type in profile. Adapt
	body.
	(Symbolic_Traceback, Symbolic_Traceback_No_Lock,
	Module_Symbolic_Traceback): Use new type in profile and adapt body.
	(Calling_Entity): Adapt body.

2025-11-24  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/81106
	* gnatchop.adb (Gnatchop): If present in the source file, output
	the BOM at the start of every compilation unit.

2025-11-24  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/33994
	* gcc-interface/utils.cc (convert) <INTEGER_TYPE>: Call
	int_const_convert if the expression is an integer constant.

2025-11-21  Bob Duff  <duff@adacore.com>

	* exp_ch5.adb (Expand_Formal_Container_Loop):
	Preanalyze block with empty statements; then set
	the statements later before doing Analyze of the
	block.

2025-11-21  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_aggr.adb (Expand_Array_Aggregate): Remove obsolete call to
	Establish_Transient_Scope for an allocator in a loop.
	* exp_ch7.adb (Establish_Transient_Scope): Adjust description.

2025-11-21  Piotr Trojanek  <trojanek@adacore.com>

	* lib-xref.adb (Output_References): Put local array object on the heap.

2025-11-21  Viljar Indus  <indus@adacore.com>

	* erroutc.adb (Is_Redundant_Error_Message): Avoid non-serious errors
	masking fatal errors.

2025-11-21  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch6.ads (BIP_Formal_Kind): Update description of some values.

2025-11-21  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch4.adb (Expand_N_Op_Eq): Use No instead of not Present.
	(Optimize_Length_Comparison): Initialize Is_Zero and Comp variables.
	(Safe_In_Place_Array_Op): Do not use local variable to pass data to
	nested function Is_Safe_Operand.

2025-11-21  Javier Miranda  <miranda@adacore.com>

	* sem_ch6.adb (Create_Extra_Formals): Do not add extra formals to
	anonymous access to subprogram types defined in the profile of
	subprograms that have foreign convention.

2025-11-21  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch3.adb (Expand_N_Object_Declaration): Delete ancient comment.
	* exp_ch6.adb (Expand_Call_Helper): Do not establish a transient
	scope for build-in-place functions in anonymous contexts here...
	(Make_Build_In_Place_Call_In_Anonymous_Context): ...but here instead.
	* sem_attr.adb (Resolve_Attribute) <Attribute_Range>: Remove obsolete
	code dealing with transient scopes.
	* sem_res.adb (Resolve_Actuals): Likewise.
	(Resolve_Call): Adjust comment on the strategy for transient scopes.

2025-11-21  Bob Duff  <duff@adacore.com>

	* exp_ch5.adb (Expand_Formal_Container_Loop):
	Analyze Init_Decl in the correct scope. Remove patch-up
	code that was needed because we were using the wrong scope.
	* exp_ch7.adb (Process_Object_Declaration):
	Remove code to unique-ify the name of Master_Node_Id;
	no longer needed because of change to exp_ch5.adb.
	* sem_warn.adb (Check_References):
	Suppress warnings during preanalysis, because we don't
	have complete information yet; otherwise, the new Preanalyze
	call in exp_ch5.adb generates bogus warnings.

2025-11-21  Steve Baird  <baird@adacore.com>

	* libgnat/a-cobove.adb
	(Append): Add an equivalent fast path for the case where tampering
	checks are suppressed.

2025-11-21  Viljar Indus  <indus@adacore.com>

	* freeze.adb (Freeze_Profile): Improve -gnatwx message.

2025-11-21  Eric Botcazou  <ebotcazou@adacore.com>

	* repinfo.adb (List_Location): Do not output the final comma.
	(List_Common_Type_Info): Adjust to above change.  Do not output
	"??" for an unknown alignment.
	(List_Entities): Do not output generic types.
	(List_Object_Info): Adjust to above change.
	(List_Subprogram_Info): Likewise.

2025-11-21  Viljar Indus  <indus@adacore.com>

	* sem_ch4.adb (Analyze_Call): ensure we generate a reference to the
	non limited view of the return type to avoid scenarios where
	the with-ed unit is not considered referenced.

2025-11-18  Denis Mazzucato  <mazzucato@adacore.com>

	* gcc-interface/decl.cc
	(is_cplusplus_method,gnat_to_gnu_param,gnat_to_gnu_subprog_type):
	Adjust Is_Constructor/Is_CPP_Constructor after renaming.

2025-11-18  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/34290
	* sem_ch4.adb (Try_Object_Operation.Complete_Object_Operation): Call
	Preserve_Comes_From_Source to preserve the flag on nodes.  Relocate
	the Obj node consistently.  Preserve the Comes_From_Source flag for
	the case of an implicit 'Access reference and post the local errors
	on the rewritten prefix consistently.
	* sem_util.adb (Is_Aliased_View): Also return true for a generalized
	reference to the result of a function call.

2025-11-18  Javier Miranda  <miranda@adacore.com>

	* exp_util.ads (Flag_Interface_Pointer_Displacement): New subprogram.
	* exp_util.adb (Flag_Interface_Pointer_Displacement): Ditto.
	* exp_attr.adb (Add_Implicit_Interface_Type_Conversion): Flag type
	conversions internally added to displace the pointer to the object.
	(Expand_N_Attribute_Reference): Ditto.
	* exp_ch4.adb (Displace_Allocator_Pointer): Ditto.
	* exp_ch6.adb (Expand_Simple_Function_Return): Ditto.
	(Make_Build_In_Place_Call_In_Allocator): Ditto.
	(Make_CPP_Constructor_Call_In_Allocator): Ditto.
	* exp_disp.adb (Expand_Interface_Actuals): Ditto.
	* exp_intr.adb (Expand_Dispatching_Constructor_Call): Ditto.
	* sem_ch6.adb (Analyze_Function_Return): Ditto.
	* sem_disp.adb (Propagate_Tag): Ditto.
	* sem_res.adb (Resolve_Actuals): Ditto.
	(Valid_Conversion): Rely on the new flag to handle the type conversion
	as a conversion added to displace the pointer to the object. Factorize
	code handling general and anonymous access types.
	* sem_type.adb (Interface_Present_In_Ancestor): For concurrent types
	add missing handling of class-wide types. Noticed working on this
	issue.
	* sinfo.ads (Is_Interface_Pointer_Displacement): Document this new flag.
	* gen_il-fields.ads (Is_Interface_Pointer_Displacement): New flag.
	* gen_il-gen-gen_nodes.adb (Is_Interface_Pointer_Displacement): New
	flag on N_Type_Conversion nodes.
	* gen_il-internals.adb (Image): Add Is_Interface_Pointer_Displacement
	flag image.

2025-11-18  Eric Botcazou  <ebotcazou@adacore.com>

	* sem_ch12.adb (Analyze_Package_Instantiation): Streamline and move
	code clearing Needs_Body after it is computed to ...
	(Needs_Body_Instantiated): ...here.  Chain if-then constructs.

2025-11-18  Eric Botcazou  <ebotcazou@adacore.com>

	* sem_type.adb (Last_Overloaded): Fix typo.

2025-11-18  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/111433
	* sem_util.ads (Incomplete_Or_Partial_View): Add Partial_Only formal
	parameter.
	* sem_util.adb (Incomplete_Or_Partial_View): Likewise.  Do not look
	for an incomplete view if it is set to True.
	* sem_ch6.adb (Check_Conformance.Null_Exclusions_Match): Pass True
	for Partial_Only in the call to Incomplete_Or_Partial_View.

2025-11-18  Tonu Naks  <naks@adacore.com>

	* doc/gnat_rm/obsolescent_features.rst: update PolyOrb reference
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-11-18  Denis Mazzucato  <mazzucato@adacore.com>

	* par-ch4.adb (P_Simple_Expression): Improve diagnostic.

2025-11-18  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Check_Procedure_Call_Levels): New function for
	implementing the check.
	* ghost.ads (Check_Procedure_Call_Levels): Likewise.
	* sem_ch6.adb (Analyze_Procedure_Call): Check the levels after
	the call has been resolved and the previous ghost region has
	been restored.

2025-11-18  Denis Mazzucato  <mazzucato@adacore.com>

	* sem_util.adb (Is_Constructor_Procedure): Replace by Is_Constructor.
	* sem_util.ads: Likewise.
	* sem_ch6.adb (Analyze_Direct_Attribute_Definition): Set Is_Constructor.
	* einfo.ads: Use Is_Constructor for Ada constructors, and
	Is_CPP_Constructor for CPP constructors.
	* exp_ch6.adb: Likewise.
	* exp_disp.adb: Likewise.
	* freeze.adb: Likewise.
	* gen_il-fields.ads: Likewise.
	* gen_il-gen-gen_entities.adb: Likewise.
	* gen_il-internals.adb: Likewise.
	* par-ch6.adb: Likewise.
	* sem_prag.adb: Likewise.
	* treepr.adb: Likewise.

2025-11-18  Steve Baird  <baird@adacore.com>

	* exp_attr.adb (Expand_N_Attribute_Reference): Ensure that
	Build_Record_Or_Elementary_Input_Function and
	Build_Record_Or_Elementary_Output_Procedure are only called
	from within an instance of Build_And_Insert_Type_Attr_Subp.
	In particular, the results returned by those 2 functions should
	not be passed directly to Insert_Action. This is needed to
	ensure that the newly-built subprogram is inserted at the correct
	point in the tree.

2025-11-18  Bob Duff  <duff@adacore.com>

	* exp_ch4.adb (Warn_On_Abstract_Equality_For_Component):
	Add additional information in the record-component case.

2025-11-18  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Check_Valid_Ghost_Policy): Remove function.
	(Ghost_Policy_In_Effect): Force the ghost policy to be always be
	ignore inside ignored regions.
	(Mark_And_Set_Ghost_Declaration): Likewise.

2025-11-18  Steve Baird  <baird@adacore.com>

	* exp_imgv.adb (Build_Enumeration_Image_Tables): If a
	No_Dynamic_Sized_Objects restriction is in effect, then choose a large
	value for Threshold so that no Lit_Hash function is generated.

2025-11-18  Ronan Desplanques  <desplanques@adacore.com>

	* libgnarl/s-taspri__mingw.ads (Suspension_Object): Remove.
	(Private_Data): Revert unintentional removal.

2025-11-18  Ronan Desplanques  <desplanques@adacore.com>

	* libgnarl/a-sytaco.ads (Suspension_Object): Change components.
	* libgnarl/a-sytaco.adb (Initialize, Finalize, Current_State,
	Set_False, Set_True, Suspend_Until_True): New cross-platform version.
	* libgnarl/s-taskin.ads (Task_States): New task state.
	* libgnarl/s-tasini.adb (Locked_Abort_To_Level): Adapt to new state.
	* libgnarl/s-taprop.ads (Is_Task_Context): New function Spec.
	(Initialize, Finalize, Current_State, Set_False, Set_True,
	Suspend_Until_True): Remove.
	* libgnarl/s-taprop__dummy.adb (Is_Task_Context): New body.
	(Initialize, Finalize, Current_State, Set_False, Set_True,
	Suspend_Until_True): Remove.
	* libgnarl/s-taprop__linux.adb (Is_Task_Context): New body.
	(Initialize, Finalize, Current_State, Set_False, Set_True,
	Suspend_Until_True): Remove.
	* libgnarl/s-taprop__mingw.adb (Is_Task_Context): New body.
	(Initialize, Finalize, Current_State, Set_False, Set_True,
	Suspend_Until_True): Remove.
	* libgnarl/s-taprop__posix.adb (Is_Task_Context): New body.
	(Initialize, Finalize, Current_State, Set_False, Set_True,
	Suspend_Until_True): Remove.
	* libgnarl/s-taprop__qnx.adb (Is_Task_Context): New body.
	(Initialize, Finalize, Current_State, Set_False, Set_True,
	Suspend_Until_True): Remove.
	* libgnarl/s-taprop__rtems.adb (Is_Task_Context): New body.
	(Initialize, Finalize, Current_State, Set_False, Set_True,
	Suspend_Until_True): Remove.
	* libgnarl/s-taprop__solaris.adb (Is_Task_Context): New body.
	(Initialize, Finalize, Current_State, Set_False, Set_True,
	Suspend_Until_True): Remove.
	* libgnarl/s-taprop__vxworks.adb (Is_Task_Context): Remove spec.
	(Initialize, Finalize, Current_State, Set_False, Set_True,
	Suspend_Until_True): Remove.
	* libgnarl/s-taspri__dummy.ads (Suspension_Object): Remove.
	* libgnarl/s-taspri__lynxos.ads (Suspension_Object): Remove.
	* libgnarl/s-taspri__mingw.ads (Suspension_Object): Remove.
	* libgnarl/s-taspri__posix-noaltstack.ads (Suspension_Object):
	Remove.
	* libgnarl/s-taspri__posix.ads (Suspension_Object): Remove.
	* libgnarl/s-taspri__solaris.ads (Suspension_Object): Remove.
	* libgnarl/s-taspri__vxworks.ads (Suspension_Object): Remove.

2025-11-18  Ronan Desplanques  <desplanques@adacore.com>

	* libgnarl/a-sytaco.ads (Suspension_Object): Use Finalizable aspect.

2025-11-13  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch9.adb (Expand_N_Entry_Declaration): In the deferred case,
	freeze immediately all the newly created entities.

2025-11-13  Douglas B Rupp  <rupp@adacore.com>

	* sigtramp-vxworks-target.h (REGNO_PC_OFFSET): Use 32 vice
	96 with llvm/clang. (REGNO_G_REG_OFFSET): Remove parens on
	operand. (REGNO_GR): Likewise.
	* sigtramp-vxworks.c (__gnat_sigtramp): Define a macro for
	__attribute__ optimize, which is empty of not available.
	* raise-gcc.c (db): Define ATTRIBUTE_PRINTF_2 if not defined.

2025-11-13  Steve Baird  <baird@adacore.com>

	* exp_attr.adb: Rewrite the spec and implementation of package
	Cached_Attribute_Ops so that the saved value associated with a
	type in a given map is not a single subprogram but instead a
	set of subprograms. Thus, the correct generation of a second subprogram
	for given type for use in some other context no longer causes the
	first subprogram to be forgotten. This allows more reuse and,
	in particular, allows reuse in the case where generating another
	copy of the subprogram would result in a compilation failure.
	Update Cached_Attribute_Ops clients correspondingly.

2025-11-13  Piotr Trojanek  <trojanek@adacore.com>

	* exp_util.adb (Find_In_Enclosing_Context): Give up on declarations of
	internal types.

2025-11-13  Piotr Trojanek  <trojanek@adacore.com>

	* treepr.adb (Print_End_Span): Print prefix, field name and line break.

2025-11-13  Gary Dismukes  <dismukes@adacore.com>

	* libgnat/a-cbdlli.ads: Add "limited" to partial view of reference types.
	* libgnat/a-cbhama.ads: Likewise.
	* libgnat/a-cbhase.ads: Likewise.
	* libgnat/a-cbmutr.ads: Likewise.
	* libgnat/a-cborma.ads: Likewise.
	* libgnat/a-cborse.ads: Likewise.
	* libgnat/a-cdlili.ads: Likewise.
	* libgnat/a-cidlli.ads: Likewise.
	* libgnat/a-cihama.ads: Likewise.
	* libgnat/a-cihase.ads: Likewise.
	* libgnat/a-cimutr.ads: Likewise.
	* libgnat/a-ciorma.ads: Likewise.
	* libgnat/a-ciormu.ads: Likewise.
	* libgnat/a-ciorse.ads: Likewise.
	* libgnat/a-cobove.ads: Likewise.
	* libgnat/a-cohama.ads: Likewise.
	* libgnat/a-cohase.ads: Likewise.
	* libgnat/a-coinho.ads: Likewise.
	* libgnat/a-coinho__shared.ads: Likewise.
	* libgnat/a-coinve.ads: Likewise.
	* libgnat/a-comutr.ads: Likewise.
	* libgnat/a-convec.ads: Likewise.
	* libgnat/a-coorma.ads: Likewise.
	* libgnat/a-coormu.ads: Likewise.
	* libgnat/a-coorse.ads: Likewise.
	* sem_ch5.adb (Analyze_Assignment): Added code to resolve the target
	object (LHS) as a complete context when there are target names ("@")
	present in the expression of the assignment. Loop over interpretations,
	removing any that have a limited type, and set the type (T1) to be the
	type of the first nonlimited interpretation. Test for ambiguity by
	calling Is_Ambiguous_Operand. Delay analysis of Rhs in the target-name
	case. Replace existing test for generalized indexing with implicit
	dereference in existing analysis code with test of Is_Limited_Type
	along with calling Remove_Interp in the limited case.
	* sem_res.adb (Is_Ambiguous_Operand): Condition the calls to
	Report_Interpretation on Report_Errors being True.

2025-11-13  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/29463
	* sem_eval.adb (Fold_Uint): Use Universal_Integer as actual type
	for a named number.
	(Fold_Ureal): Likewise with Universal_Real.
	* sem_res.adb (Resolve_Real_Literal): Test whether the literal is
	a static expression instead of coming from source to give the error
	prescribed by the RM 4.9(36/2) subclause.

2025-11-13  Ronan Desplanques  <desplanques@adacore.com>

	* libgnarl/s-taspri__posix.ads (Suspension_Object): Add some
	documentation.

2025-11-13  Eric Botcazou  <ebotcazou@adacore.com>

	* einfo.ads (Alignment): Update description.

2025-11-13  Eric Botcazou  <ebotcazou@adacore.com>

	* sem_prag.adb (Analyze_Pragma) <Process_Suppress_Unsuppress>: For
	Alignment_Check on a specific object with an address clause and no
	alignment clause, toggle the Check_Address_Alignment flag present
	on the address clause.

2025-11-13  Marc Poulhiès  <poulhies@adacore.com>

	* doc/gnat_rm/implementation_defined_pragmas.rst: Update
	the list of junk names.
	* doc/gnat_ugn/building_executable_programs_with_gnat.rst:
	Likewise.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-11-13  Piotr Trojanek  <trojanek@adacore.com>

	* libgnat/g-crc32.ads (CRC32): Annotate as pure and always terminating.
	* libgnat/s-crc32.ads (CRC32): Annotate as pure and always terminating.

2025-11-13  Piotr Trojanek  <trojanek@adacore.com>

	* exp_util.adb (Get_Current_Value_Condition): Relax assertion about
	rewritten ELSIF branch.

2025-11-13  Eric Botcazou  <ebotcazou@adacore.com>

	* doc/gnat_rm/implementation_defined_attributes.rst
	(Maximum_Alignment): Fix description.
	* doc/gnat_rm/representation_clauses_and_pragmas.rst
	(Alignment Clauses): Adjust accordingly.
	* checks.adb (Apply_Address_Clause_Check): Remove incorrect test on
	Maximum_Alignment.
	* sem_ch13.adb (Analyze_Attribute_Definition_Clause): Minor tweak
	in comment.
	* ttypes.ads (Maximum_Alignment): Fix description.
	* gnat_rm.texi: Regenerate.

2025-11-13  Eric Botcazou  <ebotcazou@adacore.com>

	* doc/gnat_rm/implementation_defined_pragmas.rst (Pragma Suppress):
	Remove mention of range checks in the entry for alignment checks.
	* gnat_rm.texi: Regenerate.

2025-11-13  Eric Botcazou  <ebotcazou@adacore.com>

	* layout.adb (Set_Composite_Alignment): Fix typos and comments.

2025-11-12  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/122640
	* sem_ch3.adb (Analyze_Object_Declaration): Set Is_True_Constant
	on entry for constants and Never_Set_In_Source in all cases.
	If an initialization expression is present, set Has_Initial_Value
	and Is_True_Constant on variables.

2025-11-08  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/34374
	* sem_ch10.adb (Check_Private_Limited_Withed_Unit): Use a separate
	variable for the private child unit, streamline the loop locating
	the nearest private ancestor, fix a too early termination of the
	loop traversing the ancestor of the current unit, and use the same
	privacy test as Check_Private_Child_Unit.

2025-11-07  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/83188
	* sem_eval.adb (Subtypes_Statically_Match): Deal with class-wide
	subtypes whose class-wide types have discriminants.

2025-11-06  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/113352
	* sem_ch4.adb (Diagnose_Call): Tweak error message.
	* sem_ch8.adb (Find_Selected_Component): Remove bypass for calls
	to procedures in the overloaded overloadable case.  Factor out
	the diagnostics code and invoke it uniformly in this case.

2025-11-06  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/113350
	PR ada/113351
	* exp_ch2.adb (Expand_Renaming): Fix reference to Evaluate_Name.
	* exp_ch8.adb (Expand_N_Subprogram_Renaming_Declaration): Call
	Evaluate_Name to evaluate the name.
	* sem_ch8.adb (Analyze_Renamed_Entry): Minor tweaks.
	(Analyze_Renamed_Family_Member): Likewise.
	(Analyze_Renamed_Primitive_Operation): Likewise.
	Fix thinko in the function checking profile conformance, save the
	result of the resolution and make implicit dereferences explicit.

2025-11-05  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/35793
	* sem_res.adb (Check_Discriminant_Use): In a constraint context,
	check that the discriminant appears alone as a direct name in all
	cases and give a consistent error message when it does not.

2025-11-04  Eric Botcazou  <ebotcazou@adacore.com>

	* sem_ch3.adb (Analyze_Subtype_Declaration) <Concurrent_Kind>:
	Propagate the Uses_Lock_Free flag for protected types.

2025-11-04  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/18453
	* sem_ch12.adb (Find_Actual_Type): Add Typ_Ref parameter and
	perform a standard resolution on it in the fallback case.
	Call Get_Instance_Of if the type is declared in a formal of
	the child unit.
	(Instantiate_Type.Validate_Access_Type_Instance): Adjust call
	to Find_Actual_Type.
	(Instantiate_Type.Validate_Array_Type_Instance): Likewise and
	streamline the check for matching component subtypes.

2025-11-03  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/78175
	* sem_ch12.adb (Hide_Current_Scope): Deal with a transient scope
	as current scope.
	(Remove_Parent): Likewise.

2025-11-03  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/55324
	* par-ch3.adb (P_Type_Declaration): Give a better error message
	for illegal "abstract" in a type derivation.

2025-11-03  Piotr Trojanek  <trojanek@adacore.com>

	* exp_util.adb (Get_Current_Value_Condition): Guard against orphaned
	references in rewritten if-expressions.

2025-11-03  Eric Botcazou  <ebotcazou@adacore.com>

	* doc/gnat_rm/representation_clauses_and_pragmas.rst (Address
	Clauses): Adjust description of alignment checks.
	* sem_ch13.adb (Address_Clause_Check_Record): Remove now unused
	Alignment_Checks_Suppressed component.
	(Alignment_Checks_Suppressed): Delete.
	(Analyze_Attribute_Definition_Clause) <Attribute_Alignment>: Do not
	consider the status of range checks to decide whether to generate an
	alignment check.  Always generate it if an alignment clause is also
	given for the entity.
	<Attribute_Alignment>: Generate an alignment check if an address
	clause is also given for the entity.
	(Register_Address_Clause_Check): Adjust for above removal.
	(Validate_Address_Clauses): Test the Check_Address_Alignment flag
	on the clause to decide whether to give the warning.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-11-03  Eric Botcazou  <ebotcazou@adacore.com>

	* checks.adb (Apply_Address_Clause_Check): Adjust self-reference in
	the opening comment.

2025-11-03  Piotr Trojanek  <trojanek@adacore.com>

	* exp_util.adb (Find_In_Enclosing_Context): Refactor from handling of
	IF statements.
	(Get_Current_Value_Condition): Reuse IF code for WHILE statements.

2025-11-03  Piotr Trojanek  <trojanek@adacore.com>

	* exp_util.adb (Get_Current_Value_Condition): Rewrite to not rely on
	Sloc and End_Span of an if statement.

2025-11-03  Piotr Trojanek  <trojanek@adacore.com>

	* sem_util.adb (Update_Semantic_Fields): Preserve tree structure when
	copying scalar range of a discrete type.

2025-11-03  Piotr Trojanek  <trojanek@adacore.com>

	* inline.adb (Process_Sloc): Remove.

2025-11-03  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/61127
	* sem_ch12.adb (Associations.Match_Positional): Remove the always
	false condition that guards the error on a positional box.

2025-11-03  Gary Dismukes  <dismukes@adacore.com>

	* sem_disp.adb (Check_Dispatching_Call): Remove "elsif" that does error
	checking for abstract tag-indeterminate calls (seems to be no longer
	needed).

2025-11-03  Marc Poulhiès  <poulhies@adacore.com>

	* exp_ch7.adb (Fixup_Inner_Scopes): Adjust to handle N_Freeze_Entity nodes.
	* exp_unst.adb (Get_Level): Assert when the function didn't find the
	nested level (indicates that inner sub has scope pointing higher in
	the stack)

2025-11-03  Ronan Desplanques  <desplanques@adacore.com>

	* fname.adb (Is_Predefined_File_Name): Tweak.

2025-11-03  Bob Duff  <duff@adacore.com>

	* gen_il-gen-gen_nodes.adb (N_Exception_Declaration):
	Change Expression from Sm to Sy, to match other Expression fields.
	* gen_il-gen.adb (Setter_Needs_Parent):
	Expression no longer needs to be a special case.
	(Check_For_Syntactic_Field_Mismatch):
	Do not exempt Expression from the Sy/Sm mixing rule.
	This was the last such case, so remove all the exemption code.
	* gen_il-gen.ads: Update comments to match new code.
	* sinfo.ads (N_Exception_Declaration):
	Document the meaning of the Expression field, because it
	doesn't follow from the RM syntax of exception_declaration.
	* exp_ch11.adb: Minor comment fixes.

2025-11-03  Eric Botcazou  <ebotcazou@adacore.com>

	* sem_ch13.adb (Analyze_Attribute_Definition_Clause)
	<Attribute_Size>: Tweak wording of existing error message for the
	size of all elementary objects.  Move error handling for aliased
	objects into the block for objects and give a similar error for
	(nonaliased) floating-point objects.

2025-11-03  Piotr Trojanek  <trojanek@adacore.com>

	* exp_attr.adb (Rewrite_Attribute_Proc_Call)<Attribute_Put_Image>:
	Fix call to Analyze.

2025-11-03  Piotr Trojanek  <trojanek@adacore.com>

	* sem_attr.adb (Resolve_Attribute): Remove rewriting of a slice
	address expression.

2025-11-03  Viljar Indus  <indus@adacore.com>

	* libgnat/a-cbmutr.adb (Put_Image): Fix the condition and starting point
	for printing the tree.
	* libgnat/a-cimutr.adb (Put_Image): Likewise.
	* libgnat/a-comutr.adb (Put_Image): Likewise.

2025-11-03  Viljar Indus  <indus@adacore.com>

	* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Avoid disabling
	the expander for ignored ghost regions if Codepeer_Mode is active.
	* sem_ch7.adb (Analyze_Package_Body_Helper): Likewise.
	* freeze.adb (Freeze_Entity): Avoid triggering special freezing
	action for entities within ignored ghost regions in Codepeer_Mode.

2025-11-03  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Is_Ok_Context): consider ghost prefix to always
	be a valid ghost context.

2025-11-03  Denis Mazzucato  <mazzucato@adacore.com>

	* errout.adb (Set_Msg_Node): Support N_Attribute_Reference and
	nodes that denotes direct attribute definitions.
	* exp_dbug.ads: Description for the encoding of direct attribute
	definitions as tick are hard to deal in entity names.
	* erroutc.adb
	(Set_Msg_Insertion_Name): Replace underscore between prefix and
	attribute name in direct attribute definitions; at this point we
	lost the semantic information of node type and we resort to match
	the string name as described in exp_dbug.adb.
	* exp_aggr.adb (Convert_To_Positional): Use Needs_Construction and
	Has_Default_Constructor.
	* exp_ch3.adb (Build_Record_Init_Proc)
	(Expand_N_Object_Declaration): Likewise.
	* exp_attr.adb (Expand_N_Attribute_Reference): Likewise.
	* exp_ch4.adb (Expand_N_Allocator): Likewise.
	* exp_ch6.adb
	(Prepend_Constructor_Procedure_Prologue): Use
	Is_Constructor_Procedure.
	(Make_Parent_Constructor_Call): Use
	Direct_Attribute_Definition_Name.
	* gen_il-fields.ads: Remove Constructor_List and Constructor_Name.
	* gen_il-gen-gen_entities.adb: Likewise.
	* einfo.ads (Needs_Construction): Add description.
	(Has_Delayed_Aspects): Adjust indentation.
	* par-ch13.adb (P_Attribute_Designators): Parse attribute
	designators.
	(P_Representation_Clause): Use P_Attribute_Designators.
	* par-ch6.adb (P_Subprogram): Support attribute designators in
	subprogram name.
	(Rewrites_Entity_If_Direct_Attribute_Def): Fix the specification
	node in case of direct attribute definitions.
	* par-endh.adb (Check_End, Same_Label): Likewise.
	* par.adb (P_Attribute_Designators): Specification.
	* sem_attr.adb (Analyze_Attribute): Error when using 'Constructor
	outside procedure specification.
	(Analyze_Attribute): Add error handling code.
	* sem_ch3.adb (Analyze_Aspect_Specifications): Likewise.
	* sem_ch6.adb (Analyze_Direct_Attribute_Definition): Handle direct
	attribute definitions. Add error handling code for the
	'Construction attribute and set constructor flags when necessary.
	(Analyze_Subprogram_Specification): Use
	Analyze_Direct_Attribute_Definition.
	* sem_util.adb (Direct_Attribute_Definition_Name): Name of
	entities created for direct attribute definitions. We emit an
	error if multiple attributes.
	(Is_Direct_Attribute_Subp_Spec): Helper to check whether a
	subprogram specification is a direct attribute definition.
	(Is_Constructor_Procedure): Helper to check whether a subprogram
	is a constructor procedure.
	(Has_Default_Constructor): Check whether the default constructor
	exists.
	(Default_Constructor): Not used anymore.
	(Parameter_Count): Likewise.
	(Process_End_Label): Get_Attribute_Reference_Name_String encodes
	also direct attribute definition end labels.
	* sem_util.ads: Likewise.
	* snames.ads-tmpl: Support for 'Constructor attribute.
	* snames.adb-tmpl (Is_Direct_Attribute_Definition_Name): Helper to
	check attributes allowed in direct attribute definitions.
	* aspects.ads: Remove constructor aspect.
	* sem_ch13.adb: Likewise.

2025-11-03  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/122161
	* sem_ch12.adb: Improve the description of Check_Generic_Actuals,
	Restore_Private_Views and Switch_View, and alphabetize them.
	(Check_Generic_Actuals): Make actuals visible only if needed.
	(Install_Formal_Packages): Pass exact Is_Formal_Box parameter and
	remove call to Set_Is_Hidden.
	(Instantiate_Formal_Package): Use Next_Non_Pragma consistently in
	the loop computing the visibility of actuals.
	(Analyze_Package_Instantiation): Use named second parameter in the
	call to Restore_Private_Views.
	(Analyze_Subprogram_Instantiation): Likewise.
	(Instantiate_Package_Body): Likewise and for Check_Generic_Actuals.
	(Instantiate_Subprogram_Body): Likewise.
	(Restore_Env): Replace call to Restore_Private_Views.
	(Restore_Private_Views): Remove default value for second parameter
	and test of presence for first parameter.  Consistently clear the
	Is_Potentially_Use_Visible flag when setting the Is_Hidden flag.
	Remove call to Set_Is_Hidden for a formal package of the enclosing
	generic unit, if any.

2025-11-03  Bob Duff  <duff@adacore.com>

	* gen_il-gen.adb (N_Short_Circuit):
	Make Actions syntactic.
	(N_Case_Expression_Alternative): Likewise.
	* gen_il-gen-gen_nodes.adb (Create_Type):
	No longer exempt Actions from the syntactic/semantic ordering rule.
	(Check_For_Syntactic_Field_Mismatch):
	No longer exempt Actions from the syntactic/semantic mixing rule.
	* sinfo.ads (N_Compound_Statement):
	Add comment.

2025-11-03  Marc Poulhiès  <poulhies@adacore.com>

	* sem_aux.adb (Enclosing_Dynamic_Scope): Remove comment.

2025-11-03  Bob Duff  <duff@adacore.com>

	* einfo.ads: Remove unused fields.
	* gen_il-fields.ads: Likewise.
	* gen_il-gen-gen_entities.adb: Likewise.
	* gen_il-gen-gen_nodes.adb: Likewise.
	* sinfo.ads: Likewise.
	* gen_il-gen.adb (Compile): Remove obsolete comment.

2025-11-03  Ronan Desplanques  <desplanques@adacore.com>

	* libgnat/s-stratt__cheri.adb (W_80IEEE): New procedure.

2025-11-03  Ronan Desplanques  <desplanques@adacore.com>

	* libgnat/s-stratt.adb (W_80IEEE): Make constant local.

2025-11-03  Bob Duff  <duff@adacore.com>

	* einfo.ads (Has_Pragma_Controlled): Remove.
	(Is_Activation_Record): Document usage by llvm.
	* gen_il-fields.ads (Opt_Field_Enum):
	Remove Has_Pragma_Controlled.
	* gen_il-gen-gen_entities.adb (Access_Kind):
	Remove Has_Pragma_Controlled.
	* sem_prag.adb:
	Remove setting of Has_Pragma_Controlled.
	* sinfo.ads (Corresponding_Entry_Body):
	Document usage by codepeer.

2025-11-03  Alexandre Oliva  <oliva@adacore.com>

	* exp_ch3.adb (Expand_N_Object_Declaration): Insert ctor call
	after representation clauses.

2025-11-03  Bob Duff  <duff@adacore.com>

	* atree.adb (Same_Node_To_Fetch_From):
	Use Node_To_Fetch_From_If_Set, and remove handler.
	* einfo-utils.adb (Root_Type_If_Set):
	Return Empty if Base_Type_If_Set returns Empty.
	Return Empty if we find Etype (T) = Empty.
	(Underlying_Type): Use "Has_Non_Limited_View..." instead
	of "Present (Non_Limited_View...)", because the latter raises
	an exception when given the wrong Ekind.

2025-11-03  Ronan Desplanques  <desplanques@adacore.com>

	* gen_il-fields.ads (Is_IEEE_Extended_Precision): New flag.
	* gen_il-gen-gen_entities.adb: Likewise.
	* gen_il-internals.adb (Image): Likewise.
	* treepr.adb (Image): Likewise.
	* einfo.ads: Document new flag.
	* cstand.adb (Copy_Float_Type, Register_Float_Type): Use new flag.
	* libgnat/s-stratt.ads (W_80IEEE): New procedure.
	* libgnat/s-stratt.adb (W_80IEEE): Likewise.
	* exp_strm.adb (Get_Primitives): Select new procedure when
	appropriate.
	* rtsfind.ads: Register new runtime procedure.
	* sem_ch3.adb (Build_Derived_Numeric_Type,
	Analyze_Subtype_Declaration): Propagate new flag.

2025-11-03  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/122160
	* sem_res.adb (Resolve_Op_Concat_Rest): Do not build the subtype of
	the second operand again if it has already been built.
	(Resolve_String_Literal): Do not defer the creation of the subtype
	for the right operand of a concatenation whose left operand may be
	the null string.

2025-11-03  Gary Dismukes  <dismukes@adacore.com>

	* exp_ch6.ads (Make_Build_In_Place_Call_In_Allocator): Simplify comment.
	* exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Remove obsolete
	comment about not being able to allocate fixed-size controlled results
	on the caller side, and replace another obsolete comment with a simpler
	comment. Call Build_Allocate_Deallocate_Proc when the function doesn't
	need a BIPalloc formal to ensure that function results with controlled
	parts allocated on the caller side will be chained for finalization.
	(Make_Build_In_Place_Call_In_Object_Declaration): Call Needs_BIP_Collection
	on the function's Entity_Id rather than the function call.
	(Needs_BIP_Collection): If a BIP function doesn't need a BIPalloc formal
	then it doesn't need a BIP collection either; return False in that case.
	(Needs_BIP_Alloc_Form): Remove test of Needs_BIP_Collection.
	* exp_ch7.adb (Expand_Cleanup_Actions): Move test of Uses_Sec_Stack
	to be the first conjunct in setting of Needs_Sec_Stack_Mark, and put
	the other tests in a disjunction subsidiary to that. Improve preceding
	comment.

2025-11-03  Bob Duff  <duff@adacore.com>

	* gen_il-gen-gen_nodes.adb: Rename Default_Expression to be
	Expression.
	* gen_il-gen.adb (Check_For_Syntactic_Field_Mismatch): Do not
	exempt Default_Expression from the rule.
	* par-ch12.adb (P_Formal_Object_Declarations): Use renamed setter.
	* sem_ch12.adb (Default): Use renamed getter.
	(Analyze_Formal_Object_Declaration): Likewise.
	* sprint.adb (Sprint_Node_Actual): Use renamed getter.
	* sinfo.ads: Fix comments.

2025-11-03  Bob Duff  <duff@adacore.com>

	* style.adb (Check_Xtra_Parens_Precedence):
	Give warning based on Original_Node.

2025-11-03  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/122161
	* sem_ch12.adb (Check_Generic_Actuals): Consistently set the
	Is_Potentially_Use_Visible flag on actuals whenever the Is_Hidden
	flag is cleared.
	(Restore_Private_Views): Clear the Is_Potentially_Use_Visible flag
	explicitly on the entities of an actual package.

2025-11-03  Ronan Desplanques  <desplanques@adacore.com>

	* libgnat/s-trasym.ads (Calling_Entity): New function.
	* libgnat/s-trasym.adb (Calling_Entity): Add dummy body.
	* libgnat/s-trasym__dwarf.adb (Calling_Entity): New function.
	(Symbolic_Traceback, Symbolic_Traceback_No_Lock,
	Module_Symbolic_Traceback, Multi_Module_Symbolic_Traceback): Add
	Subprg_Name_Only parameter and corresponding functionality.
	(Symbolic_Traceback_No_Lock): Fix typo in documentation comment.
	* libgnat/s-dwalin.ads (Symbolic_Traceback): Likewise.
	* libgnat/s-dwalin.adb (Symbolic_Traceback): Likewise.

2025-11-03  Bob Duff  <duff@adacore.com>

	* gen_il-gen-gen_nodes.adb (N_Op):
	Make Chars syntactic, and move it down into subclasses
	N_Binary_Op and N_Unary_Op.
	* gen_il-gen.adb (Create_Type):
	Do not exempt Chars from the ordering rule.
	(Exception_To_Inheritance_Rule): Exempt Chars from the
	inheritance rule.
	(Check_For_Syntactic_Field_Mismatch):
	Do not exempt Chars from the syntactic mismatch rule.
	This is the main point of this change.
	(Put_Make_Bodies): The Nmake functions for types in N_Op
	will now take a Chars parameter, which should always
	default to No_Name. This will be overwritten by the
	special-case Set_Chars call. Assert that it is in
	fact defaulted.
	* exp_ch4.adb (Expand_Array_Comparison):
	Use the Nkind instead of the Chars, which seems cleaner.
	Use a case instead of an elsif chain.
	* sem_attr.adb (Proper_Op): Minor cleanup.
	* sem_ch8.adb: Minor reformatting.
	* sem_res.adb (Operator_Kind): Tighten up the result subtype.

2025-11-03  Viljar Indus  <indus@adacore.com>

	* exp_attr.adb (Expand_N_Attribute_Reference): Use the
	First_Subtype when creating the procedure for stream
	attributes.
	(Get_Array_Stream_Item_Type): New method for calculating
	the type for the Item argument for streaming methods.

2025-11-02  Eric Botcazou  <ebotcazou@adacore.com>

	* locales.c (is_iso_639_3): New static function.
	(c_get_language_code): Use it to validate the ISO-639-3 code
	before returning it.

2025-11-02  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/58881
	* sem_ch3.adb (Build_Derived_Private_Type): Build the underlying
	full view when the derivation occurs in the public part of the
	scope of the parent.
	(Build_Derived_Record_Type): Propagate Has_Unknown_Discriminants
	in the same circumstances.
	(Constrain_Discriminated_Type): Give a specific error message for
	any type with the Has_Unknown_Discriminants flag.

2025-11-02  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/52319
	* sem_ch8.adb (End_Use_Package): Use the scope of the operator.

2025-10-30  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/15610
	* sem_type.adb (Collect_Interps): Apply the same visibility
	criterion to expanded names as Find_Expanded_Name.

2025-10-30  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/54178
	* sem_ch12.adb (Instantiate_Object): Strip qualification to detect
	aggregates used as actuals.

2025-10-30  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/16214
	* sem_ch8.adb (Find_Expanded_Name): Consolidate and streamline the
	processing required for references to instances within themselves.

2025-10-28  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/48039
	* sem_ch12.adb (Analyze_Subprogram_Instantiation): Call
	Remove_Homonym to remove the enclosing package from visibility.

2025-10-28  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_util.adb (Remove_Side_Effects): Use separately the Etype of
	the expression to build new nodes and its Underlying_Type to drive
	part of the processing.

2025-10-28  Johannes Kliemann  <kliemann@adacore.com>

	* adaint.c: Remove __gnat_enable_signals, __gnat_disable_signals
	and related code for QNX.
	* libgnarl/s-taprop__qnx.adb: Disable and enable
	signals in Ada.

2025-10-28  Alexandre Oliva  <oliva@adacore.com>

	* sem_ch13.adb (Analyze_Aspect_Export_Import): Skip
	Set_Is_Imported on E_Exception.
	* sem_prag.adb (Process_Import_Or_Interface): Explain
	why not Set_Is_Imported.

2025-10-28  Denis Mazzucato  <mazzucato@adacore.com>

	* sem_util.adb (Collect_Primitive_Operations): Avoid setting
	Is_Primitive for noninherited and nonoverriding subprograms not
	declared immediately within a package specification.
	* sem_ch13.adb (Check_Nonoverridable_Aspect_Subprograms): Better
	error posting to allow multiple errors on same type but different
	aggregate subprogram.

2025-10-28  Ronan Desplanques  <desplanques@adacore.com>

	* table.ads (Clear, Is_Empty): New subprograms.
	* table.adb (Clear, Is_Empty): Likewise.
	(Init): Use new subprogram.
	* atree.adb (Traverse_Func_With_Parent): Use new subprograms.
	* fmap.adb (Empty_Tables): Use new subprogram.
	* par_sco.adb (Process_Pending_Decisions): Likewise.
	* sem_elab.adb (Check_Elab_Call): Likewise.
	* sem_ch12.adb (Build_Local_Package, Analyze_Package_Instantiation,
	Analyze_Subprogram_Instantiation): Likewise.
	(Save_And_Reset): Use Table.Table.First.

2025-10-28  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/122063
	* exp_fixd.adb (Build_Double_Divide_Code): Convert the result of the
	multiply.
	(Build_Multiply): Use base types of operands to size the operation.
	(Build_Rem): Likewise.
	(Build_Scaled_Divide_Code): Convert the result of the multiply.

2025-10-28  Tonu Naks  <naks@adacore.com>

	* doc/gnat_rm/obsolescent_features.rst: typo
	* gnat_rm.texi: Regenerate.

2025-10-28  Javier Miranda  <miranda@adacore.com>

	* aspects.adb (Get_Aspect_Id): Enable aspect Unsigned_Base_Range
	using -gnatd.u
	* debug.adb (Debug_Flag_Dot_U): Document this switch.
	* einfo-utils.adb (Is_Modular_Integer_Type): Return True if
	the entity is a modular integer type and its base type does
	not have the attribute has_unsigned_base_range_aspect.
	(Is_Signed_Integer_Type): Return True if the entity is a signed
	integer type, or it is a modular integer type and its base type
	has the attribute has_unsigned_base_range_aspect.
	* einfo.ads (E_Modular_Integer_Type): Add documentation of
	Has_Unsigned_Base_Range_Aspect.
	* par-ch4.adb (Scan_Apostrophe): Enable attribute Unsigned_Base_Range
	using -gnatd.u
	* sem_ch13.adb (Analyze_One_Aspect): Check general language
	restrictions on aspect Unsigned_Base_Range. For Unsigned_Base_Range
	aspect, do not delay the generation of the pragma becase we need
	to process it before any type or subtype derivation is analyzed.
	* sem_ch3.adb (Build_Scalar_Bound): Disable code analyzing the
	bound with the base type of the parent type because, for unsigned
	base range types, their base type is a modular type but their
	type is a signed integer type.
	* sem_prag.adb (Analyze_Pragma): Enable pragma Unsigned_Base_Range
	using -gnatd.u. Check more errors on Unsigned_Base_Range pragma,
	and create the new base type only when required.

2025-10-28  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch12.adb (Build_Local_Package)
	(Analyze_Package_Instantiation, Analyze_Subprogram_Instantiation):
	Fix Set_Last calls.
	(Set_Instance_Of): Use Table.Table.Append.
	(Save_And_Reset): Remove useless call. Remove defensive code.
	(Restore): Remove incorrect Set_Last call and adapt to
	Set_Instance_Of change.

2025-10-28  Denis Mazzucato  <mazzucato@adacore.com>

	* sem_prag.adb (Analyze_Pragma): Add enclosing quotation when the
	invalid switch ends with a space.

2025-10-28  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/59234
	* sem_ch12.adb (Analyze_Formal_Package_Declaration): Mark the
	special name built for the formal in the parent of a child unit
	as internal.

2025-10-28  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/34511
	* sem_ch12.adb (Analyze_Associations): Add Parent_Installed formal
	parameter and pass it in call to Analyze_One_Association.
	(Analyze_One_Association): Add Parent_Installed formal parameter
	and pass it in call to Instantiate_Formal_Subprogram.
	(Analyze_Formal_Package_Declaration): Pass Parent_Installed in call
	to Analyze_Associations.
	(Analyze_Package_Instantiation): Likewise.
	(Analyze_Subprogram_Instantiation): Likewise.
	(Instantiate_Formal_Subprogram): Add Parent_Installed formal
	parameter and prune references to the parent unit(s) only if
	it is true.

2025-10-27  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/29958
	* sem_ch7.adb (Declare_Inherited_Private_Subprograms): Deal with
	formal types specially.

2025-10-27  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/25988
	* sem_ch12.adb (Save_Global_References.Reset_Entity): Also call
	Save_Global_Defaults for instances with an expanded name.
	(Save_Global_References.Save_References): Minor code cleanup.

2025-10-27  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/15800
	* freeze.adb (Freeze_Entity.Freeze_Record_Type): Small cleanup
	in code and comments.
	* gcc-interface/utils.cc (create_field_decl): Assert that the type
	of the field is frozen at this point.

2025-10-26  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/13370
	* sem_prag.adb (Analyze_Pragma) <Pragma_Machine_Attribute>: Set the
	Has_Delayed_Freeze flag if the argument is not a literal.

2025-10-24  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/80033
	* gcc-interface/Makefile.in (force): Restore.

2025-10-24  Nicolas Boulenguez  <nicolas@debian.org>

	PR ada/80033
	* gcc-interface/Makefile.in (deftarg.o): Delete.
	(init-vxsim.o): Likewise.
	(force): Likewise.

2025-10-24  Mivirl  <octoberstargazer7405@mivirl.dev>

	PR ada/122367
	* rtinit.c (__gnat_runtime_initialize) [__MINGW32__]: Fix detection
	of quoted arguments.

2025-10-24  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/118782
	* styleg.adb (Is_Box_Comment): Also stop the loop at EOF.

2025-10-24  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/113516
	* s-oscons-tmplt.c [_WIN32]: Undefine POLLPRI before redefining it.

2025-10-24  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/98879
	* terminals.c (__gnat_setup_child_communication) [_WIN32]: Add else
	blocks in the processing of the data returned by ReadFile.

2025-10-24  Nicolas Boulenguez  <nicolas@debian.org>

	PR ada/81087
	* gnatlink.adb (Is_Prefix): Move around, streamline and return false
	when the prefix is not strict.
	(Gnatlink): Fix other instances of incorrect lower bound assumption.

2025-10-20  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/102078
	* affinity.c (__gnat_set_affinity_mask): Add U qualifier.

2025-10-20  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/32318
	* libgnat/g-catiio.adb (Image_Helper) <'c'>: Fix comment.

2025-10-20  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/68179
	* exp_ch3.adb (Expand_Freeze_Array_Type): Build an initialization
	procedure for a type derived from String declared with the aspect
	Default_Aspect_Component_Value.

2025-10-20  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/52319
	* sem_ch7.adb (Uninstall_Declarations): Use direct test on Nkind
	to spot operators.
	* sem_ch8.adb (End_Use_Package): Also test the Etype of operators
	to spot those which are primitive operators of use-visible types.

2025-10-20  Nicolas Boulenguez  <nicolas@debian.org>

	PR ada/87777
	* gnatchop.adb: Add with clause for Osint.
	(Locate_Executable): Delete.
	(Gnatchop): Use Osint.Program_Name and Locate_Exec_On_Path instead
	of Locate_Executable to locate GCC's driver executable.

2025-10-20  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/107536
	* exp_ch2.adb (Expand_Renaming): Mark the entity as referenced.

2025-10-17  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/122295
	* sem_ch12.adb (Analyze_Package_Instantiation): Force Style_Check
	to False only after possibly installing the parent.
	* aspects.adb (UAD_Pragma_Map): Fix style violation.
	* inline.adb (To_Pending_Instantiations): Likewise.
	* lib.ads (Unit_Names): Likewise.
	* repinfo.adb (Relevant_Entities): Likewise.
	* sem_ch7.adb (Subprogram_Table): Likewise.
	(Traversed_Table): Likewise.
	* sem_util.adb (Interval_Sorting): Likewise.

2025-10-07  Eric Botcazou  <ebotcazou@adacore.com>

	Revert:
	2025-10-05  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/118343
	* Makefile.rtl (LLVM_BUILD): Delete.

2025-10-06  Marc Poulhiès  <poulhies@adacore.com>
	    Éric Botcazou  <botcazou@adacore.com>

	* gcc-interface/decl.cc (get_extended_unconstrained_array): Handle
	array subtype.

2025-10-06  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/utils.cc (convert): Also extract the _Parent field
	to implement upcasting in the case where only the sizes match.

2025-10-06  Marc Poulhiès  <poulhies@adacore.com>

	* gcc-interface/trans.cc (Attribute_to_gnu)<Attr_Pool_Address>: Handle
	extended access.

2025-10-06  Ronan Desplanques  <desplanques@adacore.com>

	* fmap.adb (File_Mapping, Path_Mapping): Fix instantiations.
	(Add_To_File_Map): Use Table.Table.Append.

2025-10-06  Ronan Desplanques  <desplanques@adacore.com>

	* fmap.ads (Add_Forbidden_File_Name): Remove obsolete code.
	* fmap.adb (Forbidden_Names, Add_Forbidden_File_Name,
	Mapped_Path_Name, Reset_Tables): Remove obsolete code.

2025-10-06  Tonu Naks  <naks@adacore.com>

	* doc/gnat_ugn/building_executable_programs_with_gnat.rst: refine
	description of -gnatwr
	* gnat_ugn.texi: Regenerate.

2025-10-05  Franck Behaghel  <franckbehaghel_gcc@protonmail.com>

	PR ada/110314
	* sem_ch4.adb (Analyze_Allocator): Add call to New_Copy_Tree.

2025-10-05  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/112446
	* usage.adb (Usage): Add 'z' to the list of 'g' style.

2025-10-05  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/118343
	* Makefile.rtl (LLVM_BUILD): Delete.

2025-10-04  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/64869
	* sem_ch7.adb (Install_Private_Declarations): Also propagate the
	Current_Use_Clause from partial to full view.
	(Uninstall_Declarations): Extend implementation of RM 8.4(8.1/3)
	subclause to all primitive subprograms.

2025-09-30  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/117517
	* sem_attr.adb (Resolve_Attribute) <Attribute_Reduce>: Try to
	resolve the reducer first.  Fix casing of error message.

2025-09-29  Tonu Naks  <naks@adacore.com>

	* doc/gnat_rm/implementation_advice.rst: PolyORB
	* doc/gnat_rm/implementation_defined_characteristics.rst: PolyORB
	* doc/gnat_rm/implementation_defined_pragmas.rst: ASIS
	* doc/gnat_rm/obsolescent_features.rst: PolyORB
	* doc/gnat_rm/specialized_needs_annexes.rst: PolyORB
	* doc/gnat_rm/the_gnat_library.rst: PolyORB
	* doc/gnat_ugn/building_executable_programs_with_gnat.rst: ASIS
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-09-29  Piotr Trojanek  <trojanek@adacore.com>

	* sem_prag.adb (Analyze_Pre_Post_Condition): Handle contracts on
	generic formal subprograms like on declarations of access-to-subprogram
	types.

2025-09-29  Piotr Trojanek  <trojanek@adacore.com>

	* exp_util.adb (Attribute_Constrained_Static_Value): Special case
	stand-alone objects for GNATprove.

2025-09-29  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Process_Full_View): Fix error message.

2025-09-29  Javier Miranda  <miranda@adacore.com>

	* aspects.adb (Get_Aspect_Id): Return No_Aspect for Unsigned_Base_Range
	name.
	* sem_prag.adb (Analyze_Pragma): Disable pragma Unsigned_Base_Range.
	* par-ch4.adb (Scan_Apostrophe): Disable attribute Unsigned_Base_Range.
	* doc/gnat_rm/gnat_language_extensions.rst: Remove documentation
	of aspect unsigned base range.
	* gnat_rm.texi: Regenerate.

2025-09-29  Ghjuvan Lacambre  <lacambre@adacore.com>

	* exp_ch6.adb (Validate_Subprogram_Calls): Do not Check_Calls in CodePeer_Mode.
	(Check_Calls): Remove CodePeer_Mode special case.

2025-09-29  Viljar Indus  <indus@adacore.com>

	* doc/gnat_rm/implementation_defined_pragmas.rst: update
	rules for pragmas affected by assertion levels.
	* gnat_rm.texi: Regenerate.

2025-09-29  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Check_Procedure_Call_Policies): Update the check
	between the levels of the argument and the call.

2025-09-23  Bob Duff  <duff@adacore.com>

	* exp_ch6.adb (Prepend_Constructor_Procedure_Prologue):
	Push/Pop the procedure scope, so that temps created herein
	get the right Scope.

2025-09-23  Jose Ruiz  <ruiz@adacore.com>

	* libgnarl/s-stusta.adb (Report_Impl): Export a copy of
	the current stack usage while holding the runtime lock.
	(Report_For_Task): Do not compute stack usage for a task
	that has not yet initialized its stack with the expected
	pattern.
	(Report_For_Task): The Stack_Analyzer object for the
	environment task is not part of its ATCB. For the rest of
	the tasks wait until we have initialized the stack pattern
	before computing stack usage.
	(Report_All_Tasks, Get_All_Tasks_Usage,
	Get_Current_Task_Usage): Adapt to the new interface from
	Report_Impl. Take into account that Result_Array can be
	null. When we don't store stack results for a task we
	need to compute it when requested.
	(Print): Handle the case when we don't know the stack
	usage to be reported.
	* libgnat/s-stausa.adb (Initialize): For the environment
	task, approximate the stack origin with the topmost
	stack address that is known.
	* libgnat/s-stausa.ads: Clarify comments.

2025-09-23  Denis Mazzucato  <mazzucato@adacore.com>

	* sem_util.adb (Ultimate_Prefix): Clean-up the loop condition by using
	Has_prefix instead of an explicit list of node kinds.

2025-09-23  Denis Mazzucato  <mazzucato@adacore.com>

	* sem_ch10.adb (Install_Siblings): Fix condition to emit warning.

2025-09-23  Viljar Indus  <indus@adacore.com>

	* sem_case.adb (Is_Case_Choice_Pattern): Return False for allocators.

2025-09-23  Douglas B Rupp  <rupp@adacore.com>

	* libgnat/system-vxworks7-aarch64-rtp-smp.ads (Linker_Options):
	Remove pragma for RTP specs.
	* libgnat/system-vxworks7-ppc-rtp-smp.ads: Likewise.
	* libgnat/system-vxworks7-ppc64-rtp-smp.ads: Likewise.
	* libgnat/system-vxworks7-x86-rtp-smp.ads: Likewise.
	* libgnat/system-vxworks7-x86_64-rtp-smp.ads: Likewise.

2025-09-23  Gary Dismukes  <dismukes@adacore.com>

	* doc/gnat_ugn/building_executable_programs_with_gnat.rst: Add doc
	for addition of -gnateG options b, c, and e.
	* doc/gnat_ugn/the_gnat_compilation_model.rst: Add doc for "-e" optionn
	on gnatprep and integrated preprocessing. Add doc for addition of
	-gnateG options b, c, and e.
	* gprep.adb (Scan_Command_Line): Add 'e' to the list of allowed switch
	letters in the string passed to GNAT.Command_Line.Getopt. Set the flag
	Opt.Empty_Comment_Deleted_Lines to True when the "-e" switch is found.
	(Usage): Output a switch description for the "-e" switch.
	* opt.ads: Add new flag variable Empty_Comment_Deleted_Lines. Add
	"GNAT" to the "GNATPREP" comment line for Comment_Deleted_Lines.
	* prep.adb (Output_Line): Add handling for Empty_Comment_Deleted_Lines,
	outputting comment lines consisting of "--!" for lines that are removed
	in the preprocessed source file when Empty_Comment_Deleted_Lines is True.
	* prepcomp.adb (Preproc_Data): Add Empty_Comments component (defaulting
	to False).
	(No_Preproc_Data): Add association for Empty_Comments component.
	(Parse_Preprocessing_Data_File): Add handling for new switch -e.
	(Prepare_To_Preprocess): Add logic for setting the new option
	Empty_Comment_Deleted_Lines (and making it the default for
	integrated preprocessing in the absence of other switches).
	* switch-c.adb (Scan_Front_End_Switches): Add support adding a single
	character 'b', 'c', 'e' to the "-gnateG" switch, to select any of the
	three options for replacing deleted lines in preprocessing output file.
	* usage.adb: Update usage info for -gnateG, to reflect the option of
	appending b, c, or e to the switch.
	* gnat_ugn.texi: Regenerate.

2025-09-23  Piotr Trojanek  <trojanek@adacore.com>

	* sprint.adb (Sprint_Node_Actual): Print finally statements, if
	present.

2025-09-23  Javier Miranda  <miranda@adacore.com>

	* sem_util.adb (Is_Partially_Initialized_Type): Return False
	for record types with no components.

2025-09-23  Steve Baird  <baird@adacore.com>

	* doc/gnat_rm/implementation_defined_aspects.rst: Document the
	Extended_Access aspect.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-09-22  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/121968
	* sem_ch12.adb (Associations.Find_Assoc): Add guard for clauses.
	* sem_dim.adb (Analyze_Dimension_Array_Aggregate): Add test for
	N_Iterated_Component_Association nodes.

2025-09-19  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/gigi.h (create_var_decl): Add LINKONCE_FLAG boolean
	parameter.
	(create_subprog_decl): Likewise.
	* gcc-interface/decl.cc (gnat_to_gnu_entity): Adjust calls to
	create_var_decl and create_subprog_decl.
	(elaborate_expression_1): Likewise.
	* gcc-interface/trans.cc (gigi): Likewise.
	(build_raise_check): Likewise.
	(Subprogram_Body_to_gnu): Likewise.
	(create_temporary): Likewise.
	(Exception_Handler_to_gnu): Likewise.
	(Compilation_Unit_to_gnu): Likewise.
	(gnat_to_gnu): Likewise.
	(use_alias_for_thunk_p): Return false for a one-only target.
	* gcc-interface/utils.cc (maybe_pad_type): Adjust call to
	create_var_decl.
	(create_var_decl): Add LINKONCE_FLAG boolean parameter.
	(create_subprog_decl): Likewise.

2025-09-19  Marc Poulhiès  <poulhies@adacore.com>

	* gcc-interface/ada-tree.h (TYPE_EXTENDED_POINTER_P): New.
	(TYPE_IS_EXTENDED_POINTER_P): New.
	(TYPE_EXTENDED_UNCONSTRAINED_ARRAY): New.
	(SET_TYPE_EXTENDED_UNCONSTRAINED_ARRAY): New.
	(TYPE_DUMMY_EXT_POINTER_TO): New.
	(SET_TYPE_DUMMY_EXT_POINTER_TO): New.
	* gcc-interface/decl.cc (get_extended_unconstrained_array): New.
	(gnat_to_gnu_entity): Handle extended access type.
	(get_unpadded_extended_type): New.
	(gnat_to_gnu_component_type): Handle extended access type.
	(build_template_type): New.
	(gnat_to_gnu_field): Handle extended access type.
	(validate_size): Likewise.
	(set_rm_size): Likewise.
	(copy_and_substitute_in_layout): Likewise.
	(rm_size): Likewise.
	* gcc-interface/gigi.h (get_unpadded_extended_type): New.
	(build_template_type): New.
	(build_dummy_unc_pointer_types_ext): New.
	(finish_extended_pointer_type): New.
	(build_unc_object_type_from_ptr): Rename first parameter.
	* gcc-interface/misc.cc (gnat_print_type): Handle extended access type.
	* gcc-interface/trans.cc (Identifier_to_gnu): Likewise.
	(Attribute_to_gnu): Likewise.
	(gnat_to_gnu): Likewise.
	* gcc-interface/utils.cc (convert_to_fat_pointer): Assert if converting an
	extended pointer.
	(build_dummy_unc_pointer_types_ext): New.
	(finish_extended_pointer_type): New.
	(finish_record_type): Handle extended access type.
	(build_unc_object_type_from_ptr): Likewise.
	(convert_to_extended_pointer): New.
	(convert): Handle extended access type.
	(gnat_pushdecl): Likewise.
	(maybe_pad_type): Likewise.
	* gcc-interface/utils2.cc (build_unary_op): Likewise.
	(build_binary_op): Likewise.
	(build_allocator): Likewise.
	(gnat_save_expr): Likewise.
	(gnat_protect_expr): Likewise.
	(gnat_stabilize_reference_1): Likewise.

2025-09-19  Eric Botcazou  <ebotcazou@adacore.com>

	* sem_ch4.adb (Analyze_Selected_Component): Bail out if the prefix
	has Void_Type.

2025-09-19  Piotr Trojanek  <trojanek@adacore.com>

	* sem_ch4.adb (Analyze_User_Defined_Binary_Op): Remove declare block.

2025-09-19  Eric Botcazou  <ebotcazou@adacore.com>

	* doc/gnat_rm/gnat_language_extensions.rst (Structural Generic
	Instantiation): New entry
	* einfo.ads (Is_Link_Once): New flag defined in entities.
	* sinfo.ads (Is_Structural): New flag defined in instantiations.
	* gen_il-fields.ads (Opt_Field_Enum): Add Is_Link_Once and
	Is_Structural.
	* gen_il-gen-gen_entities.adb (Entity_Kind): Add Is_Link_Once
	semantic flag.
	* gen_il-gen-gen_nodes.adb (N_Generic_Instantiation): Move up
	Parent_Spec field and add Is_Structural semantic flag.
	* frontend.adb: Add with clause for Sem_Ch12.
	(Frontend): After analysis is complete and bodies are instantiated,
	call Sem_Ch12.Mark_Link_Once on the declarations of the main unit.
	* par.adb (P_Qualified_Simple_Name): Delete.
	(P_Qualified_Simple_Name_Resync): Likewise
	(P_Exception_Name): New function declaration.
	(P_Label_Name): Likewise.
	(P_Loop_Name): Likewise.
	(P_Generic_Unit_Name): Likewise.
	(P_Library_Unit_Name): Likewise.
	(P_Package_Name): Likewise.
	(P_Parent_Unit_Name): Likewise.
	(P_Subtype_Name): Likewise.
	(P_Subtype_Name_Resync): Likewise.
	* par-ch3.adb (P_Subtype_Mark_Resync): Replace call to
	P_Qualified_Simple_Name_Resync by P_Subtype_Name_Resync.
	(P_Identifier_Declarations): Replace call to
	P_Qualified_Simple_Name_Resync by P_Exception_Name.
	(P_Derived_Type_Def_Or_Private_Ext_Decl): Replace call to
	P_Qualified_Simple_Name by P_Subtype_Name.
	(P_Interface_Type_Definition): Replace calls to
	P_Qualified_Simple_Name by P_Subtype_Name.
	* par-ch4.adb (P_Reduction_Attribute_Reference): Move around and
	change name of parameter.
	(P_Name): Document new grammar rule and make a couple of tweaks.
	(P_Exception_Name): New function.
	(P_Label_Name): Likewise.
	(P_Loop_Name): Likewise.
	(P_Generic_Unit_Name): Likewise.
	(P_Library_Unit_Name): Likewise.
	(P_Package_Name): Likewise.
	(P_Parent_Unit_Name): Likewise.
	(P_Subtype_Name): Likewise.
	(P_Subtype_Name_Resync): Likewise.
	(P_Qualified_Simple_Name): Rename into...
	(P_Simple_Name): ...this.
	(P_Qualified_Simple_Name_Resync): Rename into...
	(P_Simple_Name_Resync): ...this.  Accept left parenthesis and
	dot as name extensions.
	(P_Allocator): Replace call to P_Qualified_Simple_Name_Resync
	by P_Subtype_Name_Resync.
	* par-ch5.adb (P_Goto_Statement): Replace call to
	P_Qualified_Simple_Name by P_Label_Name.
	(Parse_Loop_Flow_Statement): Replace call to
	P_Qualified_Simple_Name by P_Loop_Name.
	* par-ch6.adb (P_Subprogram): Replace call to
	P_Qualified_Simple_Name by P_Generic_Unit_Name.
	* par-ch7.adb (P_Package): Replace calls to
	P_Qualified_Simple_Name by P_Package_Name and P_Generic_Unit_Name.
	* par-ch8.adb (P_Use_Package_Clause): Replace calls to
	P_Qualified_Simple_Name by P_Package_Name.
	* par-ch9.adb (P_Task): Replace call to
	P_Qualified_Simple_Name by P_Subtype_Name.
	(P_Protected): Likewise.
	* par-ch10.adb (P_Context_Clause): Replace call to
	P_Qualified_Simple_Name by P_Library_Unit_Name.
	(P_Subunit): Replace call to P_Qualified_Simple_Name by
	P_Parent_Unit_Name.
	* par-ch12.adb (P_Generic): Replace call to
	P_Qualified_Simple_Name by P_Generic_Unit_Name.
	(P_Formal_Derived_Type_Definition): Replace call to
	P_Qualified_Simple_Name by P_Subtype_Name.
	(P_Formal_Package_Declaration): Replace call to
	P_Qualified_Simple_Name by P_Generic_Unit_Name.
	* sem_ch4.adb: Add with and use clauses for Sem_Ch12.
	(Analyze_Call): Accept implicit instantiations with -gnatX0.
	(Analyze_Indexed_Component_Form): Likewise.
	* sem_ch8.adb (Analyze_Use_Package): Add guard before inserting
	a with clause automatically when there is a use clause.
	(Check_In_Previous_With_Clause): Retrieve original names.
	(Check_Library_Unit_Renaming): Deal with structural instances.
	(End_Use_Type): Minor tweak.
	* sem_ch10.adb (Analyze_With_Clause): Remove useless test and
	call Defining_Entity_Of_Instance.
	* sem_ch12.ads (Build_Structural_Instantiation): New function.
	(Mark_Link_Once): New procedure.
	* sem_ch12.adb: Add with and use clauses for Exp_Dbug.
	(Analyze_Associations): Add support for structural instantiations.
	(Analyze_Package_Instantiation): Likewise.
	(Analyze_Subprogram_Instantiation): Likewise.
	(Analyze_Structural_Associations): New procedure.
	(Need_Subprogram_Instance_Body): Return True for instantiation is
	in the auxiliary declarations of the main unit.
	(Build_Structural_Instantiation): New function.
	(Mark_Link_Once): New procedure.
	* sem_util.ads (Add_Local_Declaration): New procedure.
	(Defining_Entity_Of_Instance): New function.
	* sem_util.adb (Add_Local_Declaration): New procedure.
	(Defining_Entity_Of_Instance): New function.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-09-19  Ronan Desplanques  <desplanques@adacore.com>

	* aspects.ads: Fix comment.

2025-09-19  Ronan Desplanques  <desplanques@adacore.com>

	* aspects.ads: Remove comment.

2025-09-19  Marc Poulhiès  <poulhies@adacore.com>

	* libgnat/s-putima.ads (Ext_Access_Pointer): New.
	(Put_Image_Extended_Access_Pointer): New.
	* libgnat/s-putima.adb (Ext_Acc_Instance): New.
	(Put_Image_Extended_Access_Pointer): New.
	* rtsfind.ads (RE_Id, RE_Unit_Table): Set value for
	RE_Put_Image_Extended_Access_Pointer.
	* exp_put_image.adb (Build_Elementary_Put_Image_Call): Handle extended
	access.

2025-09-19  Marc Poulhiès  <poulhies@adacore.com>

	* fe.h (Is_Extended_Access_Type): Add C bindings.
	* sem_util.ads (Is_Extended_Access_Type): Add comment that any
	change to the function must take care of the C binding.

2025-09-19  Marc Poulhiès  <poulhies@adacore.com>

	* layout.adb (Layout_Type): Adjust comment and code extended
	accesses.

2025-09-19  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Add_Tag): Remove superfluous statements.

2025-09-19  Steve Baird  <baird@adacore.com>

	* exp_attr.adb (Interunit_Ref_OK): Treat a subunit like a body.
	(Build_And_Insert_Type_Attr_Subp): When climbing up the
	tree, go from an N_Subunit node to its stub (instead of to the
	subunit's N_Compilation_Unit node).

2025-09-19  Gary Dismukes  <dismukes@adacore.com>

	* sem_attr.adb (Eval_Attribute): In the case of a VADS-specific
	size attribute, only fold to the object size when the Esize field
	is known.

2025-09-16  Ronan Desplanques  <desplanques@adacore.com>

	* exp_strm.ads (Get_Primitives): New function.
	* exp_strm.adb (Get_Primitives): Likewise.
	(Build_Elementary_Input_Call, Build_Elementary_Write_Call): use
	Get_Primitives.
	(Has_Stream_Standard_Rep): Add formal parameter and rename to...
	(Is_Stream_Standard_Rep): New function.
	* sem_ch13.adb (Analyze_Attribute_Definition_Clause): Fix error
	emission.

2025-09-16  Gary Dismukes  <dismukes@adacore.com>

	Revert:
	2025-09-15  Gary Dismukes  <dismukes@adacore.com>

	* exp_ch6.ads (Make_Build_In_Place_Call_In_Allocator): Simplify comment.
	* exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Remove obsolete
	comment about not being able to allocate fixed-size controlled results
	on the caller side, and replace another obsolete comment with a simpler
	comment. Call Build_Allocate_Deallocate_Proc when the function doesn't
	need a BIPalloc formal to ensure that function results with controlled
	parts allocated on the caller side will be chained for finalization.
	(Make_Build_In_Place_Call_In_Object_Declaration): Call Needs_BIP_Collection
	on the function's Entity_Id rather than the function call.
	(Needs_BIP_Collection): If a BIP function doesn't need a BIPalloc formal
	then it doesn't need a BIP collection either; return False in that case.
	(Needs_BIP_Alloc_Form): Remove test of Needs_BIP_Collection.
	* exp_ch7.adb (Expand_Cleanup_Actions): Move test of Uses_Sec_Stack
	to be the first conjunct in setting of Needs_Sec_Stack_Mark, and put
	the other tests in a disjunction subsidiary to that. Improve preceding
	comment.

2025-09-16  Iain Sandoe  <iain@sandoe.co.uk>

	PR ada/114065
	* libgnarl/s-osinte__darwin.adb: Add and reference clause
	for Interfaces.C, remove clause for Interfaces.C.Extensions.

2025-09-15  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/114065
	PR ada/121953
	* Makefile.rtl (LIBGNAT_TARGET_PAIRS) [x32-linux]: Replace
	libgnarl/s-osinte__x32.adb with libgnarl/s-osinte__posix.adb.
	* libgnarl/s-osinte__x32.adb: Delete.

2025-09-15  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/trans.cc (gnat_to_gnu)
	<N_Object_Renaming_Declaration>: Deal with objects whose elaboration
	is deferred.
	(process_freeze_entity): Deal with renamed objects whose elaboration
	is deferred.

2025-09-15  Gary Dismukes  <dismukes@adacore.com>

	* exp_ch6.ads (Make_Build_In_Place_Call_In_Allocator): Simplify comment.
	* exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Remove obsolete
	comment about not being able to allocate fixed-size controlled results
	on the caller side, and replace another obsolete comment with a simpler
	comment. Call Build_Allocate_Deallocate_Proc when the function doesn't
	need a BIPalloc formal to ensure that function results with controlled
	parts allocated on the caller side will be chained for finalization.
	(Make_Build_In_Place_Call_In_Object_Declaration): Call Needs_BIP_Collection
	on the function's Entity_Id rather than the function call.
	(Needs_BIP_Collection): If a BIP function doesn't need a BIPalloc formal
	then it doesn't need a BIP collection either; return False in that case.
	(Needs_BIP_Alloc_Form): Remove test of Needs_BIP_Collection.
	* exp_ch7.adb (Expand_Cleanup_Actions): Move test of Uses_Sec_Stack
	to be the first conjunct in setting of Needs_Sec_Stack_Mark, and put
	the other tests in a disjunction subsidiary to that. Improve preceding
	comment.

2025-09-15  Eric Botcazou  <ebotcazou@adacore.com>

	* checks.adb (Apply_Discriminant_Check): Remove undocumented test
	on Is_Aliased_View applied to the left-hand side to skip the check
	in the case where the subtypes are the same, and replace it with a
	test that the subtypes are constrained.

2025-09-15  Jose Ruiz  <ruiz@adacore.com>

	* doc/gnat_rm/security_hardening_features.rst:
	clarify that hardening options are not supported by the
	LLVM back end.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-09-15  Viljar Indus  <indus@adacore.com>

	* sem_prag.adb (Analyze_Pragma): Disable context checks for
	the preanalysis of the expression for Loop_Invariant pragmas
	as the ghost region for the pragma has not been set up yet.

2025-09-15  Viljar Indus  <indus@adacore.com>

	* sem_prag.adb (Get_Applicable_Policy): Match assertion levels
	by name.

2025-09-15  Steve Baird  <baird@adacore.com>

	* freeze.adb (Freeze_Entity): In the case of an anonymous
	access-to-subprogram type where Do_Freeze_Profile is True, freeze
	the designated subprogram type.
	(Should_Freeze_Type): Do not call Unit_Declaration_Node with
	a parentless argument.
	* sem_ch3.adb (Analyze_Object_Declaration): When calling
	Freeze_Before, override the default value for Do_Freeze_Profile.
	This is needed in some cases to prevent premature freezing in the
	case of an object of an anonymous access-to-subprogram type.

2025-09-15  Viljar Indus  <indus@adacore.com>

	* sem_prag.adb (Analyze_Pragma): Add ghost level check to
	Assertion_Policy.

2025-09-15  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Check_Assignment_Policies): The level of the assignee
	should depend on the level of the region.

2025-09-15  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Is_Ok_Pragma): Remove calls to Check_Policies.

2025-09-15  Viljar Indus  <indus@adacore.com>

	* contracts.adb: Update SPARK RM reference numbers.
	* freeze.adb: Likewise.
	* ghost.adb: Likewise.
	* ghost.ads: Likewise.
	* sem_ch12.adb: Likewise.
	* sem_ch3.adb: Likewise.
	* sem_ch6.adb: Likewise.
	* sem_prag.adb: Likwise.
	* sem_res.adb: Likewise.

2025-09-15  Viljar Indus  <indus@adacore.com>

	* sem_prag.adb (Check_Inconsistent_Argument_Ghostliness):
	new method for handling the ghost constency errors between
	different arguments. Use this method in the processing for
	pragmas Unused, Unrefefrenced, Unreferenced_Objects, Inline and
	No_Return.
	* sem_prag.ads (Suppressed_Ghost_Policy_Check_Pragma): add
	missing entry for pragma Inline.

2025-09-15  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Check_Assignee_Levels): Fix the condition and improve
	error message handling.

2025-09-15  Nicolas Boulenguez  <nicolas@debian.org>

	PR ada/114065
	* Makefile.rtl (GNATRTL_NONTASKING_OBJS): Add g-c_time$(objext) and
	s-c_time$(objext).
	(Aarch64/Android): Do not use s-osinte__android.adb.
	(SPARC/Solaris): Do not use s-osprim__solaris.adb.
	(x86/Solaris): Likewise.
	(LynxOS178): Do not use s-parame__posix2008.ads.
	(RTEMS): Likewise.
	(x32/Linux): Likewise, as well as s-linux__x32.ads.  Replace
	s-osprim__x32.adb with s-osprim__posix.adb.
	(LIBGNAT_OBJS): Remove cal.o.
	* cal.c: Delete.
	* doc/gnat_rm/the_gnat_library.rst (GNAT.C_Time): New entry.
	(GNAT.Calendar): Do not mention the obsolete conversion functions.
	* impunit.adb (Non_Imp_File_Names_95): Add g-c_time.
	* libgnarl/a-exetim__posix.adb: Add with clause for System.C_Time
	(Clock): Use type and functions from System.C_Time.
	* libgnarl/s-linux.ads: Remove with clause for System.Parameters.
	Remove declarations of C time types.
	* libgnarl/s-linux__alpha.ads: Likewise.
	* libgnarl/s-linux__android-aarch64.ads: Likewise.
	* libgnarl/s-linux__android-arm.ads: Likewise.
	* libgnarl/s-linux__hppa.ads: Likewise.
	* libgnarl/s-linux__loongarch.ads: Likewise.
	* libgnarl/s-linux__mips.ads: Likewise.
	* libgnarl/s-linux__riscv.ads: Likewise.
	* libgnarl/s-linux__sparc.ads: Likewise.
	* libgnarl/s-osinte__aix.ads: Likewise.
	* libgnarl/s-osinte__android.ads: Likewise.
	* libgnarl/s-osinte__cheribsd.ads: Likewise.
	* libgnarl/s-osinte__darwin.ads: Likewise.
	* libgnarl/s-osinte__dragonfly.ads: Likewise.
	* libgnarl/s-osinte__freebsd.ads: Likewise.
	* libgnarl/s-osinte__gnu.ads: Likewise.
	* libgnarl/s-osinte__hpux.ads: Likewise.
	* libgnarl/s-osinte__kfreebsd-gnu.ads: Likewise.
	* libgnarl/s-osinte__linux.ads: Likewise.
	* libgnarl/s-osinte__lynxos178e.ads: Likewise.
	* libgnarl/s-osinte__qnx.ads: Likewise.
	* libgnarl/s-osinte__rtems.ads: Likewise.
	* libgnarl/s-osinte__solaris.ads: Likewise.
	* libgnarl/s-osinte__vxworks.ads: Likewise.
	* libgnarl/s-qnx.ads: Likewise.
	* libgnarl/s-linux__x32.ads: Delete.
	* libgnarl/s-osinte__darwin.adb (To_Duration): Remove.
	(To_Timespec): Likewise.
	* libgnarl/s-osinte__aix.adb: Likewise.
	* libgnarl/s-osinte__dragonfly.adb: Likewise.
	* libgnarl/s-osinte__freebsd.adb: Likewise.
	* libgnarl/s-osinte__gnu.adb: Likewise.
	* libgnarl/s-osinte__lynxos178.adb: Likewise.
	* libgnarl/s-osinte__posix.adb: Likewise.
	* libgnarl/s-osinte__qnx.adb: Likewise.
	* libgnarl/s-osinte__rtems.adb: Likewise.
	* libgnarl/s-osinte__solaris.adb: Likewise.
	* libgnarl/s-osinte__vxworks.adb: Likewise.
	* libgnarl/s-osinte__x32.adb: Likewise.
	* libgnarl/s-taprop__solaris.adb: Add with clause for System.C_Time.
	(Monotonic_Clock): Use type and functions from System.C_Time.
	(RT_Resolution): Likewise.
	(Timed_Sleep): Likewise.
	(Timed_Delay): Likewise.
	* libgnarl/s-taprop__vxworks.adb: Likewise.
	* libgnarl/s-tpopmo.adb: Likewise.
	* libgnarl/s-osinte__android.adb: Delete.
	* libgnat/g-c_time.ads: New file.
	* libgnat/g-calend.adb: Delegate to System.C_Time.
	* libgnat/g-calend.ads: Likewise.
	* libgnat/g-socket.adb: Likewise.
	* libgnat/g-socthi.adb: Likewise.
	* libgnat/g-socthi__vxworks.adb: Likewise.
	* libgnat/g-sothco.ads: Likewise.
	* libgnat/g-spogwa.adb: Likewise.
	* libgnat/s-c_time.adb: New file.
	* libgnat/s-c_time.ads: Likewise.
	* libgnat/s-optide.adb: Import nanosleep here.
	* libgnat/s-os_lib.ads (time_t): Remove.
	(To_Ada): Adjust.
	(To_C): Likewise.
	* libgnat/s-os_lib.adb: Likewise.
	* libgnat/s-osprim__darwin.adb: Delegate to System.C_Time.
	* libgnat/s-osprim__posix.adb: Likewise.
	* libgnat/s-osprim__posix2008.adb: Likewise.
	* libgnat/s-osprim__rtems.adb: Likewise.
	* libgnat/s-osprim__unix.adb: Likewise.
	* libgnat/s-osprim__solaris.adb: Delete.
	* libgnat/s-osprim__x32.adb: Likewise.
	* libgnat/s-parame.ads (time_t_bits): Remove.
	* libgnat/s-parame__hpux.ads: Likewise.
	* libgnat/s-parame__vxworks.ads: Likewise.
	* libgnat/s-parame__posix2008.ads: Delete.
	* s-oscons-tmplt.c (SIZEOF_tv_nsec): New constant.
	* gnat_rm.texi: Regenerate.

2025-09-15  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_util.adb (Finalize_Address): In an untagged derivation, call
	Root_Type on the full view of the base type if the partial view is
	itself not a derived type.
	(Is_Untagged_Derivation): Minor formatting tweak.

2025-09-15  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_util.ads (Unqualified_Unconditional_Parent): New function.
	* exp_util.adb (Unconditional_Parent): Do not look through qualified
	expressions.
	(Unqualified_Unconditional_Parent): New function identical to the
	original Unconditional_Parent.
	* exp_aggr.adb (Convert_To_Assignments): Replace Unconditional_Parent
	with Unqualified_Unconditional_Parent.
	(Expand_Array_Aggregate): Likewse.
	* exp_ch4.adb (Expand_N_Case_Expression): Likewise.
	(Expand_N_If_Expression): Likewise.
	* exp_ch6.adb (Expand_Ctrl_Function_Call): Do not bypass an enclosing
	qualified expression in the parent chain.

2025-09-15  Ronan Desplanques  <desplanques@adacore.com>

	* doc/gnat_rm/gnat_language_extensions.rst: Fix section of Finalizable.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-09-15  Viljar Indus  <indus@adacore.com>

	* sem_ch6.adb (Analyze_Expression_Function): Disable ghost
	checks during the early freeze.

2025-09-15  Steve Baird  <baird@adacore.com>

	* aspects.ads: Define Super aspect; allow Initialize aspect
	specification on a subprogram body.
	* exp_attr.adb (Expand_N_Attribute_Reference): Rewrite Make
	attribute implementation.
	* exp_ch3.adb (Initialization_Control): Delete Initialization_Mode
	and Make_Mode_Literal (those declarations were moved to the spec).
	(Build_Record_Init_Proc): For a constructor type, component
	initialization (other than for the tag component, if any) must be
	performed by calling the single-argument constructor procedure.
	(Requires_Init_Proc): Return True for a constructor type.
	* exp_ch3.ads (Make_Mode_Literal, Initialization_Mode): New, moved
	from the body of this package.
	* exp_ch6.adb (Expand_N_Subprogram_Body): Declare, implement, and
	call a new local procedure, Prepend_Constructor_Procedure_Prologue
	in order to generate component initialization for a constructor
	procedure.
	* sem_attr.adb (Analyze_Attribute): Improve the error message
	generated for a 'Make attribute reference if GNAT extensions are
	not all allowed.
	* sem_ch13.adb (Analyze_One_Aspect): Improved implementation of
	aspect specifications for Initialize, Constructor, and Super
	aspects. For Super, there was no previous implementation.

2025-09-15  Viljar Indus  <indus@adacore.com>

	* atree.adb (Mark_New_Ghost_Node): Set Is_Implicit_Ghost for
	all newly created nodes.
	* gen_il-fields.ads (Is_Implicit_Ghost): New attribute.
	* gen_il-gen-gen_entities.adb (Entity_Kind): Add Is_Implicit_Ghost
	attribute.
	* ghost.adb (Ghost_Policy_In_Effect): Implicit_Ghost_Entities inside
	pragmas get the ghost mode from the region isntead of the global
	ghost policy.
	(Ghost_Assertion_Level_In_Effect): New function that returns the
	applicable assertion level for the given entity in a similar manner
	as Ghost_Policy_In_Effect.
	(Install_Ghost_Region): Set Is_Inside_Statement_Or_Pragma attribute.
	(Mark_And_Set_Ghost_Body): Update the logic for deriving the ghost
	region.
	(Set_Ghost_Mode): Ignored pragmas attached to checked ghost entities
	now create an ignored ghost region. Pragmas attached to non-ghost
	entities create the ghost region based on the policy applied to the
	given pragma.
	* opt.ads (Ghost_Config_Type): add new attribute
	Is_Inside_Statement_Or_Pragama to track whether we should take the
	active ghost mode from the ghost region for implicit ghost entities.
	* sem_prag.adb (Analyze_Pragma): Mark entities that have an explicit
	ghost pragma as non-implicit ghost.

2025-09-15  Sebastian Poeplau  <poeplau@adacore.com>

	* doc/gnat_ugn/building_executable_programs_with_gnat.rst:
	Remove the note on light runtimes.

2025-09-15  Sebastian Poeplau  <poeplau@adacore.com>

	* doc/gnat_ugn/building_executable_programs_with_gnat.rst: Move
	recommendation of Toolchain_Name up.
	* gnat_ugn.texi: Regenerate.

2025-09-15  Vadim Godunko  <godunko@adacore.com>

	* bindgen.adb (Gen_Adafinal): Don't generate call of adafinal
	when use of standard library suppressed.

2025-09-15  Vadim Godunko  <godunko@adacore.com>

	* bindgen.adb (Gen_Adafinal): Don't generate code when
	use of standard library suppressed.

2025-09-15  Vadim Godunko  <godunko@adacore.com>

	* libgnat/a-swunau.ads (Set_Wide_String): New subprogram.
	* libgnat/a-swunau.adb (Set_Wide_String): Likewise.
	* libgnat/a-swunau__shared.adb (Set_Wide_String): Likewise.
	* libgnat/a-szunau.ads (Set_Wide_Wide_String): Likewise.
	* libgnat/a-szunau.adb (Set_Wide_Wide_String): Likewise.
	* libgnat/a-szunau__shared.adb (Set_Wide_Wide_String): Likewise.

2025-09-15  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Check_Ghost_Context): Avoid context checks when they
	are globally disabled.
	* sem.ads (Ghost_Context_Checks_Disabled): New flag to control
	whether ghost context checks are activated or not.
	* sem_prag.adb (Analyze_Pragma): Disable ghost context checks for
	pragmas that determine their ghostliness based on one of its arguments.

2025-09-15  Ronan Desplanques  <desplanques@adacore.com>

	* sem_util.ads (Is_Ancestor_Package): Fix documentation comment.
	* sem_util.adb (Is_Ancestor_Package): Rename local object.

2025-09-11  Marc Poulhiès  <poulhies@adacore.com>

	* libgnat/g-socket.adb (Listen_Socket): Change default value.
	* libgnat/g-socket.ads (Listen_Socket): Likewise.
	* s-oscons-tmplt.c (BACKLOG_MAX): New.

2025-09-11  Marc Poulhiès  <poulhies@adacore.com>

	* env.c (__gnat_clearenv): Adjust comment.
	* libgnarl/a-intnam__bsd.ads: Fix copyright date.

2025-09-11  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/decl.cc (gnat_to_gnu_entity) <E_Variable>: Give a
	warning for huge imported objects as well.

2025-09-11  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/ada-tree.h (TYPE_ALIGN_OK): Delete.
	* gcc-interface/decl.cc (gnat_to_gnu_entity): Do not set it.
	* gcc-interface/gigi.h (standard_datatypes): Add ADT_tag_name_id.
	(tag_name_id): New macro.
	(type_is_tagged_or_cw_equivalent): New inline predicate.
	* gcc-interface/trans.cc (gigi): Initialize tag_name_id.
	(gnat_to_gnu) <N_Unchecked_Type_Conversion>: Replace tests on
	TYPE_ALIGN_OK with calls to type_is_tagged_or_cw_equivalent.
	(addressable_p): Likewise.
	* gcc-interface/utils.cc (convert): Likewise.
	* gcc-interface/utils2.cc (build_binary_op): Likewise.

2025-09-11  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/misc.cc (gnat_get_array_descr_info): In the record
	type case, bail out if the original array type cannot be retrieved.

2025-09-11  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/gigi.h (standard_datatypes): Add ADT_uns_mulv64_decl
	and ADT_uns_mulv128_decl.
	(uns_mulv64_decl): New macro.
	(uns_mulv128_decl): Likewise.
	* gcc-interface/trans.cc (gigi): Create the uns_mulv64_decl and
	uns_mulv128_decl declarations.
	(gnat_to_gnu) <N_Op_Add>: Perform an overflow check for unsigned
	integer addition, subtraction and multiplication if required.
	<N_Op_Minus>: Perform an overflow check for unsigned integer
	negation if required.
	(build_unary_op_trapv): Add support for unsigned types.
	(build_binary_op_trapv): Likewise.
	<MINUS_EXPR>: Perform the check if the LHS is zero in the signed
	case as well.

2025-09-11  Steve Baird  <baird@adacore.com>

	* exp_ch6.adb (Expand_Actuals): After building the tree for a
	predicate check, call Prepend_To instead of Append_To so that the
	check is performed before, instead of after, the corresponding
	parameter copy-back.

2025-09-11  Viljar Indus  <indus@adacore.com>

	* sem_prag.adb: Create a ghost region for pragma annotate before
	analyzing its arguments.

2025-09-11  Viljar Indus  <indus@adacore.com>

	* sem_ch5.adb (Analyze_Iterator_Specification): Check ghost context
	of Iterable functions when handling iterator specifications with an
	Iterable aspect.

2025-09-11  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Check_Ghost_Policy): Update coding style.

2025-09-11  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Check_Ghost_Policy): Avoid triggering a ghost
	policy error if the policy is referenced within the Iterable
	aspect.

2025-09-11  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Is_OK_Statement): Check the levels of the
	assignee with the levels of the entity are ghost level dependent.
	(Check_Assignement_Levels): New function for checking the level
	dependencies.

2025-09-11  Piotr Trojanek  <trojanek@adacore.com>

	* einfo.ads (Ghost_Assertion_Level): Fix comment.

2025-09-11  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Mark_And_Set_Ghost_Assignment): Create a ghost region
	for an assigment irregardless of whether the expander is active.
	Relocate the Assignment validity checks from Is_OK_Statement to
	this subprogram.

2025-09-11  Gary Dismukes  <dismukes@adacore.com>

	* exp_aggr.adb (Build_Container_Aggr_Code.Build_Size_Expr): In the case
	of an association with a single choice, only call Update_Choices when
	the choice expression is nonstatic.

2025-09-11  Bob Duff  <duff@adacore.com>

	* exp_ch5.adb
	(Expand_Assign_With_Target_Names.Replace_Target):
	Remove code setting Entity to Empty.
	* sinfo.ads (Has_Target_Names):
	Improve comment: add "@" to clarify what "target name"
	means, and remove the content-free phrase "and must
	be expanded accordingly."

2025-09-11  Bob Duff  <duff@adacore.com>

	* einfo-utils.adb (Root_Type): Do not deal with missing Etype.

2025-09-11  Bob Duff  <duff@adacore.com>

	* einfo-utils.adb (Root_Type): Deal with missing Etype.
	(Root_Type_If_Set): Likewise.

2025-09-11  Javier Miranda  <miranda@adacore.com>

	* freeze.adb (Freeze_Entity): Protect call to Associated_Storage_Pool
	since it cannot be used when the Etype is not set.
	* sem_ch3.adb (Access_Type_Declaration): Ditto.
	* sem_aux.adb (Is_Derived_Type): Protect call to Root_Type since it
	cannot be used when the Etype is not set.

2025-09-11  Tonu Naks  <naks@adacore.com>

	* libgnat/s-crtl.ads: define unsigned
	* libgnat/s-crtl__mingw.adb (read, write): change arg type

2025-09-11  Bob Duff  <duff@adacore.com>

	* freeze.adb (Freeze_Entity): Change "=" to ">=" in
	size comparison for Implicit_Packing mode.
	Keep it as "=" for giving error messages.
	* opt.ads (Implicit_Packing): Minor: correct obsolete
	comment.

2025-09-11  Javier Miranda  <miranda@adacore.com>

	* sem_aggr.adb (Report_Null_Array_Constraint_Error): Adjust code
	for reporting the error on enumeration types.
	(Resolve_Null_Array_Aggregate): On multidimiensional arrays, avoid
	reporting the same error several times. Flag the node as raising
	constraint error when the bounds are known and some of them is
	known to raise constraint error.

2025-09-11  Bob Duff  <duff@adacore.com>

	* atree.ads (Node_To_Fetch_From_If_Set): Alternative to
	Node_To_Fetch_From that returns Empty in error cases.
	For use only in Treepr.
	* treepr.adb (Print_Entity_Field): Avoid printing field
	if Node_To_Fetch_From_If_Set returns Empty.
	* einfo-utils.ads (Base_Type_If_Set): Alternative to
	Base_Type that returns Empty in error cases.
	(Implementation_Base_Type_If_Set): Likewise.
	(Root_Type_If_Set): Likewise.
	(Underlying_Type): Use more accurate result subtype.
	* einfo-utils.adb (Base_Type): Add Asserts.
	(Implementation_Base_Type): Add Assert; minor cleanup.
	(Root_Type): Add Assert; minor cleanup. Remove Assert that
	is redundant with predicate.
	(Base_Type_If_Set): Body of new function.
	(Implementation_Base_Type_If_Set): Body of new function.
	(Root_Type_If_Set): Body of new function.

2025-09-11  Johannes Kliemann  <kliemann@adacore.com>

	* adaint.c: Add functions to disable and enable signals on QNX.
	* libgnarl/s-taprop__qnx.adb (Create_Task): Disable
	signals when calling pthread_create.

2025-09-11  Gary Dismukes  <dismukes@adacore.com>

	* exp_ch4.adb (Expand_N_Op_Eq): Test for absence of user-defined
	equality on type being compared (for both array and record types)
	as a condition for checking for abstract equality on component
	types. Add a "???" comment about current limitations on issuing
	the new warning.
	(Warn_On_Abstract_Equality_For_Component): Remove temporary disabling
	of the warning. Improve comment on declaration.

2025-09-11  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Process_Discriminants, Process_Full_View): Fix
	comments.

2025-09-11  Denis Mazzucato  <mazzucato@adacore.com>

	* sem_attr.adb (Eval_Attribute): Remove strict analysis condition.

2025-09-11  Denis Mazzucato  <mazzucato@adacore.com>

	* par-load.adb (Load): Better warning message.

2025-09-11  Tucker Taft  <taft@adacore.com>

	* exp_attr.adb
	(Build_Array_VS_Func and Build_Record_VS_Func): Pass in the
	Attr as the Related_Node parametr when calling
	Make_Temporary for the Func_Id for the array and record
	Valid_Scalars local functions.

2025-09-11  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.ads (Find_Type_Name): Improve documentation comment.

2025-09-11  Gary Dismukes  <dismukes@adacore.com>

	* exp_ch4.adb (Warn_On_Abstract_Equality_For_Component): Temporarily
	disable warning.

2025-09-10  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/121885
	* snames.ads-tmpl (Pragma_Id): Rename Unknown_Pragma to
	Pragma_Unknown for the sake of XSnamesT.
	* snames.adb-tmpl (Get_Pragma_Id): Adjust to above renaming.
	* snames.h-tmpl (Attribute_Id): Change underlying type to Byte.
	(Get_Attribute_Id): Use Byte as return value.
	(Pragma_Id): Change underlying type to Word.
	(Get_Pragma_Id): Use Word as return value.
	* types.h (Word): New typedef.
	* exp_prag.adb (Expand_N_Pragma): Remove useless comment.
	* par-prag.adb (Prag): Adjust to above renaming.
	* sem_prag.adb (Analyze_Pragma): Likewise.
	(Sig_Flags): Likewise.

2025-09-09  Gary Dismukes  <dismukes@adacore.com>

	* exp_ch4.adb (Expand_N_Op_Eq): Check for warning about call to
	the abstract equality function of a component type, for both array
	and record enclosing types.
	(Warn_On_Abstract_Equality_For_Component): New procedure to issue
	a warning when an abstract equality function of a component type
	will be called and result in Program_Error.

2025-09-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch5.adb (Make_Call): Mark generated nodes as coming from source.

2025-09-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Analyze_Incomplete_Type_Decl): Remove incorrect
	comment.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Is_OK_Pragma): Use the
	Suppressed_Ghost_Policy_Check_Pragma list for ignoring certain
	pragmas.
	* sem_prag.ads (Suppressed_Ghost_Policy_Check_Pragma): New variable
	to store the pragmas that could be ignored when checking for
	consitant ghost policy.

2025-09-09  Tonu Naks  <naks@adacore.com>
	    Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-crtl.ads (read, write): remove import
	* libgnat/s-crtl__mingw.adb: body for windows
	* libgnat/s-crtl.adb: body for all the other targets
	* Makefile.rtl: configure s-crtl.adb/libgnat/s-crtl__mingw.adb
	* gcc-interface/Make-lang.in (GNAT_ADA_OBJS): Alphabetize.
	(GNATBIND_OBJS): Add ada/libgnat/s-crtl.o.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* contracts.adb: Use the In_Codegen function instead.
	* exp_ch3.adb: Likewise.
	* exp_ch5.adb: Likewise.
	* exp_ch6.adb: Likewise.
	* exp_ch7.adb: Likewise.
	* exp_ch9.adb: Likewise.
	* exp_disp.adb: Likewise.
	* exp_util.adb: Likewise.
	* freeze.adb: Likewise.
	* ghost.adb: Likewise.
	* inline.adb: Likewise.
	* repinfo.adb: Likewise.
	* sem_ch10.adb: Likewise.
	* sem_ch13.adb: Likewise.
	* sem_ch3.adb: Likewise.
	* sem_ch6.adb: Likewise.
	* sem_elab.adb: Likewise.
	* sem_res.adb: Likewise.
	* sem_util.adb (Predicates_Ignored_In_Codegen): Add new function for
	the Predicates_Ignored property.
	(Predicates_Enabled): Use Predicates_Ignored_In_Codegen instead.
	* sem_util.ads (Predicates_Ignored_In_Codegen): New function.
	(Is_Ignored_In_Codegen): Add documentation on how _In_Codegen
	functions should be used.

2025-09-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Copy_And_Swap): Improve comments.

2025-09-09  Javier Miranda  <miranda@adacore.com>

	* sem_util.adb (Needs_One_Actual): Add support for untagged record
	types when the sources are compiled with Core Extensions allowed.

2025-09-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Find_Type_Name): Fix comment.

2025-09-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Check_Nonoverridable_Aspects): Remove if statement.

2025-09-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Check_Nonoverridable_Aspects): Improve documentation
	comment.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Check_Ghost_Completion): Add location info
	to the policy messages.
	(Check_Ghost_Policy): Likwise.

2025-09-09  Javier Miranda  <miranda@adacore.com>

	* exp_attr.adb (Rewrite_Attribute_Proc_Call): Add new parameter
	to calls to Create_Extra_Formals.
	(Expand_N_Attribute_Reference): Ditto.
	* exp_ch3.adb (Expand_Freeze_Record_Type): Ditto.
	* exp_ch6.adb (Expand_Call_Helper): Ditto.
	* exp_disp.adb (Expand_Dispatching_Call): Ditto.
	* freeze.adb (Check_Itype): Ditto.
	(Freeze_Expression): Ditto.
	* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Ditto.
	(Create_Extra_Formals): Add new formal, and use it to determine
	if the creation of the extra formals can be deferred. Add the
	new parameter to calls to Create_Extra_Formals.
	(Is_Unsupported_Extra_Actuals_Call): Adjust the code to improve
	its performance when the result is known.
	(Is_Unsupported_Extra_Formals_Entity): Ditto. Add new formal
	* sem_ch6.ads (Create_Extra_Formals): Add new formal.
	(Is_Unsupported_Extra_Formals_Entity): Ditto.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* sem_aggr.adb (Resolve_Array_Aggregate): Indicate an out of
	bounds index error also in the case of a missing index.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* sem_ch13.adb (Analyze_Aspect_Definitions): Create a temporary
	pragma for the non-task and access type cases.

2025-09-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch7.adb (New_Private_Type): Remove useless statements.

2025-09-09  Denis Mazzucato  <mazzucato@adacore.com>

	* targparm.adb (Get_Target_Parameters): Address type declaration doesn't
	ends anymore with a semicolon.
	* libgnat/a-cdlili.ads: Replace Preelaborable_Initialization.
	* libgnat/a-cidlli.ads: Likewise.
	* libgnat/a-cihama.ads: Likewise.
	* libgnat/a-cihase.ads: Likewise.
	* libgnat/a-cimutr.ads: Likewise.
	* libgnat/a-ciorma.ads: Likewise.
	* libgnat/a-ciormu.ads: Likewise.
	* libgnat/a-ciorse.ads: Likewise.
	* libgnat/a-cohama.ads: Likewise.
	* libgnat/a-cohase.ads: Likewise.
	* libgnat/a-coinho.ads: Likewise.
	* libgnat/a-coinho__shared.ads: Likewise.
	* libgnat/a-coinve.ads: Likewise.
	* libgnat/a-comutr.ads: Likewise.
	* libgnat/a-convec.ads: Likewise.
	* libgnat/a-coorma.ads: Likewise.
	* libgnat/a-coormu.ads: Likewise.
	* libgnat/a-coorse.ads: Likewise.
	* libgnat/a-crdlli.ads: Likewise.
	* libgnat/a-except.ads: Likewise.
	* libgnat/a-finali.ads: Likewise.
	* libgnat/a-ngcoty.ads: Likewise.
	* libgnat/a-strbou.ads: Likewise.
	* libgnat/a-stream.ads: Likewise.
	* libgnat/a-strmap.ads: Likewise.
	* libgnat/a-strunb.ads: Likewise.
	* libgnat/a-strunb__shared.ads: Likewise.
	* libgnat/a-ststio.ads: Likewise.
	* libgnat/a-stwibo.ads: Likewise.
	* libgnat/a-stwima.ads: Likewise.
	* libgnat/a-stwiun.ads: Likewise.
	* libgnat/a-stwiun__shared.ads: Likewise.
	* libgnat/a-stzbou.ads: Likewise.
	* libgnat/a-stzmap.ads: Likewise.
	* libgnat/a-stzunb.ads: Likewise.
	* libgnat/a-stzunb__shared.ads: Likewise.
	* libgnat/a-tags.ads: Likewise.
	* libgnat/i-cstrin.ads: Likewise.
	* libgnat/s-stopoo.ads: Likewise.
	* libgnat/s-stposu.ads: Likewise.
	* libgnat/system-aix.ads: Likewise.
	* libgnat/system-darwin-arm.ads: Likewise.
	* libgnat/system-darwin-ppc.ads: Likewise.
	* libgnat/system-darwin-x86.ads: Likewise.
	* libgnat/system-djgpp.ads: Likewise.
	* libgnat/system-dragonfly-x86_64.ads: Likewise.
	* libgnat/system-freebsd.ads: Likewise.
	* libgnat/system-gnu.ads: Likewise.
	* libgnat/system-hpux-ia64.ads: Likewise.
	* libgnat/system-hpux.ads: Likewise.
	* libgnat/system-linux-alpha.ads: Likewise.
	* libgnat/system-linux-arm.ads: Likewise.
	* libgnat/system-linux-hppa.ads: Likewise.
	* libgnat/system-linux-ia64.ads: Likewise.
	* libgnat/system-linux-loongarch.ads: Likewise.
	* libgnat/system-linux-m68k.ads: Likewise.
	* libgnat/system-linux-mips.ads: Likewise.
	* libgnat/system-linux-ppc.ads: Likewise.
	* libgnat/system-linux-riscv.ads: Likewise.
	* libgnat/system-linux-s390.ads: Likewise.
	* libgnat/system-linux-sh4.ads: Likewise.
	* libgnat/system-linux-sparc.ads: Likewise.
	* libgnat/system-linux-x86.ads: Likewise.
	* libgnat/system-lynxos178-ppc.ads: Likewise.
	* libgnat/system-lynxos178-x86.ads: Likewise.
	* libgnat/system-mingw.ads: Likewise.
	* libgnat/system-qnx-arm.ads: Likewise.
	* libgnat/system-rtems.ads: Likewise.
	* libgnat/system-solaris-sparc.ads: Likewise.
	* libgnat/system-solaris-x86.ads: Likewise.
	* libgnat/system-vxworks-ppc-kernel.ads: Likewise.
	* libgnat/system-vxworks-ppc-rtp-smp.ads: Likewise.
	* libgnat/system-vxworks-ppc-rtp.ads: Likewise.
	* libgnat/system-vxworks7-aarch64-rtp-smp.ads: Likewise.
	* libgnat/system-vxworks7-aarch64.ads: Likewise.
	* libgnat/system-vxworks7-arm-rtp-smp.ads: Likewise.
	* libgnat/system-vxworks7-arm.ads: Likewise.
	* libgnat/system-vxworks7-ppc-kernel.ads: Likewise.
	* libgnat/system-vxworks7-ppc-rtp-smp.ads: Likewise.
	* libgnat/system-vxworks7-ppc64-kernel.ads: Likewise.
	* libgnat/system-vxworks7-ppc64-rtp-smp.ads: Likewise.
	* libgnat/system-vxworks7-x86-kernel.ads: Likewise.
	* libgnat/system-vxworks7-x86-rtp-smp.ads: Likewise.
	* libgnat/system-vxworks7-x86_64-kernel.ads: Likewise.
	* libgnat/system-vxworks7-x86_64-rtp-smp.ads: Likewise.

2025-09-09  Marc Poulhiès  <poulhies@adacore.com>

	* s-pack.adb.tmpl: Typo fix in comment.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* sem_prag.adb (Analyze_Pragma): Set Mark_Ghost_Code individually
	based on the semantics of each pragma.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Mark_Ghost_Declaration_Or_Body): Mark ghost
	entity explicitly as ignored or checked.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Check_Ghost_Policy): ignore ghost policy changes
	within instantiation statements.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Check_Ghost_Policy): Use the policy in affect for
	the identifier at the current moment instead of the region
	around it when checking a policy change for a procedure call.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Mark_And_Set_Ghost_Declaration): apply the
	ghost policy and level from the declaration only if the declaration
	has an explicit ghost aspect/pragma.

2025-09-09  Denis Mazzucato  <mazzucato@adacore.com>

	* sem_ch13.adb (Check_Nonoverridable_Aspect_Subprograms): Add the new
	legality check in Check_Nonoverridable_Aspect_Subprograms for
	nonoverridable aspects to check whether the denoted subprograms satisfy
	MR 13.1.1(18.4/6), otherwise we emit an error. Fix spacing.
	* sem_ch6.adb (New_Overloaded_Entity): Set Is_Primitive flag
	for inherited primitives, and filter out homonym candidates without a
	function specification as parents.

2025-09-09  Piotr Trojanek  <trojanek@adacore.com>

	* sem_prag.adb (Check_Interrupt_Or_Attach_Handler): Refine test for
	protected procedures; fix typo in comment.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Is_OK_Pragma): mark the context of ignored ghost
	pragmas as OK.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* ghost.adb (Assertion_Level_From_Arg): Ensure that assertion level
	is stored as the entity for its reference.
	(Enables_Ghostness): Derive the result from whether or not the
	an argument indicated an assertion level.
	* tbuild.adb (Make_Assertion_Level): ensure that assertion levels
	have a standard scope.

2025-09-09  Piotr Trojanek  <trojanek@adacore.com>

	* checks.adb (Make_Bignum_Block): Check restriction No_Secondary_Stack.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* sem_util.adb (Policy_In_Effect): Add special handling
	for Runtime and Static values.

2025-09-09  Denis Mazzucato  <mazzucato@adacore.com>

	* exp_ch3.adb (Init_Formals): Remove the check on Global_No_Tasking.
	* sem.adb: Fix typo.

2025-09-09  Gary Dismukes  <dismukes@adacore.com>

	* exp_aggr.adb (Build_Container_Aggr_Code.To_Int): Replace existing
	conditional expression with call to Expr_Value.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* sem_ch13.adb (Analyze_Aspect_Specifications): add default
	assertion level to assertion aspects.
	* sem_prag.adb (Analyze_Pragma): Likewise.

2025-09-09  Ghjuvan Lacambre  <lacambre@adacore.com>

	* exp_ch6.adb (Check_BIP_Actuals, Process_Node): Disable checks.

2025-09-09  Javier Miranda  <miranda@adacore.com>

	* aspects.ads (Aspect_Unsigned_Base_Range): New aspect.
	* checks.adb (Determine_Range): Handle types with unsigned base range aspect.
	(Enable_Overflow_Check): ditto
	(Apply_Arithmetic_Overflow_Strict): ditto
	* debug.adb (d_o): Document new usage.
	* einfo.ads (Has_Unsigned_Base_Range_Aspect): New flag.
	* exp_attr.adb (Expand_N_Attribute_Reference): No action since
	it has been already handled at this stage.
	* exp_ch4.adb (Expand_N_Op_Add): Generate aritmetic overflow check on
	unsigned base range type operands.
	(Expand_N_Op_Subtract): ditto
	(Expand_N_Op_Multiply): ditto
	(Expand_N_Op_Minus): ditto
	* gen_il-fields.ads (Has_Unsigned_Base_Range_Aspect): New flag.
	* gen_il-gen-gen_entities.adb (Has_Unsigned_Base_Range_Aspect): New flag.
	* gen_il-internals.adb (Has_Unsigned_Base_Range_Aspect): New flag.
	* gnat1drv.adb (Adjust_Global_Switches): Handle -gnatd_o
	* par-prag.adb (Pragma_Unsigned_Base_Range): No action since it will
	be entirely handled by the semantic analyzer.
	* rtsfind.ads (RE_Id): Add RE_Uns_[Add|Subtract|Multiply]_With_ Ovflo_Check
	* sem_attr.ads (Attribute_Unsigned_Base_Range): Added to the set of
	implementation defined attributes.
	* sem_attr.adb (Analyze_Attribute): Analyze attribute Unsigned_Base_Range.
	(Eval_Attribute): Evaluate attribute Unsigned_Base_Range.
	* sem_ch13.adb (Analyze_One_Aspect): Defer checks for this aspect to
	the analysis of the corresponding pragma.
	* sem_ch3.ads (Unsigned_Base_Range_Type_Declaration): New subprogram.
	* sem_ch3.adb (Build_Derived_Numeric_Type): Inherit flag
	Has_Unsigned_Base_Range_Aspect.
	(Unsigned_Base_Range_Type_Declaration): New subprogram.
	(Has_Pragma_Unsigned_Base_Range): New subprogram.
	* sem_prag.adb (Analyze_Pragma): Handle Pragma_Unsigned_Base_Range.
	* snames.adb-tmpl (Get_Pragma_Id): Handle Name_Unsigned_Base_Range.
	(Is_Pragma_Name): ditto.
	* snames.ads-tmpl (Name_Unsigned_Base_Range): New name.
	(Attribute_Unsigned_Base_Range): New attribute.
	(Pragma_Unsigned_Base_Range): New pragma.
	* libgnat/s-aridou.ads (Add_With_Ovflo_Check): New routine for Double_Uns.
	(Subtract_With_Ovflo_Check): ditto.
	(Multiply_With_Ovflo_Check): ditto.
	* libgnat/s-aridou.adb (Add_With_Ovflo_Check): ditto.
	(Subtract_With_Ovflo_Check): ditto.
	(Multiply_With_Ovflo_Check): ditto.
	* libgnat/s-arit64.ads (Uns_Add_With_Ovflo_Check64): New subprogram.
	(Uns_Subtract_With_Ovflo_Check64): ditto.
	(Uns_Multiply_With_Ovflo_Check64): ditto.
	* libgnat/s-arit64.adb (Uns_Add_With_Ovflo_Check64): New subprogram.
	(Uns_Subtract_With_Ovflo_Check64): ditto.
	(Uns_Multiply_With_Ovflo_Check64): ditto.
	* libgnat/s-arit128.ads (Uns_Add_With_Ovflo_Check128): New subprogram.
	(Uns_Subtract_With_Ovflo_Check128): ditto.
	(Uns_Multiply_With_Ovflo_Check128): ditto.
	* libgnat/s-arit128.adb (Uns_Add_With_Ovflo_Check128): New subprogram.
	(Uns_Subtract_With_Ovflo_Check128): ditto.
	(Uns_Multiply_With_Ovflo_Check128): ditto.
	* doc/gnat_rm/gnat_language_extensions.rst: Document unsigned
	base range.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-09-09  Viljar Indus  <indus@adacore.com>

	* atree.adb (Mark_New_Ghost_Node): Store the assertion level on the
	entity.
	* contracts.adb (Analyze_Package_Contract): Add support for multiple
	pragma Initial_Condition orginating from multiple assertion levels.
	* cstand.adb (Make_Assertion_Level_Definition): New function that
	creates a new Assertion_Level and adds it to the Assertion_Levels
	table.
	(Create_Standard): Add definitions for assertion levels defined in
	Standard.
	(Print_Standard): Add assertion level pragmas do the output.
	* exp_ch6.adb (Check_Subprogram_Variant): Add support for multiple
	Subprogram_Variant pragmas created by assertion levels.
	* einfo.ads: add info for the new nodes and attributes.
	* exp_prag.adb (Consequence_Error): Fix error message string
	corruption caused by another call to the internal strings during
	the call to Make_Procedure_Call_Statement.
	(Expand_Pragma_Initial_Condition): Ensure all ghost related
	attributes are copied to the new pragma.
	(Expand_Pragma_Loop_Variant): Likewise.
	(Expand_Pragma_Subprogram_Variant). Likewise. Additionally
	create a new Subprogram_Variant function for each pragma associated
	with an assertion level.
	* exp_util.adb (Add_DIC_Check): Ensure all ghost related attributes
	are copied to the new pragma.
	(Build_DIC_Procedure_Body): Add support for mutliple DIC pragmas
	created from assertion levels.
	* gen_il-fields.ads:
	(Aspect_Ghost_Assertion_Level): New field.
	(Original_Aspect): New field.
	(Original_Pragma): New field.
	(Pragma_Ghost_Assertion_Level): New field.
	(Child_Levels): New field.
	(Ghost_Assertion_Level): New field.
	(Parent_Levels): New field.
	* gen_il-gen-gen_entities.adb:
	Add Ghost_Assertion_Level field for all entities
	Add new E_Assertion_Level entity for storing assertion levels.
	* gen_il-gen-gen_nodes.adb:
	Add Aspect_Ghost_Assertion_Level for N_Aspect to store the
	assertion level associated with the aspect.
	Add Original_Aspect to store the original aspect where the aspect
	that was transformed from an aspect with an assertion level
	origninated from.
	Add Pragma_Ghost_Assertion_Level and Original_Pragma to store
	the same information for N_Prama nodes.
	* gen_il-types.ads: Add new entity kind E_Assertion_Level
	* ghost.adb (Assertion_Level_Error_Msg): Create constant for
	error messages using the same main error message.
	(Ghost_Policy_Error_Msg): Likewise.
	(Assertion_Level_To_Name): New subprogram.
	(Check_Valid_Ghost_Declaration): New subprogram.
	(Get_Ghost_Aspect): New subprogram.
	(Get_Ghost_Assertion_Level): New subprogram.
	(Ghost_Policy_In_Effect): New subprogram.
	(Install_Ghost_Region): New subprogram.
	(Mark_And_Set_Ghost_Region): New subprogram.
	(Mark_Ghost_Declaration_Or_Body): Add new argument for assertion
	levels.
	(Check_Ghost_Completion): Update ghost policy calculation with
	assertion levels. Refactor error message.
	(Is_OK_Statement): Add new checks for valid assertion policies and
	assertion levels.
	(Is_OK_Pragma): Refactor the calculation of valid ghost pragmas.
	(Check_Ghost_Policy): Make the checks ghost region based.
	(Check_Ghost_Context): Refactor the order of checks.
	(Check_Ghost_Formal_Procedure_Or_Package): Relax the checks for
	overriding procedures. Now only ignored subprograms cannot be
	overridden by checked or non-ghost subprograms.
	(Check_Ghost_Primitive): Relax conditions for primitve operations.
	Now only checked primitive subprograms are considered invalid for
	ignored tagged types. Add assertion level compatibility checks.
	(Check_Ghost_Refinement): Relax conditions for ghost refinements.
	Add assertion level compatibility checks for refinements.
	(Install_Ghost_Region): Store the current region and the assertion
	for that region in the ghost config.
	(Enables_Ghostness): Refactor implementation to support assertion
	levels.
	(Is_Subject_To_Ghost): Simplify implementation.
	(Mark_And_Set_Ghost_Assignment): Refactor implementation.
	(Mark_And_Set_Ghost_Body): Add support for assertion levels.
	(Mark_And_Set_Ghost_Completion): Likewise.
	(Mark_And_Set_Ghost_Declaration): Likwise.
	(Mark_And_Set_Ghost_Instantiation): Likwise.
	(Mark_And_Set_Ghost_Procedure_Call): Refactor implementation.
	(Mark_Ghost_Declaration_Or_Body): Add support for assertion levels.
	(Set_Ghost_Mode): Likwise.
	* ghost.ads (Assertion_Level_From_Arg): New subprogram.
	(Install_Ghost_Region): Add argument Level for assertrion levels.
	(Is_Assertion_Level_Dependent): New subprogram.
	* lib-xref.ads: Add new mapping for E_Assertion_Level entities.
	* opt.ads (Ghost_Config_Type): Add new members Ghost_Assertion_Mode
	and Current_Region to the structure.
	* par-prag.adb (Prag): Add new pragma name Assertion_Level.
	* rtsfind.adb (Load_RTU): Update the arguments for the call to
	Install_Ghost_Region.
	* sem.adb (Do_Analyze): Likewise.
	* sem_ch13.adb (Convert_Aspect_With_Assertion_Levels): New
	subprogram.
	(Make_Aitem_Pragma): Copy ghost mode attributes from the aspect to
	the pragma.
	(Analyze_Aspect_Specifications): Convert aspects that have an
	assertion level association in the aspects without the association
	and the original supported syntax and with the assertion level
	stored on the aspect node.
	Updated duplicate detection to avoid duplicates being called on
	aspects with assertion levels that orginated from the same aspect.
	* sem_prag.adb (Apply_Check_Policy): New subprogram.
	(Get_Applicable_Policy): New subprogram.
	(Mark_Is_Checked): New subprogram.
	(Mark_Is_Disabled): New subprogram.
	(Mark_Is_Ignored): New subprgram.
	(Check_Arg_Is_One_Of): Remove versions that had a specific number
	of arguments and replace them with a list one.
	(Create_Pragma_Without_Assertion_Level): New subprogram.
	(Assertion_Level_Pragma_Comes_From_Source): New subprogram.
	(Analyze_Pragma): Replace aspects that have an assertion level
	with aspects without them where the level is stored on the pragma
	node.
	(Abstract_State): Add support for assertion levels in ghost
	Abstract_State pragmas.
	(Assert): Update argument handling for Assert like pragmas.
	(Assertion_Level): Add a new section to support the analysis of
	pragma Assertion_Level.
	(Assertion_Policy): Add support for setting the policy for assertion
	levels.
	(Check): Update argument handling. Update the assertion policy
	application process.
	(Check_Policy): Add support for assertion levels. Add check_policy
	pragmas for assertion_level dependencis also to the stack of
	known Check_Policy pragmas.
	(Default_Initial_Condition): Reject the use of DIC with assertion
	levels. Update duplication checks.
	(Ghost): Add support for assertion levels. Fix issue where
	assertion levels with Ghost => False were treated as ghost.
	(Predicate): Update the policy handling of Ghost_Predicate.
	(Analyze_Refined_State_In_Decl_Part): Create a new ghost region
	for analyzing Refined_State.
	(Check_Applicable_Policy): Refactor the implementation. Break it
	down to Get_Applicable_Policy and Apply_Check_Policy.
	(Check_Kind): Removed. Replaced by Get_Applicable_Policy and
	Apply_Check_Policy.
	(Initialize): Initialize the table storing all know assertion
	levels.
	* sem_prag.ads (Find_Assertion_Level): New subprogram.
	(Insert_Assertion_Level): New subprogram.
	(Check_Applicable_Policy): Add new argument Level.
	(Check_Kind): Removed. Merged with Get_Applicable_Policy.
	(Get_Assertion_Level): New subprogram.
	(Is_Valid_Assertion_Level): New subprogram.
	* sem_util.adb (Copy_Assertion_Policy_Attributes): New function
	for copying the ghost related attributes from one pragma to
	another.
	(Copy_Subprogram_Spec): Additionally copy the level from the spec.
	(Depends_On_Level): New function for checking if one level depends
	on another level.
	(From_Same_Aspect): New function for checking whether the aspects
	orignate from the same original aspect.
	(From_Same_Pragma): New function for checking whether the pragmas
	originate from the same original aspect or pragma.
	(Get_Subprogram_Entity): Avoid crash when being called when the
	entity has not been set for the subprogram.
	(Has_Assertion_Level_Argument): New function for checking whether
	the aspect or a pragma has an argument that is using an assertion
	level association.
	(Policy_In_Effect): add an additional argument for the level that
	should be checked along with the assertion name.
	* sem_util.ads (Copy_Assertion_Policy_Attributes): New function.
	(Depends_On_Level): Likewise.
	(From_Same_Aspect): Likewise.
	(From_Same_Pragma): Likewise.
	(Has_Assertion_Level_Argument): Likewise.
	(Is_Same_Or_Depends_On_Level): Likewise.
	(Policy_In_Effect): Add new argument Level.
	* sinfo.ads: Add documentation for all the new attributes that
	were added to the nodes and entities.
	* snames.ads-tmpl: Add new entries for Name_Assertion_Level,
	Name_uDefault_Assertion_Level and Pragma_Assertion_Level.
	* stand.ads: Add new entities for the predefined assertion levels.
	(Standard_Level_Static): Definition for the predefined Static
	level that is always ignored.
	(Standard_Level_Runtime): Defintion for the predefined Runtime
	level that is always checked.
	(Standard_Level_Default): Definition for the implicit Default
	level that is given for ghost entities that were not associated
	with an assertion level (e.g. Ghost => True).
	* tbuild.adb (Make_Assertion_Level): New function for constructin
	an assertion level.
	* tbuild.ads (Make_Assertion_Level): Likewise.

2025-08-04  Viljar Indus  <indus@adacore.com>

	* contracts.adb: Use Is_Ignored_In_Codegen instead of just
	using Is_Ignored.
	* exp_ch6.adb: Likewise.
	* exp_prag.adb: Likewise.
	* exp_util.adb: Likewise.
	* frontend.adb: Avoid removal of ignored nodes in GNATProve_Mode.
	* gnat1drv.adb: Avoid forcing Assertions_Enabled in GNATProve_Mode.
	* lib-writ.adb (Write_With_File_Names): Avoid early exit
	with ignored entities in GNATProve_Mode.
	* lib-xref.adb: Likewise.
	* opt.adb: Remove check for Assertions_Enabled.
	* sem_attr.adb: Use Is_Ignored_In_Codegen instead of Is_Ignored.
	* sem_ch13.adb: Likewise. Additionally always add predicates in
	GNATProve_Mode.
	* sem_prag.adb: Likewise. Additionally remove modifications
	to applied policies in GNATProve_Mode.
	* sem_util.adb (Is_Ignored_In_Codegen): New function that overrides
	Is_Ignored in GNATProve_Mode and Codepeer_Mode.
	(Is_Ignored_Ghost_Pragma_In_Codegen): Likewise for
	Is_Ignored_Ghost_Pragma.
	(Is_Ignored_Ghost_Entity_In_Codegen): Likewise for
	Is_Ignored_Ghost_Entity.
	(Policy_In_List): Remove overriding of policies in GNATProve_Mode.
	* sem_util.ads: Add specs for new functions.
	* (Predicates_Enabled): Always generate predicates in
	GNATProve_Mode.

2025-08-04  Bob Duff  <duff@adacore.com>

	* treepr.adb (Print_Node_Ref): Protect against
	Entity (N) being empty before calling
	Compile_Time_Known_Value.

2025-08-04  Viljar Indus  <indus@adacore.com>

	* sem_prag.adb (Validate_Compile_Time_Warning_Errors):
	Check if the original compile time pragma was replaced and
	validate the original node instead.

2025-08-04  Viljar Indus  <indus@adacore.com>

	* sem_prag.adb (Validate_Compile_Time_Warning_Or_Error):
	simplify the implementation.

2025-08-04  Steve Baird  <baird@adacore.com>

	* exp_ch6.adb (Apply_Access_Discrims_Accessibility_Check): If the
	accessibility level being checked is known statically, then
	statically check it against the level of the function being
	returned from.

2025-08-04  Viljar Indus  <indus@adacore.com>

	* atree.adb: update references to Ghost_Mode.
	* exp_ch3.adb: use a structure type to store all of the existing
	ghost mode related state variables.
	* exp_disp.adb: Likewise.
	* exp_spark.adb: Likewise.
	* exp_util.adb: Likewise.
	* expander.adb: Likewise.
	* freeze.adb: Likewise and replace references to existing ghost
	mode variables.
	* ghost.adb (Install_Ghost_Region): install the changes of
	the region in to the new Ghost_Config structure.
	(Restore_Ghost_Region): Use the new Ghost_Config instead.
	In general replace all references to the existing ghost mode
	variables with the new structure equivalent.
	* ghost.ads (Restore_Ghost_Region): update the spec.
	* opt.ads (Ghost_Config_Type): A new type that has two of the
	previous ghost code related global variables as memembers -
	Ghost_Mode and Ignored_Ghost_Region.
	(Ghost_Config) New variable to store the previous Ghost_Mode and
	Ignored_Ghost_Region info.
	* rtsfind.adb: Replace references to existing ghost mode variables.
	* sem.adb: Likewise.
	* sem_ch12.adb: Likewise.
	* sem_ch13.adb: Likewise.
	* sem_ch3.adb: Likewise.
	* sem_ch5.adb: Likewise.
	* sem_ch6.adb: Likewise.
	* sem_ch7.adb: Likewise.
	* sem_prag.adb: Likewise.
	* sem_util.adb: Likewise.

2025-08-04  Steve Baird  <baird@adacore.com>

	* freeze.adb (Freeze_Profile): Do not emit a warning stating that
	a formal parameter's size is 8 if the parameter's size is not 8.

2025-08-04  Viljar Indus  <indus@adacore.com>

	* table.adb (Max): Move variable to the body and initialize
	it with the same value as in the Init function.
	* table.ads (Max): Likewise.

2025-08-04  Bob Duff  <duff@adacore.com>

	* par.adb: Move and rewrite some comments.
	(Util): Shared code and comments for dealing with
	defining_identifier_lists.
	* par-util.adb (Append): Shared code for appending
	one identifier onto Defining_Identifiers.
	(P_Def_Ids): Shared code for parsing a defining_identifier_list.
	Unfortunately, this is not used in all cases, because some of
	them mix in sophisticated error recovery, which we do not
	modify here.
	* par-ch12.adb (P_Formal_Object_Declarations):
	Use Defining_Identifiers and related code.
	* par-ch3.adb (P_Identifier_Declarations): Likewise.
	(P_Known_Discriminant_Part_Opt): Likewise.
	(P_Component_Items): Likewise.
	* par-ch6.adb (P_Formal_Part): Likewise.

2025-07-31  Eric Botcazou  <ebotcazou@gcc.gnu.org>

	Revert:
	2025-07-31  Nicolas Boulenguez  <nicolas@debian.org>

	PR ada/114065
	* Makefile.rtl (GNATRTL_NONTASKING_OBJS): Add g-c_time$(objext) and
	s-c_time$(objext).
	(Aarch64/Android): Do not use s-osinte__android.adb.
	(SPARC/Solaris): Do not use s-osprim__solaris.adb.
	(x86/Solaris): Likewise.
	(LynxOS178): Do not use s-parame__posix2008.ads.
	(RTEMS): Likewise.
	(x32/Linux): Likewise, as well as s-linux__x32.ads.  Replace
	s-osprim__x32.adb with s-osprim__posix.adb.
	(LIBGNAT_OBJS): Remove cal.o.
	* cal.c: Delete.
	* doc/gnat_rm/the_gnat_library.rst (GNAT.C_Time): New entry.
	(GNAT.Calendar): Do not mention the obsolete conversion functions.
	* impunit.adb (Non_Imp_File_Names_95): Add g-c_time.
	* libgnarl/a-exetim__posix.adb: Add with clause for System.C_Time
	(Clock): Use type and functions from System.C_Time.
	* libgnarl/s-linux.ads: Remove with clause for System.Parameters.
	Remove declarations of C time types.
	* libgnarl/s-linux__alpha.ads: Likewise.
	* libgnarl/s-linux__android-aarch64.ads: Likewise.
	* libgnarl/s-linux__android-arm.ads: Likewise.
	* libgnarl/s-linux__hppa.ads: Likewise.
	* libgnarl/s-linux__loongarch.ads: Likewise.
	* libgnarl/s-linux__mips.ads: Likewise.
	* libgnarl/s-linux__riscv.ads: Likewise.
	* libgnarl/s-linux__sparc.ads: Likewise.
	* libgnarl/s-osinte__aix.ads: Likewise.
	* libgnarl/s-osinte__android.ads: Likewise.
	* libgnarl/s-osinte__cheribsd.ads: Likewise.
	* libgnarl/s-osinte__darwin.ads: Likewise.
	* libgnarl/s-osinte__dragonfly.ads: Likewise.
	* libgnarl/s-osinte__freebsd.ads: Likewise.
	* libgnarl/s-osinte__gnu.ads: Likewise.
	* libgnarl/s-osinte__hpux.ads: Likewise.
	* libgnarl/s-osinte__kfreebsd-gnu.ads: Likewise.
	* libgnarl/s-osinte__linux.ads: Likewise.
	* libgnarl/s-osinte__lynxos178e.ads: Likewise.
	* libgnarl/s-osinte__qnx.ads: Likewise.
	* libgnarl/s-osinte__rtems.ads: Likewise.
	* libgnarl/s-osinte__solaris.ads: Likewise.
	* libgnarl/s-osinte__vxworks.ads: Likewise.
	* libgnarl/s-qnx.ads: Likewise.
	* libgnarl/s-linux__x32.ads: Delete.
	* libgnarl/s-osinte__darwin.adb (To_Duration): Remove.
	(To_Timespec): Likewise.
	* libgnarl/s-osinte__aix.adb: Likewise.
	* libgnarl/s-osinte__dragonfly.adb: Likewise.
	* libgnarl/s-osinte__freebsd.adb: Likewise.
	* libgnarl/s-osinte__gnu.adb: Likewise.
	* libgnarl/s-osinte__lynxos178.adb: Likewise.
	* libgnarl/s-osinte__posix.adb: Likewise.
	* libgnarl/s-osinte__qnx.adb: Likewise.
	* libgnarl/s-osinte__rtems.adb: Likewise.
	* libgnarl/s-osinte__solaris.adb: Likewise.
	* libgnarl/s-osinte__vxworks.adb: Likewise.
	* libgnarl/s-osinte__x32.adb: Likewise.
	* libgnarl/s-taprop__solaris.adb: Add with clause for System.C_Time.
	(Monotonic_Clock): Use type and functions from System.C_Time.
	(RT_Resolution): Likewise.
	(Timed_Sleep): Likewise.
	(Timed_Delay): Likewise.
	* libgnarl/s-taprop__vxworks.adb: Likewise.
	* libgnarl/s-tpopmo.adb: Likewise.
	* libgnarl/s-osinte__android.adb: Delete.
	* libgnat/g-c_time.ads: New file.
	* libgnat/g-calend.adb: Delegate to System.C_Time.
	* libgnat/g-calend.ads: Likewise.
	* libgnat/g-socket.adb: Likewise.
	* libgnat/g-socthi.adb: Likewise.
	* libgnat/g-socthi__vxworks.adb: Likewise.
	* libgnat/g-sothco.ads: Likewise.
	* libgnat/g-spogwa.adb: Likewise.
	* libgnat/s-c_time.adb: New file.
	* libgnat/s-c_time.ads: Likewise.
	* libgnat/s-optide.adb: Import nanosleep here.
	* libgnat/s-os_lib.ads (time_t): Remove.
	(To_Ada): Adjust.
	(To_C): Likewise.
	* libgnat/s-os_lib.adb: Likewise.
	* libgnat/s-osprim__darwin.adb: Delegate to System.C_Time.
	* libgnat/s-osprim__posix.adb: Likewise.
	* libgnat/s-osprim__posix2008.adb: Likewise.
	* libgnat/s-osprim__rtems.adb: Likewise.
	* libgnat/s-osprim__unix.adb: Likewise.
	* libgnat/s-osprim__solaris.adb: Delete.
	* libgnat/s-osprim__x32.adb: Likewise.
	* libgnat/s-parame.ads (time_t_bits): Remove.
	* libgnat/s-parame__hpux.ads: Likewise.
	* libgnat/s-parame__vxworks.ads: Likewise.
	* libgnat/s-parame__posix2008.ads: Delete.
	* s-oscons-tmplt.c (SIZEOF_tv_nsec): New constant.

2025-07-31  Eric Botcazou  <ebotcazou@gcc.gnu.org>

	PR ada/120440
	* gcc-interface/Makefile.in (GNATLINK_OBJS): Add s-excmac.o.
	(GNATMAKE_OBJS): Likewise.

2025-07-31  Nicolas Boulenguez  <nicolas@debian.org>

	PR ada/114065
	* Makefile.rtl (GNATRTL_NONTASKING_OBJS): Add g-c_time$(objext) and
	s-c_time$(objext).
	(Aarch64/Android): Do not use s-osinte__android.adb.
	(SPARC/Solaris): Do not use s-osprim__solaris.adb.
	(x86/Solaris): Likewise.
	(LynxOS178): Do not use s-parame__posix2008.ads.
	(RTEMS): Likewise.
	(x32/Linux): Likewise, as well as s-linux__x32.ads.  Replace
	s-osprim__x32.adb with s-osprim__posix.adb.
	(LIBGNAT_OBJS): Remove cal.o.
	* cal.c: Delete.
	* doc/gnat_rm/the_gnat_library.rst (GNAT.C_Time): New entry.
	(GNAT.Calendar): Do not mention the obsolete conversion functions.
	* impunit.adb (Non_Imp_File_Names_95): Add g-c_time.
	* libgnarl/a-exetim__posix.adb: Add with clause for System.C_Time
	(Clock): Use type and functions from System.C_Time.
	* libgnarl/s-linux.ads: Remove with clause for System.Parameters.
	Remove declarations of C time types.
	* libgnarl/s-linux__alpha.ads: Likewise.
	* libgnarl/s-linux__android-aarch64.ads: Likewise.
	* libgnarl/s-linux__android-arm.ads: Likewise.
	* libgnarl/s-linux__hppa.ads: Likewise.
	* libgnarl/s-linux__loongarch.ads: Likewise.
	* libgnarl/s-linux__mips.ads: Likewise.
	* libgnarl/s-linux__riscv.ads: Likewise.
	* libgnarl/s-linux__sparc.ads: Likewise.
	* libgnarl/s-osinte__aix.ads: Likewise.
	* libgnarl/s-osinte__android.ads: Likewise.
	* libgnarl/s-osinte__cheribsd.ads: Likewise.
	* libgnarl/s-osinte__darwin.ads: Likewise.
	* libgnarl/s-osinte__dragonfly.ads: Likewise.
	* libgnarl/s-osinte__freebsd.ads: Likewise.
	* libgnarl/s-osinte__gnu.ads: Likewise.
	* libgnarl/s-osinte__hpux.ads: Likewise.
	* libgnarl/s-osinte__kfreebsd-gnu.ads: Likewise.
	* libgnarl/s-osinte__linux.ads: Likewise.
	* libgnarl/s-osinte__lynxos178e.ads: Likewise.
	* libgnarl/s-osinte__qnx.ads: Likewise.
	* libgnarl/s-osinte__rtems.ads: Likewise.
	* libgnarl/s-osinte__solaris.ads: Likewise.
	* libgnarl/s-osinte__vxworks.ads: Likewise.
	* libgnarl/s-qnx.ads: Likewise.
	* libgnarl/s-linux__x32.ads: Delete.
	* libgnarl/s-osinte__darwin.adb (To_Duration): Remove.
	(To_Timespec): Likewise.
	* libgnarl/s-osinte__aix.adb: Likewise.
	* libgnarl/s-osinte__dragonfly.adb: Likewise.
	* libgnarl/s-osinte__freebsd.adb: Likewise.
	* libgnarl/s-osinte__gnu.adb: Likewise.
	* libgnarl/s-osinte__lynxos178.adb: Likewise.
	* libgnarl/s-osinte__posix.adb: Likewise.
	* libgnarl/s-osinte__qnx.adb: Likewise.
	* libgnarl/s-osinte__rtems.adb: Likewise.
	* libgnarl/s-osinte__solaris.adb: Likewise.
	* libgnarl/s-osinte__vxworks.adb: Likewise.
	* libgnarl/s-osinte__x32.adb: Likewise.
	* libgnarl/s-taprop__solaris.adb: Add with clause for System.C_Time.
	(Monotonic_Clock): Use type and functions from System.C_Time.
	(RT_Resolution): Likewise.
	(Timed_Sleep): Likewise.
	(Timed_Delay): Likewise.
	* libgnarl/s-taprop__vxworks.adb: Likewise.
	* libgnarl/s-tpopmo.adb: Likewise.
	* libgnarl/s-osinte__android.adb: Delete.
	* libgnat/g-c_time.ads: New file.
	* libgnat/g-calend.adb: Delegate to System.C_Time.
	* libgnat/g-calend.ads: Likewise.
	* libgnat/g-socket.adb: Likewise.
	* libgnat/g-socthi.adb: Likewise.
	* libgnat/g-socthi__vxworks.adb: Likewise.
	* libgnat/g-sothco.ads: Likewise.
	* libgnat/g-spogwa.adb: Likewise.
	* libgnat/s-c_time.adb: New file.
	* libgnat/s-c_time.ads: Likewise.
	* libgnat/s-optide.adb: Import nanosleep here.
	* libgnat/s-os_lib.ads (time_t): Remove.
	(To_Ada): Adjust.
	(To_C): Likewise.
	* libgnat/s-os_lib.adb: Likewise.
	* libgnat/s-osprim__darwin.adb: Delegate to System.C_Time.
	* libgnat/s-osprim__posix.adb: Likewise.
	* libgnat/s-osprim__posix2008.adb: Likewise.
	* libgnat/s-osprim__rtems.adb: Likewise.
	* libgnat/s-osprim__unix.adb: Likewise.
	* libgnat/s-osprim__solaris.adb: Delete.
	* libgnat/s-osprim__x32.adb: Likewise.
	* libgnat/s-parame.ads (time_t_bits): Remove.
	* libgnat/s-parame__hpux.ads: Likewise.
	* libgnat/s-parame__vxworks.ads: Likewise.
	* libgnat/s-parame__posix2008.ads: Delete.
	* s-oscons-tmplt.c (SIZEOF_tv_nsec): New constant.

2025-07-28  Marc Poulhiès  <poulhies@adacore.com>

	* gcc-interface/trans.cc (gnat_to_gnu): Fix typo in comment.

2025-07-25  David Malcolm  <dmalcolm@redhat.com>

	* gcc-interface/misc.cc: Make
	diagnostics::context::m_source_printing private.

2025-07-25  David Malcolm  <dmalcolm@redhat.com>

	* gcc-interface/trans.cc: Update for diagnostic_t becoming
	enum class diagnostics::kind.

2025-07-25  David Malcolm  <dmalcolm@redhat.com>

	* gcc-interface/misc.cc: Update for diagnostic_context becoming
	diagnostics::context.

2025-07-25  Marc Poulhiès  <poulhies@adacore.com>

	* gcc-interface/utils.cc (update_pointer_to): Renamed ptr/old_ptr, ref/old_ref.

2025-07-25  Alexandre Oliva  <oliva@adacore.com>

	* s-oscons-tmplt.c (CLOCK_RT_Ada) [__vxworks]: Define to
	CLOCK_REALTIME on VxWorks6.
	* gsocket.h [__vxworks]: Include strings.h if available.
	* sysdep.c [__vxworks]: Likewise.

2025-07-25  Steve Baird  <baird@adacore.com>

	* exp_ch6.adb (Apply_Access_Discrims_Accessibility_Check): Do
	nothing and simply return if either Ada_Version <= Ada_95 or if
	the function being returned from lacks the extra formal parameter
	needed to perform the check (typically because the result is
	tagged).

2025-07-25  Bob Duff  <duff@adacore.com>

	* sem_ch12.adb (Check_Formal_Package_Instance):
	Do nothing in case of E_Subprogram_Body.

2025-07-25  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Process_Discriminants): Update comments

2025-07-25  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Build_Derived_Record_Type): Set flag appropriately.

2025-07-25  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/a-calend.adb (To_Struct_Timespec_64): Deal with negative
	Duration values and truncate the nanoseconds too.
	* libgnat/g-calend.adb (timeval_to_duration): Unsuppress overflow
	checks.
	(duration_to_timeval): Likewise.  Deal with negative Duration values
	as well as integral Duration values.
	* libgnat/g-socket.adb (To_Timeval): Simplify the implementation.

2025-07-24  Steve Baird  <baird@adacore.com>

	* exp_aggr.adb (Convert_To_Assignments): Add calls to Ensure_Defined
	before generating assignments to components that could be
	associated with a not-yet-defined itype.

2025-07-24  Steve Baird  <baird@adacore.com>

	* accessibility.adb (Function_Call_Or_Allocator_Level): Handle the
	case where a function that has an Extra_Accessibility_Of_Result
	parameter returns as its result a call to another such function.
	In that case, the extra parameter should be passed along.
	(Check_Return_Construct_Accessibility): Replace a warning about an
	inevitable failure of a dynamic check with a legality-rule-violation
	error message; adjust the text of the message accordingly.
	* exp_ch6.ads (Apply_Access_Discrims_Accessibility_Check): New
	procedure, following example of the existing
	Apply_CW_Accessibility procedure.
	* exp_ch6.adb (Apply_Access_Discrims_Accessibility_Check): body
	for new procedure.
	(Expand_Simple_Function_Return): Add call to new
	Apply_Access_Discrims_Accessibility_Check procedure.
	* exp_ch3.adb (Make_Allocator_For_Return): Add call to new
	Apply_Access_Discrims_Accessibility_Check procedure.

2025-07-24  Tonu Naks  <naks@adacore.com>

	* doc/gnat_rm/standard_and_implementation_defined_restrictions.rst:
	clarify parameter description.
	* gnat_rm.texi: Regenerate.

2025-07-22  Gary Dismukes  <dismukes@adacore.com>

	* sem_ch8.adb (End_Use_Type): Add a test for there not being an earlier
	use_type_clause for the same type as an additional criterion for turning
	off In_Use and Current_Use_Clause.

2025-07-22  Piotr Trojanek  <trojanek@adacore.com>

	* sem_attr.adb (Eval_Attribute): Only fold array attributes when prefix
	is static or at least safe to evaluate

2025-07-22  Ronan Desplanques  <desplanques@adacore.com>

	* einfo.ads (Is_Controlled_Active): Fix pasto in comment.
	* sem_util.ads (Propagate_Controlled_Flags): Update comment for
	Destructor aspect.

2025-07-22  Ronan Desplanques  <desplanques@adacore.com>

	* doc/gnat_rm/gnat_language_extensions.rst: Document new extension.
	* snames.ads-tmpl: Add name for new aspect.
	* gen_il-fields.ads (Has_Destructor, Is_Destructor): Add new fields.
	* gen_il-gen-gen_entities.adb (E_Procedure, Type_Kind): Add new fields.
	* einfo.ads (Has_Destructor, Is_Destructor): Document new fields.
	* aspects.ads: Add new aspect.
	* sem_ch13.adb (Analyze_Aspect_Specifications,
	Check_Aspect_At_Freeze_Point, Check_Aspect_At_End_Of_Declarations):
	Add semantic analysis for new aspect.
	(Resolve_Finalization_Procedure): New function.
	(Resolve_Finalizable_Argument): Use new function above.
	* sem_util.adb (Propagate_Controlled_Flags): Extend for new field.
	* freeze.adb (Freeze_Entity): Add legality check for new aspect.
	* exp_ch3.adb (Expand_Freeze_Record_Type, Predefined_Primitive_Bodies):
	Use new field.
	* exp_ch7.adb (Build_Finalize_Statements): Add expansion for
	destructors.
	(Make_Final_Call, Build_Record_Deep_Procs): Adapt to new Has_Destructor
	field.
	(Build_Adjust_Statements): Tweak to handle cases of empty lists.
	* gnat_rm.texi: Regenerate.

2025-07-22  Denis Mazzucato  <mazzucato@adacore.com>

	* sem_ch6.adb (Might_Need_BIP_Task_Actuals): Before retrieving the original corresponding
	operation we retrieve first the root of the aliased chain.

2025-07-22  Ronan Desplanques  <desplanques@adacore.com>

	* gen_il-fields.ads (Is_Implicit_Full_View): New field.
	* gen_il-gen-gen_entities.adb (Type_Kind): Use new field.
	* einfo.ads (Is_Implicit_Full_View): Document new field.
	* exp_ch7.adb (Make_Adjust_Call, Make_Init_Call, Make_Final_Call): Use
	new field.
	* exp_util.adb (Finalize_Address): Likewise.
	* sem_ch3.adb (Copy_And_Build): Set new field.

2025-07-22  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_util.ads (May_Generate_Large_Temp): Delete.
	* exp_util.adb (May_Generate_Large_Temp): Likewise.
	(Safe_Unchecked_Type_Conversion): Do not take stack checking into
	account to compute the result.

2025-07-22  Javier Miranda  <miranda@adacore.com>

	* sinfo.ads (Is_Expanded_Dispatching_Call): New flag.
	(Tag_Propagated): New flag.
	* exp_ch6.adb (Expand_Call_Helper): Propagate the tag when
	the dispatching call is placed in conditionl expressions or
	case-expressions.
	* sem_ch5.adb (Analyze_Assignment): For assignment of tag-
	indeterminate expression, do not propagate the tag if
	previously done.
	* sem_disp.adb (Is_Tag_Indeterminate): Add missing support
	for conditional expression and case expression.
	* exp_disp.ads (Is_Expanded_Dispatching_Call): Removed. Function
	replaced by a new flag in the nodes.
	* exp_disp.adb (Expand_Dispatching_Call): Set a flag in the
	call node to remember that the call has been expanded.
	(Is_Expanded_Dispatching_Call): Function removed.
	* gen_il-fields.ads (Tag_Propagated): New flag.
	(Is_Expanded_Dispatching_Call): New flag.
	* gen_il-gen-gen_nodes.adb (Tag_Propagated): New flag.
	(Is_Expanded_Dispatching_Call): New flag.

2025-07-22  Gary Dismukes  <dismukes@adacore.com>

	* libgnat/a-cbhama.ads (Empty): Add missing default to Capacity formal.
	* libgnat/a-cbhama.adb (Empty): Add missing default to Capacity formal.
	* exp_aggr.adb (Build_Size_Expr): Test for presence of Capacity
	discriminant as additional criterion for generating the call to
	the Length function. Update comments.

2025-07-22  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_util.adb (Safe_Unchecked_Type_Conversion): Always return True
	if the expression is the prefix of an N_Selected_Component.

2025-07-22  Denis Mazzucato  <mazzucato@adacore.com>

	* sem_ch6.adb (Might_Need_BIP_Task_Actuals): Check whether No_Task_Parts is enabled in any
	of the derived types, or interfaces, from the user-defined primitive return type.
	* sem_ch13.adb (Analyze_Aspect_Specifications): Add No_Task_Parts and No_Controlled_Parts to
	the representation chain to be visible in the full view of private types.
	* aspects.ads (Nonoverridable_Aspect_Id): As per GNAT RM, No_Task_Parts is nonoverridable.
	* sem_util.adb (Check_Inherited_Nonoverridable_Aspects): Likewise.
	* sem_util.ads: Fix typo and style.
	* sem_disp.adb: Missing comment.

2025-07-22  Javier Miranda  <miranda@adacore.com>

	* einfo.ads (Extra_Formals): Complete documentation.
	(Has_First_Controlling_Parameter_Aspect): Place it in alphabetical order.
	(Has_Frozen_Extra_Formals): New attribute.
	* gen_il-fields.ads (Has_Frozen_Extra_Formals): New entity field.
	* gen_il-gen-gen_entities.adb (Has_Frozen_Extra_Formals): Adding new
	entity flag to subprograms, subprogram types, and and entries.
	* gen_il-internals.adb (Image): Adding Has_Frozen_Extra_Formals.
	* exp_ch3.adb (Build_Array_Init_Proc): Freeze its extra formals.
	(Build_Init_Procedure): Freeze its extra formals.
	(Expand_Freeze_Record_Type): For tagged types with foreign convention
	create the extra formals of primitives with convention Ada.
	* exp_ch6.ads (Create_Extra_Actuals): New subprogram.
	* exp_ch6.adb (Check_BIP_Actuals): Adding assertions.
	(Create_Extra_Actuals): New subprogram that factorizes code from
	Expand_Call_Helper.
	(Expand_Call_Helper): Adding support to defer the addition of extra
	actuals. Move the code that adds the extra actuals to a new subprogram.
	(Is_Unchecked_Union_Equality): Renamed as Is_Unchecked_Union_Predefined_
	Equality_Call.
	* exp_ch7.adb (Create_Finalizer): Freeze its extra formals.
	(Wrap_Transient_Expression): Link the temporary with its relocated
	expression to facilitate locating the expression in the expanded code.
	* exp_ch9.ads (Expand_N_Entry_Declaration): Adding one formal.
	* exp_ch9.adb (Expand_N_Entry_Declaration): Defer the expansion of
	the entry if the extra formals are not available; analyze the built
	declarations for the record type that holds all the parameters if
	the expansion of the entry declaration was deferred.
	* exp_disp.adb (Expand_Dispatching_Call): Handle deferred extra formals.
	(Set_CPP_Constructors): Freeze its extra formals.
	* freeze.adb (Freeze_Entity): Create the extra actuals of acccess to
	subprograms whose designated type is a subprogram type.
	(Freeze_Subprogram): Adjust assertion to support deferred extra formals,
	and freeze extra formals of non-dispatching subprograms with foreign
	convention. Added assertion to check matching of formals in thunks.
	* sem_aux.adb (Get_Called_Entity): Adding documentation.
	* sem_ch3.adb (Analyze_Full_Type_Declaration): Create the extra formals
	of deferred subprograms, subprogram types and entries; create also the
	extra actuals of deferred calls.
	* sem_ch6.ads (Freeze_Extra_Formals): New subprogram.
	(Deferred_Extra_Formals_Support): New package.
	* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Create the extra formals
	of subprograms without separate spec.
	(Add_Extra_Formal): Add documentation.
	(Has_Extra_Formals): Removed.
	(Parent_Subprogram): Adding documentation.
	(Create_Extra_Formals): Defer adding extra formals if the underlying_type
	of some formal type or return type is not available.
	(Extra_Formals_Match_OK): Add missing check on the extra formals of
	unchecked unions.
	(Freeze_Extra_Formals): New subprogram.
	(Deferred_Extra_Formals_Support): New package.
	* sem_ch9.adb (Analyze_Entry_Declaration): Freeze its extra formals.
	* sem_ch13.adb (New_Put_Image_Subprogram): ditto.
	* sem_util.ads (Is_Unchecked_Union_Equality): New subprogram.
	* sem_util.adb (Is_Unchecked_Union_Equality): ditto.

2025-07-22  Piotr Trojanek  <trojanek@adacore.com>

	* sem_util.adb (Get_Actual_Subtype): Do the same for GCC and GNATprove
	backends.

2025-07-22  Martin Clochard  <clochard@adacore.com>

	* exp_spark.adb (Expand_SPARK): Add expansion of continue statements.
	(Expand_SPARK_N_Continue_Statement): Expand continue statements resolved
	as procedure calls into said procedure calls.

2025-07-22  Piotr Trojanek  <trojanek@adacore.com>

	* sem_res.adb (Resolve_Call): Look at the base type of actual parameter
	when checking call to Set_Handler.

2025-07-22  Eric Botcazou  <ebotcazou@adacore.com>

	* sem_util.adb (Get_Actual_Subtype): Only create a new subtype when
	the expander is active.  Remove a useless test of type inequality,
	as well as a useless call to Set_Has_Delayed_Freeze on the subtype.

2025-07-22  Gary Dismukes  <dismukes@adacore.com>

	* exp_aggr.adb (Build_Size_Expr): Change test of "not Present (...)"
	to "No (...)".

2025-07-22  Gary Dismukes  <dismukes@adacore.com>

	* exp_aggr.adb (Build_Size_Expr): Determine the length of a container
	aggregate association in the case where it's an iteration over an
	object of a container type coming from an instantiation of a predefined
	container generic. Minor updates to existing comments.

2025-07-22  Ghjuvan Lacambre  <lacambre@adacore.com>

	* exp_util.adb (Finalize_Address): Prevent infinite loop

2025-07-22  Steve Baird  <baird@adacore.com>

	* sem_aux.ads: Declare new function Unique_Component_Name.
	* sem_aux.adb: Implement new function Unique_Component_Name.

2025-07-22  Viljar Indus  <indus@adacore.com>

	* sem_ch13.adb (Check_Aspect_At_End_Of_Declarations):
	Ensure the Expression_Copy always has a parent before
	calling any analyze.

2025-07-22  Steve Baird  <baird@adacore.com>

	* exp_aggr.adb (Build_Record_Aggr_Code.Gen_Assign): In the case of
	an aggregate component where the component type is mutably tagged
	and the component value is provided by a qualified aggregate (and
	qualified with a specific type), avoid incorrectly rejecting the
	inner aggregate for violating the rule that the type of an
	aggregate shall not be class-wide.
	* exp_attr.adb: For a predefined streaming operation (i.e., Read,
	Write, Input, or Output) of a class-wide type, the external name
	of the tag of the value is normally written out by Output and read
	in by Input. In the case of a mutably tagged type, this is instead
	done in Write and Read.
	* exp_ch4.adb (Expand_Composite_Equality): In the case of an
	equality comparison for a type having a mutably tagged component,
	we want the component comparison to compare two values of the
	mutably tagged type, not two values of the corresponding
	array-of-bytes-ish representation type. Even if there are no
	user-defined equality functions anywhere in sight, comparing the
	array values still doesn't work because undefined bits may end up
	participating in the comparison (resulting in an incorrect result
	of False).
	* exp_put_image.adb: In the case of a class-wide type, the
	predefined Image attribute includes the name of the specific type
	(and a "'" character, to follow qualified expression syntax) to
	indicate the tag of the value. With the introduction of mutably
	tagged types, this case can now arise in the case of a component
	(of either an enclosing array or an enclosing record), not just
	for a top-level object. So we factor the code to do this into a
	new procedure, Put_Specific_Type_Name_Qualifier, so that it can be
	called from more than one place. This reorganization also involves
	replacing the procedure Put_String_Exp with a new procedure,
	Put_String_Exp_To_Buffer, declared in a less nested scope. For
	mutably tagged components (at the source level) the component type
	(at the GNAT tree level) is an array of bytes (actually a two
	field record containing an array of bytes, but that's a detail).
	Appropriate conversions need to be generated so that we don't end
	up generating an image for an array of bytes; this is done at the
	same places where Put_Specific_Type_Name_Qualifier is called
	(for components) by calling Make_Mutably_Tagged_Conversion.
	* exp_strm.adb (Make_Field_Attribute): Add
	Make_Mutably_Tagged_Conversion call where we construct a
	Selected_Component node and the corresponding component type is
	the internal representation type for a mutably tagged type.
	(Stream_Base_Type): Return the mutably
	tagged type if given the corresponding internal representation type.
	* sem_ch3.adb (Array_Type_Declaration): In the case where the
	source-level component type of an array type is mutably tagged,
	set the Component_Type field of the base type of the declared
	array type (as opposed to that of the first subtype of the array
	type) to the corresponding internal representation type.
	* sem_ch4.adb (Analyze_Selected_Component): In the case of a
	selected component name which references a component whose type is
	the internal representation type of a mutably tagged type,
	generate a conversion to the mutably tagged type.

2025-07-21  Eric Botcazou  <ebotcazou@gcc.gnu.org>

	PR ada/121184
	* styleg.adb (Check_Comment): Use consistent warning message.

2025-07-21  Stefan Schulze Frielinghaus  <stefansf@gcc.gnu.org>

	* gcc-interface/trans.cc (gnat_to_gnu): Pass null pointer to
	parse_{input,output}_constraint().

2025-07-18  Steve Baird  <baird@adacore.com>

	* sem_ch12.adb (Validate_Derived_Type_Instance): Cope with the case
	where the ancestor type for a formal derived type is declared in
	an earlier formal package but Get_Instance_Of does not return the
	corresponding type from the corresponding actual package.

2025-07-18  Bob Duff  <duff@adacore.com>

	* tbuild.adb (Unchecked_Convert_To): Back out
	change.

2025-07-18  Marc Poulhiès  <poulhies@adacore.com>
	    Eric Botcazou  <botcazou@adacore.com>

	* exp_ch6.adb (Convert): Do not call Expand_Inlined_Call for
	unsupported cases.
	* inline.adb (Expand_Inlined_Call): Add assert to catch unsupported
	case.

2025-07-18  Gary Dismukes  <dismukes@adacore.com>

	* einfo.ads: Document new field Overridden_Inherited_Operation and
	list it as a field for the entity kinds that it applies to.
	* gen_il-fields.ads (type Opt_Field_Enum): Add new literal
	Overridden_Inherited_Operation to the type.
	* gen_il-gen-gen_entities.adb: Add Overridden_Inherited_Operation as
	a field of entities of kinds E_Enumeration_Literal and Subprogram_Kind.
	* sem_ch4.adb (Is_Callable_Private_Overriding): Change name (was
	Is_Private_Overriding). Replace Is_Hidden test on Overridden_Operation
	with test of Is_Hidden on the new field Overridden_Inherited_Operation.
	* sem_ch6.adb (New_Overloaded_Entity): Set the new field
	Overridden_Inherited_Operation on an operation derived from
	an interface to refer to the inherited operation of a private
	extension that's overridden by the derived operation. Also set
	that field in the more common cases of an explicit subprogram
	that overrides, to refer to the inherited subprogram that is
	overridden. (Contrary to its name, the Overridden_Operation
	field of the overriding subprogram, which is also set in these
	places, refers to the *parent* subprogram from which the inherited
	subprogram is derived.) Also, remove a redundant Present (Alias (S))
	test in an if_statement and the dead "else" part of that statement.

2025-07-18  Piotr Trojanek  <trojanek@adacore.com>

	* sem_util.adb (Build_Elaboration_Entity): Set ghost mode to none
	before creating the elaboration entity; restore the ghost mode
	afterwards.

2025-07-18  Javier Miranda  <miranda@adacore.com>

	* exp_aggr.adb (Gen_Assign): Code cleanup.
	(Initialize_Component): Do not adjust the tag when the type of
	the aggregate components is a mutably tagged type.

2025-07-14  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/121056
	* sem_ch4.adb (Try_Object_Operation.Try_Primitive_Operation): Add
	test on Is_Record_Type before accessing Underlying_Record_View.

2025-07-10  Jakub Jelinek  <jakub@redhat.com>

	* par-load.adb: Comment spelling fix: bellow -> below.
	* libgnarl/s-taskin.ads: Likewise.

2025-07-04  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/Make-lang.in (ACATSDIR): Change to acats-4.

2025-07-04  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/utils.cc (make_packable_type): Clear the TYPE_PACKED
	flag in the case where the alignment is bumped.

2025-07-04  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/trans.cc (Subprogram_Body_to_gnu): Do not generate
	a block-copy out for a null initialization procedure when the _Init
	parameter is not passed in.

2025-07-04  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/decl.cc (gnat_to_gnu_subprog_type): Only apply the
	transformation to integer types.

2025-07-04  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/decl.cc (gnat_to_gnu_subprog_type): Add guards.

2025-07-04  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/decl.cc (gnat_to_gnu_subprog_type): In the case of a
	subprogram using the Copy-In/Copy-Out mechanism, deal specially with
	the case of 2 parameters of differing sizes.
	* gcc-interface/trans.cc (Subprogram_Body_to_gnu): In the case of a
	subprogram using the Copy-In/Copy-Out mechanism, make sure the types
	are consistent on the two sides for all the parameters.

2025-07-04  Steve Baird  <baird@adacore.com>

	* sem_res.adb (Resolve_Type_Conversion): Replace code for
	detecting a similar case with a more comprehensive test.

2025-07-04  Bob Duff  <duff@adacore.com>

	* doc/gnat_rm/implementation_defined_pragmas.rst
	(Short_Circuit_And_Or): Add more documentation.
	* sem_ch8.adb (Analyze_Subprogram_Renaming):
	Disallow renamings.
	* gnat_rm.texi: Regenerate.

2025-07-04  Ronan Desplanques  <desplanques@adacore.com>

	* exp_ch7.adb (Make_Final_Call): Tweak search of Finalize primitive.
	* exp_util.adb (Finalize_Address): Likewise.

2025-07-04  Eric Botcazou  <ebotcazou@adacore.com>

	* freeze.adb (Check_Compile_Time_Size): Try harder to see whether
	the bounds of array types are known at compile time.

2025-07-04  Piotr Trojanek  <trojanek@adacore.com>

	* sem_aux.ads (First_Discriminant): Remove space before period.

2025-07-04  Steve Baird  <baird@adacore.com>

	* sem_ch13.adb (Analyze_Record_Representation_Clause): In deciding
	whether to generate a warning about a missing component clause, in
	addition to calling Is_Unchecked_Union also call a new local
	function, Unchecked_Union_Pragma_Pending, which checks for the
	case of a not-yet-analyzed Unchecked_Union pragma occurring later
	in the declaration list.

2025-07-04  Steve Baird  <baird@adacore.com>

	* mutably_tagged.adb (Make_CW_Size_Compile_Check): Include the
	value of the Size'Class limit in the message generated via a
	Compile_Time_Error pragma.

2025-07-04  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch13.adb (Check_Aspect_At_Freeze_Point): Remove obsolete bits.

2025-07-04  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch13.adb (Analyze_Aspect_Specifications): Fix error emission.

2025-07-03  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/Makefile.in (gnatlib-sjlj): Delete.
	(gnatlib-zcx): Do not modify Frontend_Exceptions constant.
	* libgnat/system-linux-loongarch.ads (Frontend_Exceptions): Delete.

2025-07-03  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/decl.cc (type_contains_only_integral_data): Do not
	return false only because the type contains pointer data.

2025-07-03  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/decl.cc (gnat_to_gnu_entity): Use default messages
	for errors reported for Object_Size clauses.
	(validate_size): Give an error for stand-alone objects of composite
	types if the specified size is not a multiple of the alignment.

2025-07-03  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/trans.cc (addressable_p): Add COMPG third parameter.
	<COMPONENT_REF>: Do not return true out of alignment considerations
	for non-strict-alignment targets if COMPG is set.
	(Call_to_gnu): Pass true as COMPG in the call to the addressable_p
	predicate if the called subprogram is an initialization procedure.

2025-07-03  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/trans.cc (gnat_to_gnu) <N_Allocator>: Allocate the
	bounds alongside the data if the Is_Constr_Array_Subt_With_Bounds
	flag is set on the designated type.
	<N_Free_Statement>: Take into account the allocated bounds if the
	Is_Constr_Array_Subt_With_Bounds flag is set on the designated type.

2025-07-03  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/decl.cc (gnat_to_gnu_component_type): Validate the
	Component_Size like the size of a type only if the component type
	is actually packed.

2025-07-03  Piotr Trojanek  <trojanek@adacore.com>

	* sem_elab.adb (Check_Overriding_Primitive): Find early call region
	of the subprogram body declaration, not of the subprogram body stub.

2025-07-03  Bob Duff  <duff@adacore.com>

	* gen_il-gen-gen_nodes.adb (N_Unchecked_Type_Conversion):
	Remove useless Nmake_Assert.
	* tbuild.adb (Unchecked_Convert_To):
	Narrow the bitfield-related conditions.

2025-07-03  Ronan Desplanques  <desplanques@adacore.com>

	* exp_util.adb (Insert_Actions): Fix check.

2025-07-03  Ronan Desplanques  <desplanques@adacore.com>

	* exp_ch6.adb (Expand_Ctrl_Function_Call): Precisify comment.

2025-07-03  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch6.adb (Expand_Ctrl_Function_Call): Do not bail out for the
	declarations of return objects.

2025-07-03  Daniel King  <dmking@adacore.com>

	* Makefile.rtl (LIBGNAT_TARGET_PAIRS): New unit s-tsgsba__cheri.adb for morello-freebsd.
	* libgnarl/s-tassta.adb (Get_Stack_Base): New function.
	* libgnarl/s-tsgsba__cheri.adb: New file for CHERI targets.
	* libgnarl/s-tsgsba.adb: New default file for non-CHERI targets.
	* libgnat/s-stausa.adb (Fill_Stack, Compute_Result): Port to CHERI.
	* libgnat/s-stausa.ads (Initialize_Analyzer, Stack_Analyzer): Port to CHERI.

2025-07-03  Piotr Trojanek  <trojanek@adacore.com>

	* sem_ch3.adb (Check_Return_Subtype_Indication): Use Original_Node.

2025-07-03  Piotr Trojanek  <trojanek@adacore.com>

	* sem_ch3.adb (Check_Return_Subtype_Indication): Use type from
	explicit subtype indication, when possible.

2025-07-03  Piotr Trojanek  <trojanek@adacore.com>

	* sem_ch3.adb (Check_Return_Subtype_Indication): Adjust error message
	to match the RM wording.

2025-07-03  Piotr Trojanek  <trojanek@adacore.com>

	* sem_ch3.adb (Check_Return_Subtype_Indication): Use the nominal
	subtype of a return object; literally implement the RM rule about
	elementary types; check for static subtype compatibility both when
	the subtype is given as a subtype mark and a subtype indication.

2025-07-03  Eric Botcazou  <ebotcazou@adacore.com>

	* repinfo.adb (First_Comp_Or_Discr.Is_Placed_Before): Return True
	only if the components are in the same component list.

2025-07-03  Denis Mazzucato  <mazzucato@adacore.com>

	* sem_disp.adb (Check_Dispatching_call): Fix uninitialized Subp_Entity.
	* sem_util.adb (Update_Controlling_Argument): No need to replace controlling argument
	in case of functions.

2025-07-03  Eric Botcazou  <ebotcazou@adacore.com>

	* errid.ads: Adjust header to renaming and fix copyright line.
	* errid.adb: Adjust header to renaming and add blank line.
	* erroutc-pretty_emitter.ads: Adjust header to renaming.
	* erroutc-pretty_emitter.adb: Likewise.
	* erroutc-sarif_emitter.ads: Likewise.
	* erroutc-sarif_emitter.adb: Likewise.
	* errsw.ads: Adjust header to renaming and add blank line.
	* errsw.adb: Likewise.
	* json_utils.ads: Likewise.
	* json_utils.adb: Adjust header to renaming.

2025-07-03  Piotr Trojanek  <trojanek@adacore.com>

	* errid.ads (Diagnostic_Entries): Now a constant.

2025-07-03  Piotr Trojanek  <trojanek@adacore.com>

	* errid.ads (Diagnostic_Entries): Remove nested aggregate.
	* errsw.adb (Switches): Likewise.

2025-07-03  Ronan Desplanques  <desplanques@adacore.com>

	* exp_ch7.adb (Make_Deep_Record_Body): Fix case of absent Initialize
	primitive.

2025-07-03  Piotr Trojanek  <trojanek@adacore.com>

	* exp_ch3.adb (Count_Default_Sized_Task_Stacks): Refine subtypes of
	parameters; same for callsites.

2025-07-03  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_imgv.adb (Expand_Value_Attribute): Do not call Set_Etype on N
	after rewriting it by means of OK_Convert_To.

2025-07-03  Ronan Desplanques  <desplanques@adacore.com>

	* exp_aggr.adb (Generate_Finalization_Actions): Stop assuming that
	initialize primitive exists.

2025-07-03  Ronan Desplanques  <desplanques@adacore.com>

	* exp_ch7.adb (Build_Record_Deep_Procs): Fix typo in comment.

2025-07-03  Gary Dismukes  <dismukes@adacore.com>

	* sem_ch12.adb (Install_Spec): Remove "not Is_Generic_Instance (Par)"
	in test for setting Instance_Parent_Unit. Revise comment to no longer
	say "noninstance", plus remove "???".
	(Remove_Parent): Restructure if_statement to allow for both "elsif"
	parts to be executed (by changing them to be separate if_statements
	within an "else" part).

2025-07-03  Ronan Desplanques  <desplanques@adacore.com>

	* exp_ch3.adb (Predefined_Primitive_Bodies): Fix comment.

2025-07-03  Piotr Trojanek  <trojanek@adacore.com>

	* exp_tss.adb (TSS): Refactor IF condition to make code smaller.
	* lib.adb (Increment_Serial_Number, Synchronize_Serial_Number):
	Use type of renamed object when creating renaming.
	* lib.ads (Unit_Record): Refine subtype of dependency number.

2025-07-03  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-valuef.adb: Document the prerequisites more precisely.
	* libgnat/a-tifiio.adb (OK_Get_32): Adjust to the prerequisites.
	(OK_Get_64): Likewise.
	* libgnat/a-tifiio__128.adb (OK_Get_32): Likewise.
	(OK_Get_64): Likewise.
	(OK_Get_128): Likewise.
	* libgnat/a-wtfiio.adb (OK_Get_32): Likewise.
	(OK_Get_64): Likewise.
	* libgnat/a-wtfiio__128.adb (OK_Get_32): Likewise.
	(OK_Get_64): Likewise.
	(OK_Get_128): Likewise.
	* libgnat/a-ztfiio.adb (OK_Get_32): Likewise.
	(OK_Get_64): Likewise.
	* libgnat/a-ztfiio__128.adb (OK_Get_32): Likewise.
	(OK_Get_64): Likewise.
	(OK_Get_128): Likewise.
	* exp_imgv.adb (Expand_Value_Attribute): Adjust the conditions under
	which the RE_Value_Fixed{32,64,128} routines are called for ordinary
	fixed-point types.

2025-07-03  Ronan Desplanques  <desplanques@adacore.com>

	* exp_ch3.adb (Make_Predefined_Primitive_Specs): Fix comment.

2025-07-03  Ronan Desplanques  <desplanques@adacore.com>

	* exp_ch7.adb (Insert_Actions_In_Scope_Around): Fix condition.

2025-07-03  Bob Duff  <duff@adacore.com>

	* checks.adb: Remove unnecessary "return;" statements.
	* eval_fat.adb: Likewise.
	* exp_aggr.adb: Likewise.
	* exp_attr.adb: Likewise.
	* exp_ch3.adb: Likewise.
	* exp_ch4.adb: Likewise.
	* exp_ch5.adb: Likewise.
	* exp_ch6.adb: Likewise.
	* exp_unst.adb: Likewise.
	* krunch.adb: Likewise.
	* layout.adb: Likewise.
	* libgnat/s-excdeb.adb: Likewise.
	* libgnat/s-trasym__dwarf.adb: Likewise.
	* par-endh.adb: Likewise.
	* par-tchk.adb: Likewise.
	* sem.adb: Likewise.
	* sem_attr.adb: Likewise.
	* sem_ch6.adb: Likewise.
	* sem_elim.adb: Likewise.
	* sem_eval.adb: Likewise.
	* sfn_scan.adb: Likewise.

2025-07-03  Bob Duff  <duff@adacore.com>

	* doc/gnat_rm/implementation_defined_characteristics.rst:
	Change Ignore to Disable.
	* sem_ch13.ads (Analyze_Aspect_Specifications):
	Minor: Remove incorrect comment; there is no need to check
	Has_Aspects (N) at the call site.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-07-03  Bob Duff  <duff@adacore.com>

	* types.ads (Empty_Or_Error): Remove.
	* atree.adb: Remove reference to Empty_Or_Error.
	* par-endh.adb: Likewise.
	* sem_ch12.adb: Likewise.
	* sem_ch3.adb: Likewise.
	* sem_util.adb: Likewise.
	* treepr.adb: Likewise.

2025-07-03  Viljar Indus  <indus@adacore.com>

	* sem_ch10.adb(Analyze_With_Clause): Call Semantics instead
	of Analyze to bring Current_Sem_Unit up to date.

2025-07-03  Piotr Trojanek  <trojanek@adacore.com>

	* lib-xref-spark_specific.adb
	(Enclosing_Subprogram_Or_Library_Package): Traverse subunits and body
	stubs.

2025-07-03  Tonu Naks  <naks@adacore.com>

	* libgnat/i-cstrin.ads (Value): add documentation

2025-07-03  Aleksandra Pasek  <pasek@adacore.com>

	* libgnat/a-strsup.adb (Super_Delete): Fix index check.
	* libgnat/a-stwisu.adb (Super_Delete): Likewise.
	* libgnat/a-stzsup.adb (Super_Delete): Likewise.

2025-07-03  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch4.adb (Handle_Changed_Representation): Alphabetize local
	variables.  Set the No_Finalize_Actions flag on the assignment.

2025-07-03  Joffrey Huguet  <huguet@adacore.com>

	* aspects.ads: Define an identifier for Potentially_Invalid.
	* doc/gnat_rm/implementation_defined_aspects.rst: Add section for Potentially_Invalid.
	* sem_attr.adb (Analyze_Attribute_Old_Result): Attribute Old is allowed to occur in a
	Potentially_Invalid aspect.
	* sem_ch13.adb (Analyze_Aspect_Specifications): Handle Potentially_Invalid.
	* sem_util.adb (Has_Potentially_Invalid): Returns True iff an entity is subject to the
	Potentially_Invalid aspect.
	* sem_util.ads (Has_Potentially_Invalid): Idem.
	* snames.ads-tmpl: New name for Potentially_Invalid.
	* gnat_rm.texi: Regenerate.

2025-07-03  Piotr Trojanek  <trojanek@adacore.com>

	* sem_ch10.adb (Analyze_Compilation_Unit): Ignored ghost unit need no
	elaboration checks.

2025-07-03  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-valued.adb (Integer_to_Decimal): Use truncation for the
	scaled divide operation performed for bases other than 10.

2025-07-01  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/120705
	* exp_ch6.adb (Needs_BIP_Collection): Always return False if the
	type has relaxed finalization.

2025-07-01  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-valuef.adb (Integer_to_Fixed): Restore rounding of the
	first scaled divide operation.

2025-07-01  Piotr Trojanek  <trojanek@adacore.com>

	* gnat1drv.adb (Gnat1drv): Do minimal decoration of the spec and body
	of an ignored ghost compilation unit.

2025-07-01  Piotr Trojanek  <trojanek@adacore.com>

	* ali.ads (Unit_Record): Fix grammar in comment.
	* bindgen.adb (Num_Elab_Calls, Num_Primary_Stacks): Remove counters
	that were only incremented and never actually used.

2025-07-01  Tonu Naks  <naks@adacore.com>

	* libgnat/s-valuer.adb (Scan_Decimal_Digits,
	Scan_Integral_Digits): fix condition for rejecting
	underscore.

2025-07-01  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-valued.adb (Integer_To_Decimal): Deal specifically with
	Val = 2**(Int'Size - 1) if Minus is not set.  Exit the loops when V
	saturates to 0 in the case of (huge) negative exponents.  Use Base
	instead of B consistently in unsigned computations.
	* libgnat/s-valuef.adb (Integer_To_Fixed): Use Base instead of B
	consistently in unsigned computations.

2025-07-01  Piotr Trojanek  <trojanek@adacore.com>

	* exp_ch4.adb (Fixup_Universal_Fixed_Operation): Move to spec.
	* exp_ch4.ads (Fixup_Universal_Fixed_Operation): Move from body.
	* exp_spark.adb (Expand_SPARK): Call a fixup expansion routine.

2025-07-01  Gary Dismukes  <dismukes@adacore.com>

	* exp_ch3.adb (Build_Heap_Or_Pool_Allocator): Test not Has_Relaxed_Finalization
	as a guard against retrieving BIP_Collection formal (and related code).

2025-07-01  Javier Miranda  <miranda@adacore.com>

	* exp_ch3.adb (Build_Untagged_Record_Equality): Report the
	warning when no component of an untagged record type U is a
	record type, and the type C of some of its components has
	defined its user-defined equality operator "=".
	* exp_ch4.adb (Expand_Composite_Equality): Report the warning
	calling Warn_On_Ignored_Equality_Operator.
	* sem_warn.ads (Warn_On_Ignored_Equality_Operator): New subprogram.
	* sem_warn.adb (Warn_On_Ignored_Equality_Operator): Factorize code
	reporting the warning.

2025-07-01  Tonu Naks  <naks@adacore.com>

	* libgnat/a-ngelfu.adb: conditional computation of X^2

2025-07-01  Steve Baird  <baird@adacore.com>

	* Makefile.rtl: Add entry for new unit's object file.
	* libgnat/s-casuti.adb: Remove bodies of subprograms that were moved
	to the new unit.
	* libgnat/s-casuti.ads: Replace (with renamings) declarations for
	subprograms that moved to the new unit.
	* libgnat/s-cautns.adb: Body for new unit (a new source file).
	* libgnat/s-cautns.ads: Spec for new unit (a new source file).
	* libgnat/s-valuti.adb: Use the new unit instead of the old one.
	* gcc-interface/Make-lang.in: Add entries for new unit's object file.
	* gcc-interface/Makefile.in: Likewise.

2025-07-01  Gary Dismukes  <dismukes@adacore.com>

	* sem_ch3.adb (Constrain_Corresponding_Record): Inherit Class_Wide_Type on the
	created constrained subtype.

2025-07-01  Artur Pietrek  <pietrek@adacore.com>

	* doc/gnat_ugn/building_executable_programs_with_gnat.rst: add
	GNAT LLVM explicit selection in GPR file
	* gnat_ugn.texi: Regenerate.

2025-07-01  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch7.adb (Shift_Address_For_Descriptor): Add dummy variable
	to make sure that System_Storage_Elements is loaded.

2025-07-01  Ronan Desplanques  <desplanques@adacore.com>

	* doc/gnat_rm/gnat_language_extensions.rst: Document new extension.
	* gen_il-fields.ads (Opt_Field_Enum): Add new fields.
	* gen_il-types.ads (N_Loop_Flow_Statement, N_Continue_Statement): New
	node kinds.
	* gen_il-gen-gen_nodes.adb (N_Loop_Flow_Statement): New abstract node
	kind.
	(N_Continue_Statement): New node kind.
	(N_Exit_Statement): Reparent below N_Loop_Flow_Statement.
	* sinfo.ads (N_Continue_Statement): Add description.
	* sinfo-utils.ads (Loop_Flow_Keyword): New function.
	* sinfo-utils.adb (Loop_Flow_Keyword): New function.
	* gen_il-gen-gen_entities.adb (E_Loop): Add new field.
	* einfo.ads (Continue_Mark): Document new field.
	* sprint.adb (Sprint_Node_Actual): Update for new node kind.
	* snames.ads-tmpl: Add new keyword.
	* par-ch5.adb (P_Continue_Statement, Parse_Loop_Flow_Statement): New
	functions.
	(P_Sequence_Of_Statements): Handle continue statements.
	(P_Exit_Statement): Use Parse_Loop_Flow_Statement.
	* sem.adb (Analyze): Handle new node kind.
	* sem_ch5.adb (Analyze_Loop_Flow_Statement): New function.
	(Analyze_Continue_Statement): New procedure.
	(Analyze_Exit_Statement): Use new Analyze_Loop_Flow_Statement function.
	* sem_ch5.ads (Analyze_Continue_Statement): New procedure.
	* expander.adb (Expand): Handle new node kind.
	* exp_ch5.ads (Expand_N_Continue_Statement): New procedure.
	* exp_ch5.adb (Expand_Loop_Flow_Statement): New procedure.
	(Expand_N_Continue_Statement): New procedure.
	(Expand_N_Exit_Statement): Use new Expand_Loop_Flow_Statement
	procedure.
	(Build_Formal_Container_Iteration): Always reuse original loop entity.
	* gnat_rm.texi: Regenerate.

2025-07-01  Bob Duff  <duff@adacore.com>

	* repinfo.adb (List_Entities):
	Disable output in case of object renamings.

2025-07-01  Aleksandra Pasek  <pasek@adacore.com>

	* libgnat/s-valuen.ads: Correct comment.

2025-07-01  Alexandre Oliva  <oliva@adacore.com>

	* init.c: Include string.h.

2025-07-01  Tonu Naks  <naks@adacore.com>

	* doc/gnat_rm.rst: remove ref to 2012 chapter
	* doc/gnat_rm/about_this_guide.rst: remove ref to 2012 chapter
	* doc/gnat_rm/compatibility_and_porting_guide.rst: update list of
	supported versions
	* doc/gnat_rm/implementation_of_ada_2012_features.rst: delete
	* doc/gnat_rm/specialized_needs_annexes.rst: update list of
	supported versions
	* gnat_rm.texi: Regenerate.

2025-07-01  Tonu Naks  <naks@adacore.com>

	* doc/gnat_rm/implementation_advice.rst: remove GLADE
	* doc/gnat_rm/implementation_defined_characteristics.rst: remove GLADE
	* doc/gnat_rm/specialized_needs_annexes.rst: remove GLADE
	* doc/gnat_rm/the_gnat_library.rst: remove GLADE
	* gnat_rm.texi: Regenerate.

2025-07-01  Alexandre Oliva  <oliva@adacore.com>

	* adaint.c [__vxworks] (alloca): Redirect to builtin.

2025-07-01  Ghjuvan Lacambre  <lacambre@adacore.com>

	* freeze.adb (Freeze_Record_Type): Check for CodePeer_Mode.

2025-07-01  Piotr Trojanek  <trojanek@adacore.com>

	* sem_ch12.adb (Analyze_Subprogram_Instantiation): Move aspects when
	instantiating subprogram as a library unit.

2025-07-01  Ronan Desplanques  <desplanques@adacore.com>

	* exp_ch5.adb (Expand_N_Loop_Statement): Remove useless subexpressions.

2025-07-01  Jose Ruiz  <ruiz@adacore.com>

	* doc/gnat_ugn/gnat_and_program_execution.rst: Add the
	documentation about benefits of using sanitizers in
	mixed-language applications.
	* gnat_ugn.texi: Regenerate.

2025-07-01  Viljar Indus  <indus@adacore.com>

	* atree.ads (Compile_Time_Pragma_Warnings): Removed.
	* errout.adb (Initialize): Remove initialization for
	Compile_Time_Pragma_Warnings.
	(Error_Msg_Internal): Use Warning_As_Error_Kind in the
	Error_Msg_Object. Set its value based on the reason the
	warning was changed to an error.
	(Write_JSON_Span): Adjust the code for Warn_Err.
	(Output_Messages): Update the calculation for actual warnings
	and errors by just using Warnings_Treated_As_Errors.
	(Set_Msg_Text): Simply mark that we are dealing with a
	run time message here. Move the code for the Warning_Mode to
	Error_Msg_Internal.
	* erroutc-pretty_emitter.adb (Write_Error_Msg_Line): Adjust the code
	for Warn_Err. Use the Warn_As_Err_Tag token.
	* erroutc.adb (Compilation_Errors): Simplify the implementation so
	that it only checks for errors and warnings treated as errors.
	(Decrease_Error_Msg_Count): Remove the count for
	Compile_Time_Pragma_Warnings.
	(dmsg): Adjust the code for changes to Warn_Err.
	(Increase_Error_Msg_Count): Likewise and remove the count for
	Compile_Time_Pragma_Warnings.
	(Output_Msg_Text): Warnings converted to error by the
	Warning_As_Error pragma and -gnatwE now use the error prefix
	in their messages but only warnings changed by the pragma get
	the [warning-as-error] tag.
	(Output_Text_Within): Adjust the variable name for
	Is_Runtime_Raise_Msg.
	(Write_Error_Summary): Adjust printing of warnings so that it
	just uses the counts for Warnings_Detected and
	Warnings_Treated_As_Errors.
	* erroutc.ads (Is_Runtime_Raise): renamed to Is_Runtime_Raise_Msg.
	(Warning_As_Error_Kind): New type for marking the warning message
	is treated as an error which also captures the reason for the
	change. Historically each of the reasons will have a different way
	of displaying the warning message.
	(Error_Msg_Object.Warn_Err): Change type to Warning_As_Error_Kind.
	(Kind_To_String): Warnings treated as errors originating from
	the pragma or -gnatwE will return error where as warnings
	originating from -gnatwe will return warning.
	(Compilation_Errors): Update the documentation.
	(Warn_As_Err_Tag): Constant string to be used when printing warnings
	as errors.
	* errutil.adb (Error_Msg): Adjust the code for Warn_Err.

2025-07-01  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch7.adb (Shift_Address_For_Descriptor): New function.
	(Make_Address_For_Finalize): Call above function.
	(Make_Finalize_Address_Stmts): Likewise.
	* exp_util.ads (Is_Constr_Array_Subt_Of_Unc_With_Controlled): New
	predicate.
	* exp_util.adb (Is_Constr_Array_Subt_Of_Unc_With_Controlled): Ditto.
	(Remove_Side_Effects): Call above predicate.
	* sem_ch3.adb (Analyze_Object_Declaration): Likewise.
	* sem_ch4.adb (Analyze_Allocator): Allocate the bounds by setting
	Is_Constr_Array_Subt_With_Bounds when appropriate.

2025-07-01  Javier Miranda  <miranda@adacore.com>

	* sem_ch4.adb (Try_Object_Operation): Handle mutably tagged
	class-wide type prefix.

2025-07-01  Viljar Indus  <indus@adacore.com>

	* errout.adb (Error_Msg_Internal): Use the new
	Warning_Treated_As_Error function.
	* erroutc.adb (Get_Warning_Option): Add new version of this
	function that operates on the Error_Msg_Object directly instead
	of the Error_Id. Update the existing function to call the new
	version interanlly.
	(Get_Warning_Tag): Likewise.
	(Warning_Treated_As_Error): Add a new method that combines the
	checks for the error message itself and its tag.
	* erroutc.ads (Get_Warning_Option): Add new spec.
	(Get_Warning_Option): Likewise.
	(Get_Warning_Option): Likewise.

2025-07-01  Viljar Indus  <indus@adacore.com>

	* atree.ads: Add Compile_Time_Pragma_Warnings for counting
	compile time warnings.
	* errout.adb (Initialize): Initialize Compile_Time_Pragma_Warnings.
	(Output_Messages): Use Compile_Time_Pragma_Warnings instead of
	Count_Compile_Time_Pragma_Warnings.
	* erroutc.adb (Compilation_Errors): Likewise.
	(Count_Compile_Time_Pragma_Warnings): Removed.
	(Decrease_Error_Msg_Count): Update Compile_Time_Pragma_Warnings.
	(Increase_Error_Msg_Count): Likewise.
	(Write_Error_Summary): Use Compile_Time_Pragma_Warnings instead of
	Count_Compile_Time_Pragma_Warnings.
	* erroutc.ads (Count_Compile_Time_Pragma_Warnings): Removed.

2025-07-01  Viljar Indus  <indus@adacore.com>

	* errout.adb (Delete_Warning_And_Continuations): Use
	Decrease_Error_Msg_Count to update the message counts.
	(Delete_Warning): Likewise.
	(To_Be_Removed): Likewise.

2025-07-01  Viljar Indus  <indus@adacore.com>

	* errout.adb (Remove_Warning_Messages): Mark removed messages as
	deleted.
	* erroutc.adb (Purge_Messages): Likewise.

2025-07-01  Martin Clochard  <clochard@adacore.com>

	* frontend.adb (Frontend): do not override GNATprove's setting for
	Warn_On_Non_Local_Exception

2025-07-01  Eric Botcazou  <ebotcazou@adacore.com>

	* sem_ch4.adb (Analyze_Allocator): Do not set Etype to itself.

2025-07-01  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_util.adb (Finalize_Address): Do not go to the root type for
	array types.

2025-07-01  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-valuer.ads (System.Value_R): Remove Round parameter.
	(Scan_Raw_Real): Replace Extra with Extra2 and adjust the comment.
	(Value_Raw_Real): Likewise.
	* libgnat/s-valuer.adb (Round_Extra): Delete.
	(Scan_Decimal_Digits): Replace Extra with Extra2 and adjust the
	implementation.
	(Scan_Integral_Digits): Replace Extra with Extra2 and Extra_Rounded
	with Extra2_Filled and adjust the implementation.
	(Scan_Raw_Real): Replace Extra with Extra2 and adjust the
	implementation.
	(Value_Raw_Real): Likewise.
	* libgnat/s-valrea.adb (Impl): Remove actual for Round formal.
	* libgnat/s-valued.adb (Impl): Likewise.
	(Integer_to_Decimal): Replace Extra with Extra2 and adjust the
	implementation.  Rename Unsigned_To_Signed to To_Signed.
	(Scan_Decimal): Replace Extra with Extra2 and adjust the
	implementation.
	(Value_Decimal): Likewise.
	* libgnat/s-valuef.adb (Impl): Remove actual for Round formal.
	(Integer_to_Fixed): Replace Extra with Extra2 and adjust the
	implementation.  Rename Unsigned_To_Signed to To_Signed.  Only
	round the last scaled divide operation.
	(Scan_Fixed): Replace Extra with Extra2 and adjust the
	implementation.
	(Value_Fixed): Likewise.

2025-07-01  Ronan Desplanques  <desplanques@adacore.com>

	* libgnat/s-valuer.adb (Scan_Decimal_Digits, Scan_Integral_Digits):
	Minor rephrasing.

2025-07-01  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch5.adb (Analyze_Loop_Parameter_Specification): Set ekind
	earlier.

2025-07-01  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_util.ads (Is_Finalizable_Access): New predicate.
	(Is_Non_BIP_Func_Call): Delete.
	(Is_Secondary_Stack_BIP_Func_Call): Likewise.
	* exp_util.adb (Is_Finalizable_Access): New predicate.
	(Initialized_By_Aliased_BIP_Func_Call): Delete.
	(Initialized_By_Reference): Likewise.
	(Is_Aliased): Only consider the nontransient object serviced by
	the transient scope.
	(Is_Part_Of_BIP_Return_Statement): Minor tweak.
	(Is_Finalizable_Transient): Remove calls to Initialized_By_Reference
	and Initialized_By_Aliased_BIP_Func_Call.
	Call Is_Finalizable_Access for access objects.
	(Is_Non_BIP_Func_Call): Delete.
	(Is_Secondary_Stack_BIP_Func_Call): Likewise.
	(Requires_Cleanup_Actions): Call Is_Finalizable_Access for access
	objects.
	(Side_Effect_Free): Return True for N_Reference.
	* exp_ch7.adb (Build_Finalizer.Process_Declarations): Call
	Is_Finalizable_Access for access objects.

2025-07-01  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_util.adb (Is_Expression_Of_Func_Return): New predicate.
	(Is_Related_To_Func_Return): Call Is_Expression_Of_Func_Return.
	(Remove_Side_Effects): Generate a temporary for a function call
	that returns a constrained array type with controlled component
	and an unconstrained first subtype.

2025-07-01  Piotr Trojanek  <trojanek@adacore.com>

	* inline.adb (Rewrite_Procedure_Call): Replace with a simple rewriting
	of procedure call into a single block node, i.e. remove broken
	optimization.
	* sem_util.adb (Next_Actual): Adapt GNATprove-specific code that peeks
	into inlined calls.

2025-07-01  Martin Clochard  <clochard@adacore.com>

	* exp_util.adb (Is_Controlling_Formal_Ref): test scope against
	derived subprogram as well.

2025-07-01  Viljar Indus  <indus@adacore.com>

	* errout.adb (Error_Msg_Internal): Relocate Warn_As_Err propagation
	to Increase_Error_Msg_Counti.
	(Delete_Warning_And_Continuations): Update
	Warnings_Treated_As_Errors count.
	(Delete_Warning): Likewise.
	(To_Be_Removed): Likewise.
	* erroutc.adb (Increase_Error_Msg_Count): Count warnings treated
	as errors here and perform the propagation of this property to
	the parent message.
	(Output_Msg_Text): Remove counting of warnings as errors from
	here.
	(Decrease_Error_Msg_Count): Update Warnings_Treated_As_Errors
	count.

2025-06-30  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/120106
	* Make-generated.in (GNATMAKE_FOR_BUILD): Define.

2025-06-30  Viljar Indus  <indus@adacore.com>

	* comperr.adb (Compiler_Abort): Pass the exit code in calls to
	Output_Messages.
	* errout.adb (Output_Messages): Add new parameter for the
	Exit_Code and store its value.
	* errout.ads (Output_Messages): Likewise.
	* erroutc-sarif_emitter.adb (Print_Invocations): Set
	Execution_Successful based on the exit code.
	* erroutc.ads (Exit_Code): Store the exit code value.
	* gnat1drv.adb (Gnat1drv): Pass the exit code in calls to
	Output_Messages.
	* prepcomp.adb (Parse_Preprocessing_Data_File, Prpare_To_Preprocess):
	Likewise.

2025-06-30  Ronan Desplanques  <desplanques@adacore.com>

	* gen_il-gen-gen_entities.adb (Gen_Entities): Tweak Has_Exit.

2025-06-30  Bob Duff  <duff@adacore.com>

	* exp_attr.adb (Attribute_Max_Size_In_Storage_Elements):
	Return Storage_Count'Last converted to universal_integer.

2025-06-30  Tonu Naks  <naks@adacore.com>

	* doc/gnat_rm.rst: add entry point for the new chapter
	* doc/gnat_rm/about_this_guide.rst: add reference to the new
	chapter
	* doc/gnat_rm/implementation_of_ada_2022_features.rst: new file
	* doc/gnat_rm/implementation_of_ada_2012_features.rst: update
	explanation about RM references
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-06-30  Ronan Desplanques  <desplanques@adacore.com>

	* par-util.adb (Check_Future_Keyword): Use Snames subtypes. Extend
	comment.

2025-06-30  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch5.adb (Analyze_Loop_Statement): Remove obsolete comment.

2025-06-30  Bob Duff  <duff@adacore.com>

	* sem_warn.adb (Warn_On_Useless_Assignments):
	Enable Warn_On_Useless_Assignment in the case of
	Warn_On_All_Unread_Out_Parameters.

2025-06-30  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Analyze_Subtype_Declaration): Remove uses of E_Void.
	(Copy_Parent_Attributes): New procedure.

2025-06-30  Ronan Desplanques  <desplanques@adacore.com>

	* cstand.adb (Make_Aliased_Component, Make_Formal, New_Operator,
	Create_Standard): Remove useless calls.

2025-06-30  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-valuer.adb (Scan_Decimal_Digits): Also pretend that the
	precision limit was just reached if it was already reached.
	(Scan_Integral_Digits): Add Extra_Rounded out parameter, set it to
	False on entry and to True when Extra is rounded.
	(Scan_Raw_Real): New Extra_Rounded local variable.  Pass it in the
	calls to Scan_Integral_Digits.  If it is True, pass a dummy extra
	digit to Scan_Decimal_Digits.

2025-06-30  Claire Dross  <dross@adacore.com>

	* libgnat/a-strsup.ads: Ignore Ghost_Predicate in the assertion policy.

2025-06-30  Javier Miranda  <miranda@adacore.com>

	* sem_aggr.adb (Resolve_Record_Aggregate): Adjust the code to
	handle mutably tagged class-wide types since they don't have
	discriminants, but all class-wide types are considered to have
	unknown discriminants. Initialize mutably tagged class-wide
	type components calling their IP subprogram.
	* exp_aggr.adb (Gen_Assign): Handle mutably tagged class-wide type
	components that have an initializing qualified expression, and
	mutably tagged class-wide components default initialization.
	(Gen_Loop): Handle mutably tagged class-wide types.
	(Gen_Assign): ditto.
	(Build_Record_Aggr_Code): Default initialization of mutably tagged
	class-wide types is performed by their IP subprogram.
	* exp_ch3.adb (Init_Component): Generate code to raise Program_Error
	in the IP subprogram of arrays when the type of their components is
	a mutably tagged abstract class-wide type.
	(Build_Init_Procedure): ditto for the init procedure of record types.
	(Build_Init_Statements): Ensure that the type of the expression
	initializing a mutably class-wide tagged type component is frozen.
	(Requires_Init_Proc): Mutably tagged class-wide types require the
	init-proc since it takes care of their default initialization.
	* sem_util.adb (Needs_Simple_Initialization): Mutably tagged class-wide
	types don't require simple initialization.
	* types.ads (PE_Abstract_Type_Component): New reason for Program_Error.
	* types.h (PE_Abstract_Type_Component): ditto.
	* exp_ch11.adb (Get_RT_Exception_Name): Handle new reason for
	Program_Error.
	* libgnat/a-except.adb (Rcheck_PE_Abstract_Type_Component): New
	subprogram.

2025-06-30  Piotr Trojanek  <trojanek@adacore.com>

	* sem_util.ads (Get_Enclosing_Object, Get_Enum_Lit_From_Pos,
	Is_Universal_Numeric_Type): Reorder declarations.

2025-06-30  Piotr Trojanek  <trojanek@adacore.com>

	* sem_util.adb (Get_Enclosing_Object): Traverse unchecked type
	conversions since they from the compiler and should be transparent for
	semantic reasoning.

2025-06-30  Steve Baird  <baird@adacore.com>

	* einfo-utils.adb (Predicate_Function): Look through an Itype if
	that takes us to another subtype of the same type.

2025-06-30  Gary Dismukes  <dismukes@adacore.com>

	* exp_util.adb (Must_Map_Call_To_Parent_Primitive): Change function
	name (was Call_To_Parent_Dispatching_Op_Must_Be_Mapped). Move logic
	for attributes and dereferences, plus testing for controlled formals,
	into new function Expr_Has_Ctrl_Formal_Ref. Add handling for
	access attributes, multiple levels of attributes/dereferences,
	conditional_expressions, and declare_expressions. Properly account
	for function calls with multiple operands and enclosing calls.
	(Expr_Has_Ctrl_Formal_Ref): New function to determine whether
	an expression is a reference to a controlling formal or has
	a prefix that is such a reference.
	(Is_Controlling_Formal_Ref): New function in Expr_Has_Ctrl_Formal_Ref
	to determine if a node is a direct reference to a controlling formal.
	* freeze.adb (Build_DTW_Body): Create an unchecked conversion instead
	of a regular type conversion for converting actuals in calls to parent
	inherited primitives that are wrapped for inherited pre/postconditions.
	Avoids generating unnecessary checks (such as accessibility checks on
	conversions for anonymous access formals).

2025-06-30  Piotr Trojanek  <trojanek@adacore.com>

	* sem_util.ads (Get_Enclosing_Ghost_Entity): Rename spec.
	* sem_util.adb (Get_Enclosing_Ghost_Object): Rename body; reorder
	alphabetically; adapt recursive call.
	* ghost.adb: Adapt calls to Get_Enclosing_Ghost_Object.

2025-06-30  Piotr Trojanek  <trojanek@adacore.com>

	* ghost.adb (Ghost_Entity): Remove; use Get_Enclosing_Ghost_Object
	instead; adapt callers.

2025-06-30  Eric Botcazou  <ebotcazou@adacore.com>

	* sem_prag.adb (Analyze_Pragma) <Pragma_No_Component_Reordering>:
	Call Find_Type on the first argument of the pragma.

2025-06-30  Tonu Naks  <naks@adacore.com>

	* gnatls.adb: remove -l switch

2025-06-30  Steve Baird  <baird@adacore.com>

	* doc/gnat_rm/gnat_language_extensions.rst: Update documentation for
	mutably tagged types and the Size'Class aspect.
	* gnat_rm.texi: Regenerate.

2025-06-30  Piotr Trojanek  <trojanek@adacore.com>

	* ghost.adb
	(Whole_Object_Ref): Remove; use Get_Enclosing_Ghost_Object instead.
	(Is_Ghost_Assignment): Handle more than object identifiers.
	(Mark_And_Set_Ghost_Assignment): Likewise.
	* sem_util.adb (Get_Enclosing_Ghost_Object): Detect more expressions
	as ghost references; rename to better match the intended meaning.
	* sem_util.ads (Get_Enclosing_Ghost_Object): Rename; adjust comment.

2025-06-30  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_aggr.adb (Backend_Processing_Possible.Component_Check): Return
	False for delayed conditional expressions.

2025-06-30  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_aggr.ads (Parent_Is_Regular_Aggregate): New predicate.
	* exp_aggr.adb (In_Place_Assign_OK.Safe_Component): Implement more
	accurate criterion for function calls.
	(Convert_To_Assignments): Use Parent_Is_Regular_Aggregate predicate.
	(Expand_Array_Aggregate): Likewise.  Remove obsolete comment.
	(Initialize_Component): Do not adjust when the expression is a naked
	function call and Back_End_Return_Slot is True.
	(Parent_Is_Regular_Aggregate): New predicate.
	* exp_ch3.adb (Build_Record_Init_Proc.Build_Assignment): Add test of
	Back_End_Return_Slot in conjunction with a function call.
	* exp_ch4.adb (Expand_Allocator_Expression): Likewise.  Use the
	Is_Container_Aggregate predicate to detect container aggregates.
	(Expand_N_Case_Expression): Delay the expansion if the parent is a
	regular aggregate and the type should not be copied.
	(Expand_N_If_Expression): Likewise.
	(New_Assign_Copy): New function.
	* exp_ch6.adb (Expand_Ctrl_Function_Call): Bail out when the parent
	is a regular aggregate.
	* sem_util.adb (Check_Function_Writable_Actuals): Do not take into
	account attribute references created by the compiler.

2025-06-30  Alexandre Oliva  <oliva@adacore.com>

	* socket.c [__vxworks]
	(__gnat_gethostbyname): Drop excess '&'.
	(__gnat_gethostbyaddr): Likewise.

2025-06-30  Alexandre Oliva  <oliva@adacore.com>

	* adaint.c [__vxworks]: Include ctype.h.

2025-06-30  Steve Baird  <baird@adacore.com>

	* exp_put_image.adb (Build_Record_Put_Image_Procedure): If
	Discriminant_Specifications takes us from the full view of a type
	to an (intentionally) unanalyzed subtree, then instead find
	discriminant entities by calling Discriminant_Specifications on
	the partial view of the type.

2025-06-30  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch6.adb (Check_Delayed_Subprogram, Possible_Freeze): Restrict
	cases where freezing is delayed.
	* sem_ch6.ads (Check_Delayed_Subprogram): Improve documentation
	comment.
	* sprint.adb (Write_Itype): Improve output.

2025-06-30  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-valrea.adb (Integer_to_Real): Rename to...
	(Integer_To_Real): ...this.  Remove the second condition of the
	conjunction in the test for the zero value.
	(Scan_Real): Adjust to above renaming.
	(Value_Real): Likewise.
	* libgnat/s-valuer.ads (Scan_Raw_Real): Add note about Val.

2025-06-30  Jose Ruiz  <ruiz@adacore.com>

	* doc/gnat_ugn/gnat_and_program_execution.rst: Fix a
	couple of minor formatting issues.
	* gnat_ugn.texi: Regenerate.

2025-06-30  Ronan Desplanques  <desplanques@adacore.com>

	* treepr.ads (Print_Entity_Chain, pec, rpec): New subprograms.
	* treepr.adb (Print_Entity_Chain, pec, rpec): Likewise.

2025-06-30  Ronan Desplanques  <desplanques@adacore.com>

	* atree.ads (Parent_Or_List_Containing): Fix typo.

2025-06-30  Ronan Desplanques  <desplanques@adacore.com>

	* treepr.adb (Print_Node): Tweak Parent field printing.

2025-06-30  Jose Ruiz  <ruiz@adacore.com>

	* doc/gnat_ugn/gnat_and_program_execution.rst: Add the
	documentation about using sanitizers with Ada code.
	* gnat_ugn.texi: Regenerate.

2025-06-30  Jose Ruiz  <ruiz@adacore.com>

	* doc/gnat_ugn/gnat_and_program_execution.rst: Add the
	documentation about using sanitizers with Ada code.
	* gnat_ugn.texi: Regenerate.

2025-06-30  Piotr Trojanek  <trojanek@adacore.com>

	* sem_util.adb (Get_Enclosing_Object): Remove dead code.

2025-06-30  Steve Baird  <baird@adacore.com>

	* einfo-utils.adb (Predicate_Function): Improve handling of a case
	where a predicate specified for a subtype of a partial view of a
	type was incorrectly ignored.
	(Set_Predicate_Function): If the attribute has already been set to
	the same value, then do nothing (instead of raising P_E).
	* sem_ch13.adb (Build_Predicate_Function): Add new function
	Has_Source_Predicate. If a subtype inherits a predicate but also
	has its own explicitly specified predicate, then avoid
	misinterpreting the presence of the function built for the
	inherited predicate to mean that no additional predicate function
	is needed.
	* sem_util.adb (Build_Subtype): In the case where we are given a
	constrained record or array subtype and we need to construct a
	different subtype, subject to a different constraint, the
	subtype_mark of the constructed subtype needs to reference an
	unconstrained subtype (because a new constraint is going to be
	imposed). If the Predicated_Parent attribute of the given subtype
	is present and refers to a suitable unconstrained subtype, then
	use that subtype instead of setting the Predicated_Parent
	attribute on a new node (and performing the associated attribute
	copying).

2025-06-30  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch7.adb (Process_Transient_In_Scope): Bail out if the object
	is an ignored ghost entity.

2025-06-30  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_util.adb (Insert_Actions): Extend special treatment applied
	to freeze nodes to the case of blocks generated for aggregates.

2025-06-30  Johannes Kliemann  <kliemann@adacore.com>

	* libgnat/s-valuer.adb: Switch missing if-statements to
	short-circuit form.
	* libgnat/i-cpoint.adb: Ditto.

2025-06-28  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/120854
	* sem_eval.adb (Get_String_Val): Be prepared for an integer literal
	after a serious error is detected, and raise PE on other nodes.

2025-06-26  David Malcolm  <dmalcolm@redhat.com>

	* gcc-interface/misc.cc (gnat_init): Use
	diagnostic_context::set_internal_error_callback.

2025-06-22  Nicolas Boulenguez  <nicolas@debian.org>

	PR ada/120106
	* gcc-interface/Make-lang.in: Set GNAT{MAKE,BIND,LINK_LS}_FOR_HOST
	from GNAT{MAKE,BIND} instead of using hardcoded commands.

2025-06-22  Eric Botcazou  <ebotcazou@adacore.com>

	* Make-generated.in: Remove obsolete stuff.

2025-06-22  Nicolas Boulenguez  <nicolas@debian.org>

	PR ada/120106
	PR ada/120106
	* Make-generated.in: Use GNATMAKE_FOR_BUILD instead of gnatmake.
	* gcc-interface/Makefile.in: Likewise.

2025-06-17  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/120665
	* sem_aggr.adb (Resolve_Container_Aggregate): Use robust guards.

2025-06-12  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/decl.cc (gnat_to_gnu_entity) <E_Variable>: Generate
	a zero-initialization for the anonymous object of a small aggregate
	allocated on the stack.
	(inline_status_for_subprog): Minor tweak.

2025-06-12  Tonu Naks  <naks@adacore.com>

	* comperr.adb: update support instructions
	* switch.adb: update support instructions

2025-06-12  Ronan Desplanques  <desplanques@adacore.com>

	* sinfo.ads: Fix RM reference.

2025-06-12  Piotr Trojanek  <trojanek@adacore.com>

	* sem_ch3.adb (Apply_External_Initialization): Reuse local constant.

2025-06-12  Eric Botcazou  <ebotcazou@adacore.com>

	* doc/gnat_rm/gnat_language_extensions.rst
	(Generalized Finalization): Document the actual implementation.
	(No_Raise): Move to separate section.
	* gnat_rm.texi: Regenerate.

2025-06-12  Ronan Desplanques  <desplanques@adacore.com>

	* libgnat/s-valuer.adb (Scan_Raw_Real): Apply tweak.

2025-06-12  Tonu Naks  <naks@adacore.com>

	* comperr.adb: replace report@ with support@
	* gnatcmd.adb: replace report@ with support@

2025-06-12  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Build_Derived_Private_Type): Fix test.
	(Build_Derived_Record_Type): Adjust error recovery paths.

2025-06-12  Eric Botcazou  <ebotcazou@adacore.com>

	* einfo.ads (Has_Homonym): Fix inaccuracy in description.
	* sem_ch8.ads (Find_Direct_Name): Remove obsolete description.
	* sem_ch12.adb (Analyze_Associations): Rename I_Node parameter
	into N and adjust description.
	(Analyze_Subprogram_Instantiation): Add missing description.
	(Contains_Instance_Of): Fix description.
	(Associations): Rename Generic_Actual_Rec into Actual_Rec and
	Gen_Assocs_Rec into Match_Rec.
	(Analyze_One_Association): Rename I_Node parameter into N.
	(Check_Fixed_Point_Warning): Rename Gen_Assocs parameter into
	Match.
	(Body of Associations): Minor cleanups and tweaks.
	(Analyze_Associations): Rename I_Node parameter into N and
	adjust implementation.
	(Analyze_One_Association): Likewise.
	(Analyze_Package_Instantiation): Remove obsolete code and clean up.
	(Check_Fixed_Point_Warning): Rename Gen_Assocs parameter into
	Match and adjust implementation.
	(Freeze_Package_Instance): Simplify condition.
	(Get_Unit_Instantiation_Node): Add support for instantiations of
	subprograms and stop the loop properly in case of errors.
	* sem_util.ads (Add_Global_Declaration): Rename N parameter into
	Decl and fix description.
	* sem_util.adb (Add_Global_Declaration): Rename N parameter into
	Decl and adjust implementation.

2025-06-12  Ronan Desplanques  <desplanques@adacore.com>

	* libgnat/s-valuer.adb (Scan_Raw_Real): Add RM reference.

2025-06-12  Ronan Desplanques  <desplanques@adacore.com>

	* libgnat/s-valuer.adb (Scan_Raw_Real): Remove subexpression. Improve
	surrounding comments.

2025-06-12  Bob Duff  <duff@adacore.com>

	* vast.adb: Check basic tree properties.
	* atree.adb (Traverse_Field): Minor.
	* treepr.adb (Destroy): Minor comment.

2025-06-12  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-valuer.adb (Round_Extra): Use multiplicative test.

2025-06-12  Ronan Desplanques  <desplanques@adacore.com>

	* einfo-utils.adb (Set_Convention): Remove obsolete test.

2025-06-12  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Process_Discriminants): Set Ekind earlier.
	* sem_util.adb (Enter_Name): Adjust error processing.

2025-06-12  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-valuef.adb (Integer_To_Fixed): Enable overflow checks.
	Deal specifically with Val = 2**(Int'Size - 1) if Minus is not set.
	Exit the loop when V saturates to 0 in the case of (huge) negative
	exponents.

2025-06-12  Ronan Desplanques  <desplanques@adacore.com>

	* exp_util.adb (Insert_Actions): Refine test.

2025-06-12  Eric Botcazou  <ebotcazou@adacore.com>

	* doc/gnat_ugn/building_executable_programs_with_gnat.rst (Compiler
	switches) <-O>: Fix long line.
	* gnat_ugn.texi: Regenerate.

2025-06-12  Eric Botcazou  <ebotcazou@adacore.com>

	* doc/gnat_ugn/building_executable_programs_with_gnat.rst (List of
	all switches): Add -gnatRh subswitch.
	(Debugging Control): Document -gnatRh subswitch.
	* opt.ads (List_Representation_Info_Holes): New boolean variable.
	* repinfo.adb: Add with clause for GNAT.Heap_Sort_G.
	(List_Common_Type_Info): Relax assertion.
	(List_Object_Info): Replace assertion with additional test.
	(List_Record_Layout): If -gnatRh is specified, make sure that the
	components are ordered by increasing offsets.  Output a comment
	line giving the number of unused bits if there is a hole between
	consecutive components.  Streamline the control flow of the loop.
	(List_Record_Info): Use the original record type giving the layout
	of components, if any, to display the layout of the record.
	* switch-c.adb (Scan_Front_End_Switches) <-gnatR>: Add support for
	-gnatRh subswitch.
	* usage.adb (Usage): Document -gnatRh subswitch.
	* gnat_ugn.texi: Regenerate.

2025-06-12  Johannes Kliemann  <kliemann@adacore.com>

	* libgnat/s-secsta.adb (SS_Allocate): Add comment about
	conservative alignment padding calculation.
	* libgnat/s-secsta__cheri.adb (SS_Allocate): Add comment about
	conservative alignment padding calculation.

2025-06-12  Ronan Desplanques  <desplanques@adacore.com>

	* sem_warn.adb (Check_References): Rewrite expression

2025-06-12  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Constrain_Index, Make_Index, Array_Type_Declaration,
	Analyze_Number_Declaration): Remove uses of E_Void.

2025-06-12  Eric Botcazou  <ebotcazou@adacore.com>

	* usage.adb (Usage): Justify the documentation of common switches
	like that of other switches.  Rework that of the -O switch.
	* doc/gnat_ugn/building_executable_programs_with_gnat.rst (Compiler
	switches) <-O>: Rework and document 'z' and 'g' operands.
	* doc/gnat_ugn/gnat_and_program_execution.rst (Optimization Levels):
	Rework and document -Oz and -Og switches.
	* gnat_ugn.texi: Regenerate.

2025-06-12  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Constrain_Index): Avoid unused itypes.

2025-06-12  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Constrain_Index): Factorize return statement.

2025-06-12  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Build_Derived_Numeric_Type): Remove duplicate call.

2025-06-10  Piotr Trojanek  <trojanek@adacore.com>

	* gen_il-gen-gen_entities.adb (Formal_Object_Kind): Remove
	Entry_Component field.

2025-06-10  Piotr Trojanek  <trojanek@adacore.com>

	* sem_attr.adb (Resolve_Attribute): Remove redundant guard.

2025-06-10  Eric Botcazou  <ebotcazou@adacore.com>

	* inline.adb (Analyze_Inlined_Bodies): Minor comment tweak.

2025-06-10  Eric Botcazou  <ebotcazou@adacore.com>

	* inline.adb (Instantiate_Body): Do not call Add_Scope_To_Clean if
	the main unit is generic.
	(Instantiate_Bodies): Do not deal with generic main units here.
	* sem_ch12.adb (Need_Subprogram_Instance_Body): Return false if the
	main unit is generic.

2025-06-10  Eric Botcazou  <ebotcazou@adacore.com>

	* Makefile.rtl (ADA_EXCLUDE_SRCS): Add the 128-bit support files.

2025-06-10  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Process_Subtype): Factorize code.

2025-06-10  Bob Duff  <duff@adacore.com>

	* einfo.ads (Associated_Node_For_Itype): Document that
	Parent field may be empty.
	* vast.adb:  Allow empty Parent in Itypes.

2025-06-10  Gary Dismukes  <dismukes@adacore.com>

	* einfo.ads: Revise comment about Dynamic_Predicate flag to make it
	more accurate.
	* sem_case.adb (Check_Choices): Test "not Has_Static_Predicate_Aspect"
	as additional guard for error about use of subtype with nonstatic
	predicate as a case choice. Improve related error message.

2025-06-10  Tonu Naks  <naks@adacore.com>

	* libgnat/s-valueu.adb: add explict raise
	* libgnat/s-valueu.ads: update annotation

2025-06-10  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch6.adb, sem_ch6.ads (Check_Discriminant_Conformance): Move to …
	* sem_ch3.adb (Check_Discriminant_Conformance): … here.

2025-06-10  Eric Botcazou  <ebotcazou@adacore.com>

	* freeze.adb (Freeze_Static_Object): Do not issue any error message
	for compiler-generated entities.

2025-06-10  Bob Duff  <duff@adacore.com>

	* vast.adb: Implement two checks. Improve debugging
	outputs.

2025-06-10  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch4.adb (Insert_Conditional_Object_Declaration): Deal with a
	transient scope being created around the declaration.
	* freeze.adb (Freeze_Entity): Do not call Freeze_Static_Object for
	a renaming declaration.

2025-06-10  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-vafi32.ads: Fix head description.
	* libgnat/s-vafi64.ads: Likewise.
	* libgnat/s-vafi128.ads: Likewise.

2025-06-10  Bob Duff  <duff@adacore.com>

	* vast.adb: Initial implementation.
	* vast.ads: Rename procedure. Remove parameter; body should decide
	what to do.
	* lib.ads (ipu): Minor: Rewrite comment for brevity, and because
	of an inconvenient misspelling.
	(Num_Units): Not used; remove.
	(Remove_Unit): Minor: Remove "Currently" (which was current a decade
	ago from) comment.
	* lib.adb (Num_Units): Not used; remove.
	* debug_a.adb (Debug_A_Entry): Fix bug: Use Write_Name_For_Debug,
	so this won't crash on the Error node.
	* debug.adb: Document -gnatd_V and -gnatd_W compiler switches.
	* exp_ch6.adb (Validate_Subprogram_Calls): Remove redundant check for
	Serious_Errors_Detected. (We turn off code gen when errors are
	detected.)
	* frontend.adb: Move decisions into VAST body.
	* namet.ads (Present): Remove unnecessary overriding; these are
	inherited by the derived types.
	* namet.adb (Present): Likewise.

2025-06-10  Gary Dismukes  <dismukes@adacore.com>

	* exp_aggr.adb (Build_Container_Aggr_Code.To_Int): Apply Enumeration_Pos
	to Entity (Expr) rather than Expr.

2025-06-10  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Find_Type_Of_Object): Fix comment.

2025-06-10  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Analyze_Component_Declaration): Rename constant.

2025-06-10  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Constrain_Array): Simplify.
	(Process_Subtype): Adjust.

2025-06-10  Eric Botcazou  <ebotcazou@adacore.com>

	* sem_ch12.adb (Copy_Generic_Node): Do not call Root_Type to find
	the root type of an aggregate of a derived tagged type.

2025-06-10  Ronan Desplanques  <desplanques@adacore.com>

	* libgnarl/s-stusta.adb (Compute_All_Tasks): Skip terminated tasks.

2025-06-10  Viljar Indus  <indus@adacore.com>

	* sem_prag.adb (Is_Configuration_Pragma): Check that nodes
	preceding the pragma are pragma nodes or originally were
	pragma nodes.

2025-06-10  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-valued.adb (Integer_to_Decimal): Add Extra parameter and
	use its value to call Bad_Value on boundary values.
	(Scan_Decimal): Adjust call to Integer_to_Decimal.
	(Value_Decimal): Likewise.

2025-06-10  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.ads (Process_Subtype): New formal.
	* sem_ch3.adb (Process_Subtype): Likewise.
	(Analyze_Subtype_Declaration, Access_Type_Declaration): Use new
	formal.

2025-06-10  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Process_Subtype): Fix recursive call.

2025-06-10  Eric Botcazou  <ebotcazou@adacore.com>

	* par-ch5.adb (P_Declare_Statement): Rename local variable.
	(P_Begin_Statement): Likewise.

2025-06-10  Piotr Trojanek  <trojanek@adacore.com>

	* einfo.ads (Overridden_Operation, Static_Initialization): Remove
	comments about a reused entity field.

2025-06-10  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Process_Subtype): Tweak formatting.

2025-06-10  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Process_Subtype): Add assertion.

2025-06-10  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Process_Subtype): Factorize initialization of variable.

2025-06-09  Gary Dismukes  <dismukes@adacore.com>

	* sem_ch3.adb (Constrain_Index): In the case of a fixed-lower-bound index,
	set Etype of the newly created itype's Scalar_Range from the index's Etype.
	* sem_ch12.adb (Validate_Array_Type_Instance): If the actual subtype is
	a fixed-lower-bound type, then check again the Etype of its Scalar_Range.

2025-06-09  Piotr Trojanek  <trojanek@adacore.com>

	* sem_prag.adb (Analyze_Pragma): Fix conditions for legality checks on
	formal type declarations.

2025-06-09  Piotr Trojanek  <trojanek@adacore.com>

	* sem_prag.adb (Analyze_Pragma): If pragmas apply to a formal array
	type, then set the flags on the base type.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Process_Subtype): Clarify code.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.ads (Process_Subtype): Add formal.
	* sem_ch3.adb (Process_Subtype): Use new formal.
	(Analyze_Subtype_Declaration, Array_Type_Declaration,
	Build_Derived_Access_Type): Pass new actual.
	* sem_ch4.adb (Find_Type_Of_Object): Likewise.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch6.adb (Set_Formal_Mode): Extend profile. Move parts of the
	body…
	(Process_Formals): … here. Move call to Set_Formal_Mode earlier. Call
	Set_Is_Not_Self_Hidden in second traversal.

2025-06-09  Gary Dismukes  <dismukes@adacore.com>

	* exp_aggr.adb (Expand_Container_Aggregate): Use the Base_Type of the
	subtype provided by the context as the subtype of the temporary object
	initialized by the aggregate.

2025-06-09  Eric Botcazou  <ebotcazou@adacore.com>

	* par-ch4.adb (P_Function_Name): Delete body.
	(P_Qualified_Simple_Name_Resync): Do not raise Error_Resync on an
	operator symbol followed by something else than a dot.
	* par-ch6.adb (P_Subprogram): Do not call P_Function_Name.
	* par.adb (P_Function_Name): Delete declaration.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem.adb (Analyze): Adapt to new Ekinds.
	* sem_ch3.adb (Analyze_Component_Declaration): Set Ekind early.
	(Is_Visible_Component, Record_Type_Definition): Adjust.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem.adb (Analyze): Fix comment.

2025-06-09  Eric Botcazou  <ebotcazou@adacore.com>

	* par-ch4.adb (P_Name): Remove obsolete references in comments.
	(P_Qualified_Simple_Name): Call P_Qualified_Simple_Name_Resync.
	(P_Qualified_Simple_Name_Resync): Adjust a couple of comments.

2025-06-09  Gary Dismukes  <dismukes@adacore.com>

	* exp_util.adb (Call_To_Parent_Dispatching_Op_Must_Be_Mapped): Replace
	test of Covers with test of Is_Controlling_Formal. Add handling for
	'Result actuals. Remove Actual_Type and its uses.

2025-06-09  Piotr Trojanek  <trojanek@adacore.com>

	* sem_util.adb (Is_Name_Reference): Remove check for selector_name of a
	selected_component; reuse existing code for indexed components and
	slices.
	(Statically_Names_Object): Remove dead code.

2025-06-09  Eric Botcazou  <ebotcazou@adacore.com>

	* einfo.ads (Overlays_Constant): Define in constants and variables.
	* gen_il-gen-gen_entities.adb (Entity_Kind): Move Overlays_Constant
	semantic flag to...
	(Constant_Or_Variable_Kind): ...here.
	* sem_util.adb (Note_Possible_Modification): Add guard.

2025-06-09  Bob Duff  <duff@adacore.com>

	* exp_ch6.adb: (Make_Build_In_Place_Call_In_Object_Declaration):
	Deal with renamings transformed into object declarations.
	* sem_ch8.adb (Analyze_Object_Renaming):
	Reinstate transformation of a renaming into
	an object declaration.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Analyze_Object_Declaration): Call Mutate_Ekind earlier.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Analyze_Object_Declaration): Tweak error handling.

2025-06-09  Piotr Trojanek  <trojanek@adacore.com>

	* par-ch13.adb (Get_Aspect_Specifications): Save and restore flag while
	parsing aspect Abstract_State.
	* par-ch2.adb (P_Pragma): Same while parsing pragma Abstract_State.
	* par-ch4.adb (P_Aggregate_Or_Paren_Expr): Specialize error message
	for contract Abstract_State and extended aggregate.
	* par.adb (Inside_Abstract_State): Add new context flag.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch10.adb (Analyze_Compilation_Unit): Check for generic bodies.
	* exp_disp.adb (Build_Dispatch_Tables): Likewise.

2025-06-09  Piotr Trojanek  <trojanek@adacore.com>

	* sem_util.adb (Find_Overlaid_Entity): Don't call Etype on empty Ent;
	tune style; move computation of Overl_Typ out of the loop.

2025-06-09  Javier Miranda  <miranda@adacore.com>

	* doc/gnat_rm/implementation_defined_pragmas.rst: Adding
	documentation.
	* doc/gnat_ugn/the_gnat_compilation_model.rst: ditto.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_attr.adb (Analyze_Attribute): Remove test.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_util.adb (Enter_Name): Remove special handling.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_util.adb (Enter_Name): Remove comment.

2025-06-09  Bob Duff  <duff@adacore.com>

	* exp_ch6.adb: Remove a couple of "???" suggesting something that
	we will likely never do.
	(Make_Build_In_Place_Call_In_Object_Declaration):
	When a constraint check is needed, do the check.
	Do it at the call site for now.
	The check is still missing in the untagged case,
	because the caller allocates in that case.
	* sem_ch8.adb (Analyze_Object_Renaming):
	Remove obsolete transformation of a renaming into
	an object declaration. Given that we also (sometimes) tranform
	object declarations into renamings, this transformation was
	adding complexity; the new code in
	Make_Build_In_Place_Call_In_Object_Declaration above
	would need to explicitly avoid the run-time check in the case of
	renamings, because renamings are supposed to ignore the nominal
	subtype. Anyway, it is no longer needed.
	* exp_ch3.adb (Expand_N_Object_Declaration): Rewrite comment;
	it IS clear how to do it, but we haven't done it right yet.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* atree.ads (Copy_Node): Fix comment.

2025-06-09  Piotr Trojanek  <trojanek@adacore.com>

	* exp_attr.adb (Expand_N_Attribute_Reference): When expanding attribute
	Valid, use signedness from the validated view, not from its base type.

2025-06-09  Marc Poulhiès  <poulhies@adacore.com>

	* sem_util.adb (Find_Overlaid_Entity): Add extra parameter to
	extract the type being overlaid.
	(Note_Possible_Modification): Adjust call to Find_Overlaid_Entity.
	(Ultimate_Overlaid_Entity): Likewise.
	* sem_ch13.adb (Analyze_Attribute_Definition_Clause): Likewise.
	* sem_util.ads (Find_Overlaid_Entity): Add extra parameter to
	extract the type being overlaid.
	* freeze.adb (Check_Address_Clause): Likewise.

2025-06-09  Gary Dismukes  <dismukes@adacore.com>

	* contracts.adb (Inherit_Condition): Remove Assoc_List and its uses
	along with function Check_Condition, since mapping of formals will
	effectively be done in Build_Class_Wide_Expression (by Replace_Entity).
	* exp_util.adb (Replace_Entity): Only rewrite entity references in
	function calls that qualify according to the result of calling the
	new function Call_To_Parent_Dispatching_Op_Must_Be_Mapped.
	(Call_To_Parent_Dispatching_Op_Must_Be_Mapped): New function that
	determines whether a function call to a primitive of Par_Subp
	associated tagged type needs to be mapped (according to whether
	it has any actuals that reference controlling formals of the
	primitive).

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch3.adb (Analyze_Object_Declaration): Remove comment.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_util.ads (Current_Entity_In_Scope): Add example in comment.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* atree.ads (Rewrite, Replace): Clarify comments.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* atree.ads (Rewrite): Remove comment.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* atree.adb (Rewrite): Improve readability.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_util.adb (Kill_Current_Values): Tweak condition.

2025-06-09  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch4.adb (Insert_Conditional_Object_Declaration): Remove Decl
	formal parameter, add Typ and Const formal parameters.
	(Expand_N_Case_Expression): Fix pasto in comment.  Adjust call to
	Insert_Conditional_Object_Declaration and tidy up surrounding code.
	(Expand_N_If_Expression): Adjust couple of calls to
	Insert_Conditional_Object_Declaration.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch8.adb (Find_Selected_Component): Fix error path.

2025-06-09  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-dourea.adb (Is_Infinity): Rename to...
	(Is_Infinity_Or_NaN): ...this.
	("*"): Adjust accordingly.
	("/"): Likewise.
	(Sqr): Likewise.
	* libgnat/s-dorepr.adb (Two_Prod): Likewise.
	(Two_Sqr): Likewise.
	* libgnat/s-dorepr__fma.adb (Two_Prod): Likewise.

2025-06-09  Daniel King  <dmking@adacore.com>

	* libgnat/i-cheri.ads
	(Set_Bounds, Set_Exact_Bounds): Remove wrong intrinsic binding.
	* libgnat/i-cheri.adb
	(Set_Bounds, Set_Exact_Bounds): New subprogram bodies.

2025-06-09  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch8.adb (Find_Selected_Component): Add mention.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* urealp.adb (UR_Negate): Capture array element in a local constant.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* urealp.adb (UR_Exponentiate): Use local variable.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* sem_ch13.adb (Analyze_Attribute_Definition_Clause): Tune code for
	attribute Small.
	* sem_prag.adb (Analyze_Attribute): Tune code for pragma Time_Slice.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* ada_get_targ.adb, cstand.ads, cstand.adb, sem_eval.adb, sem_eval.ads,
	urealp.adb, urealp.ads: Tune style.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* get_targ.ads (Register_Proc_Type): Add null exclusion.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* cstand.adb (Build_Float_Type, Register_Float_Type): Refine
	parameter subtypes.
	* set_targ.ads (FPT_Mode_Entry): Refine component subtype.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* sem_prag.adb (Analyze_Pragma): Add dependency of Program_Exit on
	Global and Depends contracts.
	(Analyze_Program_Exit_In_Decl_Part): Check references to subprogram
	outputs.

2025-06-06  Claire Dross  <dross@adacore.com>

	* doc/gnat_rm/implementation_defined_pragmas.rst
	(Pragma Exit_Cases): Update the documentation for Exit_Cases.
	* sem_prag.adb
	(Anlayze_Pragma): Accept Program_Exit as an exit kind.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* aspects.ads (Aspect_Argument): Argument for Program_Exit is now
	optional.
	* doc/gnat_rm/implementation_defined_pragmas.rst
	(Pragma Program_Exit): Change documentation for pragma syntax.
	* sem_prag.adb (Analyze_Pragma): Argument for Program_Exit is now
	optional.
	(Analyze_Program_Exit_In_Decl_Part): Likewise.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* aspects.ads (Aspect_Id): Add new aspect identifier.
	(Aspect_Argument): Specify argument for the new aspect.
	(Is_Representation_Aspect): New aspect is not a representation aspect.
	(Aspect_Names): Map new aspect to name.
	(Aspect_Delay): New aspect is always delayed.
	* contracts.adb (Expand_Subprogram_Contract)
	(Add_Pre_Post_Condition, Add_Contract_Item)
	(Analyze_Entry_Or_Subprogram_Contract)
	(Analyze_Entry_Or_Subprogram_Body_Contract)
	(Analyze_Subprogram_Body_Stub_Contract): Support new aspect.
	* contracts.ads (Add_Contract_Item,
	Analyze_Entry_Or_Subprogram_Contract,
	Analyze_Entry_Or_Subprogram_Body_Contract,
	Analyze_Subprogram_Body_Stub_Contract): Mention new contract in
	comment.
	* doc/gnat_rm/implementation_defined_aspects.rst
	(Aspect Program_Exit): Document new aspect.
	* doc/gnat_rm/implementation_defined_pragmas.rst
	(Pragma Program_Exit): Document new pragma.
	* einfo-utils.adb (Get_Pragma): Support new pragma.
	* einfo-utils.ads (Get_Pragma): Mention new pragma in comment.
	* exp_prag.adb (Expand_Pragma_Program_Exit): Expand new pragma;
	body.
	* exp_prag.ads (Expand_Pragma_Program_Exit): Expand new pragma;
	spec.
	* inline.adb (Remove_Aspects_And_Pragmas): Support new pragma.
	* par-prag.adb (Prag): Support new pragma.
	* sem_attr.adb (Analyze_Attribute_Old_Result): Accept attribute
	Old in new pragma.
	* sem_ch12.adb (Implementation of Generic Contracts): Mention new
	aspect in comment.
	* sem_ch13.adb (Insert_Pragma, Analyze_Aspect_Specifications):
	Convert new new aspect to pragma.
	* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Renumber
	subsequent rule in comment.
	* sem_prag.adb (Check_Postcondition_Use_In_Inlined_Subprogram)
	(Contract_Freeze_Error): Mention new pragma in comment.
	(Analyze_Pragma): Support new pragma; renumber subsequent rule in
	comment.
	(Analyze_Program_Exit_In_Decl_Part): Analyze new pragma; body.
	(Sig_Flags): References in new pragma are significant when
	detecting unreferenced objects.
	* sem_prag.ads (Aspect_Specifying_Pragma)
	(Assertion_Expression_Pragma, Pragma_Significant_To_Subprograms):
	Support new aspect and pragma.
	(Analyze_Program_Exit_In_Decl_Part): Analyze new pragma; spec.
	(Find_Related_Package_Or_Body): Mention new pragma in comment.
	* sem_util.adb (Is_Subprogram_Contract_Annotation): Support new
	pragma.
	* sem_util.ads (Is_Subprogram_Contract_Annotation): Mention new
	pragma in comment.
	* sinfo.ads (Is_Generic_Contract_Pragma): Mention new pragma in
	comment.
	* snames.ads-tmpl (Preset Names, Pragma_Id): Add name and pragma
	identifiers.
	* gnat_rm.texi: Regenerate.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* libgnat/g-dyntab.ads (Instance): Update and extend comment.
	* scos.ads: Remove comment about the corresponding C header.
	* scos.h: Remove.

2025-06-06  Steve Baird  <baird@adacore.com>

	* sem_util.adb (Collect_Primitive_Operations): When collecting
	primitive operations, do not include child unit subprograms.

2025-06-06  Javier Miranda  <miranda@adacore.com>

	* sem_ch4.adb (Constant_Indexing_OK): Add missing support for
	RM 4.1.6(13/3), and improve performance to avoid climbing more
	than needed. Add documentation.
	(Try_Indexing_Function): New subprogram.
	(Expr_Matches_In_Formal): Added new formals.
	(Handle_Selected_Component): New subprogram.
	(Has_IN_Mode): New subprogram.
	(Try_Container_Indexing): Add documentation, code reorganization
	and extend its functionality to improve its support for prefixed
	notation calls.

2025-06-06  Viljar Indus  <indus@adacore.com>

	* debug.adb: Mark -gnatd_D as unused.
	* diagnostics-repository.adb: Move to...
	* errid.adb: ...here.
	* diagnostics-repository.ads: Move to...
	* errid.ads: ...here.
	* errout.adb (Error_Msg_Internal): Add new arguments for the new
	attributes of Error_Msg_Objects.
	(Error_Msg): Likewise.
	(Error_Msg_N): Likewise.
	(Labeled_Span): New method for creating Labeled_Span-s
	(Primary_Label_Span): New method for creating primary Labeled_Spans.
	(Secondary_Labeled_Span): New method for creating secondary
	Labeled_Spans.
	(Edit): New method for creating Edit elements.
	(Fix): New method for creating Fix elements.
	(Error_Msg_F): Simplify code for evaluating the span.
	(Error_Msg_FE): Likewise.
	(Error_Msg_NE): Likewise.
	(Error_Msg_NEL): Likewise.
	(Error_Msg_N_Gigi): New method that is used as a wrapper for the
	Error_Msg_xxx methods that have the new arguments. This function
	is later mapped to the Error_Msg method used inside gigi.
	(Error_Msg_NE_Gigi): Likewise.
	(Write_JSON_Span): Ensure that the Style prefix is included that is
	removed when parsing the message is reinserted to the JSON report.
	(Output_Messages): Use the new Pretty_Printer and Sarif_Printer
	packages to print the messages and remove the old implementation
	for the pretty printer.
	(Set_Msg_Text): Remove message kind insertion characters from the
	final message text to avoid some message kinds being duplicated.
	(To_Full_Span_First): New method for creating a span for a node.
	(To_Full_Span): Likewise.
	* errout.ads: Add the specs for all of the newly added functions.
	* diagnostics-pretty_emitter.adb: Move to...
	* erroutc-pretty_emitter.adb: ...here.
	* diagnostics-pretty_emitter.ads: Move to...
	* erroutc-pretty_emitter.ads: ...here.
	* diagnostics-sarif_emitter.adb: Move to...
	* erroutc-sarif_emitter.adb: ...here.
	* diagnostics-sarif_emitter.ads: Move to...
	* erroutc-sarif_emitter.ads: ...here.
	* erroutc.adb (Next_Error_Msg): New method for iterating to the
	next error message.
	(Next_Continuation_Msg): New method for iterating to the next
	continuation message.
	(Primary_Location): New method for returning the first primary
	location for the error message.
	(Get_Human_Id): New method for returning the human readable
	name for the switch associated with this error message.
	(Get_Doc_Switch): New method for creating the tag for the switch
	used in the error message.
	(Output_Text_Within): Change the method to operating on Strings
	instead of String pointers.
	(Output_Msg_Text): Simplify implementation for generating the
	error message.
	(Prescan_Message): Make the String handling more error proof.
	* erroutc.ads (Error_Msg_Object): Add new attributes that were
	added to Diagnostic objects to Error_Msg_Objects.
	Add new methods for handling the new error objects.
	* diagnostics-switch_repository.adb: Move to...
	* errsw.adb: ...here.
	* errutil.adb (Error_Msg): Initialize all of the new attributes
	added to Error_Msg_Object-s.
	* fe.h (Error_Msg_N): Update the binding.
	(Error_Msg_NE): Update the binding.
	For now the error_msg methods in gigi will use the old
	simplified interface for those methods.
	* diagnostics-json_utils.adb: Move to...
	* json_utils.adb: ...here.
	* diagnostics-json_utils.ads: Move to...
	* json_utils.ads: ...here.
	* par-endh.adb: Replace the old error_msg
	calls with the updated interface.
	* sem_aggr.adb: Likewise.
	* sem_ch13.adb: Likewise.
	* sem_ch4.adb: Likewise.
	* sem_ch9.adb: Likewise.
	* diagnostics-brief_emitter.adb: Removed.
	* diagnostics-brief_emitter.ads: Removed.
	* diagnostics-constructors.adb: Removed.
	* diagnostics-constructors.ads: Removed.
	* diagnostics-converter.adb: Removed.
	* diagnostics-converter.ads: Removed.
	* diagnostics-switch_repository.ads: Removed.
	* diagnostics-utils.adb: Removed.
	* diagnostics-utils.ads: Removed.
	* diagnostics.adb: Removed.
	* diagnostics.ads: Removed.
	* errsw.ads: New file. Based on diagnostics-switch_repository.ads.
	It additionally contains all the switch enumerations.
	* gcc-interface/Make-lang.in: Update compilation dependencies.
	* gcc-interface/Makefile.in: Likewise.

2025-06-06  Ronan Desplanques  <desplanques@adacore.com>

	* contracts.adb (Add_Invariant_And_Predicate_Checks): Assign Ekind.
	* inline.adb (Expand_Inlined_Call): Likewise.
	* exp_ch9.adb (Build_Simple_Entry_Call): Likewise.
	* exp_dist.adb (Append_Array_Traversal): Likewise.
	* exp_fixd.adb (Build_Double_Divide_Code, Build_Scaled_Divide_Code):
	Likewise.

2025-06-06  Olivier Hainque  <hainque@adacore.com>

	* libgnarl/s-linux__android-aarch64.ads: Provide an
	Android_Sigaction generic package to expose an aarch64
	version of struct_sigation, using a provided sigset_t
	for sa_flags.
	* libgnarl/s-linux__android-arm.ads: Likewise, for ARM
	rather than aarch64.
	* libgnarl/s-osinte__android.ads: Move sigset_t definition
	to the visible part and use it to instantiate the Android_Sigation
	generic provided by System.Linux, which is specialized for ARM vs
	aarch64. Define struct_sigaction out of the Android_Sigaction
	instance, remove the local representation clauses.

2025-06-06  Olivier Hainque  <hainque@adacore.com>

	* Makefile.rtl: Rework the Android pairs to match those of a
	regular Linux port rather than a generic posix one.
	* libgnarl/s-osinte__android.ads: Import pcrtl and add bindings
	for the pthread_rwlock entry points, used by the Linux units now
	in the libgnat target pairs.
	* sysdep.c (__gnat_has_cap_sys_nice): Define for Android,
	conservative return 0.
	* adaint.c (__gnat_cpu_alloc): Define for Android as for Linux.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* namet.ads (Name_Entry): Update comments to explain the current needs.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* lib.ads (Unit_Record): Remove representation clauses and filler
	components
	* lib-load.adb, lib-writ.adb: Remove initialization of data fillers.
	* nlists.adb (Allocate_List_Tables): Remove explicit initialization.
	* repinfo.adb (Exp_Node): Remove representation clauses.
	* sinput.ads (Source_File_Record): Likewise.
	* urealp.adb (Ureal_Entry): Likewise.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* doc/gnat_rm/representation_clauses_and_pragmas.rst
	(Effect of Convention on Representation): Fix number of list items.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-06-06  Eric Botcazou  <ebotcazou@adacore.com>

	* sem_ch10.adb (Install_Siblings.In_Context): Add missing guard.

2025-06-06  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch4.adb (Analyze_Selected_Component): Tweak condition.

2025-06-06  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch4.adb (Insert_Conditional_Object_Declaration): Make sure the
	object is allocated properly by the code generator at library level.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* sem_eval.adb (Check_Non_Static_Context): Remove special handling of
	floating-point zero.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* einfo.ads (Incomplete_View): Move from Sinfo; adapt wording.
	* exp_ch3.adb (Build_Record_Init_Proc): Adapt retrieval of
	Incomplete_View.
	* gen_il-fields.ads (Opt_Field_Enum): Move Incomplete_View from node
	to entity field.
	* gen_il-gen-gen_entities.adb (Gen_Entities): Add field.
	* gen_il-gen-gen_nodes.adb (Gen_Nodes): Remove field.
	* sem_ch3.adb (Analyze_Full_Type_Declaration,
	Check_Anonymous_Access_Component): Adapt setting of Incomplete_View.
	* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Adapt retrieval of
	Incomplete_View for class-wide types; no longer rely on class-wide
	type being attached to non-classwide type declaration.
	* sem_util.adb (Collect_Primitive_Operations): Adapt retrieval of
	Incomplete_View.
	* sinfo.ads (Incomplete_View): Move to Einfo.

2025-06-06  squirek  <squirek@adacore.com>

	* aspects.ads: Add support for constructors.
	* exp_aggr.adb: Likewise.
	* exp_attr.adb: Likewise.
	* exp_ch3.adb: Likewise.
	* exp_ch4.adb: Likewise.
	* exp_util.adb: Likewise.
	* gen_il-fields.ads: Likewise.
	* gen_il-gen-gen_entities.adb: Likewise.
	* gen_il-gen-gen_nodes.adb: Likewise.
	* par-ch4.adb: Likewise.
	* sem_aggr.adb: Likewise.
	* sem_attr.adb, sem_attr.ads: Likewise.
	* sem_ch13.adb: Likewise.
	* sem_ch3.adb: Likewise.
	* sem_ch5.adb: Likewise.
	* sem_ch6.adb: Likewise.
	* sem_res.adb: Likewise.
	* sem_util.adb, sem_util.ads: Likewise.
	* snames.ads-tmpl: Likewise.

2025-06-06  squirek  <squirek@adacore.com>

	* doc/gnat_rm/gnat_language_extensions.rst: Add documentation.
	* gnat_rm.texi: Regenerate.

2025-06-06  Eric Botcazou  <ebotcazou@adacore.com>

	* einfo.ads (Modulus): Change to implementation base type only.
	* gen_il-gen-gen_entities.adb (Modular_Integer_Kind): Change type
	of Modulus field to Impl_Base_Type_Only.

2025-06-06  Eric Botcazou  <ebotcazou@adacore.com>

	* einfo.ads (Original_Access_Type): Restore.
	* gen_il-fields.ads (Opt_Field_Enum): Restore Original_Access_Type.
	* gen_il-gen-gen_entities.adb: Adjust accordingly.
	* exp_ch9.adb (Expand_Access_Protected_Subprogram_Type): Restore the
	call to Set_Original_Access_Type.

2025-06-06  Eric Botcazou  <ebotcazou@adacore.com>

	* einfo.ads (Default_Expr_Function): Delete.
	(Dependent_Instances): Likewise.
	(Handler_Records): Likewise.
	(Needs_Activation_Record): Likewise.
	(Original_Access_Type): Likewise.
	(Register_Exception_Call): Likewise.
	* sinfo.ads (Accept_Handler_Records): Likewise.
	* gen_il-fields.ads (Opt_Field_Enum): Remove Accept_Handler_Records,
	Default_Expr_Function, Dependent_Instances, Handler_Records,
	Needs_Activation_Record, Original_Access_Type and
	Register_Exception_Call.
	* gen_il-gen-gen_entities.adb: Adjust accordingly.
	* gen_il-gen-gen_nodes.adb: Likewise.
	* exp_ch9.adb (Expand_Access_Protected_Subprogram_Type): Remove call
	to Set_Original_Access_Type.
	(Expand_N_Selective_Accept): Remove call to Set_Handler_Records.
	* exp_ch11.adb (Expand_N_Exception_Declaration): Remove call to
	Set_Register_Exception_Call.
	* sem_ch3.adb (Access_Subprogram_Declaration): Remove call to
	Set_Needs_Activation_Record.
	* sem_ch12.adb (Instantiate_Package_Body): Remove call to
	Set_Handler_Records.

2025-06-06  Steve Baird  <baird@adacore.com>

	* sem_ch4.adb
	(Find_Unary_Types): Because we reanalyze names in an instance,
	we sometimes have to take steps to filter out extraneous name
	resolution candidates that happen to be visible at the point of the
	instance declaration. Remove some code that appears to have been
	written with this in mind. This is done for two reasons. First, the
	code sometimes doesn't work (possibly because the In_Instance test
	is not specific enough - it probably should be testing to see whether
	we are in an instance of the particular generic in which the result
	of calling Corresponding_Generic_Type was declared) and causes correct
	code to be rejected. Second, the code seems to no longer be necessary
	(possibly because of subsequent fixes in this area which are not
	specific to unary operators).

2025-06-06  Ronan Desplanques  <desplanques@adacore.com>

	* sem_ch8.adb (Premature_Usage): Remove dead code.

2025-06-06  Eric Botcazou  <ebotcazou@adacore.com>

	* einfo.ads (Size_Check_Code): Delete.
	* gen_il-fields.ads (Opt_Field_Enum): Remove Size_Check_Code.
	* gen_il-gen-gen_entities.adb (Constant_Or_Variable_Kind): Likewise.
	* sem_ch13.adb (Analyze_Attribute_Definition_Clause): Remove call
	to Kill_Size_Check_Code.
	* sem_prag.adb (Analyze_Pragma): Likewise.
	* sem_util.ads (Kill_Size_Check_Code): Delete.
	* sem_util.adb (Kill_Size_Check_Code): Likewise.

2025-06-06  Claire Dross  <dross@adacore.com>

	* sem_ch6.adb (Analyze_SPARK_Subprogram_Specification):
	Allow the first parameter of functions whose return type is
	an anonymous access-to-variable type to have mode IN OUT.

2025-06-06  Ronan Desplanques  <desplanques@adacore.com>

	* gen_il-fields.ads: New field.
	* gen_il-gen-gen_entities.adb: New field.
	* einfo.ads: Document new field.
	* sem_res.adb (Check_Discriminant_Use): Record relevant uses in new
	field. Move warning emission to...
	* sem_ch3.adb (Analyze_Full_Type_Declaration): ... Here.

2025-06-06  Steve Baird  <baird@adacore.com>

	* sem_disp.adb
	(Check_Dispatching_Operation): Delete code to generate
	"missing overriding indicator" warning. Update comments.

2025-06-06  Ronan Desplanques  <desplanques@adacore.com>

	* cstand.adb (Create_Standard): Delay declaration generation for
	Natural and Positive.

2025-06-06  Ronan Desplanques  <desplanques@adacore.com>

	* cstand.adb (Create_Standard): Remove useless calls.

2025-06-06  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_aggr.adb (Expand_Record_Aggregate): Use the named form for the
	second actual parameter in the call to Duplicate_Subexpr.
	* exp_attr.adb (Expand_Size_Attribute): Likewise.
	* exp_ch5.adb (Expand_Assign_Array): Likewise.
	(Expand_Assign_Array_Bitfield): Likewise.
	(Expand_Assign_Array_Bitfield_Fast): Likewise.
	* exp_util.ads (Duplicate_Subexpr): Add New_Scope formal parameter.
	(Duplicate_Subexpr_No_Checks): Likewise.
	(Duplicate_Subexpr_Move_Checks): Likewise.
	* exp_util.adb (Build_Allocate_Deallocate_Proc): Pass Proc_Id as the
	actual for New_Scope in the calls to Duplicate_Subexpr_No_Checks.
	(Duplicate_Subexpr): Add New_Scope formal parameter and forward it
	in the call to New_Copy_Tree.
	(Duplicate_Subexpr_No_Checks): Likewise.
	(Duplicate_Subexpr_Move_Checks): Likewise.

2025-06-06  Piotr Trojanek  <trojanek@adacore.com>

	* checks.adb (Insert_Valid_Check): Set flag Assignment_OK in the object
	declaration inserted for the validity checks.

2025-06-05  squirek  <squirek@adacore.com>

	* sem_warn.adb
	(Warn_On_Useless_Assignment): Disable out value "overwritten" warning
	when we are not warning on unread out parameters (e.g. "-gnatw.o").

2025-06-05  Tonu Naks  <naks@adacore.com>

	* libgnat/i-cstrin.adb: null pointer check in Update

2025-06-05  Arnaud Charlet  <charlet@adacore.com>

	* exp_util.adb, rtsfind.adb, rtsfind.ads, sem_prag.adb: Remove
	references to RO_GH_Big_Integer and
	Ada_Numerics_Big_Numbers_Big_Integers_Ghost.
	* libgnat/a-strfix.adb, libgnat/a-strmap.adb,
	libgnat/a-strsea.adb, libgnat/a-strsup.adb,
	libgnat/i-c.ads, libgnat/i-c.adb, libgnat/s-aridou.adb,
	libgnat/s-aridou.ads, libgnat/s-arit128.adb,
	libgnat/s-arit128.ads, libgnat/s-arit32.adb,
	libgnat/s-arit32.ads, libgnat/s-arit64.adb,
	libgnat/s-arit64.ads, libgnat/s-casuti.adb,
	libgnat/s-exnint.ads, libgnat/s-exnlli.ads,
	libgnat/s-exnllli.ads, libgnat/s-expint.ads,
	libgnat/s-explli.ads, libgnat/s-expllli.ads,
	libgnat/s-explllu.ads, libgnat/s-expllu.ads,
	libgnat/s-expmod.adb, libgnat/s-expmod.ads,
	libgnat/s-exponn.adb, libgnat/s-exponn.ads,
	libgnat/s-expont.adb, libgnat/s-expont.ads,
	libgnat/s-exponu.adb, libgnat/s-exponu.ads,
	libgnat/s-imaged.ads, libgnat/s-imaged.adb,
	libgnat/s-expuns.ads, libgnat/s-imagef.ads,
	libgnat/s-imagef.adb, libgnat/s-imagei.adb,
	libgnat/s-imagei.ads, libgnat/s-imageu.adb,
	libgnat/s-imageu.ads, libgnat/s-imgboo.adb,
	libgnat/s-imde128.ads, libgnat/s-imde32.ads,
	libgnat/s-imde64.ads, libgnat/s-imfi128.ads,
	libgnat/s-imfi32.ads, libgnat/s-imfi64.ads,
	libgnat/s-imgboo.ads, libgnat/s-imgint.ads,
	libgnat/s-imglli.ads, libgnat/s-imgllli.ads,
	libgnat/s-imglllu.ads, libgnat/s-imgllu.ads,
	libgnat/s-imguns.ads, libgnat/s-valboo.adb,
	libgnat/s-valboo.ads, libgnat/s-valint.ads,
	libgnat/s-vallli.ads, libgnat/s-valllli.ads,
	libgnat/s-vallllu.ads, libgnat/s-valllu.ads,
	libgnat/s-valuns.ads, libgnat/s-valuti.adb,
	libgnat/s-valuti.ads, libgnat/s-valuei.adb,
	libgnat/s-valuei.ads, libgnat/s-valueu.ads,
	libgnat/s-valueu.adb, libgnat/s-veboop.adb,
	libgnat/s-veboop.ads, libgnat/s-widint.ads,
	libgnat/s-widlli.ads, libgnat/s-widllli.ads,
	libgnat/s-widlllu.ads, libgnat/s-widllu.ads,
	libgnat/s-widthi.adb, libgnat/s-widthu.adb,
	libgnat/s-widthu.ads, libgnat/s-widuns.ads: Remove ghost code
	and SPARK annotations.
	* libgnat/a-nbnbig.ads, libgnat/a-nbnbig.adb,
	libgnat/s-spark.ads, libgnat/s-spcuop.adb,
	libgnat/s-spcuop.ads, libgnat/s-vaispe.adb,
	libgnat/s-vaispe.ads, libgnat/s-vauspe.adb,
	libgnat/s-vauspe.ads, libgnat/s-vs_int.ads,
	libgnat/s-vs_lli.ads, libgnat/s-vs_llu.ads,
	libgnat/s-vs_uns.ads, libgnat/s-valspe.adb,
	libgnat/s-valspe.ads, libgnat/s-vsllli.ads,
	libgnat/s-vslllu.ads: Removed.
	* Makefile.rtl: Update list of runtime units.
	* gcc-interface/Make-lang.in: Remove object files.

2025-06-05  Ronan Desplanques  <desplanques@adacore.com>

	* fname-uf.adb: Fix documentation comment.
	(Get_Default_File_Name): Fix indices of default patterns.

2025-06-05  Ronan Desplanques  <desplanques@adacore.com>

	* atree.ads (New_Copy, Relocate_Node): Tweak documentation comments.

2025-06-05  Andres Toom  <toom@adacore.com>

	* libgnat/a-nudira.ads: Activate SPARK mode and add missing
	basic contracts. Mark the unit as always terminating.
	* libgnat/a-nuflra.ads: Idem.

2025-06-05  Javier Miranda  <miranda@adacore.com>

	* exp_ch7.adb (Process_Object_Declaration): Avoid generating
	duplicate names for master nodes.

2025-06-05  Ronan Desplanques  <desplanques@adacore.com>

	* opt.ads: Remove useless variable.
	* sem_ch9.adb (Analyze_Abort_Statement, Analyze_Accept_Alternative,
	Analyze_Accept_Statement, Analyze_Asynchronous_Select,
	Analyze_Conditional_Entry_Call, Analyze_Delay_Alternative,
	Analyze_Delay_Relative, Analyze_Delay_Until, Analyze_Entry_Body,
	Analyze_Entry_Body_Formal_Part, Analyze_Entry_Call_Alternative,
	Analyze_Entry_Declaration, Analyze_Entry_Index_Specification,
	Analyze_Protected_Body, Analyze_Protected_Definition,
	Analyze_Protected_Type_Declaration, Analyze_Requeue,
	Analyze_Selective_Accept, Analyze_Single_Protected_Declaration,
	Analyze_Single_Task_Declaration, Analyze_Task_Body,
	Analyze_Task_Definition, Analyze_Task_Type_Declaration,
	Analyze_Terminate_Alternative, Analyze_Timed_Entry_Call,
	Analyze_Triggering_Alternative): Remove useless assignments.

2025-06-05  Steve Baird  <baird@adacore.com>

	* sem_util.adb
	(Side_Effect_Free_Statements): Return False if the statement list
	includes an explicit (i.e. Comes_From_Source) raise statement.

2025-06-05  Javier Miranda  <miranda@adacore.com>

	* sem_ch6.adb (Analyze_Expression_Function): Add missing check
	on premature use of incomplete type.

2025-06-05  Aleksandra Pasek  <pasek@adacore.com>

	* libgnat/s-arit32.adb: Add Ghost aspect to Lo.

2025-06-05  Ronan Desplanques  <desplanques@adacore.com>

	* exp_ch4.adb (Tagged_Membership): Fix for protected types.

2025-06-05  Bob Duff  <duff@adacore.com>

	* sem_eval.adb (Fold_Shift): If the Amount parameter is greater
	than the size in bits, use the size. For example, if we are
	shifting an Unsigned_8 value, then Amount => 1_000_001 gives the
	same result as Amount => 8. This change avoids computing the value
	of 2**1_000_000, which takes too long and uses too much memory.
	Note that the computation we're talking about is a compile-time
	computation. Minor cleanup. DRY.
	* sem_eval.ads (Fold_Str, Fold_Uint, Fold_Ureal): Fold the
	comments into one comment, because DRY. Remove useless
	verbiage.

2025-06-05  Ronan Desplanques  <desplanques@adacore.com>

	* exp_attr.adb (Interunit_Ref_OK): Tweak categorization of compilation
	units.

2025-06-05  Aleksandra Pasek  <pasek@adacore.com>

	* libgnat/s-aridou.adb: Add missing Ghost aspect to
	Lemma_Not_In_Range_Big2xx64.

2025-06-05  Ronan Desplanques  <desplanques@adacore.com>

	* libgnat/s-trasym__dwarf.adb (Init_Module): Add mitigation.

2025-06-05  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_aggr.adb (Build_Two_Pass_Aggr_Code): New function containing
	most of the code initially present in Two_Pass_Aggregate_Expansion.
	(Two_Pass_Aggregate_Expansion): Remove redundant N parameter.
	Implement built-in-place expansion for (static) object declarations
	and allocators, using Build_Two_Pass_Aggr_Code for the main work.
	(Expand_Array_Aggregate): Adjust Two_Pass_Aggregate_Expansion call.
	Replace Etype (N) by Typ in a couple of places.
	* exp_ch3.adb (Expand_Freeze_Array_Type): Remove special case for
	two-pass array aggregates.
	(Expand_N_Object_Declaration): Do not adjust the object when it is
	initialized by a two-pass array aggregate.
	* exp_ch4.adb (Expand_Allocator_Expression): Apply the processing
	used for container aggregates to two-pass array aggregates.
	* exp_ch6.adb (Validate_Subprogram_Calls): Skip calls present in
	initialization expressions of N_Object_Declaration nodes that have
	No_Initialization set.
	* sem_ch3.adb (Analyze_Object_Declaration): Detect the cases of an
	array originally initialized by an aggregate consistently.

2025-06-05  Johannes Kliemann  <kliemann@adacore.com>

	* libgnat/s-arit32.adb (Lemma_Not_In_Range_Big2xx32): Add missing
	Ghost aspect.

2025-06-05  Ronan Desplanques  <desplanques@adacore.com>

	* generate_minimal_reproducer.adb (Generate_Minimal_Reproducer): Fix
	handling of preprocessing dependencies.

2025-06-05  Viljar Indus  <indus@adacore.com>

	* doc/gnat_rm/implementation_defined_attributes.rst: Update the
	documentation for Valid_Value.
	* sem_attr.adb (Analyze_Attribute): Reject types where
	the root type originates from Standard.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-06-05  Gary Dismukes  <dismukes@adacore.com>

	* exp_aggr.adb (Two_Pass_Aggregate_Expansion): Change call to Make_Assignment
	for the indexed aggregate object to call Change_Make_OK_Assignment instead.

2025-06-05  Steve Baird  <baird@adacore.com>

	* sem_prag.adb
	(Analyze_Constituent): In the specific case case of a defined-too-late
	abstract state constituent, generate an additional error message.

2025-06-05  Viljar Indus  <indus@adacore.com>

	* diagnostics-sarif_emitter.adb (Print_Invocations): fix
	commandLine and executionSuccessful nodes.
	Fix typo in the name for startLine.
	* osint.adb (Modified Get_Current_Dir) Fix generation of
	the current directory.
	(Relative_Path): Avoid relative paths starting with a
	path separator.
	* osint.ads: Update the documentation for Relative_Path.

2025-06-05  Ronan Desplanques  <desplanques@adacore.com>

	* libgnat/i-cstrin.adb (New_String): Fix size of allocation.

2025-06-05  squirek  <squirek@adacore.com>

	* sem_ch8.adb (Analyze_Package_Name): Add code to expand use
	clauses such that they have an implicit with associated with them
	when extensions are enabled.
	* sem_ch10.ads (Analyze_With_Clause): New.
	* sem_ch10.adb (Analyze_With_Clause): Add comes from source check
	for warning.
	(Expand_With_Clause): Moved to the spec.
	* sem_util.adb, sem_util.ads
	(Is_In_Context_Clause): Moved from sem_prag.
	* sem_prag.adb (Analyze_Pragma): Update calls to
	Is_In_Context_Clause.
	(Is_In_Context_Clause): Moved to sem_util.

2025-06-05  Piotr Trojanek  <trojanek@adacore.com>

	* doc/gnat_ugn/platform_specific_information.rst
	(Setting Stack Size from gnatlink): Improve documentation.
	* gnat-style.texi: Regenerate.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

2025-06-05  squirek  <squirek@adacore.com>

	* accessibility.adb (Check_Return_Construct_Accessibility):
	Disable check generation when we are only checking semantics.
	* opt.ads: Add new flag for -gnatc mode
	* switch-c.adb (Scan_Front_End_Switches): Set flag for -gnatc mode

2025-06-05  Viljar Indus  <indus@adacore.com>

	* sem_ch8.adb (Mark_Use_Type): Additionally mark the types
	of the parameters and return values as used when analyzing an
	operator.

2025-06-05  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch9.adb (Build_Dispatching_Requeue): Take 'Tag of the
	concurrent object instead of doing an unchecked conversion.
	* exp_pakd.adb (Expand_Packed_Address_Reference): Perform address
	arithmetic using an operator of System.Storage_Elements.

2025-06-05  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch6.adb (Expand_Actuals): Remove obsolete comment.
	(Make_Build_In_Place_Call_In_Anonymous_Context): Always use a proper
	object declaration initialized with the function call in the cases
	where a temporary is needed, with Assignment_OK set on it.
	* sem_util.adb (Entity_Of): Deal with rewritten function call first.

2025-06-05  Ronan Desplanques  <desplanques@adacore.com>

	* libgnat/i-cstrin.adb (Position_Of_Nul): Change specification and
	adjust body accordingly.
	(New_Char_Array): Fix size of allocation.
	(To_Chars_Ptr): Adapt to Position_Of_Nul change.

2025-06-05  Ronan Desplanques  <desplanques@adacore.com>

	* generate_minimal_reproducer.adb (Generate_Minimal_Reproducer): Fix
	oracle generation.

2025-06-05  Ronan Desplanques  <desplanques@adacore.com>

	* generate_minimal_reproducer.adb (Generate_Minimal_Reproducer):
	Fix when main library item is an instantiation.

2025-06-05  Steve Baird  <baird@adacore.com>

	* exp_attr.adb (Expand_N_Attribute_Reference): When accessing the
	maps declared in package Cached_Attribute_Ops, the key value
	passed to Get or to Set should never be the entity node for a
	subtype. Use the entity of the corresponding type declaration
	instead.

2025-06-05  Viljar Indus  <indus@adacore.com>

	* sem_res.adb (Resolve_Declare_Expression): Mark used
	local variables inside a declare expression as referenced.

2025-06-05  Javier Miranda  <miranda@adacore.com>

	* sem.ads: Update reference to renamed subprogram in documentation.
	* sem_ch3.ads (Preanalyze_Assert_Expression): Renamed.
	(Preanalyze_Spec_Expression): Renamed.
	* sem_ch3.adb (Preanalyze_Assert_Expression): Renamed and code cleanup.
	(Preanalyze_Spec_Expression): Renamed.
	(Preanalyze_Default_Expression): Renamed.
	* contracts.adb: Update calls to renamed subprograms.
	* exp_pakd.adb: Ditto.
	* exp_util.adb: Ditto.
	* freeze.adb: Ditto.
	* sem_ch12.adb: Ditto.
	* sem_ch13.adb: Ditto.
	* sem_ch6.adb: Ditto.
	* sem_prag.adb: Ditto.
	* sem_res.adb (Preanalyze_And_Resolve): Add to the version without
	context type the special handling for GNATprove mode provided by
	the version with context type; required to cleanup the body of
	Preanalyze_Assert_Expression.

2025-06-05  squirek  <squirek@adacore.com>

	* accessibility.adb
	(Check_Return_Construct_Accessibility): Disable check generation
	when we are only checking semantics.

2025-06-05  Viljar Indus  <indus@adacore.com>

	* diagnostics-json_utils.adb: Add new method To_File_Uri to
	convert any path to the URI standard.
	* diagnostics-json_utils.ads: Likewise.
	* diagnostics-sarif_emitter.adb: Converted Artifact_Change
	types to use the Source_File_Index instead of the file name
	to store the source file.
	Removed the body from Destroy (Elem : in out Artifact_Change)
	since it no longer contained elements with dynamic memory.
	Updated the implementation of Equals (L, R : Artifact_Change)
	to take into account the changes for Artifact_Change.
	Print_Artifact_Location: Use the Source_File_Index as an
	input argument. Now prints the uriBaseId attribute and a
	relative path from the uriBaseId to the file in question as
	the value of the uri attribute.
	New method Print_Original_Uri_Base_Ids to print the
	originalUriBaseIds node.
	Print_Run no prints the originalUriBaseIds node.
	Use constants instead of strings for all the SARIF attributes.
	* osint.adb: Add new method Relative_Path to calculate the
	relative path from a base directory.
	Add new method Root to calculate the root of each directory.
	Add new method Get_Current_Dir to get the current working
	directory for the execution environment.
	* osint.ads: Likewise.
	* clean.adb: Use full names for calls to Get_Current_Dir.
	* gnatls.adb: Likewise.

2025-06-05  Steve Baird  <baird@adacore.com>

	* sem_res.adb
	(Set_Mixed_Mode_Operand): If we are about to call Resolve
	passing in Any_Fixed as the expected type, then instead pass in
	the fixed point type of the other operand (i.e., B_Typ).

2025-06-05  Gary Dismukes  <dismukes@adacore.com>

	* sem_util.adb (Check_Function_Writable_Actuals): Add handling for
	N_Iterated_Component_Association and N_Iterated_Element_Association.
	Fix a typo in an RM reference (6.4.1(20/3) => 6.4.1(6.20/3)).
	(Collect_Expression_Ids): New procedure factoring code for collecting
	identifiers from expressions of aggregate associations.
	(Handle_Association_Choices): New procedure factoring code for handling
	id collection for expressions of aggregate associations with multiple
	choices. Removed redundant test of Box_Present from original code.

2025-05-24  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/Make-lang.in (ACATSDIR): Use acats-2 directory.

2025-05-13  Nicolas Boulenguez  <nicolas@debian.org>

	PR ada/87778
	* Make-generated.in: Remove -q gnatmake option.
	* gcc-interface/Makefile.in: Likewise.

2025-05-05  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/120104
	* exp_ch3.adb (Expand_Freeze_Record_Type): For a controlled tagged
	type, freeze only the controlled primitives that are present.

2025-04-30  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/112958
	* Makefile.rtl (LIBGNAT_TARGET_PAIRS) [x86 FreeBSD]: Add specific
	version of s-dorepr.adb.
	* libgnat/s-dorepr__freebsd.adb: New file.

2025-04-30  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/112958
	* init.c (__gnat_error_handler) [__FreeBSD__]: Fix typo.

2025-04-27  H.J. Lu  <hjl.tools@gmail.com>

	PR middle-end/112877
	* gcc-interface/utils.cc (create_param_decl): Remove the
	targetm.calls.promote_prototypes call.

2025-04-17  Jakub Jelinek  <jakub@redhat.com>

	* gnatvsn.ads: Bump Library_Version to 16.

2025-04-12  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/119643
	* sem_ch8.adb (Inherit_Renamed_Profile): Add guard against the
	peculiarities of Natural and Positive.

2025-04-07  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/utils.cc (convert) <POINTER_TYPE>: Use fold_convert
	to convert between thin pointers.  If the source is a thin pointer
	with zero offset from the base and the target is a pointer to its
	array, displace the pointer after converting it.
	* gcc-interface/utils2.cc (build_unary_op) <ATTR_ADDR_EXPR>: Use
	fold_convert to convert the address before displacing it.

2025-04-04  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/a-ngcoar.adb (Eigensystem): Adjust notation and fix the
	layout of the real symmetric matrix in the main comment.  Adjust
	the layout of the associated code accordingly and correctly turn
	the 2Nx1 real vectors into Nx1 complex ones.
	(Eigenvalues): Minor similar tweaks.
	* libgnat/a-ngrear.adb (Jacobi): Minor tweaks in the main comment.
	Adjust notation and corresponding parameter names of functions.
	Fix call to Unit_Matrix routine.  Adjust the comment describing
	the various kinds of iterations to match the implementation.

2025-03-27  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnarl/s-tasini.adb (Tasking_Runtime_Initialize): Add pragma
	Linker_Constructor for the procedure.

2025-03-25  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/119440
	* gcc-interface/Make-lang.in (GCC_LINK): Filter out -pie in stage 1
	(GCC_LLINK): Likewise.
	* gcc-interface/Makefile.in (COMPILER): Delete and replace by CC.
	(COMPILER_FLAGS): Delete.
	(ALL_COMPILERFLAGS): Delete and replace by ALL_CFLAGS.
	(ALL_ADAFLAGS): Move around.
	(enable_host_pie): New substituted variable.
	(LD_PICFLAG): Likewise.  Do not add it to TOOLS_LIBS.
	(LIBIBERTY): Test enable_host_pie.
	(LIBGNAT): Likewise and use libgnat_pic.a if yes.
	(TOOLS_FLAGS_TO_PASS): Pass $(PICFLAG) under CFLAGS & $(LD_PICFLAG)
	under LDFLAGS.  Also pass through ADA_CFLAGS.
	(common-tools): Add $(ALL_CFLAGS) $(ADA_CFLAGS) to the --GCC string
	of $(GNATLINK) commands.
	(../../gnatdll$(exeext)): Likewise.
	(gnatmake-re): Likewise.
	(gnatlink-re): Likewise.
	(gnatlib-shared-dual): Remove all the object files at the end.

2025-03-19  Eric Botcazou  <ebotcazou@adacore.com>

	* gnatvsn.adb (Gnat_Free_Software): Fix message formatting.

2025-03-19  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/decl.cc (gnat_to_gnu_entity) <E_Record_Subtype>: Set
	the may_alias attribute if a specific GCC type is built.

2025-03-19  Eric Botcazou  <ebotcazou@adacore.com>

	* gen_il-gen-gen_nodes.adb (N_Formal_Package_Declaration): Use
	N_Declaration instead of Node_Kind as ancestor.
	* sem_ch12.adb (Get_Formal_Entity): Remove obsolete alternative.
	(Instantiate_Formal_Package): Take into account the abbreviated
	instances in the main loop running over the actuals of the local
	package created for the formal package.

2025-02-04  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/118731
	* sem_aggr.adb (Resolve_Iterated_Association): Add missing guard.

2025-02-01  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/118712
	* sem_warn.adb (Check_References): Deal with small adjustments of
	references.

2025-01-31  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/utils.cc (gnat_pushdecl): Clear TREE_PUBLIC on
	functions really nested in another function.

2025-01-22  Arsen Arsenović  <arsen@aarsen.me>

	* gcc-interface/lang-specs.h: Replace %{nostdinc*} %{nostdlib*}
	with %{nostdinc} %{nostdlib}.

2025-01-14  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/118459
	* libgnat/s-objrea.ads (Object_Arch): Add S390 and RISCV.
	* libgnat/s-objrea.adb (EM_S390): New named number.
	(EM_RISCV): Likewise.
	(ELF_Ops.Initialize): Deal with EM_S390 and EM_RISCV.
	(Read_Address): Deal with S390 and RISCV.

2025-01-13  Pascal Obry  <obry@adacore.com>

	* doc/gnat_ugn/platform_specific_information.rst: Update.
	* gnat_ugn.texi: Regenerate.

2025-01-13  Javier Miranda  <miranda@adacore.com>

	* sem_ch13.adb (Check_Aspect_At_End_Of_Declarations): Restore calls
	to Preanalyze_Spec_Expression that were replaced by calls to
	Preanalyze_And_Resolve. Add documentation.
	(Check_Aspect_At_Freeze_Point): Ditto.

2025-01-13  Pascal Obry  <obry@adacore.com>

	* mdll.adb: For the created DLL to be relocatable we do not want to use
	the base file name when calling gnatdll.
	* gnatdll.adb: Removes option -d which is not working anymore. And
	when using a truly relocatable DLL the base-address has no real
	meaning. Also reword the usage string for -d as we do not want to
	specify relocatable as gnatdll can be used to create both
	relocatable and non relocatable DLL.

2025-01-13  Piotr Trojanek  <trojanek@adacore.com>

	* libgnat/a-strunb.ads: Remove redundant parentheses inside NOT
	operators.

2025-01-13  Javier Miranda  <miranda@adacore.com>

	* sem_util.adb (Build_Actual_Subtype_Of_Component): No action
	under preanalysis.
	* sem_ch5.adb (Set_Assignment_Type): If the right-hand side contains
	target names, expansion has been disabled to prevent expansion that
	might move target names out of the context of the assignment statement.
	Restore temporarily the current compilation mode so that the actual
	subtype can be built.

2025-01-13  Piotr Trojanek  <trojanek@adacore.com>

	* par-ch4.adb (P_Factor): Warn when the operand of a unary operator
	doesn't require parentheses.

2025-01-13  Piotr Trojanek  <trojanek@adacore.com>

	* libgnat/s-genbig.adb: Remove redundant parentheses in comments.

2025-01-13  Piotr Trojanek  <trojanek@adacore.com>

	* checks.adb, exp_dist.adb, exp_imgv.adb, exp_util.adb,
	libgnarl/a-reatim.adb, libgnat/a-coinve.adb, libgnat/a-nbnbre.adb,
	libgnat/a-ngcoty.adb, libgnat/a-ngelfu.adb, libgnat/a-ngrear.adb,
	libgnat/a-strbou.ads, libgnat/a-strfix.ads, libgnat/a-strsea.adb,
	libgnat/a-strsea.ads, libgnat/a-strsup.ads,
	libgnat/a-strunb__shared.ads, libgnat/g-alleve.adb,
	libgnat/g-spitbo.adb, libgnat/s-aridou.adb, libgnat/s-arit32.adb,
	libgnat/s-dourea.ads, libgnat/s-genbig.adb, libgnat/s-imager.adb,
	libgnat/s-statxd.adb, libgnat/s-widthi.adb, sem_attr.adb, sem_ch10.adb,
	sem_ch3.adb, sem_ch6.adb, sem_ch7.adb, sem_dim.adb, sem_prag.adb,
	sem_res.adb, uintp.adb: Remove redundant parentheses inside NOT and ABS
	operators.

2025-01-13  Piotr Trojanek  <trojanek@adacore.com>

	* par-ch3.adb (P_Discrete_Range): Detect redundant parentheses in the
	lower bound like in the upper bound.

2025-01-13  Gary Dismukes  <dismukes@adacore.com>

	* sem_aggr.adb (Resolve_Aggregate): Add another condition to prevent rewriting
	an aggregate whose type is an array of characters, testing for the presence of
	predicates on the component type.

2025-01-13  Piotr Trojanek  <trojanek@adacore.com>

	* exp_ch4.adb: (Expand_N_Not_In): Preserve Alternatives in expanded
	membership operator just like preserving Right_Opnd (though only
	one of these fields is present at a time).
	* par-ch4.adb (P_Membership_Test): Remove redundant setting of fields
	to their default values.

2025-01-13  Piotr Trojanek  <trojanek@adacore.com>

	* par-ch3.adb (P_Discrete_Range): Replace N_Subexpr, which was catching
	all subexpressions, with kinds that catch nodes that require
	parentheses to become "simple expressions".

2025-01-13  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-valrea.adb (Large_Powfive) [2 parameters]: Add a couple
	of additional comments.

2025-01-13  Piotr Trojanek  <trojanek@adacore.com>

	* par-ch4.adb (P_Relation): Prevent Expr_Form to be overwritten when
	parsing the raise expression itself.
	(P_Simple_Expression): Fix manipulation of Expr_Form.

2025-01-10  squirek  <squirek@adacore.com>

	* accessibility.adb:
	(Innermost_master_Scope_Depth): Add special case for expressions
	within library level subprograms.

2025-01-10  Marc Poulhiès  <poulhies@adacore.com>

	* env.h: Remove last empty line.

2025-01-10  Piotr Trojanek  <trojanek@adacore.com>

	* contracts.adb (Build_Call_Helper_Decl): Tune whitespace.
	* exp_attr.adb (Analyze_Attribute): Set Of_Present while
	creating the node; reorder setting Subtype_Indication to match the
	syntax order.
	* exp_ch3.adb (Build_Equivalent_Aggregate): Likewise for Box_Present
	and Expression properties.
	* sem_ch12.adb (Analyze_Formal_Derived_Type): Set type properties
	when creating the nodes.
	* sem_ch3.adb (Check_Anonymous_Access_Component): Likewise.

2025-01-10  Piotr Trojanek  <trojanek@adacore.com>

	* gen_il-gen-gen_nodes.adb (Gen_Nodes): Change Is_Effective_Use_Clause
	from syntactic to semantic property.

2025-01-10  Piotr Trojanek  <trojanek@adacore.com>

	* exp_ch3.adb (Predef_Spec_Or_Body): Add explicit parameter
	associations, because now the Empty_List actual parameter would be
	confused as being for the Aspect_Specifications formal parameter.
	* gen_il-gen-gen_nodes.adb (Gen_Nodes): Reorder syntactic fields.
	* sem_util.adb (Declare_Indirect_Temp): Add explicit parameter
	association, because now the parameter will be interpreted as a
	subpool handle name.

2025-01-09  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/18765
	* debug.adb (d_q): Document new usage.
	* sem_ch6.adb (New_Overloaded_Entity): Apply the special processing
	to all equality operators whose base result type is Boolean, but do
	not enforce the new Ada 2012 freezing rule if the result type is a
	proper subtype of it and the -gnatd_q switch is specified.

2025-01-09  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/118274
	* sem_ch4.adb (Check_Arithmetic_Pair.Has_Fixed_Op): Use the original
	node of the operator to identify the case of an expanded name whose
	prefix is the package Standard.

2025-01-09  squirek  <squirek@adacore.com>

	* libgnat/a-comutr.adb, libgnat/a-comutr.ads:
	Move the declarations of iterator types into the specification and
	add additional comments.

2025-01-09  Javier Miranda  <miranda@adacore.com>

	* freeze.adb (Freeze_Expr_Types): Reverse patch; that is, restore
	calls to Preanalyze_Spec_Expression instead of Preanalyze_And_Resolve
	for the sake of consistency with Analyze_Expression_Function. Patch
	suggested by Eric Botcazou.
	* exp_put_image.adb (Image_Should_Call_Put_Image): Ensure that
	function Defining_Identifier is called with a proper node to
	avoid internal assertion failure.

2025-01-07  Marc Poulhiès  <poulhies@adacore.com>

	* libgnat/a-calcon.ads: Adjust.
	* libgnat/a-calend.ads: Adjust.

2025-01-07  Alexandre Oliva  <oliva@adacore.com>

	* gcc-interface/Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS):
	Drop g-cpp, g-cppexc and g-cppstd.

2025-01-07  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/trans.cc (Call_to_gnu): Always use the return slot
	optimization if the parent node is an initialization statement.
	(gnat_to_gnu) <N_Assignment_Statement>: Build an INIT_EXPR instead
	of a MODIFY_EXPR if this is an initialization statement.

2025-01-07  Piotr Trojanek  <trojanek@adacore.com>

	* gen_il-fields.ads (Opt_Field_Enum): Remove flag.
	* gen_il-gen-gen_nodes.adb (N_Attribute_Definition_Clause): Remove
	field.
	* sem_ch13.adb (Validate_Address_Clauses): Remove read of the flag.
	* sinfo.ads (Address_Warning_Posted): Remove flag description.

2025-01-07  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_aggr.adb (Packed_Array_Aggregate_Handled): Remove declaration
	and handler for Not_Handled local exception. Check the return value
	of Get_Component_Val instead.
	(Get_Component_Val): Return No_Uint instead of raising Not_Handled.

2025-01-07  Javier Miranda  <miranda@adacore.com>

	* exp_util.adb (Insert_Actions): Document behavior under strict
	preanalysis.
	* sem.ads (In_Strict_Preanalysis): New subprogram.
	(Preanalysis_Active): Replace 'and' operator by 'and then'.
	* sem.adb (In_Strict_Preanalysis): Ditto.
	* sem_attr.adb (Check_Dereference): Replace In_Spec_Expression
	occurrence by call to Preanalysis_Active, and document it.
	(Resolve_Attribute [Atribute_Access]): Ditto.
	(Eval_Attribute): No evaluation under strict preanalysis.
	(Validate_Static_Object_Name): No action under strict preanalysis.
	* sem_ch13.adb (Check_Aspect_At_End_Of_Declarations): Replace
	calls to Preanalyze_Spec_Expression by calls to Preanalyze_And_Resolve.
	(Check_Aspect_At_Freeze_Point): Ditto.
	(Resolve_Aspect_Expressions [Dynamic/Static/Predicate aspects]): Code
	cleanup adjusting the code to emulate Preanalyze_And_Resolve, instead
	of Preanalyze_Spec_Expression.
	(Resolve_Aspect_Expressions [CPU/Interrupt_Priority/Priority/
	Storage_Size aspects]): Replace calls to Preanalyze_Spec_Expression
	by call to Preanalyze_And _Resolve.
	* sem_ch3.adb (Analyze_Object_Declaration): Replace In_Spec_Expression
	occurrence by call to Preanalysis_Active.
	(Find_Type_Of_Object): Add documentation.
	* sem_ch4.adb (Analyze_Case_Expression): Replace In_Spec_Expression
	occurrence by call to Preanalysis_Active.
	* sem_ch6.adb (Analyze_Expression_Function): Minor code reorganization
	moving the code preanalyzing the expression after the new body has
	been inserted in the tree to ensure that its Parent attribute is
	available for preanalysis.
	* sem_cat.adb (Validate_Static_Object_Name): No action under strict
	preanalysis.
	* sem_elab.adb (Check_For_Eliminated_Subprogram): Replace In_Spec_Expression
	occurrence by call to Preanalysis_Active.
	* sem_eval.adb (Eval_Intrinsic_Call [Name_Enclosing_Entity]): Ditto.
	* sem_elim.adb (Check_For_Eliminated_Subprogram): Ditto.
	* sem_res.adb (Resolve_Entity_Name): Ditto.

2025-01-07  Piotr Trojanek  <trojanek@adacore.com>

	* repinfo-input.adb (Decode_Name, Read_Name_With_Prefix): Use constant
	overlay with pragma Import.

2025-01-07  Piotr Trojanek  <trojanek@adacore.com>

	* exp_disp.adb (Write_DT): Add guards that prevent crashes on illegal
	node numbers.

2025-01-07  Piotr Trojanek  <trojanek@adacore.com>

	* diagnostics-pretty_emitter.adb (Get_Last_Line_Char): Fix whitespace.
	* sem_aggr.adb (Resolve_Array_Aggregate): Fix style.

2025-01-07  Piotr Trojanek  <trojanek@adacore.com>

	* sem_util.adb (Is_Null_Record_Definition): Remove check for
	Component_List being present after using it; replace check for
	component item being a component declaration with an assertion;
	fix style in comment.

2025-01-07  Ronan Desplanques  <desplanques@adacore.com>

	* exp_ch11.adb (Expand_N_Handled_Sequence_Of_Statements): Fix abort
	deferral.

2025-01-07  Steve Baird  <baird@adacore.com>

	* gen_il-fields.ads: add new Renames_Limited_View field.
	* gen_il-gen-gen_entities.adb: add Renames_Limited_View flag for
	packages.
	* einfo.ads: add comment documenting Renames_Limited_View flag.
	* sem_ch8.adb (Analyze_Package_Renaming): Set new Renames_Limited_View
	flag. Test new Renames_Limited_View flag instead of calling
	Has_Limited_With. If Has_Limited_With is True, that just means
	that somebody, sometime during this compilation needed to
	reference the limited view of the package; so that function
	returns True too often to be used here.
	(Find_Expanded_Name): Test new Renames_Limited_View flag instead of
	calling Has_Limited_With.

2025-01-07  Piotr Trojanek  <trojanek@adacore.com>

	* contracts.adb (Inherit_Pragma): Don't set flag Is_Inherited_Pragma.
	* gen_il-fields.ads (Opt_Field_Enum): Remove field identifier.
	* gen_il-gen-gen_nodes.adb (N_Pragma): Remove field from node.
	* sinfo.ads (Is_Inherited_Pragma): Remove field description.
	(N_Pragma): Remove field reference.

2025-01-07  Piotr Trojanek  <trojanek@adacore.com>

	* sem_prag.adb (Analyze_Attribute): Replace runtime conversion
	with existing constant.

2025-01-07  Piotr Trojanek  <trojanek@adacore.com>

	* sem_attr.adb (Analyze_Attribute): Simplify logic.

2025-01-07  Piotr Trojanek  <trojanek@adacore.com>

	* exp_attr.adb (Expand_N_Attribute_Reference): Remove explicit
	handling of attributes related to Ada 2012 iterators.
	* sem_attr.adb (Analyze_Attribute, Eval_Attribute): Likewise;
	move attribute Reduce according to alphabetic order.
	* snames.adb-tmpl (Get_Attribute_Id): Add support for new internal
	attributes.
	* snames.ads-tmpl: Recognize names of new internal attributes.
	(Attribute_Id): Recognize new internal attributes.
	(Internal_Attribute_Id): Likewise.
	(Is_Internal_Attribute_Name): Avoid duplication in comment.

2025-01-07  Piotr Trojanek  <trojanek@adacore.com>

	* accessibility.adb (First_Selector): Remove redundant and locally
	inconsistent parenthesis.
	(Check_Return_Construct_Accessibility): Remove qualifier from list
	operation.
	* sem_util.adb (Is_Prim_Of_Abst_Type_With_Nonstatic_CW_Pre_Post):
	Likewise.

2025-01-07  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch7.ads (Store_After_Actions_In_Scope_Without_Analysis): New
	procedure declaration.
	* exp_ch7.adb (Store_New_Actions_In_Scope): New procedure.
	(Store_Actions_In_Scope): Call Store_New_Actions_In_Scope when the
	target list is empty.
	(Store_After_Actions_In_Scope_Without_Analysis): New procedure body.
	* exp_aggr.adb (Expand_Container_Aggregate): For a declaration that
	is wrapped in a transient scope, also defer the analysis of the new
	code until after the declaration is analyzed.

2025-01-07  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-powflt.ads (Maxpow_Exact): Minor comment fix.
	* libgnat/s-powlfl.ads (Maxpow_Exact): Likewise.
	* libgnat/s-powllf.ads (Maxpow_Exact): Likewise.
	* libgnat/s-valrea.adb (Large_Powfive) [1 parameter]: Exit the loop
	as soon as the result saturates to +Inf.
	(Large_Powfive) [2 parameters]: Likewise.

2025-01-07  Alexandre Oliva  <oliva@adacore.com>

	* libgnat/system-vxworks-ppc-rtp-smp.ads: Drop
	--specs=vxworks-ppc-link.spec from Linker_Options.
	* vxworks-smp-ppc-link.spec: Delete.

2025-01-07  Ronan Desplanques  <desplanques@adacore.com>

	* atree.adb (Parent_Or_List_Containing): New function.
	* atree.ads (Parent_Or_List_Containing): Likewise.
	* gen_il-fields.ads: Add new field.
	* gen_il-gen-gen_nodes.adb (Gen_Nodes): Extend handled sequence of
	statements node.
	* par-ch11.adb (P_Handled_Sequence_Of_Statements, P_Exception_Handler):
	Add new syntactic construct.
	* par-ch5.adb (P_Sequence_Of_Statements): Likewise.
	* par.adb: Likewise.
	* par-util.adb (Check_Future_Keyword): Warn that "finally" becomes a
	reserved word with extensions.
	* scans.adb (Initialize_Ada_Keywords): Add new reserved word.
	* snames.adb-tmpl: Likewise.
	* snames.ads-tmpl: Likewise.
	* scans.ads: Likewise.
	* sem_ch11.adb (Analyze_Handled_Statements): Adapt to new node field.
	* sem_ch5.adb (Analyze_Exit_Statement): Add legality check.
	(Analyze_Goto_Statement): Likewise.
	* sem_ch6.adb (Analyze_Return_Statement): Likewise.
	* sinfo-utils.adb (Lowest_Common_Ancestor, Destroy_Element): New
	subprograms.
	* sinfo-utils.ads (Lowest_Common_Ancestor): New function.
	* sinfo.ads: Add documentation for new field.
	* xsnamest.adb: Fix typo in comment.
	* doc/gnat_rm/gnat_language_extensions.rst: Document new extension.
	* warnsw.adb: Add new option.
	* warnsw.ads: Likewise.
	* exp_ch11.adb (Expand_N_Handled_Sequence_Of_Statements): Add abort
	deferral to finally part.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.
	* gcc-interface/trans.cc (Handled_Sequence_Of_Statements_to_gnu):
	Handle finally statements.

2025-01-07  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_aggr.adb (Expand_Array_Aggregate): Do not exclude aggregates
	of bit-packed array types in assignments from in-place expansion.

2025-01-07  Piotr Trojanek  <trojanek@adacore.com>

	* sem_prag.adb (Analyze_Exceptional_Cases_In_Decl_Part): Reject
	references to attribute Result.

2025-01-07  Piotr Trojanek  <trojanek@adacore.com>

	* sem_prag.adb (Analyze_Exceptional_Cases_In_Decl_Part): Move check
	from GNATprove backend to GNAT frontend.

2025-01-07  Piotr Trojanek  <trojanek@adacore.com>

	* sem_prag.adb (Analyze_Exceptional_Contract, Analyze_Variant): Fix
	comments.

2025-01-07  Steve Baird  <baird@adacore.com>

	* exp_put_image.adb (Image_Should_Call_Put_Image): Cope with the case
	where the attribute prefix for an Image attribute reference
	denotes an Itype constructed for a fixed point type. Calling
	Has_Aspect with such an Itype misses applicable aspect
	specifications; we need to look on the right list. This comes up
	if the prefix of the attribute reference is
	Some_Fixed_Point_Type'Base.

2025-01-07  Gary Dismukes  <dismukes@adacore.com>

	* sem_ch12.adb (Analyze_One_Association): In the case of a formal type
	that has a Default_Subtype_Mark that does not have its Entity field set,
	this means the default refers to another formal type of the same generic
	formal part, so locate the matching subtype in the Result_Renamings and
	set Match's Entity to that subtype prior to the call to Instantiate_Type.
	(Validate_Formal_TypeDefault.Reference_Formal): Add test of Entity being
	Present, to prevent blowups on End_Label ids (which don't have Entity set).
	(Validate_Formal_Type_Default.Validate_Derived_Type_Default): Apply
	Base_Type to Formal.
	(Validate_Formal_Type_Default): Guard interface-related semantic checks
	with a test of Is_Tagged_Type.

2025-01-07  Eric Botcazou  <ebotcazou@adacore.com>

	* repinfo.adb (List_GCC_Expression.Print_Expr) <Cond_Expr>: Do not
	output the final "end".

2025-01-07  Johannes Kanig  <kanig@adacore.com>

	* gnat1drv.adb: (SPARK_Library_Warning): preserve Warning_Doc_Switch

2025-01-07  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch4.adb (Expand_Allocator_Expression): Do not build a cleanup
	if restriction No_Exception_Propagation is active.
	* exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Likewise.

2025-01-06  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/118247
	* gcc-interface/Make-lang.in (GNATTOOLS_CROSS_MV): Copy gnatbind
	instead of moving it.

2025-01-06  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_aggr.adb (Two_Pass_Aggregate_Expansion): Use the base type of
	the index type to find the type used to compute the length.

2025-01-06  Eric Botcazou  <ebotcazou@adacore.com>

	* libgnat/s-finpri.ads: Remove clause for Ada.Finalization.
	(Finalization_Collection): Change to limited private type with the
	Finalizable aspect.
	(Initialize): Remove "overriding" keyword.
	(Finalize): Likewise.
	* libgnat/s-finpri.adb (Initialize): Likewise.
	(Finalize): Likewise.

2025-01-06  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/117569
	* sem_ch4.adb (Analyze_Indexed_Component_Form): Do not rewrite the
	node as a type conversion if it is the current instance of a type
	in a generic unit.
	* sem_ch8.adb (Find_Selected_Component): Restrict the special case
	of the current instance of a type to a generic unit.

2025-01-06  Bob Duff  <duff@adacore.com>

	* libgnat/s-imagef.adb (Set_Image_Integer):
	Change "RM A.3.10" to be "RM A.10.9".

2025-01-06  Alexandre Oliva  <oliva@adacore.com>

	* libgnat/g-cppexc.adb (Convert_Caught_Object): Move...
	* libgnat/g-cstyin.adb (Convert_Caught_Object):  ... here.
	Use object call notation.
	(strcmp): New.
	(Char_Arr, CharPtr, Char_Pointer, To_chars_ptr): Drop.  Do not
	import Interfaces.C.Pointers.
	(To_Pointer): Convert from System.Address.
	(Name_Starts_With_Asterisk): Rename local variable.
	(Name_Past_Asterisk): Rewrite with System.Address and strcmp.
	Import System.Storage_Elements.
	(Equals): Use strcmp.
	(Before): Fix logic error.  Use strcmp.
	(Name): Move conversion to String...
	* libgnat/g-cppstd.adb (Name): ... here.  Import
	Interfaces.C.Strings.
	* libgnat/g-cppstd.ads (Type_Info_Ptr): Disable heap
	finalization.
	* libgnat/g-cstyin.ads (Name): Change return type.

2025-01-06  Claire Dross  <dross@adacore.com>

	* aspects.ads: Add aspect Aspect_Exit_Cases.
	* contracts.adb (Analyze_Entry_Or_Subprogram_Contract): Handle Exit_Cases.
	(Expand_Subprogram_Contract): Idem.
	* einfo-utils.adb (Get_Pragma): Allow Pragma_Exit_Cases.
	* einfo-utils.ads (Get_Pragma): Idem.
	* exp_prag.adb (Expand_Pragma_Exit_Cases): Ignore the pragma, currently we don't expand it.
	* exp_prag.ads (Expand_Pragma_Exit_Cases): Idem.
	* inline.adb (Remove_Aspects_And_Pragmas): Add Exit_Cases to the list.
	(Remove_Items): Idem.
	* par-prag.adb (Last_Arg_Is_Reason): Idem.
	* sem_ch12.adb: Idem.
	* sem_ch13.adb: Idem.
	* sem_util.adb: Idem.
	* sem_util.ads: Idem.
	* sinfo.ads: Idem.
	* snames.ads-tmpl: Add names Name_Exit_Cases, Name_Exception_Raised, and Name_Normal_Return
	as well as pragma Pragma_Exit_Cases.
	* sem_prag.adb (Analyze_Exit_Cases_In_Decl_Part): Make sure that a
	pragma or aspect Exit_Cases is well formed.
	(Analyze_Pragma): Make sure that a pragma or aspect Exit_Cases is at the right place.
	* sem_prag.ads (Analyze_Exit_Cases_In_Decl_Part): Declaration.
	* doc/gnat_rm/implementation_defined_pragmas.rst: Document the Exit_Cases pragma.
	* doc/gnat_rm/implementation_defined_aspects.rst: Document the Exit_Cases aspect.
	* gnat_rm.texi: Regenerate.

2025-01-06  Bob Duff  <duff@adacore.com>

	* sem_util.adb (Copy_Subprogram_Spec): When copying
	an N_Defining_Operator_Symbol, create an
	N_Defining_Operator_Symbol rather than an N_Defining_Identifier.
	This will cause Lib.Xref to "skip the initial quote for
	navigation purposes" (as per comments in Lib.Xref body).

2025-01-06  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_aggr.adb (Case_Table_Type): Fix reference in comment.
	(In_Place_Assign_OK): Move declaration around.
	(Is_Build_In_Place_Aggregate_Return): Likewise and adjust.
	(Expand_Array_Aggregate): Streamline for the sake of consistency.
	(Aggr_Assignment_OK_For_Backend): Remove reference to Gigi/gcc.
	(Backend_Processing_Possible): Likewise.
	(Expand_Array_Aggregate): Add comment.

2025-01-06  Bob Duff  <duff@adacore.com>

	* sinfo.ads (Shift_Count_OK): Update comments.
	(Is_Power_Of_2_For_Shift): Likewise.

2025-01-06  Eric Botcazou  <ebotcazou@adacore.com>

	* debug.adb (dQ): Document usage.
	* exp_ch4.ads (Build_Cleanup_For_Allocator): New declaration.
	* exp_ch4.adb (Build_Cleanup_For_Allocator): New procedure.
	(Expand_Allocator_Expression): Build a cleanup to deallocate the
	memory when the evaluation of the expression raises an exception.
	* exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Likewise.
	* exp_util.adb (Build_Allocate_Deallocate_Proc): Do not generate the
	detachment if the deallocation is for the cleanup of an allocator.
	* gen_il-fields.ads (Opt_Field_Enum): Add For_Allocator.
	* gen_il-gen-gen_nodes.adb (N_Free_Statement): Likewise.
	* sinfo.ads (For_Allocator): Document usage on N_Free_Statement.

2025-01-06  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/117956
	* sem_util.adb (Is_Known_On_Entry): Be prepared for constants coming
	from a renaming declaration.

2025-01-06  Tonu Naks  <naks@adacore.com>

	* adaint.c (__gnat_locate_exec_on_path): modify function signature

2025-01-06  Piotr Trojanek  <trojanek@adacore.com>

	* sem_prag.adb (Resolve_State): Continue ordinary processing.

2025-01-06  Javier Miranda  <miranda@adacore.com>

	* sem_ch4.adb (Try_Object_Operation): if no candidate interpretation
	matches the context, redo the same analysis with Report_Error True
	to report the error.

2025-01-06  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch5.adb (Expand_Assign_Array): Bail out for controlled
	components if the RHS is a function call and the assignment has
	the No_Ctrl_Actions flag set.

2025-01-06  Viljar Indus  <indus@adacore.com>

	* diagnostics-json_utils.adb: Add new method
	Write_Boolean_Attribute.
	* diagnostics-json_utils.ads: Likewise.
	* diagnostics-sarif_emitter.adb (Print_Invocations): print
	the executionSuccesful property value without extra quotes.

2025-01-06  Viljar Indus  <indus@adacore.com>

	* diagnostics-sarif_emitter.adb (Print_Rule): Remove printing
	of the level attribute since it does not match the SARIF schema.

2025-01-06  Piotr Trojanek  <trojanek@adacore.com>

	* gen_il-gen.adb (Put_Tables): Add "not null" to the generated code.
	* rtsfind.adb (Cstring_Ptr): Same for table with predefined RE_Id
	error messages.
	* impunit.adb (Aunit_Record): Same for array of alternative unit names.

2025-01-06  Piotr Trojanek  <trojanek@adacore.com>

	* opt.ads (Ada_Version_Runtime): Now a constant, since it cannot
	and should never be modified.

2025-01-06  Bob Duff  <duff@adacore.com>

	* par-ch10.adb (P_Compilation_Unit): Give an error for "is null".
	* sem_ch10.adb (Analyze_Subunit): Remove check for "is null"
	as a subunit.
	* sem_ch6.adb (Analyze_Subprogram_Declaration):
	Remove check for "is null" as a library unit.

2025-01-06  Javier Miranda  <miranda@adacore.com>

	* sem_ch6.adb (Analyze_Expression_Function): Set the parent of
	the new node to be the parent of the original to get the proper
	context, which is needed for complete error reporting and for
	semantic analysis. Patch suggested by Eric Botcazou.

2025-01-06  Alexandre Oliva  <oliva@adacore.com>
	    Olivier Hainque  <hainque@adacore.com>

	* Makefile.rtl (LLVM_BUILD): Define based on LLVM_CONFIG.
	(GNATRTL_NONTASKING_OBJS): Make g-cpp, g-cppstd, and g-cstyin
	conditional on -gcc or -arm EH, and on no LLVM_BUILD.
	* raise-gcc.c (GXX_EH_INTEROP): Define as 0 on gnat-llvm or
	CERT, and 1 otherwise.
	(__gnat_get_cxx_dependent_exception) Omit on !GXX_EH_INTEROP.
	(__gnat_maybe_get_cxx_dependent_exception): Likewise.
	(__gnat_get_cxx_exception_type_info): Likewise.
	(__gnat_obtain_caught_object): Likewise.
	(is_handled_by): Omit eid parameter and G++ interop on
	!GXX_EH_INTEROP.  Adjust callers.

2025-01-06  Eric Botcazou  <ebotcazou@adacore.com>

	* einfo.ads (Returns_By_Ref): Fix description.
	* exp_ch3.adb (Build_Record_Init_Proc.Build_Assignment): Do not
	adjust the component manually (if need be), set No_Finalize_Actions
	instead of No_Ctrl_Actions for this purpose.  Do not adjust when
	the expression is a naked function call.
	* exp_ch5.adb (Make_Tag_Ctrl_Assignment): Document the quirks of
	the function.  Assert that the LHS of the assignment does not have
	side effects and replace calls to Duplicate_Subexpr_No_Checks with
	calls to New_Copy_Tree.  Rename local variable Asn to New_N.
	(Expand_N_Assignment_Statement): In the tagged or controlled record
	case, do remove side effects from both operands on entry.  Remove
	them in the controlled record case, except if the RHS is a function
	call and the assignment has the No_Ctrl_Actions flag set.
	* exp_ch6.adb (Expand_Ctrl_Function_Call): Bail out when the parent
	node is an assignment statement with the No_Ctrl_Actions flag set.
	* sem_util.adb (Statically_Different): Return True for a function
	call that does not return its result by reference.
	* sinfo.ads (No_Ctrl_Actions): Adjust description and add a note for
	the code generator.
	(No_Finalize_Actions): Likewise.

2025-01-06  Bob Duff  <duff@adacore.com>

	* gen_il-gen.adb: Fix too-long line.

2025-01-06  Tonu Naks  <naks@adacore.com>

	* adaint.c: void parameter on non-windows platforms

2025-01-06  Bob Duff  <duff@adacore.com>

	* gen_il-internals.ads: Split Fields field into two fields
	Imm_Fields and Fields.
	* gen_il-gen.adb: Modify the field-inheritance
	algorithm to inherit at each level of the type hierarchy,
	rather than just inheriting into concrete types.
	For example, if C is a concrete type derived from B,
	which is in turn derived from A, we now set the Fields
	of B to include those of A. (We had always set the Fields
	of C to include those of A and B, and we still do that.)
	(Compute_Fields_For_One_Type): Detect cases where a given
	field is declared for all descendants of a given abstract
	type, in which case we should consider declaring it in
	the abstract type, and inheriting it in those descendants.
	(Exception_To_Inheritance_Rule): These are the cases where
	we could inherit, but we don't want to.
	* gen_il-gen-gen_nodes.adb: Move fields up the type hierarchy,
	so they are inherited instead of being defined separately.
	* gen_il-gen-gen_entities.adb: Likewise.

2025-01-06  Viljar Indus  <indus@adacore.com>

	* sem_ch6.adb (Analyze_Subprogram_Body_Helper):
	Exchange_Limited_Views also in Ada 2005.

2025-01-06  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch6.adb (Expand_Call_Helper): Call Ultimate_Alias for the
	detection of calls to subprograms specified for Constant_Indexing.
	* exp_util.adb (Is_Indexed_Container): Likewise.
	(Is_Iterated_Container): Likewise for Default_Iterator.

2025-01-06  Ronan Desplanques  <desplanques@adacore.com>

	* doc/gnat_ugn/building_executable_programs_with_gnat.rst: Fix markup.
	* gnat_ugn.texi: Regenerate.

2025-01-06  Piotr Trojanek  <trojanek@adacore.com>

	* sem_ch13.adb (Validate_Unchecked_Conversions): Remove detection of
	null arrays; remove tests for sizes being present, which are redundant
	after calling Known_Static_RM_Size.

2025-01-06  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/117936
	* doc/gnat_rm/implementation_defined_pragmas.rst
	(Unimplemented_Unit): Adjust the description of the error message.
	* gnat_rm.texi: Regenerate.

2025-01-05  Estevan Castilho (Tevo)  <estevan.cps@gmail.com>

	* libgnarl/s-taprop__dummy.adb: Remove use clause for
	System.Parameters.
	(Unlock): Remove Global_Lock formal parameter.
	(Write_Lock): Likewise.

2025-01-03  Piotr Trojanek  <trojanek@adacore.com>

	* exp_ch3.adb, exp_ch4.adb, exp_disp.adb, inline.adb: Remove explicit
	actual parameter Null_Exclusion_Present equal False.

2025-01-03  Piotr Trojanek  <trojanek@adacore.com>

	* exp_ch3.adb, exp_disp.adb: Remove explicit actual parameter
	Constant_Present equal False; tune comments.

2025-01-03  Piotr Trojanek  <trojanek@adacore.com>

	* exp_ch3.adb, exp_ch9.adb, exp_dist.adb, exp_imgv.adb, exp_util.adb,
	sem_dist.adb: Remove explicit actual parameter Aliased_Present equal
	False; tune comments and whitespace.

2025-01-03  Piotr Trojanek  <trojanek@adacore.com>

	* sem_ch5.adb (Check_Call): Reuse Get_Called_Entity.

2025-01-03  Piotr Trojanek  <trojanek@adacore.com>

	* sem_attr.adb (Check_Array_Type): Remove extra call.
	* sem_util.adb (Static_Boolean): Likewise.

2025-01-03  Piotr Trojanek  <trojanek@adacore.com>

	* exp_aggr.adb (Others_Check): Reuse List_Length; tune whitespace.
	* exp_ch3.adb (Constrain_Array): Remove counting of constraints.
	* exp_disp.adb (Make_DT): Use Elist utility routines; tune whitespace.
	* sem_ch12.adb (Formal_Dimensions): Reuse List_Length.
	(Valid_Default_Attribute): Reuse Number_Formals.
	* sem_prag.adb (Process_Convention): Likewise.
	* sem_util.adb (Normalize_Actuals): Likewise.
	(Check_Function_Writable_Actuals): Reuse List_Length.

2025-01-03  Piotr Trojanek  <trojanek@adacore.com>

	* contracts.adb (Create_Generic_Contract): Remove calls to Present.
	* sem_util.adb (Normalize_Actuals): Likewise.

2025-01-03  Bob Duff  <duff@adacore.com>

	* sem_util.adb (Append_Entity_Name): Do not skip the
	simple name for a compilation unit (which includes
	the case of specless subprogram bodies).

2025-01-03  Tucker Taft  <taft@adacore.com>

	* pprint.adb (Expression_Image): Adjust and improve comments
	to match style recommendations, and change name of subtype
	from Not_Associative to Non_Associative, in response to
	code review.

2025-01-03  Tucker Taft  <taft@adacore.com>

	* pprint.adb (Expression_Image): In local function Expr_Name
	add a No_Parens flag and define a subtype Not_Associative
	to represent the short-circuit operations and And/Or/Xor.
	Insert parentheses to separate the subexpressions when
	different "Not_Associative" operations occur in a
	sequence.

2025-01-03  Eric Botcazou  <ebotcazou@adacore.com>

	* einfo.ads (BIP_Initialization_Call): Adjust description.
	* exp_ch4.adb (Expand_N_Case_Expression): Adjust commentary.
	(Expand_N_If_Expression): Likewise.
	* exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration):
	Set BIP_Initialization_Call unconditionally in the definite case.

2025-01-03  Piotr Trojanek  <trojanek@adacore.com>

	* uintp.adb (N_Digits): Refine return subtype, since this routine
	always returns a positive number of digits.

2025-01-03  Piotr Trojanek  <trojanek@adacore.com>

	* checks.adb (Generate_Index_Checks): Reuse existing utility routine.
	* sem_ch4.adb (Analyze_Indexed_Component_Form): Likewise.
	* sem_prag.adb (Analyze_Pragma): Likewise.

2025-01-03  Piotr Trojanek  <trojanek@adacore.com>

	* exp_dist.adb (Assign_Subprogram_Identifier,
	Reserve_NamingContext_Methods): Simplify.
	* osint.adb (Append_Suffix_To_File_Name, Find_File, Get_Directory,
	Object_File_Name, Strip_Directory): Likewise.

2025-01-03  Piotr Trojanek  <trojanek@adacore.com>

	* sem_res.adb (Resolve_Alocator): Move unrelated code out of a declare
	block.

2025-01-03  Piotr Trojanek  <trojanek@adacore.com>

	* exp_ch3.adb (Search_Access_Discriminant, Search_Current_Instance,
	Search_Internal_Call): Use traversal function instead of traversal
	procedure and remove associated global variables.
	* exp_util.adb (Search_Calls): Likewise.
	* sem_prag.adb (Contains_Loop_Entry): Likewise.
	* sem_util.adb (Mentions_Post_State): Likewise.

2025-01-03  Piotr Trojanek  <trojanek@adacore.com>

	* sem_attr.adb (Eval_Attribute): Fix comment for attribute Image.
	* tbuild.adb (Make_SC): Remove extra whitespace.

2025-01-03  Alexandre Oliva  <oliva@adacore.com>

	* Makefile.rtl (GNATRTL_NONTASKING_OBJS): Add g-cpp, g-cppstd,
	and g-cstyin.
	* doc/gnat_rm/interfacing_to_other_languages.rst (Interfacing to C++):
	Document class-wide matching and new interfaces.
	* exp_prag.adb (Expand_Pragma_Import_Or_Interface): Add class-wide
	exception matching support with 'B' as language identifier.
	* libgnat/a-exexpr.adb (Setup_Current_Excep): Add Id formal.
	(Set_Foreign_Occurrence): Likewise.
	(Propagate_GCC_Exception): Adjust.
	(Set_Exception_Parameter): Likewise.
	(Unhandled_Except_Handler): Likewise.
	* libgnat/g-cpp.ads: New.
	* libgnat/g-cppexc.adb (Raise_Cpp_Exception): Match 'B' lang id.
	(Get_Object_Address): New.
	(Get_Object): Rewrite.
	(Get_Access_To_Object): New.
	(Get_Access_To_Tagged_Object): New.
	(Get_Type_Info): New.
	(Convert_Caught_Object): New.
	* libgnat/g-cppexc.ads (Get_Object_Address): New.
	(Get_Object): Note the Cpp Convention requirement.
	(Get_Access_To_Object): New.
	(Get_Access_To_Tagged_Object): New.
	(Get_Type_Info): New.
	* libgnat/g-cppstd.adb: New.
	* libgnat/g-cppstd.ads: New.
	* libgnat/g-csclex.ads: New, unused.
	* libgnat/g-cstyin.adb: New.
	* libgnat/g-cstyin.ads: New.
	* libgnat/g-excact.adb (Exception_Language): New.
	(Is_Foreign_Exception): Rewrite.
	* libgnat/g-excact.ads (Exception_Languages): New.
	(Exception_Language): New.
	* libgnat/s-stalib.ads (Lang): Document 'B'.
	* raise-gcc.c (__gnat_setup_current_excep): Add Exception_Id formal.
	(CXX_DEPENDENT_EXCEPTION_CLASS): New.
	(cxx_type_info): New.
	(__cxa_exception): Rename exceptionType to encompass PrimaryException.
	(_GNAT_Exception): Drop wrapper.
	(EID_For): Adjust.
	(exception_class_eq): Likewise.
	(__gnat_exception_language_is_cplusplus): New.
	(__gnat_exception_language_is_ada): New.
	(__gnat_convert_caught_object): Declare.
	(__gnat_get_cxx_dependent_exception): New.
	(__gnat_maybe_get_cxx_dependent_exception): New.
	(__gnat_get_cxx_exception_type_info): New.
	(__gnat_obtain_caught_object): New.
	(is_handled_by): Adjust.   [!CERT] Add eid formal, handle dependent
	exceptions and base-type matches.
	(get_action_description_for) [!CERT]: Add eid formal.  Adjust.
	(personality_body): Adjust.
	* gcc-interface/Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS) [!STAGE1]:
	Add new g-cpp, g-cppstd, g-cstyin + preexisting g-cppexc
	and i-cstrin.
	* gnat-style.texi: Regenerate.
	* gnat_rm.texi: Regenerate.

2025-01-03  Gary Dismukes  <dismukes@adacore.com>

	* diagnostics-constructors.adb (Make_Default_Iterator_Not_Primitive_Error):
	Revise message to match message change made in sem_ch13.adb.
	* freeze.adb (Freeze_Record_Type): Output appropriate aspect name in
	error message, using Get_Name_String.
	(Freeze_Entity): For derived types, call Analyze_Aspects_At_Freeze_Point
	on the parent type, and call Inherit_Nonoverridable_Aspects on the type
	(for both parent type and any progenitor types). Add with_clause for
	System.Case_Util.
	* gen_il-fields.ads: Add Aspect_Subprograms to type Opt_Field_Enum.
	* gen_il-gen-gen_nodes.adb: Add field Aspect_Subprograms to
	N_Aspect_Specification nodes.
	* sem_ch4.adb (Try_Container_Indexing): Remove Find_Indexing_Operations
	and the code calling it. Add new function Indexing_Interpretations for
	retrieving the eligible indexing functions from the appropriate aspect's
	Aspect_Subprograms list and call that instead of Find_Value_Of_Aspect.
	* sem_ch7.adb (Analyze_Package_Specification): In loop over entities,
	call Analyze_Aspects_At_Freeze_Point for types that have delayed
	aspects.
	* sem_ch13.ads (Analyze_Aspects_At_Freeze_Point): Add Nonoverridable_Only
	formal to restrict processing to nonoverridable aspects.
	(Check_Function_For_Indexing_Aspect): New exported procedure renamed
	from Check_One_Function and moved to library level.
	* sem_ch13.adb (Analyze_Aspects_At_Freeze_Point): Test new formal
	Nonoverridable_Only formal to skip processing of aspects that are not
	nonoverridable when the formal is True. Skip the processing for
	Aspect_Full_Access_Only when Nonoverridable_Only is True. Call
	Check_Indexing_Functions in the case of indexing aspects (procedure
	moved from Analyze_Attribute_Definition_Clause to top level).
	(Analyze_Aspect_Specifications): Locate closest ancestor type with an
	explicit matching aspect to determine the aspect spec to reference in
	the error about a nonoverridable aspect not confirming an inherited
	aspect (skipping intermediate derived parents). Ensures that we retain
	existing errors flagged on explicit ancestor aspects rather than
	implicit inherited ones. Change names of variables Parent_Type and
	Inherited_Aspect to Ancestor_Type and Ancestor_Aspect respectively
	for clarity.
	(Analyze_Attribute_Definition_Clause): Move nested subprograms
	Check_Iterator_Functions and Check_Primitive_Function to top level
	of package. Move Check_Indexing_Functions (and its nested subprograms)
	from here to within Analyze_Aspects_At_Freeze_Point (adding some
	formal parameters and adjusting the code appropriately, and no longer
	call it from this procedure).
	(Is_CW_Or_Access_To_CW): Add test for the parent type having the
	indexing aspect for proper setting of Aspect_Specification_Is_Inherited.
	Delete "???" comment.
	(Look_Through_Anon_Access): Remove unneeded tests of Is_Access_Constant
	and Name_Constant_Indexing, which lead to wrong messages in some cases.
	(Check_Function_For_Indexing_Aspect): Procedure renamed from
	Check_One_Function and moved to library level (was nested within
	Check_Indexing_Functions), plus added formals (including Valid, to
	check result). Move scope test to beginning, to immediately exclude
	subprograms not declared immediately within the same scope as the type.
	Improve several error messages. Add error checking for Constant_Indexing
	functions. Append the function entity to the Aspect_Subprograms list of
	the aspect specification. Move code for checking for nonconfirming
	index aspects and for checking for illegal indexing aspects on full
	views to Check_Indexing_Functions.
	(Check_Indexing_Functions): Move procedure Illegal_Indexing from
	here to within Check_Function_For_Indexing_Aspect. Add a comment
	to the loop over interpretations about the checking being done as
	legality rules rather than resolution rules, plus a note referencing
	AI22-0084. Check for nonconfirming indexing aspects and illegal
	indexing aspects on full views here rather than in Check_One_Function
	(now named Check_Function_For_Indexing_Aspect). Remove function
	Check_One_Function (moved to library level and renamed), and call
	Check_Function_For_Indexing_Aspect instead.
	(Check_Inherited_Indexing): Improve spec comment. Remove nested function
	Same_Chars, and replace call Same_Chars with call to Sem_Util.Same_Name.
	Replace call to Illegal_Indexing with call to Error_Msg_NE.
	(Check_One_Function): Unnested from Check_Indexing_Functions, rename
	to Check_Function_For_Indexing_Aspect, move body to library level,
	and move declaration to Sem_Ch13 spec.
	(Analyze_Attribute_Definition_Clause, case Attribute_Default_Iterator):
	Improve error message related to tagged-type requirement. Suppress call
	to Check_Iterator_Functions for attribute definition clauses associated
	with inherited aspects. Remove error checking that is redundant with
	checking done in Check_Iterator_Functions.
	(Check_Aspect_At_Freeze_Point, case Attribute_Default_Iterator): Call
	Check_Iterator_Functions (only if the aspect is not Comes_From_Source).
	(Check_Iterator_Functions): Procedure unnested from
	Analyze_Attribute_Definition_Clause. Add formals Typ and Expr.
	Error messages corrected to say "aspect Default_Iterator" instead of
	"aspect Iterator".
	(Valid_Default_Iterator): Improve error message to say "must be
	a local primitive or class-wide function" instead of "must be
	a primitive function".
	(Check_Primitive_Function): Unnested from Analyze_Attribute_Definition_Clause.
	Add formal Ent.
	(Rep_Item_Too_Late): Return False when an attribute_definition_clause
	is not Comes_From_Source, since it was generated by the compiler (such
	as for an inherited aspect).
	(Resolve_Aspect_Aggregate): Capture implementation base type.
	(Valid_Empty): Use implementation base types for result type comparison.
	(Valid_Add_Named): Use impl base types for comparison of formal's type.
	(Valid_Add_Unnamed): Use impl base types for comparison of formal's type.
	(Valid_New_Indexed): Use impl base types for result type comparison.
	(Validate_Literal_Aspect): Return immediately when aspect does not have
	Comes_From_Source True (no point in validating inherited aspects).
	* sem_res.adb (Has_Applicable_User_Defined_Literal): Remove Base_Type
	comparison and always call Corresponding_Op_Of_Derived_Type for derived
	types. Add "???" comment about issue with wrapper functions (and
	indicate that it would be nice to eliminate the call to
	Corresponding_Primitive_Op).
	* sem_util.ads (Inherit_Nonoverridable_Aspects): New procedure.
	(Corresponding_Op_Of_Derived_Type): Update spec comment to indicate
	return of Ancestor_Op and name changed from Corresponding_Primitive_Op.
	* sem_util.adb (Check_Inherited_Nonoverridable_Aspects): Fix name in
	header comment.
	(Corresponding_Op_Of_Derived_Type): Move declaration of Typ down with
	other local variables. Remove Assert that doesn't apply in some cases.
	Simply return Ancestor_Op when it isn't a primitive (it can be a
	class-wide op). Function name changed from Corresponding_Primitive_Op.
	(Find_Untagged_Type_Of): Add test of Is_Type (E) as a guard for checking
	Direct_Primitive_Operations. Remove Assert (False), and return Empty
	when the primitive is not found.
	(Profile_Matches_Ancestor): Change comparisons to use implementation
	base types of the operations' formal and result types. Add tests for
	interface ancestors. Revise "???" comment.
	(Is_Confirming): Simplify name-matching test to use the names associated
	with the aspects rather than going to the N_Attribute_Definition_Clause
	nodes (may facilitate elimination of those clauses at some point).
	(Inherit_Nonoverridable_Aspects): New procedure to traverse the
	aspects of a derived type's parent type and create inherited versions
	of the parent type's nonoverridable aspects, identifying the appropriate
	subprograms for each such inherited aspect.
	(Inherit_Nonoverridable_Aspect): New procedure nested in
	Inherit_Nonoverridable_Aspects to inherit individual nonoverridable
	aspects. Identifies the corresponding subprogram(s) associated with
	an inherited nonoverridable aspect. In the case of indexing aspects,
	new eligible indexing functions of the type are also identified here,
	and the entities of all of the identified subprograms are appended to
	the aspect's Aspect_Subprograms Elist. Add a "???" comment about this.
	* sinfo.ads: Add documentation for the new Aspect_Subprograms field.

2025-01-03  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch4.adb (Insert_Conditional_Object_Declaration): Create the
	Master_Node even if the declaration is turned into a renaming.

2025-01-03  Piotr Trojanek  <trojanek@adacore.com>

	* sem_ch3.adb (Array_Type_Declaration): Don't copy parent for an itype
	created by an array component declaration.

2025-01-03  Douglas B Rupp  <rupp@adacore.com>

	* socket.c [__vxworks]: Change vxw_h_addr type to long from
	int, and cast the conversion of char* to vxw_h_addr to avoid
	warning/error.

2025-01-03  Tonu Naks  <naks@adacore.com>

	* adaint.c: change default behaviour of __gnat_locate_exec_on_path
	* adaint.h: change prototype of __gnat_locate_exec_on_path
	* libgnat/s-os_lib.adb: pass optional argument in Locate_Exec_On_Path
	* libgnat/s-os_lib.ads: change spec of Locate_Exec_On_Path
	* libgnat/s-trasym__dwarf.adb: update import of __gnat_locate_exec_on_path

2025-01-03  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_ch4.adb (Expand_Allocator_Expression): Put back the call to
	Remove_Side_Effects in the case of a function call, a class-wide
	designated type and a regular storage pool.

2025-01-03  Bob Duff  <duff@adacore.com>

	* sem_ch6.adb (Analyze_Expression_Function): Mark the implicit
	spec for an expression function as Comes_From_Source.
	(Analyze_Null_Procedure): Minor cleanup.
	* sem_warn.adb (Source_E1): New function to compute whether
	to give warnings. In particular, return True for [in] out
	parameters of expression functions.

2025-01-03  Steve Baird  <baird@adacore.com>

	* exp_aggr.adb (Check_Bounds): Remove calls that were setting the
	Analyzed flag to False for two aggregate bound expressions.

2025-01-03  Eric Botcazou  <ebotcazou@adacore.com>

	* einfo.ads (Is_Independent): Document usage on Master_Node objects.
	* exp_aggr.adb (In_Place_Assign_OK): Remove Parent_Kind variable.
	(Convert_To_Assignments): Call Unconditional_Parent and remove the
	restriction on the known size for the in-place expansion of the
	aggregate in the context of an object declaration.
	(Expand_Array_Aggregate): Remove Parent_Kind variable and call
	Unconditional_Parent and Delay_Conditional_Expressions_Between
	* exp_ch3.adb: Remove clauses for Exp_Dbug.
	(Expand_N_Object_Declaration): Factor out the code rewriting the
	declaration as a renaming in Rewrite_Object_Declaration_As_Renaming
	and call the procedure.
	* exp_ch4.adb (Insert_Conditional_Object_Declaration): Declare.
	(Expand_N_Case_Expression): Delay expanding the expression if it is
	in the context of an optimizable object declaration.  If the parent
	node is this object declaration, then replace it with a renaming of
	the dereference of an access value designating an object initialized
	with the dependent expression chosen by the condition.
	(Expand_N_If_Expression): Likewise.
	(Insert_Conditional_Object_Declaration): New procedure.
	* exp_ch6.adb (Expand_Ctrl_Function_Call): Test the unconditional
	parent in the case of an object declaration too.
	* exp_ch7.adb (Build_Finalizer.Process_Declarations): Pass Strict to
	Processing_Actions from the Is_Independent flag on a Master_Node.
	* exp_util.ads (Rewrite_Object_Declaration_As_Renaming): Declare.
	* exp_util.adb: Add clauses for Exp_Dbug.
	(Rewrite_Object_Declaration_As_Renaming): New procedure extracted
	from Expand_N_Object_Declaration.
	* sem_ch3.adb (Analyze_Object_Declaration): Also leave the analysis
	if the declaration has been replaced with a renaming in the case of
	an initialization expression that is a conditional expression.

2025-01-03  Eric Botcazou  <ebotcazou@adacore.com>

	* checks.adb (Apply_Predicate_Check): Preserve Comes_From_Source.
	* exp_ch4.adb (Expand_Allocator_Expression): Factor out common code
	for the various cases.  Also delay applying the 2nd predicate check.
	In the default case, defer to Make_Build_In_Place_Call_In_Allocator
	entirely in the build-in-place case.
	* sem_ch4.adb (Analyze_Allocator): Do not give the warning or error
	for a default-initialized allocator with No_Initialization.

2025-01-03  Ronan Desplanques  <desplanques@adacore.com>

	* lib-writ.adb (Write_ALI): Remove useless space.

2025-01-03  Ronan Desplanques  <desplanques@adacore.com>

	* lib-writ.adb (Write_ALI): Remove condition for writing P line
	parameters.
	* lib-writ.ads: Fix typos. Clarify comment.

2025-01-02  Jakub Jelinek  <jakub@redhat.com>

	* gnat_ugn.texi: Bump @copying's copyright year.
	* gnat_rm.texi: Likewise.


Copyright (C) 2025 Free Software Foundation, Inc.

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