1 2003-04-28 Zack Weinberg <zack@codesourcery.com>
3 * utils.c (convert): No need to clear TREE_CST_RTL.
5 2003-04-23 Geert Bosch <bosch@gnat.com>
7 * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
8 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
9 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
10 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
11 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
12 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
13 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
14 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
15 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
16 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
17 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
18 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
19 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
20 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
21 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
22 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
23 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
24 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
25 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
26 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
27 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
28 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
29 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
30 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
31 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
32 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
33 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
34 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
35 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
36 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
37 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
38 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
39 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
40 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
41 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
42 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
43 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
44 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
45 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
46 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
47 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
48 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
49 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
50 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
51 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
52 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
53 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
54 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
55 a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
56 a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
57 a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
58 a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
59 a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
60 a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
61 a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
62 a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
63 a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
64 a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
65 a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
66 a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
67 a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
68 a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
69 a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
70 a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
71 a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
72 a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
73 a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
74 a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
75 a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
76 a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
77 a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
78 a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
79 a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
80 a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
81 a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
82 a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
83 a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
84 a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
85 a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
86 a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
87 a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
88 a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
89 a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
90 a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
91 a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
92 a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
93 a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
94 a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
95 a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
96 a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
97 a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
98 a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
99 a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
100 a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
101 a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
102 a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
103 a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
104 a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
105 a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
106 a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
107 a-wttest.ads, ada-tree.h, ada.ads, ada.h,
108 adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
109 ali.adb, ali.ads, alloc.ads, argv.c,
110 atree.adb, atree.ads, atree.h, aux-io.c,
111 back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
112 binde.adb, binde.ads, binderr.adb, binderr.ads,
113 bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
114 butil.adb, butil.ads, cal.c, calendar.ads,
115 casing.adb, casing.ads, ceinfo.adb, checks.adb,
116 checks.ads, cio.c, comperr.adb, comperr.ads,
117 config-lang.in, csets.adb, csets.ads, csinfo.adb,
118 cstand.adb, cstand.ads, cuintp.c, debug.adb,
119 debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
120 dec-io.ads, dec.ads, deftarg.c, directio.ads,
121 einfo.adb, einfo.ads, elists.adb, elists.ads,
122 elists.h, errno.c, errout.adb, errout.ads,
123 eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
124 exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
125 exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
126 exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
127 exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
128 exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
129 exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
130 exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
131 exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
132 exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
133 exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
134 exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
135 exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
136 exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
137 exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
138 fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
139 fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
140 freeze.adb, freeze.ads, frontend.adb, frontend.ads,
141 g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
142 g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
143 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
144 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
145 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
146 g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
147 g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
148 g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
149 g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
150 g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
151 g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
152 g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
153 g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
154 g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
155 g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
156 g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
157 g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
158 g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
159 g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
160 g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
161 g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
162 g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
163 get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
164 gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
165 gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
166 gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
167 gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
168 gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
169 gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
170 gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
171 hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
172 i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
173 i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
174 i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
175 i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
176 i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
177 i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
178 inline.adb, inline.ads, interfac.ads, ioexcept.ads,
179 itypes.adb, itypes.ads, krunch.adb, krunch.ads,
180 layout.adb, layout.ads, lib-list.adb, lib-load.adb,
181 lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
182 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
183 lib.adb, lib.ads, live.adb, live.ads,
184 machcode.ads, make.adb, make.ads, makeusg.adb,
185 makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
186 mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
187 memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
188 mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
189 mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
190 mlib.ads, namet.adb, namet.ads, nlists.adb,
191 nlists.ads, opt.adb, opt.ads, osint-b.adb,
192 osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
193 osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
194 osint.ads, output.adb, output.ads, par-ch10.adb,
195 par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
196 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
197 par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
198 par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
199 par-tchk.adb, par-util.adb, par.adb, par.ads,
200 prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
201 prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
202 prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
203 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
204 prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
205 prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
206 prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
207 prj.adb, prj.ads, repinfo.adb, repinfo.ads,
208 restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
209 rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
210 s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
211 s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
212 s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
213 s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
214 s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
215 s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
216 s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
217 s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
218 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
219 s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
220 s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
221 s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
222 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
223 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
224 s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
225 s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
226 s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
227 s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
228 s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
229 s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
230 s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
231 s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
232 s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
233 s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
234 s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
235 s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
236 s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
237 s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
238 s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
239 s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
240 s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
241 s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
242 s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
243 s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
244 s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
245 s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
246 s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
247 s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
248 s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
249 s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
250 s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
251 s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
252 s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
253 s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
254 s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
255 s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
256 s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
257 s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
258 s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
259 s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
260 s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
261 s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
262 s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
263 s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
264 s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
265 s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
266 s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
267 s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
268 s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
269 s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
270 s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
271 s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
272 s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
273 s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
274 s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
275 s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
276 s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
277 s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
278 s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
279 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
280 s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
281 s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
282 s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
283 s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
284 s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
285 s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
286 s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
287 s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
288 s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
289 s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
290 s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
291 s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
292 s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
293 s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
294 s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
295 s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
296 s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
297 s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
298 s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
299 s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
300 s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
301 s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
302 s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
303 scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
304 sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
305 sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
306 sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
307 sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
308 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
309 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
310 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
311 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
312 sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
313 sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
314 sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
315 sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
316 sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
317 sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
318 sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
319 sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
320 sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
321 sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
322 sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
323 sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
324 snames.ads, sprint.adb, sprint.ads, stand.adb,
325 stand.ads, stringt.adb, stringt.ads, style.adb,
326 style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
327 switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
328 switch-m.ads, switch.adb, switch.ads, system.ads,
329 table.adb, table.ads, targparm.adb, targparm.ads,
330 tbuild.adb, tbuild.ads, text_io.ads, trans.c,
331 tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
332 tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
333 ttypef.ads, ttypes.ads, types.adb, types.ads,
334 uintp.adb, uintp.ads, uname.adb, uname.ads,
335 unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
336 usage.adb, usage.ads, validsw.adb, validsw.ads,
337 widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
338 xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
339 xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
340 formatting and other trivial changes from ACT.
342 2003-04-12 Zack Weinberg <zack@codesourcery.com>
344 * gigi.h, utils2.c (build_constructor):
345 Rename gnat_build_constructor. Use build_constructor.
346 * decl.c (gnat_to_gnu_entity)
347 * trans.c (tree_transform, pos_to_constructor, extract_values)
348 * ada/utils.c (build_template, convert_to_fat_pointer, convert)
350 * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
351 (fill_vms_descriptor):
354 2003-04-06 Zack Weinberg <zack@codesourcery.com>
356 * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
357 * misc.c (gnat_tree_size): New function.
358 (LANG_HOOKS_TREE_SIZE): Override.
360 2003-04-03 Jason Merrill <jason@redhat.com>
362 * misc.c (gnat_adjust_rli): #if 0.
364 2003-03-31 Geert Bosch <bosch@gnat.com>
367 * link.c : Fix misspelled "const" keyword
369 2003-03-23 Mark Mitchell <mark@codesourcery.com>
372 * utils2.c: Adjust calls to put_var_into_stack.
374 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
376 * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
378 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
380 * misc.c (gnat_init): Update for new prototype.
382 2003-03-05 Olivier Hainque <hainque@gnat.com>
385 * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
386 warning, and fix return type for the IN_RTS && !SJLJ case.
388 2003-03-04 Tom Tromey <tromey@redhat.com>
390 * Make-lang.in (ada.tags): New target.
392 2003-03-04 Olivier Hainque <hainque@act-europe.fr>
395 * a-except.adb (Unwind_RaiseException): Import a GNAT specific
396 wrapper, which name remains constant whatever underlying GCC
399 * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
400 the stable interface needed for a-except.
402 2003-03-02 Andreas Jaeger <aj@suse.de>
404 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
405 gnat_ug_wnt.texi: Regenerate.
407 2003-03-02 Laurent Guerby <guerby@acm.org>
409 * Makefile.in (install-gnatlib): Match previous change there
412 2003-02-28 Andreas Schwab <schwab@suse.de>
414 * Make-lang.in (install-gnatlib): Change to ada directory before
415 running make instead of using ada/Makefile directly.
417 2003-02-18 Ben Elliston <bje@redhat.com>
419 Part of fix for PR ada/9406
420 * gnat_ug.texi (Binder output file): Grammar fix.
422 2003-02-18 Ben Elliston <bje@redhat.com>
425 * 5qtaprop.adb (Sleep): Fix typo in comment.
427 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
429 * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
430 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
431 gnat_ug_wnt.texi: Regenerate.
433 2003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de>
435 * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
436 be created if necessary.
437 (ada.install-common): Let $(DESTDIR)$(bindir) be created
438 if necessary. Remove erroneous and redundant gnatchop
439 installation commands. Test for gnatdll before attempting
441 (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
442 and gnatdll from all plausible locations.
444 2003-02-01 Richard Sandiford <rsandifo@redhat.com>
446 * utils2.c (build_unary_op): Don't check flag_volatile.
447 * gnat_ug.texi: Remove -fvolatile from example.
448 * gnat_ug_vxw.texi: Likewise.
450 2003-01-29 Laurent Guerby <guerby@acm.org>
453 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
454 * Makefile.in: match previous change.
455 * Make-lang.in: match previous change.
457 2003-01-29 Joel Sherrill <joel@OARcorp.com>
459 * 5rosinte.ads: Add SIGXCPU.
460 * 5rtpopsp.adb: New file.
461 * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
462 * Makefile.in: Recognize more RTEMS targets and add the RTEMS
463 specific file 5rtpopsp.adb.
464 * adaint.h: Add include of <stdio.h> when target is RTEMS. This
465 is likely needed for all newlib targets.
466 * init.c: Add RTEMS specific version of __gnat_initialize().
468 2003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
470 * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
472 2003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
474 * init.c (__gnat_error_handler): Make msg const.
476 * gmem.c (convert_addresses): Move declaration ...
477 * adaint.h: ... here.
478 * adaint.c (convert_addresses): Adapt addrs type to match
481 * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
483 2003-01-24 Andreas Schwab <schwab@suse.de>
485 * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
486 size_t to avoid warning.
488 2003-01-21 Zack Weinberg <zack@codesourcery.com>
490 * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
492 2003-01-09 Geoffrey Keating <geoffk@apple.com>
494 * gnat_rm.texi: Remove RCS version number.
496 * ada-tree.h (union lang_tree_node): Add chain_next option.
498 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
500 * Make-lang.in (ada.install-info, ada.install-common,
501 ada.uninstall): Prepend $(DESTDIR) to the destination
502 directory in all (un)installation commands.
503 * Makefile.in (install-gnatlib, install-rts): Ditto.
505 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
507 * gnat_rm.texi, gnat_ug.texi: Use @copying.
508 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
509 gnat_ug_wnt.texi: Regenerate.
511 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
513 * gnat_rm.texi: Include gcc-common.texi. Use GCC version number
515 * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
516 $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
517 $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
518 ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
519 ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
520 $(srcdir)/doc/include/gcc-common.texi.
522 2002-12-15 Geert Bosch <bosch@gnat.com>
524 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
526 2002-12-14 Geert Bosch <bosch@gnat.com>
528 * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
529 case of a body created for a Renaming_As_Body, on which
530 conformance checks are not performed. Fixes PR ada/5690.
532 2002-11-30 Zack Weinberg <zack@codesourcery.com>
534 * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
535 utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
536 not already included.
537 * Make-lang.in: Update dependencies.
539 2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
540 * adaint.c (__gnat_tmp_name): Better, but good enough for now,
541 solution to buffer overflow bug on GNU/Linux.
543 2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
544 Closes PR ada/5856 and PR ada/6919 !
545 * bindgen.adb: Remove all references to Public_Version.
546 * comperr.adb: Remove all references to Public_Version and
547 GNATPRO_Version; correct bug reporting instructions.
548 * comperr.ads: Change to match bug box.
549 * gnatvsn.ads: Remove all references to Public version and
552 2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
554 * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
558 * config-lang.in: Remove diff_excludes.
560 2002-11-05 Graham Stott <graham.stott@btinternet.com>
562 * trans.c (gnu_pending_elaboration_lists): New GC root.
563 (build_unit_elab): Use..
565 2002-10-30 Geert Bosch <bosch@gnat.com>
567 * misc.c : Include optabs.h
569 * Make-lang.in (misc.o): Add dependency on optabs.h
571 2002-10-29 Geert Bosch <bosch@gnat.com>
573 * Make-lang.in (gnatbind): Depend on CONFIG_H
575 2002-10-29 Geert bosch <bosch@gnat.com>
577 * misc.c: Unrevert misc.c (1.13)
579 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
581 * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
582 maintainership comments.
584 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
586 * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
587 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
588 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
589 7staprop.adb: Correct statements in comments about
590 maintainership of GNAT.
593 * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
594 gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
595 osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
596 osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
597 s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
598 s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
599 sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
600 switch-c.ads switch-m.adb switch-m.ads: Correct statements in
601 comments about maintainership of GNAT.
603 PR ada/6919 (forward port of patch for PR ada/5904)
604 * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
605 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
606 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
607 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
608 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
609 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
610 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
611 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
612 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
613 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
614 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
615 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
616 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
617 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
618 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
619 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
620 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
621 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
622 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
623 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
624 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
625 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
626 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
627 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
628 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
629 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
630 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
631 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
632 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
633 a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
634 a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
635 a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
636 a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
637 a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
638 a-except.adb a-except.ads a-excpol.adb a-exctra.adb
639 a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
640 a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
641 a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
642 a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
643 a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
644 a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
645 a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
646 a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
647 a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
648 a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
649 a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
650 a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
651 a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
652 a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
653 a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
654 a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
655 a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
656 a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
657 a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
658 a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
659 a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
660 a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
661 a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
662 a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
663 a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
664 a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
665 a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
666 a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
667 a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
668 a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
669 a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
670 a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
671 a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
672 adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
673 alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
674 back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
675 binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
676 bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
677 ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
678 csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
679 cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
680 debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
681 einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
682 errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
683 exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
684 exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
685 exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
686 exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
687 exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
688 exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
689 exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
690 exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
691 exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
692 exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
693 exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
694 exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
695 exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
696 final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
697 fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
698 freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
699 g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
700 g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
701 gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
702 gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
703 gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
704 gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
705 gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
706 gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
707 i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
708 i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
709 i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
710 i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
711 impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
712 itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
713 lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
714 lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
715 lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
716 lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
717 makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
718 namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
719 nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
720 osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
721 par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
722 par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
723 par-endh.adb par-labl.adb par-load.adb par-prag.adb
724 par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
725 prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
726 prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
727 prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
728 prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
729 prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
730 prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
731 repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
732 rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
733 s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
734 s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
735 s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
736 s-direio.adb s-direio.ads s-except.ads s-exctab.adb
737 s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
738 s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
739 s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
740 s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
741 s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
742 s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
743 s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
744 s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
745 s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
746 s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
747 s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
748 s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
749 s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
750 s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
751 s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
752 s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
753 s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
754 s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
755 s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
756 s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
757 s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
758 s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
759 s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
760 s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
761 s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
762 s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
763 s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
764 s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
765 s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
766 s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
767 s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
768 s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
769 s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
770 s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
771 s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
772 s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
773 s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
774 s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
775 s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
776 s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
777 s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
778 s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
779 s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
780 s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
781 s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
782 s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
783 s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
784 s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
785 s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
786 s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
787 s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
788 s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
789 s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
790 s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
791 s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
792 s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
793 s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
794 s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
795 s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
796 s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
797 s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
798 s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
799 s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
800 s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
801 s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
802 s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
803 s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
804 s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
805 s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
806 s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
807 s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
808 s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
809 s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
810 s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
811 s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
812 s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
813 s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
814 s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
815 scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
816 sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
817 sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
818 sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
819 sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
820 sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
821 sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
822 sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
823 sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
824 sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
825 sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
826 sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
827 sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
828 sem_type.adb sem_type.ads sem_util.adb sem_util.ads
829 sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
830 sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
831 sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
832 sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
833 snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
834 stringt.ads stringt.h style.adb style.ads stylesw.adb
835 stylesw.ads switch.adb switch.ads sysdep.c system.ads
836 table.adb table.ads targparm.adb targparm.ads targtyps.c
837 tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
838 tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
839 treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
840 types.adb types.ads types.h uintp.adb uintp.ads uintp.h
841 uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
842 usage.ads utils.c utils2.c validsw.adb validsw.ads
843 widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
844 xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
845 xtreeprs.adb: Correct statements in comments about maintainership
848 2002-09-23 Zack Weinberg <zack@codesourcery.com>
850 * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
851 * Makefile.in (TOOLS_LIBS): Add ../../version.o.
852 * gnatvsn.ads: Gnat_Version_String is now a function.
853 * gnatvsn.adb: New file. When asked for Gnat_Version_String,
854 copy the C version_string into a String and return it.
855 * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
856 gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
857 Remove pragma Ident (Gnat_Version_String). If this was the
858 sole use of package Gnatvsn, remove the with statement too.
859 * gnat1drv.adb: Tweak -gnatv output.
861 2002-09-17 Richard Henderson <rth@redhat.com>
863 * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
864 * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
865 * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
866 (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
867 * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
868 and real_2expN instead of a loop.
869 * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
870 (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
872 2002-08-25 Andre Leis <a.leis@gmx.net>
873 David Billinghurst (David.Billinghurst@riotinto.com>
875 * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
877 2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
879 * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
880 Remove $(CONFIG_H) dependency.
882 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
884 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
886 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
888 * adadecode.c (ada_demangle): Use xstrdup in lieu of
890 * misc.c (gnat_decode_option): Likewise.
892 2002-07-15 Florian Weimer <fw@deneb.enyo.de>
894 * make.adb (Add_Switch): Make Generic_Position a procedure. The
895 function approach did not work well because of a side effect (the
896 function call could reallocate the table which was being indexed
897 using its result). Fixes ada/4851. [RESURRECTED]
899 2002-07-01 Roger Sayle <roger@eyesopen.com>
901 * ada/utils.c (builtin_function): Accept an additional parameter.
903 2002-06-28 Andreas Jaeger <aj@suse.de>
906 * Makefile.in: Fix typo in comment, patch by Adrian Knoth
909 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
911 * Makefile.in (SHELL): Set to @SHELL@.
913 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
915 * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
916 array size calculation.
918 2002-06-04 Andreas Jaeger <aj@suse.de>
920 * Make-lang.in (gnatbind): Readd rule that has been lost in last
923 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
925 Merge from pch-branch:
927 * config-lang.in (gtfiles): Add ada-tree.h.
928 * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
929 (SET_TYPE_MODULUS): New.
930 (SET_TYPE_INDEX): New.
931 (SET_TYPE_DIGITS_VALUE): New.
932 (SET_TYPE_RM_SIZE): New.
933 (SET_TYPE_UNCONSTRAINED_ARRAY): New.
934 (SET_TYPE_ADA_SIZE): New.
935 (SET_TYPE_ACTUAL_BOUNDS): New.
936 (SET_DECL_CONST_CORRESPONDING_VAR): New.
937 (SET_DECL_ORIGINAL_FIELD): New.
938 (TREE_LOOP_ID): Correct typo.
939 * decl.c: Use new macros.
940 * utils.c: Include debug.h, use new macros.
941 * utils2.c: Use new macros.
943 * ada-tree.h: Update all macros for new tree description.
944 (struct tree_loop_id): New.
945 (union lang_tree_node): New.
946 (struct lang_decl): New.
947 (struct lang_type): New.
948 * misc.c (gnat_mark_tree): Delete.
949 (LANG_HOOKS_MARK_TREE): Delete.
950 * trans.c (tree_transform): No longer any need to cast
953 * utils.c (struct language_function): New dummy structure.
955 * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
957 (utils.o): Likewise; also gtype-ada.h.
958 * Make-lang.in (gnat1): Add dependency on s-gtype.
959 (gnatbind): Add dependency on $(CONFIG_H).
960 * utils.c: Correct last #include.
961 (stuct e_stack): Remove unnecessary 'static'.
962 (mark_e_stack): Remove unused prototype.
964 * scn-nlit.adb: Remove whitespace after version number to
965 keep lines under 80 chars.
966 * snames.adb: Likewise.
967 * treepr.ads: Likewise.
969 * Makefile.in (decl.o): Include gt-ada-<filename>.h.
971 (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
972 * config-lang.in (gtfiles): New.
973 * decl.c: Use gengtype for roots.
974 * gigi.h: Use gengtype for roots.
975 * trans.c: Use gengtype for roots.
976 * utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
978 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
980 * misc.c (gnat_init): Adjust setting of internal_error_function.
982 2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
984 * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
985 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
986 gnat_ug_wnt.texi: Regenerate.
988 2002-05-31 Florian Weimer <fw@deneb.enyo.de>
990 * 5ntaprop.adb (with System.OS_Primitives): Remove.
992 * cstreams.c (max_path_len): Move from here ...
993 * adaint.c (__gnat_max_path_len): ... to here.
994 * adaint.c (__gnat_max_path_len): Declare.
995 * g-dirope.adb (Max_Path): Adjust.
996 * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
997 * i-cstrea.ads (max_path_len): Adjust.
998 * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
999 * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
1001 * Makefile.in, Make-lang.in: Documentation is now built in
1002 Make-lang.in. Store Info and generated Texinfo files in the
1004 * gnat_ug.texi: Remove CVS keywords, correct version number.
1005 Set file name correctly.
1007 * gnat_ug_*.texi: Add.
1008 * .cvsignore: Ignore generated Texinfo files.
1010 2002-05-30 Zack Weinberg <zack@codesourcery.com>
1012 * ada.h: Add MI guard macro.
1013 (SUBTYPE): Define constants with an anonymous enum, not static
1015 (IN): Cast constants to appropriate type before use.
1017 2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
1019 * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
1022 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1024 * Make-lang.in (CP, ECHO): Copy from Makefile.in.
1025 (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
1026 (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
1027 (ALL_ADA_CFLAGS): Likewise.
1028 (ADA_INCLUDES): Likewise.
1029 Adapt for new working dir.
1030 (GNATBIND): Use Makefile.in version.
1031 (.SUFFIXES): Copy from Makefile.in.
1033 (.adb.o, .ads.o): Copy from Makefile.in.
1034 Added $(OUTPUT_OPTION).
1035 (GNAT1_C_OBJS): Moved from Makefile.in.
1036 Prefix with ada subdir.
1037 (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
1038 (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
1039 Adapt for new working dir.
1040 (EXTRA_GNATBIND_OBJS): Likewise.
1041 (ADA_BACKEND): Moved from Makefile.in.
1042 Renamed to avoid conflict with global BACKEND.
1044 (TARGET_ADA_SRCS): Moved from Makefile.in.
1045 (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
1047 (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
1048 (ada_extra_files): Moved from Makefile.in.
1049 Prefix with ada subdir.
1050 (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
1051 (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
1052 (ada/nmake.ads): Likewise.
1053 (update-sources): Moved from Makefile.in.
1054 Prefix with ada subdir.
1055 (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
1056 (ADA_TREE_H): Likewise.
1057 (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
1058 (ada/memtrack.o): Likewise.
1059 (ada/adadecode.o): Likewise.
1060 Update dependencies.
1061 (ada/adaint.o): New.
1062 (ada/argv.o): Moved from Makefile.in.
1063 Prefix with ada subdir.
1064 Update dependencies.
1065 (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
1066 (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
1067 (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
1068 Prefix with ada subdir.
1069 (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
1070 (GNAT DEPENDENCIES): Regenerate.
1071 * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
1072 toplevel Makefile.in.
1073 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
1074 (TARGET_ADA_SRCS): Removed.
1075 (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
1076 (GNATBIND_OBJS): Likewise.
1077 (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
1079 (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
1081 (ada_extra_files): Likewise.
1082 (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
1083 (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
1084 (update-sources): Likewise.
1085 (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
1086 (ADA_TREE_H): Likewise.
1087 (adadecoce.o): Likewise.
1088 (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
1089 (GNAT DEPENDENCIES): Likewise.
1091 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1093 * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
1094 * Makefile.in: Likewise.
1096 2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1098 * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
1099 Restore $(CONFIG_H) and prefix.o dependencies.
1100 (ada.stage[1-4]): Depend on stage?-start.
1102 * Makefile.in (b_gnatb.c): Depend on interfac.o.
1104 2002-05-02 Jim Wilson <wilson@redhat.com>
1106 * utils.c (finish_record_type): Change record_size to record_type.
1108 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
1110 * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
1111 (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
1112 ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
1114 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
1116 * misc.c (gnat_parse_file): Update.
1118 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
1120 * misc.c (gnat_init): Don't set lang_attribute_common.
1122 2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
1124 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
1126 2002-04-21 Florian Weimer <fw@deneb.enyo.de>
1128 * gnat_ug.texi: New file.
1130 * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
1131 instead of gfdl.texi
1133 * xgnatug.adb, ug_words: New files.
1135 * Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
1136 gnat_rm and gnat-style manuals.
1138 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
1140 * gigi.h (incomplete_type_error): Remove.
1141 * utils.c (incomplete_type_error): Remove.
1143 2002-04-16 Mark Mitchell <mark@codesourcery.com>
1145 * trans.c (tree_transform): Add has_scope argument to
1146 expand_start_stmt_expr.
1148 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
1150 * gigi.h (truthvalue_conversion): Rename.
1151 * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
1152 * trans.c (tree_transform): Update.
1153 * utils2.c (truthvalue_conversion): Rename, update.
1154 (build_binary_op, build_unary_op): Update.
1156 2002-04-04 Laurent Guerby <guerby@acm.org>
1158 * make.adb: Implement -margs, remove restriction about file name placement.
1159 * makeusg.adb: Documentation update.
1160 * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
1161 * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
1163 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
1165 * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
1166 (builtin_function): Similarly.
1168 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
1170 * decl.c (gnat_to_gnu_entity): Update.
1171 * gigi.h (mark_addressable): Rename.
1172 * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
1173 * trans.c (tree_transform): Update.
1174 * utils.c (create_var_decl): Update.
1175 * util2.c (build_binary_op, build_unary_op,
1176 fill_vms_descriptor): Update.
1177 (mark_addressable): Rename, update.
1179 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
1181 * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
1183 * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
1184 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
1185 * trans.c (tree_transform, convert_with_check): Update.
1186 * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
1189 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
1191 * gigi.h (finish_incomplete_decl): Rename.
1192 * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
1193 * utils.c (gnat_init_decl_processing): Don't set hook.
1194 (finish_incomplete_decl): Rename.
1196 2002-03-29 Andreas Schwab <schwab@suse.de>
1198 * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
1201 2001-03-28 Robert Dewar <dewar@gnat.com>
1204 (Remove_Checks): New procedure
1207 (Remove_Checks): New procedure
1210 Use new Duplicate_Subexpr functions
1211 (Duplicate_Subexpr_No_Checks): New procedure
1212 (Duplicate_Subexpr_No_Checks_Orig): New procedure
1213 (Duplicate_Subexpr): Restore original form (checks duplicated)
1214 (Duplicate_Subexpr): Call Remove_Checks
1217 (Duplicate_Subexpr_No_Checks): New procedure
1218 (Duplicate_Subexpr_No_Checks_Orig): New procedure
1219 Add 2002 to copyright notice
1221 * sem_util.adb: Use new Duplicate_Subexpr functions
1224 (Eval_Indexed_Component): This is the place to call
1225 Constant_Array_Ref and to replace the value. We simply merge
1226 the code of this function in here, since it is now no longer
1227 used elsewhere. This fixes the problem of the back end not
1228 realizing we were clever enough to see that this was
1230 (Expr_Val): Remove call to Constant_Array_Ref
1231 (Expr_Rep_Val): Remove call to Constant_Array_Ref
1233 (Constant_Array_Ref): Deal with string literals (patch
1234 suggested by Zack Weinberg on the gcc list)
1236 2001-03-28 Ed Schonberg <schonber@gnat.com>
1238 * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
1239 Duplicate_Subexpr_Move_Checks.
1241 * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
1242 Duplicate_Subexpr_Move_Checks.
1244 * sem_eval.adb: (Constant_Array_Ref): Verify that constant
1245 value of array exists before retrieving it (it may a private
1246 protected component in a function).
1248 2002-03-28 Geert Bosch <bosch@gnat.com>
1250 * prj-pp.adb : New file.
1252 * prj-pp.ads : New file.
1254 2002-03-28 Andreas Jaeger <aj@suse.de>
1256 * Makefile.in (stamp-sdefault): Fix path for Makefile.
1258 2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
1260 * misc.c (gnat_expand_expr): Move prototype.
1262 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1264 * misc.c (insert_default_attributes): Remove.
1266 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1268 * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
1269 (gnat_init): Don't set hook.
1270 (gnat_expand_expr): Fix prototype.
1272 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1274 * misc.c (ggc_p): Remove.
1276 2002-03-27 Geert Bosch <bosch@gnat.com>
1278 * prj-makr.ads, prj-makr.adb : New files.
1280 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
1282 * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
1283 (lang_mark_tree): Make static, rename.
1285 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
1287 * misc.c (maybe_build_cleanup): Remove.
1289 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
1291 * gigi.h (yyparse): Remove.
1293 2002-03-23 Florian Weimer <fw@deneb.enyo.de>
1295 * gnat_rm.texi: Sync with ACT version.
1296 (From Ben Brosgol <brosgol@gnat.com>)
1298 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
1300 * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
1301 (gnat_init): Remove old hook.
1303 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
1305 * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
1306 (yyparse): Rename gnat_parse_file.
1308 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
1310 Delete all lines containing "$Revision:".
1311 * xeinfo.adb: Don't look for revision numbers.
1312 * xnmake.adb: Likewise.
1313 * xsinfo.adb: Likewise.
1314 * xsnames.adb: Likewise.
1315 * xtreeprs.adb: Likewise.
1317 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1319 * misc.c (gnat_tree_code_type, gnat_tree_code_length,
1320 gnat_tree_code_name): Delete.
1321 (tree_code_type, tree_code_length, tree_code_name): Define.
1322 (gnat_init): Don't try to copy into the various tree_code
1325 2002-03-11 Richard Henderson <rth@redhat.com>
1327 * Makefile.in (.NOTPARALLEL): Add fake tag.
1329 2002-03-07 Geert Bosch <bosch@gnat.com>
1331 * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
1332 s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
1333 switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
1334 switch-m.adb, switch-m.ads : New files.
1336 2002-03-07 Geert Bosch <bosch@gnat.com>
1338 * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
1339 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
1340 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
1341 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
1342 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
1343 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
1344 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
1345 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
1346 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
1347 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
1348 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
1349 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
1350 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
1351 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
1352 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
1353 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
1354 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
1355 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
1356 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
1357 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
1358 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
1359 Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
1360 a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
1361 a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
1362 a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
1363 a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
1364 a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
1365 a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
1366 a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
1367 adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
1368 atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
1369 bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
1370 csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
1371 einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
1372 eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
1373 exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
1374 exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
1375 exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
1376 exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
1377 exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
1378 expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
1379 freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
1380 g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
1381 g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
1382 g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
1383 g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
1384 g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
1385 g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
1386 gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
1387 gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
1388 gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
1389 i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
1390 impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
1391 lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
1392 lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
1393 memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
1394 mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
1395 nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
1396 output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
1397 par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
1398 prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
1399 prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
1400 prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
1401 rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
1402 s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
1403 s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
1404 s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
1405 s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
1406 s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
1407 s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
1408 s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
1409 s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
1410 s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
1411 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
1412 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
1413 s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
1414 s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
1415 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
1416 s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
1417 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
1418 sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
1419 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
1420 sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
1421 sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
1422 sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
1423 sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
1424 sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
1425 sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
1426 sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
1427 snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
1428 stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
1429 table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
1430 tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
1431 treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
1432 types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
1433 utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
1434 xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
1436 * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
1437 g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
1438 mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
1439 osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
1441 * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
1442 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
1444 * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
1445 to mdll-fil.ad[bs] and mdll-util.ad[bs]
1447 * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
1448 from mdllfile.ad[bs] and mdlltool.ad[bs]
1450 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1452 * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
1453 lieu of explicit sizeof/sizeof.
1455 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
1457 * misc.c (copy_lang_decl): Remove.
1459 2002-02-27 Zack Weinberg <zack@codesourcery.com>
1461 * misc.c: Delete traditional-mode-related code copied from the
1462 C front end but not used, or used only to permit the compiler
1465 2002-02-07 Richard Henderson <rth@redhat.com>
1467 * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
1468 * adaint.h (__gnat_to_gm_time): Update prototype.
1470 2002-01-30 Richard Henderson <rth@redhat.com>
1472 * trans.c (tree_transform) [N_Loop_Statement]: Use
1473 expand_exit_loop_top_cond.
1475 2001-12-23 Richard Henderson <rth@redhat.com>
1477 * utils.c (end_subprog_body): Push GC context around
1478 rest_of_compilation for nested functions.
1480 2001-12-23 Richard Henderson <rth@redhat.com>
1482 * 5nosinte.ads: Get definition of "int" from Interfaces.C.
1484 2001-12-23 Florian Weimer <fw@deneb.enyo.de>
1486 * gnat-style.texi (Declarations and Types): Remove ancient style
1487 rule which was mandated by code generation issues.
1489 * gnat-style.texi (header): Add @dircategory, @direntry.
1490 (title page): Remove date.
1491 (general) Add @./@: where approriate, and two spaces after the
1492 full stop at the end of a sentence. Use @samp markup when
1493 referring concrete lexical entities (keywords, attribute names
1494 etc.), and @syntax for ARM grammar elements. Use @r for English
1495 text in comments. Use @emph for emphasis. Change "if-statements"
1496 etc. to "if statements" (without @samp). Break long lines. Make
1497 casing of section names consistent.
1498 (Identifiers): Use @samp markup for variable names.
1499 (Comments): Use @samp markup for comment characters. Line-end
1500 comments may follow any Ada code, not just statements. Fix
1501 misspelling of "Integer" as "integer".
1502 (Loop statements): Do not use variable name "I", use "J".
1503 (Subprogram Declarations): Document alignment.
1504 (Subprogram Bodies, Block statements): Document empty line before
1507 2001-12-22 Florian Weimer <fw@deneb.enyo.de>
1509 * make.adb (Add_Switch): Make Generic_Position a procedure. The
1510 function approach did not work well because of a side effect (the
1511 function call could reallocate the table which was being indexed
1512 using its result). Fixes ada/4851.
1514 2001-12-19 Robert Dewar <dewar@gnat.com>
1516 * bindgen.adb: Minor reformatting
1518 * cstand.adb: Minor reformatting
1520 * fmap.adb: Minor reformatting
1521 Change name from Add for Add_To_File_Map (Add is much too generic)
1522 Change Path_Name_Of to Mapped_Path_Name
1523 Change File_Name_Of to Mapped_File_Name
1524 Fix copyright dates in header
1527 Change name from Add for Add_To_File_Map (Add is much too generic)
1528 Change Path_Name_Of to Mapped_Path_Name
1529 Change File_Name_Of to Mapped_File_Name
1530 Fix copyright dates in header
1532 * fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
1533 Add use clause for Fmap.
1535 * make.adb: Minor reformatting
1537 * osint.adb: Minor reformatting. Change of names in Fmap.
1538 Add use clause for Fmap.
1540 * prj-env.adb: Minor reformatting
1542 * prj-env.ads: Minor reformatting
1544 * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
1545 error found (there were odd exceptions to this general rule in
1546 -gnatec/-gnatem processing)
1548 2001-12-19 Olivier Hainque <hainque@gnat.com>
1550 * raise.c (__gnat_eh_personality): Exception handling personality
1551 routine for Ada. Still in rough state, inspired from the C++ version
1552 and still containing a bunch of debugging artifacts.
1553 (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
1554 inspired from the C++ library.
1556 * raise.c (eh_personality): Add comments. Part of work for the GCC 3
1557 exception handling integration.
1559 2001-12-19 Arnaud Charlet <charlet@gnat.com>
1561 * Makefile.in: Remove use of 5smastop.adb which is obsolete.
1562 (HIE_SOURCES): Add s-secsta.ad{s,b}.
1563 (HIE_OBJS): Add s-fat*.o
1564 (RAVEN_SOURCES): Remove files that are no longer required. Add
1565 interrupt handling files.
1566 (RAVEN_MOD): Removed, no longer needed.
1568 2001-12-19 Robert Dewar <dewar@gnat.com>
1570 * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
1571 Add 2001 to copyright date
1573 * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
1574 need to force universal inlining for these cases.
1576 2001-12-19 Arnaud Charlet <charlet@gnat.com>
1578 * s-taprob.adb: Minor clean ups so that this unit can be used in
1581 * exp_ch7.adb: Allow use of secondary stack in HI mode.
1582 Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
1584 2001-12-19 Vincent Celier <celier@gnat.com>
1586 * prj-tree.ads (Project_Node_Record): Add comments for components
1587 Pkg_Id and Case_Insensitive.
1589 2001-12-19 Pascal Obry <obry@gnat.com>
1591 * g-socket.adb: Minor reformatting. Found while reading code.
1593 2001-12-19 Robert Dewar <dewar@gnat.com>
1595 * prj-tree.ads: Minor reformatting
1597 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
1599 * config-lang.in (diff_excludes): Remove.
1601 2001-12-17 Ed Schonberg <schonber@gnat.com>
1603 * sem_res.adb (Resolve_Selected_Component): do not generate a
1604 discriminant check if the selected component is a component of
1605 the argument of an initialization procedure.
1607 * trans.c (tree_transform, case of arithmetic operators): If result
1608 type is private, the gnu_type is the base type of the full view,
1609 given that the full view itself may be a subtype.
1611 2001-12-17 Robert Dewar <dewar@gnat.com>
1613 * sem_res.adb: Minor reformatting
1615 * trans.c (tree_transform, case N_Real_Literal): Add missing third
1616 parameter in call to Machine (unknown horrible effects from this
1619 * urealp.h: Add definition of Round_Even for call to Machine
1620 Add third parameter for Machine
1622 2001-12-17 Ed Schonberg <schonber@gnat.com>
1624 * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
1625 predefined units in No_Run_Time mode.
1627 2001-12-17 Richard Kenner <kenner@gnat.com>
1629 * misc.c (insn-codes.h): Now include.
1631 2001-12-17 Olivier Hainque <hainque@gnat.com>
1633 * a-except.adb: Preparation work for future integration of the GCC 3
1634 exception handling mechanism
1635 (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
1636 to factorize previous code sequences and make them externally callable,
1637 e.g. for the Ada personality routine when the GCC 3 mechanism is used.
1638 (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
1639 Use the new notification routines.
1641 2001-12-17 Emmanuel Briot <briot@gnat.com>
1643 * prj-tree.ads (First_Choice_Of): Document the when others case
1645 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1647 * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
1648 HI-E mode, in order to support Ravenscar profile properly.
1650 * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
1651 mode on 32 bits targets.
1653 2001-12-17 Vincent Celier <celier@gnat.com>
1655 * fmap.adb: Initial version.
1657 * fmap.ads: Initial version.
1659 * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
1660 If search is successfully done, add to mapping.
1662 * frontend.adb: Initialize the mapping if a -gnatem switch was used.
1665 (Gnatmake): Add new local variable Mapping_File_Name.
1666 Create mapping file when using project file(s).
1667 Delete mapping file before exiting.
1669 * opt.ads (Mapping_File_Name): New variable
1671 * osint.adb (Find_File): Use path name found in mapping, if any.
1673 * prj-env.adb (Create_Mapping_File): New procedure
1675 * prj-env.ads (Create_Mapping_File): New procedure.
1677 * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
1680 * usage.adb: Add entry for new switch -gnatem.
1682 * Makefile.in: Add dependencies for fmap.o.
1684 2001-12-17 Ed Schonberg <schonber@gnat.com>
1686 * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
1687 is a package instantiation rewritten as a package body.
1688 (Install_Withed_Unit): Undo previous change, now redundant.
1690 2001-12-17 Gary Dismukes <dismukes@gnat.com>
1693 (Compute_Length): Move conversion to Unsigned to callers.
1694 (Get_Max_Size): Convert Len expression to Unsigned after calls to
1695 Compute_Length and Determine_Range.
1696 (Layout_Array_Type): Convert Len expression to Unsigned after calls to
1697 Compute_Length and Determine_Range.
1698 Above changes fix problem with length computation for supernull arrays
1699 where Max (Len, 0) wasn't getting applied due to the Unsigned
1700 conversion used by Compute_Length.
1702 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1705 (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
1706 System.Secondary_Stack.
1707 (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
1709 Remove unused entity RE_Exception_Data.
1711 * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
1713 * rident.ads (No_Secondary_Stack): New restriction.
1715 2001-12-17 Joel Brobecker <brobecke@gnat.com>
1717 * gnat_rm.texi: Fix minor typos. Found while reading the section
1718 regarding "Bit_Order Clauses" that was sent to a customer.
1719 Very interesting documentation!
1721 2001-12-17 Robert Dewar <dewar@gnat.com>
1723 * sem_case.adb (Choice_Image): Avoid creating improper character
1724 literal names by using the routine Set_Character_Literal_Name. This
1725 fixes bombs in certain error message cases.
1727 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1729 * a-reatim.adb: Minor reformatting.
1731 2001-12-17 Ed Schonberg <schonber@gnat.com>
1733 * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
1734 case where the formal is an extension of another formal in the current
1735 unit or in a parent generic unit.
1737 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1739 * s-tposen.adb: Update comments. Minor reformatting.
1740 Minor code clean up.
1742 * s-tarest.adb: Update comments. Minor code reorganization.
1744 2001-12-17 Gary Dismukes <dismukes@gnat.com>
1746 * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
1749 2001-12-17 Robert Dewar <dewar@gnat.com>
1751 * exp_attr.adb: Minor reformatting
1753 2001-12-17 Ed Schonberg <schonber@gnat.com>
1755 * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
1756 derivations nested within a child unit: verify that the parent
1757 type is declared in an outer scope.
1759 2001-12-17 Robert Dewar <dewar@gnat.com>
1761 * sem_ch12.adb: Minor reformatting
1763 2001-12-17 Ed Schonberg <schonber@gnat.com>
1765 * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
1766 warning if current unit is a predefined one, from which bodies may
1769 2001-12-17 Robert Dewar <dewar@gnat.com>
1771 * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
1772 Fix header format. Add 2001 to copyright date.
1774 * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
1775 which caused CE during compilation if checks were enabled.
1777 2001-12-17 Vincent Celier <celier@gnat.com>
1780 (Switches_Of): New function
1781 (Test_If_Relative_Path): New procedure
1782 (Add_Switches): Use new function Switches_Of
1783 (Collect_Arguments_And_Compile): Use new function Switches_Of.
1784 When using a project file, test if there are any relative
1785 search path. Fail if there are any.
1786 (Gnatmake): Only add switches for the primary directory when not using
1787 a project file. When using a project file, change directory to the
1788 object directory of the main project file. When using a project file,
1789 test if there are any relative search path. Fail if there are any.
1790 When using a project file, fail if specified executable is relative
1791 path with directory information, and prepend executable, if not
1792 specified as an absolute path, with the exec directory. Make sure
1793 that only one -o switch is transmitted to the linker.
1795 * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
1798 (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
1799 when using a non standard naming scheme.
1800 (Check_Ada_Naming_Scheme): Make sure that error messages
1801 do not raise exceptions.
1802 (Is_Illegal_Append): Return True if there is no dot in the suffix.
1803 (Language_Independent_Check): Check the exec directory.
1805 * prj.adb (Project_Empty): Add new component Exec_Directory
1808 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
1809 (Project_Data): Add component Exec_Directory
1811 * snames.adb: Updated to match snames.ads revision 1.215
1813 * snames.ads: Added Exec_Dir
1815 2001-12-17 Robert Dewar <dewar@gnat.com>
1817 * make.adb: Minor reformatting
1819 * prj-nmsc.adb: Minor reformatting
1821 * snames.adb: Updated to match snames.ads
1823 * snames.ads: Alphebetize entries for project file
1825 2001-12-17 Ed Schonberg <schonber@gnat.com>
1827 * trans.c (process_freeze_entity): Do nothing if the entity is a
1828 subprogram that was already elaborated.
1830 2001-12-17 Richard Kenner <kenner@gnat.com>
1832 * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
1833 and Esize if object is referenced via pointer.
1835 2001-12-17 Ed Schonberg <schonber@gnat.com>
1837 * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
1838 is discrete before analyzing choices.
1840 2001-12-17 Joel Brobecker <brobecke@gnat.com>
1842 * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
1843 containing the name of the Ada Main Program. This string is mainly
1844 intended for the debugger.
1845 (Gen_Output_File_C): Do the equivalent change when generating a C file.
1847 2001-12-17 Robert Dewar <dewar@gnat.com>
1849 * ali.adb: Set new Dummy_Entry field in dependency entry
1851 * ali.ads: Add Dummy_Entry field to source dependency table
1853 * bcheck.adb (Check_Consistency): Ignore dummy D lines
1855 * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
1857 * lib-writ.ads: Document dummy D lines for missing files.
1859 * types.ads: (Dummy_Time_Stamp): New value for non-existant files
1861 2001-12-17 Robert Dewar <dewar@gnat.com>
1863 * ali.adb: Type reference does not reset current file.
1865 * ali.adb: Recognize and scan renaming reference
1867 * ali.ads: Add spec for storing renaming references.
1869 * lib-xref.ads: Add documentation for handling of renaming references
1871 * lib-xref.adb: Implement output of renaming reference.
1874 (Determine_Range): Document local variables
1875 (Determine_Range): Make sure Hbound is initialized. It looks as though
1876 there could be a real problem here with an uninitialized reference
1877 to Hbound, but no actual example of failure has been found.
1879 2001-12-17 Laurent Pautet <pautet@gnat.com>
1882 Fix comment of Shutdown_Socket and Close_Socket. These functions
1883 should not fail silently because if they are called twice, this
1884 probably means that there is a race condition in the user program.
1885 Anyway, this behaviour is consistent with the rest of this unit.
1886 When an error occurs, an exception is raised with the error message
1887 as exception message.
1889 2001-12-17 Robert Dewar <dewar@gnat.com>
1891 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
1892 that it happens before modification of Sloc values for -gnatD.
1894 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
1895 so that it happens before modification of Sloc values for -gnatD.
1897 * switch.adb: Minor reformatting
1899 2001-12-15 Richard Henderson <rth@redhat.com>
1901 * sem_ch7.adb: Wrap comment.
1903 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
1905 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
1906 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
1907 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
1908 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
1909 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
1910 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
1911 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
1912 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
1913 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
1914 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
1915 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
1916 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
1917 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
1918 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
1919 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
1920 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
1921 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
1922 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
1923 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
1924 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
1925 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
1926 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
1927 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
1928 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
1931 2001-12-14 Vincent Celier <celier@gnat.com>
1933 * osint.adb(Create_Debug_File): When an object file is specified,
1934 put the .dg file in the same directory as the object file.
1936 2001-12-14 Robert Dewar <dewar@gnat.com>
1938 * osint.adb: Minor reformatting
1940 * lib-xref.adb (Output_Instantiation): New procedure to generate
1941 instantiation references.
1943 * lib-xref.ads: Add documentation of handling of generic references.
1945 * ali.adb (Read_Instantiation_Ref): New procedure to read
1946 instantiation references
1948 * ali.ads: Add spec for storing instantiation references
1950 * bindusg.adb: Minor reformatting
1952 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1954 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1956 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1958 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1962 Add 2001 to copyright date
1963 Add entry for Latin-5 (Cyrillic ISO-8859-5)
1965 2001-12-14 Matt Gingell <gingell@gnat.com>
1967 * adaint.c: mktemp is a macro on Lynx and can not be used as an
1970 2001-12-14 Richard Kenner <kenner@gnat.com>
1972 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
1973 if operand is CONSTRUCTOR.
1975 2001-12-14 Ed Schonberg <schonber@gnat.com>
1977 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
1978 before emiting check on right-hand side, so that exception information
1981 2001-12-14 Richard Kenner <kenner@gnat.com>
1983 * utils.c (create_var_decl): Throw away initializing expression
1984 if just annotating types and non-constant.
1986 2001-12-14 Vincent Celier <celier@gnat.com>
1988 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
1991 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
1993 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
1995 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
1997 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
1999 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
2001 * ChangeLog: Remove piece of diff output.
2003 2001-12-14 Geert Bosch <bosch@gnat.com>
2005 * config-lang.in: Update copyright notice
2007 * layout.adb: Remove commented out code.
2009 * mdllfile.ads: Update copyright notice. Fix header format.
2011 * sem_case.ads: Likewise.
2013 * sem_ch3.adb: Minor reformatting.
2015 2001-12-12 Geert Bosch <bosch@gnat.com>
2017 * freeze.ads: Update copyright date.
2019 * g-comlin.ads: Minor reformatting.
2021 * gnat-style.texi: Fix typo.
2023 2001-12-12 Geert Bosch <bosch@gnat.com>
2025 * einfo.h: Regenerate.
2027 2001-12-12 Ed Schonberg <schonber@gnat.com>
2029 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
2030 on known node types, rather than untyped fields. Further cleanups.
2032 2001-12-12 Robert Dewar <dewar@gnat.com>
2035 (Save_Entity_Descendant): Minor comment update.
2036 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
2037 of an N_Attribute_Reference node. As per note below, this does not
2038 eliminate need for Associated_Node in attribute ref nodes.
2039 (Associated_Node): Documentation explicitly mentions attribute
2040 reference nodes, since this field is used in such nodes.
2042 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
2044 2001-12-12 Robert Dewar <dewar@gnat.com>
2046 * s-stalib.adb: Add more comments on with statements being needed
2048 * par-ch12.adb: Minor reformatting
2050 * prj-dect.ads: Fix copyright header
2052 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
2053 inputs fit in 32 bits, but the result still overflows.
2055 * s-fatgen.ads: Minor comment improvement
2057 2001-12-12 Ed Schonberg <schonber@gnat.com>
2059 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
2060 formal derived type, look for an inherited component from the full
2061 view of the parent, if any.
2063 2001-12-12 Robert Dewar <dewar@gnat.com>
2065 * checks.ads (Apply_Alignment_Check): New procedure.
2067 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
2068 ensure that the alignment of objects with address clauses is
2069 appropriate, and raise PE if not.
2071 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
2072 Exp_Pakd.Known_Aligned_Enough
2074 * mdllfile.ads: Minor reformatting
2076 * mlib-fil.ads: Minor reformatting
2078 2001-12-12 Ed Schonberg <schonber@gnat.com>
2080 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
2081 fix to any component reference if enclosing record has non-standard
2084 2001-12-12 Vincent Celier <celier@gnat.com>
2086 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
2089 2001-12-12 Ed Schonberg <schonber@gnat.com>
2091 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
2094 2001-12-12 Robert Dewar <dewar@gnat.com>
2096 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
2098 2001-12-12 Emmanuel Briot <briot@gnat.com>
2100 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
2101 and it adds dependencies to system.io.
2103 2001-12-12 Pascal Obry <obry@gnat.com>
2105 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
2108 2001-12-11 Ed Schonberg <schonber@gnat.com>
2110 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
2111 that is the parent of other generics, the instance body replaces the
2112 instance node. Retrieve the instance of the spec, which is the one
2113 that is visible in clients and within the body.
2115 2001-12-11 Vincent Celier <celier@gnat.com>
2117 * gnatmain.adb: Initial version.
2119 * gnatmain.ads: Initial version.
2121 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
2123 * snames.adb: Updated to match snames.ads.
2125 * snames.ads: Added Gnatstub.
2127 2001-12-11 Vincent Celier <celier@gnat.com>
2129 * prj-attr.adb (Initialization_Data): Change name from
2130 Initialisation_Data.
2132 2001-12-11 Emmanuel Briot <briot@gnat.com>
2134 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
2135 + and * applied to backslashed expressions like \r.
2137 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
2139 * g-os_lib.ads: String_List type added, Argument_List type is now
2140 subtype of String_List.
2142 2001-12-11 Robert Dewar <dewar@gnat.com>
2144 * g-os_lib.ads: Change copyright to FSF
2145 Add comments for String_List type
2147 2001-12-11 Vincent Celier <celier@gnat.com>
2149 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
2150 string to the buffer).
2152 2001-12-11 Ed Schonberg <schonber@gnat.com>
2154 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
2157 * sem_attr.adb: Simplify previous fix for Address.
2158 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
2159 to avoid anomalies where the bound of the type appears to raise
2162 2001-12-11 Robert Dewar <dewar@gnat.com>
2164 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
2167 2001-12-11 Ed Schonberg <schonber@gnat.com>
2169 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
2170 renamed unit before checking for recursive instantiations.
2172 2001-12-11 Emmanuel Briot <briot@gnat.com>
2174 * prj.ads: Add comments for some of the fields.
2176 2001-12-11 Robert Dewar <dewar@gnat.com>
2178 * lib-xref.adb (Output_Refs): Don't output type references outside
2179 the main unit if they are not otherwise referenced.
2181 2001-12-11 Ed Schonberg <schonber@gnat.com>
2183 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
2184 code and diagnose additional illegal uses
2186 * sem_util.adb (Is_Object_Reference): An indexed component is an
2187 object only if the prefix is.
2189 2001-12-11 Vincent Celier <celier@gnat.com>
2191 * g-diopit.adb: Initial version.
2193 * g-diopit.ads: Initial version.
2196 (Expand_Path): Avoid use of Unbounded_String
2197 (Find, Wildcard_Iterator): Moved to child package Iteration
2199 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
2201 2001-12-11 Robert Dewar <dewar@gnat.com>
2203 * sem_attr.adb: Minor reformatting
2205 2001-12-11 Ed Schonberg <schonber@gnat.com>
2207 * sem_ch3.adb: Clarify some ???.
2209 2001-12-11 Robert Dewar <dewar@gnat.com>
2211 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
2212 Exp_Pakd.Known_Aligned_Enough
2214 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
2215 version is moved to Exp_Ch13.
2217 2001-12-11 Robert Dewar <dewar@gnat.com>
2219 * einfo.ads: Minor reformatting
2221 * exp_ch5.adb: Add comment for previous.change
2223 * ali.adb: New interface for extended typeref stuff.
2225 * ali.ads: New interface for typeref stuff.
2227 * checks.adb (Apply_Alignment_Check): New procedure.
2229 * debug.adb: Add -gnatdM for modified ALI output
2231 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
2233 * lib-xref.adb: Extend generation of <..> notation to cover
2234 subtype/object types. Note that this is a complete rewrite,
2235 getting rid of the very nasty quadratic algorithm previously
2236 used for derived type output.
2238 * lib-xref.ads: Extend description of <..> notation to cover
2239 subtype/object types. Uses {..} for these other cases.
2240 Also use (..) for pointer types.
2242 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
2244 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
2245 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
2247 2001-12-11 Vincent Celier <celier@gnat.com>
2250 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
2251 Changed /BIND_ONLY to /ACTIONS=BIND
2252 Changed /LINK_ONLY to /ACTIONS=LINK
2254 2001-12-11 Ed Schonberg <schonber@gnat.com>
2256 * sem_ch8.adb (Find_Selected_Component): improved search for a
2257 candidate package in case of error.
2259 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
2260 chain back on scope stack before reinstalling use clauses.
2262 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
2263 is enabled, do not kill the code for the condition, to preserve
2266 2001-12-11 Robert Dewar <dewar@gnat.com>
2268 * checks.adb (Insert_Valid_Check): Apply validity check to expression
2269 of conversion, not to result of conversion.
2271 2001-12-11 Ed Schonberg <schonber@gnat.com>
2273 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
2274 before freezing parent. If the declarations are mutually recursive,
2275 an access to the current record type may be frozen before the
2276 derivation is complete.
2278 2001-12-05 Vincent Celier <celier@gnat.com>
2280 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
2281 -c /COMPILE_ONLY, -l /LINK_ONLY
2284 (Bind_Only): New Flag
2285 (Link_Only): New flag
2287 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
2290 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
2293 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
2294 (Gnatmake): Set the step flags. Only perform a step if the
2295 corresponding step flag is True.
2296 (Scan_Make_Arg): Reset the bind and link step flags when -u
2297 or -gnatc has been specified.
2299 2001-12-05 Ed Schonberg <schonber@gnat.com>
2301 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
2302 get bounds from right operand.
2304 * sem_eval.adb: Minor reformatting
2306 * exp_util.adb (Make_Literal_Range): use bound of literal rather
2307 than Index'First, its lower bound may be different from 1.
2309 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
2312 2001-12-05 Vincent Celier <celier@gnat.com>
2314 * prj-nmsc.adb Minor reformatting
2316 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
2317 set and libraries are not supported.
2319 2001-12-05 Ed Schonberg <schonber@gnat.com>
2321 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
2322 private view explicitly, so the back-end can treat as a global
2325 2001-12-05 Ed Schonberg <schonber@gnat.com>
2327 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
2328 unit, always replace instance node with new body, for ASIS use.
2330 2001-12-05 Vincent Celier <celier@gnat.com>
2332 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
2333 libraries are not supported and both attributes Library_Name and
2334 Library_Dir are specified.
2336 * prj-proc.adb (Expression): Set location of Result to location of
2339 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
2340 (prj-nmsc is now importing MLib.Tgt)
2342 * prj-proc.adb: Put the change indicated above that was forgotten.
2344 2001-12-05 Robert Dewar <dewar@gnat.com>
2346 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
2348 2001-12-05 Ed Schonberg <schonber@gnat.com>
2350 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
2351 constraint, introduce explicit subtype declaration and derive from it.
2353 * sem_ch3.adb: Minor reformatting
2355 2001-12-05 Robert Dewar <dewar@gnat.com>
2357 * checks.adb (Determine_Range): Increase cache size for checks.
2360 * exp_ch6.adb: Minor reformatting
2361 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
2362 a parameter whose root type is System.Address, since treating such
2363 subprograms as pure in the code generator is almost surely a mistake
2364 that will lead to unexpected results.
2366 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
2367 change handling of conversions.
2369 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
2371 2001-12-05 Ed Schonberg <schonber@gnat.com>
2373 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
2374 aggregate with static wrong size, attach generated Raise node to
2377 2001-12-05 Robert Dewar <dewar@gnat.com>
2379 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
2380 Fixes compilation abandoned bomb in B24009B.
2382 2001-12-05 Ed Schonberg <schonber@gnat.com>
2385 Document use of Associated_Node on Selected_Components.
2386 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
2387 to clarify use of untyped descendant fields.
2389 2001-12-05 Robert Dewar <dewar@gnat.com>
2391 * prj-dect.ads: Add ??? comment
2392 Add 2001 to copyright notice (was not done in after all)
2394 * prj-part.adb: Minor reformatting. Reword one awkward error message.
2396 * prj.ads: Minor reformatting throughout, and add some ??? comments
2398 * snames.ads: Minor reformatting
2400 2001-12-05 Geert Bosch <bosch@gnat.com>
2402 * snames.adb: Autoupdate
2404 2001-12-05 Vincent Celier <celier@gnat.com>
2406 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
2408 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
2410 * prj-env.adb: Minor comment changes (modifying -> extends).
2412 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
2414 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
2417 * prj.adb (Initialize): Change Modifying to Extends.
2419 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
2421 * prj.ads: Minor comment change (Modifying -> extending).
2423 * snames.ads: Change modifying to extends.
2425 2001-12-05 Robert Dewar <dewar@gnat.com>
2427 * sem_warn.adb: Remove stuff for conditionals, we are not going to
2430 * sem_warn.ads: Remove stuff for conditionals, we are not going to
2431 do this after all. Add 2001 to copyright notice
2433 2001-12-04 Geert Bosch <bosch@gnat.com>
2435 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
2437 2001-12-04 Robert Dewar <dewar@gnat.com>
2439 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
2440 location if we already have errors. Stops some cases of cascaded
2443 * errout.adb: Improve comment.
2445 2001-12-04 Robert Dewar <dewar@gnat.com>
2448 (Analyze_Formal_Type_Definition): Defend against Error.
2449 (Analyze_Formal_Subprogram): Defend against Error.
2451 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
2452 remove following semicolon if present. Removes cascaded error.
2454 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
2457 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
2458 exceptions equals 0.
2459 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
2460 Fixes PIWG E tests (which have to be run with -gnatL).
2462 2001-12-04 Robert Dewar <dewar@gnat.com>
2464 * einfo.ads: Minor reformatting
2466 2001-12-04 Ed Schonberg <schonber@gnat.com>
2468 * einfo.ads: Block_Node points to the identifier of the block, not to
2469 the block node itself, to preserve the link when the block is
2470 rewritten, e.g. within an if-statement with a static condition.
2472 * inline.adb (Cleanup_Scopes): recover block statement from block
2473 entity using new meaning of Block_Node.
2475 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
2476 identifier of block node, rather than to node itself.
2478 2001-12-04 Gary Dismukes <dismukes@gnat.com>
2481 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
2482 (Discrimify): Go back to setting the Etypes of the selected component
2483 because the Vname component does not exist at this point and will
2484 fail name resolution. Also set Analyzed.
2485 Remove with and use of Sem_Res.
2487 2001-12-04 Arnaud Charlet <charlet@gnat.com>
2489 * Makefile.in: (HIE_SOURCES): add s-fat*.
2491 2001-12-04 Robert Dewar <dewar@gnat.com>
2494 (Compile_Time_Known_Attribute): New procedure.
2495 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
2498 2001-12-04 Ed Schonberg <schonber@gnat.com>
2500 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
2501 processing discriminants to diagnose illegal default values.
2503 2001-12-04 Ed Schonberg <schonber@gnat.com>
2505 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
2506 access discriminant within a type extension that constrains its
2507 parent discriminants.
2509 2001-12-04 Ed Schonberg <schonber@gnat.com>
2511 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
2512 is malformed, use instance of Any_Id to allow analysis to proceed.
2514 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
2515 type definition is illegal.
2516 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
2519 2001-12-04 Ed Schonberg <schonber@gnat.com>
2521 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
2524 2001-12-04 Robert Dewar <dewar@gnat.com>
2526 * errout.adb: Minor reformatting
2528 2001-12-04 Robert Dewar <dewar@gnat.com>
2530 * exp_util.adb: Minor reformatting from last change
2532 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
2533 which is a rewriting of an expression, traverse the original
2534 expression to remove warnings that may have been posted on it.
2536 2001-12-04 Ed Schonberg <schonber@gnat.com>
2538 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
2539 record that has other packed components.
2541 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
2543 * adaint.c: Minor cleanups.
2545 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
2547 * adaint.c: Do not use utime.h on vxworks.
2549 2001-12-04 Arnaud Charlet <charlet@gnat.com>
2551 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
2552 more confusion than it solves.
2554 2001-12-04 Geert bosch <bosch@gnat.com>
2556 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
2558 2001-12-04 Geert Bosch <bosch@gnat.com>
2560 * Makefile.in (update-sources): New target.
2561 For use by gcc_release script.
2563 2001-12-04 Ed Schonberg <schonber@gnat.com>
2565 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
2566 a configuration pragma, it is now legal wherever a pragma can appear.
2568 2001-12-04 Zack Weinberg <zack@codesourcery.com>
2570 * Makefile.in: Don't set ALL. Delete @cross_defines@,
2571 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
2572 is now @CROSS@ -DIN_GCC; update comment.
2574 2001-12-04 Robert Dewar <dewar@gnat.com>
2576 * einfo.adb (Has_Pragma_Pure_Function): New flag.
2577 Fix problem that stopped ceinfo from working
2579 * einfo.ads (Has_Pragma_Pure_Function): New flag.
2581 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
2583 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
2586 (File_Time_Stamp): New procedure.
2587 (Preserve_Mode): New boolean.
2588 (Write_Unit): Pass time stamp.
2589 Implement -p switch (preserve time stamps).
2591 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
2593 * gnatchop.adb: Do usage info for -p switch
2595 * adaint.h (__gnat_set_file_time_name): New function
2597 * adaint.c (__gnat_set_file_time_name): Implement
2599 * adaint.h: Fix typo
2601 2001-12-03 Robert Dewar <dewar@gnat.com>
2603 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
2604 have Associated_Node.
2606 2001-12-03 Robert Dewar <dewar@gnat.com>
2608 * prj-proc.adb: Minor reformatting
2610 * make.adb: Minor reformatting
2612 2001-12-03 Geert Bosch <bosch@gnat.com>
2614 * make.adb: Minor reformatting.
2616 2001-12-03 Robert Dewar <dewar@gnat.com>
2618 * sem_ch12.adb: Minor reformatting
2620 2001-12-03 Ed Schonberg <schonber@gnat.com>
2622 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
2623 push Standard on the stack before analyzing the instance body,
2624 in order to have a clean visibility environment.
2626 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
2628 2001-12-03 Ed Schonberg <schonber@gnat.com>
2630 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
2631 instantiation of a body that contains an inlined body.
2633 2001-12-03 Ed Schonberg <schonber@gnat.com>
2636 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
2637 to prevent freezing within formal packages.
2638 (Freeze_Subprogram_Body): If body comes from another instance that
2639 appeared before its own body, place freeze node at end of current
2640 declarative part, to prevent a back-end crash.
2641 (Inline_Instance_Body): Handle properly a package instance within
2642 a subprogram instance that is a child unit.
2644 2001-12-01 Graham Stott <grahams@redhat.com>
2646 * Makefile.in (misc.o): Add missing $(srcdir) prefix
2647 and add optabs.h dependency.
2649 * misc.c: Include optabs.h
2650 (gnat_tree_code_type): Make static and const.
2651 (gnat_tree_code_length): Likewise.
2652 (gnat_tree_code_name): Likewise.
2653 (update_setjmp_buf): Obtain operands mode from insn_data.
2655 2001-11-29 Richard Henderson <rth@redhat.com>
2657 * init.c: Remove obsolete dwarf2 frame.h section.
2659 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
2661 * Make-lang.in (ada.generated-manpages): New dummy target.
2663 2001-11-29 Ed Schonberg <schonber@gnat.com>
2665 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
2666 into Command, an array conversion is illegal here. Uncovered by
2669 2001/11/28 Geert Bosch <bosch@gnat.com>
2671 * init.c: Minor whitespace changes.
2673 2001-11-28 Doug Rupp <rupp@gnat.com>
2675 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
2678 2001-11-28 Zack Weinberg <zack@codesourcery.com>
2680 * misc.c (gnat_expand_constant): Move declaration above
2681 definition of lang_hooks.
2682 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
2683 (gnat_init): lang_expand_constant no longer exists.
2685 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
2686 always have vprintf.
2687 (gnat_init): Always call set_internal_error_function.
2689 2001-11-27 Andreas Jaeger <aj@suse.de>
2691 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
2693 2001-11-27 Laurent Guerby <guerby@acm.org>
2695 * Makefile.in: Regenerate Ada dependencies.
2697 2001-11-26 Richard Henderson <rth@redhat.com>
2699 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
2700 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
2701 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
2703 2001-11-25 Laurent Guerby <guerby@acm.org>
2705 * sysdep.c (rts_get_*): Fix style.
2707 2001-11-19 Laurent Guerby <guerby@acm.org>
2709 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
2710 since it is of no apparent use and cause warnings.
2712 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
2714 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
2716 (gnat_init): Don't return NULL.
2717 (finish_parse): Remove.
2719 2001-11-17 Laurent Guerby <guerby@acm.org>
2721 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
2722 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
2723 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
2724 * lang-spec.h: Add missing struct field to silence warnings.
2725 * sysdep.c (rts_get_*): Provide K&R prototype.
2726 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
2727 * traceback.c (Unlock_Task, Lock_Task): Likewise.
2728 * tracebak.c (__gnat_backtrace): Remove unused variable.
2729 * utils.c (end_subprog_body): Move to K&R style.
2731 Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2733 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
2735 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
2737 * misc.c (gnat_init): Change prototype. Include the
2738 functionality of the old init_parse and init_decl_processing.
2739 (gnat_init_decl_processing): New prototype.
2740 (init_parse): Remove.
2741 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
2743 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
2745 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
2746 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
2747 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
2748 set_yydebug): Remove.
2750 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
2752 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
2753 (struct lang_hooks): Constify.
2754 (language_string, lang_identify): Remove.
2755 * utils.c (init_decl_processing): Update.
2757 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2759 * misc.c: Include langhooks-def.h.
2760 * Makefile.in: Update.
2762 2001-10-30 Robert Dewar <dewar@gnat.com>
2765 (Check_Identifier): Rewrite circuit to be compatible with use of letters
2766 in the upper half of ASCII.
2767 (Check_Identifier): Minor reformatting
2769 2001-10-30 Geert Bosch <bosch@gnat.com>
2771 * (Associated_Node, Set_Associated_Node): Do not check for
2774 2001-10-30 Robert Dewar <dewar@gnat.com>
2776 * a-reatim.ads: Minor reformatting
2778 2001-10-30 Robert Dewar <dewar@gnat.com>
2780 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
2781 undocumented declarations.
2783 2001-10-30 Pascal Obry <obry@gnat.com>
2785 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
2786 to the binder and linker.
2789 * mdll.ads: Fix layout. Update copyright notice.
2791 * mdll.adb: Fix layout. Update copyright notice.
2793 2001-10-30 Robert Dewar <dewar@gnat.com>
2795 * usage.adb: Minor fix to output for -gnaty.
2797 2001-10-30 Ed Schonberg <schonber@gnat.com>
2799 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
2800 to accommodate all its possible values.
2802 * a-reatim.adb (Split): Special-case handling of Time_Span_First
2803 and of small absolute values of T.
2805 2001-10-30 Richard Kenner <kenner@gnat.com>
2807 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
2808 set_mem_attributes since not needed and wrong if RESULT if a REG;
2809 fixes ACATS failures.
2811 2001-10-30 Geert Bosch <bosch@gnat.com>
2813 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
2814 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
2816 2001-10-30 Robert Dewar <dewar@gnat.com>
2818 * bindusg.adb: Undocument -f switch.
2820 * gnatcmd.adb: Remove /FULL_ELABORATION.
2822 * opt.ads (Force_RM_Elaboration_Order): Document that this is
2825 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
2827 * gnatbind.adb: Minor update of warning msg.
2829 2001-10-30 Vincent Celier <celier@gnat.com>
2831 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
2832 for project file switches (-P (/PROJECT_FILE=),
2833 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
2836 2001-10-30 Geert Bosch <bosch@gnat.com>
2838 * decl.c: Minor whitespace fixes.
2840 2001-10-30 Richard Kenner <kenner@gnat.com>
2842 * utils2.c (build_allocator): Test for SIZE overflow in array case too
2844 2001-10-30 Geert Bosch <bosch@gnat.com>
2846 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
2847 Found due to GCC 3.0 warning of using uninitialized value.
2850 (Get_Max_Size): Use variant record for tracking value/expression.
2851 Makes logic clearer and prevents warnings for uninitialized variables.
2852 (Layout_Array_Type): Use variant record for tracking value/expression.
2853 Makes logic clearer and prevents warnings for uninitialized variables.
2855 2001-10-30 Robert Dewar <dewar@gnat.com>
2857 * lib.adb: Minor reformatting
2859 * s-taprop.ads: Minor reformatting
2861 2001-10-29 Laurent Guerby <guerby@acm.org>
2864 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
2866 (_gnat_error_handler): Make MSG const.
2868 2001-10-29 Richard Kenner <kenner@gnat.com>
2870 * sysdep.c: Fix localtime_r problem on LynxOS.
2871 Also remove #elif to avoid warnings.
2873 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
2876 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
2878 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
2880 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
2881 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
2882 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
2883 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
2884 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
2885 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
2886 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
2887 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
2888 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
2889 types.ads, urealp.adb: Fix spelling errors.
2891 2001-10-27 Laurent Guerby <guerby@acm.org>
2893 * trans.c (gigi): Fix non determinism leading to bootstrap
2894 comparison failures for debugging information.
2896 2001-10-26 Florian Weimer <fw@deneb.enyo.de>
2898 * gnat_rm.texi: Use @./@: where appropriate.
2900 2001-10-26 Robert Dewar <dewar@gnat.com>
2902 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
2904 2001-10-26 Richard Kenner <kenner@gnat.com>
2906 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
2908 2001-10-26 Richard Kenner <kenner@gnat.com>
2910 * decl.c (validate_size): Modify message for bad size to avoid
2911 implication that compiler is modifying the size.
2913 2001-10-26 Robert Dewar <dewar@gnat.com>
2915 * prj-util.adb: Minor reformatting. Fix bad header format.
2917 2001-10-26 Robert Dewar <dewar@gnat.com>
2919 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
2921 * sinfo.ads: Clarify use of Associated_Node (documentation only).
2923 * sem_ch12.adb: Change Node4 to Associated_Node. Change
2924 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
2925 much more narrowly in places where needed. These are cleanups.
2927 2001-10-26 Joel Brobecker <brobecke@gnat.com>
2929 * 5zosinte.ads (null_pthread): new constant.
2932 (Initialize_TCB): Initialize thread ID to null, to be able to verify
2933 later that this field has been set.
2934 (Finalize_TCB): ditto.
2935 (Suspend_Task): Verify that the thread ID is not null before using it.
2936 (Resume_Task): ditto.
2939 (Resume_All_Tasks): Lock the tasks list before using it.
2940 (Suspend_All_Tasks): ditto.
2942 2001-10-26 Richard Kenner <kenner@gnat.com>
2944 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
2945 Make constant variant of designated type for Is_Access_Constant.
2946 Call update_pointer_to with main variant.
2948 * trans.c (process_freeze_entity, process_type):
2949 Call update_pointer_to on main variant.
2951 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
2952 If main variant, update all other variants.
2954 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
2957 2001-10-26 Robert Dewar <dewar@gnat.com>
2959 * prj-util.adb: Minor reformatting
2961 2001-10-26 Robert Dewar <dewar@gnat.com>
2963 * prj-util.adb: Minor reformatting
2965 2001-10-26 Robert Dewar <dewar@gnat.com>
2967 * prj-attr.adb: Minor reformatting throughout
2969 2001-10-26 Robert Dewar <dewar@gnat.com>
2971 * prj-attr.ads: Minor reformatting
2972 Add ??? comment (this whole spec has almost no comments)
2974 2001-10-26 Vincent Celier <celier@gnat.com>
2976 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
2977 ("//") that precede the drive letter on Interix.
2979 2001-10-26 Geert Bosch <bosch@gnat.com>
2981 * gnat_rm.texi: Add GNAT Reference Manual.
2983 2001-10-25 Robert Dewar <dewar@gnat.com>
2985 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
2986 is Error. Similar change for other renaming cases.
2988 2001-10-25 Robert Dewar <dewar@gnat.com>
2990 * s-atacco.ads: Add pragma Inline_Always for functions.
2991 Fix header format. Add copyright 2001
2993 2001-10-25 Ed Schonberg <schonber@gnat.com>
2995 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
2996 return Error rather than Empty so that analysis can proceed.
2998 2001-10-25 Ed Schonberg <schonber@gnat.com>
3000 * sem_util.adb (Enter_Name): better handling of cascaded error
3001 messages when a unit appears in its own context.
3003 2001-10-25 Ed Schonberg <schonber@gnat.com>
3005 * sem_util.adb (Defining_Entity): in case of error, attach created
3006 entity to specification, so that semantic analysis can proceed.
3008 2001-10-25 Robert Dewar <dewar@gnat.com>
3011 (Defining_Entity): Deal with Error.
3012 (Process_End_Label): Deal with bad end label for.
3014 2001-10-25 Ed Schonberg <schonber@gnat.com>
3016 * sem_elab.adb (Check_A_Call): refine message when call is in an
3017 instance but callee is not declared in the generic unit.
3019 2001-10-25 Ed Schonberg <schonber@gnat.com>
3021 * sem_elab.adb (Check_A_Call): check for renaming before finding the
3022 enclosing unit, which may already be different from the calling unit.
3024 2001-10-25 Geert Bosch <bosch@gnat.com>
3026 * 4gintnam.ads: fix header format.
3028 2001-10-25 Ed Schonberg <schonber@gnat.com>
3030 * sem_res.adb (Resolve_Call): if the call is actually an indexing
3031 operation on the result of a parameterless call, perform elaboration
3032 check after the node has been properly rewritten.
3034 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
3035 inlined within the generic tree, the defining identifier is not a
3038 2001-10-25 Ed Schonberg <schonber@gnat.com>
3040 * sem_res.adb (Resolve): special-case resolution of Null in an
3041 instance or an inlined body to avoid view conflicts.
3043 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
3044 compatibility by retrieving the access type of the generic copy.
3046 2001-10-25 Robert Dewar <dewar@gnat.com>
3049 (Analyze_Number_Declaration): Handle error expression.
3050 (Signed_Integer_Type_Declaration): Handle error bound.
3051 (Analyze_Subtype_Indication): Handle error range.
3053 * sem_util.adb (Get_Index_Bounds): Check for Error.
3055 2001-10-25 Robert Dewar <dewar@gnat.com>
3057 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
3058 in no run time mode.
3060 2001-10-25 Pascal Obry <obry@gnat.com>
3062 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
3063 mode case for ALLOC case.
3065 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
3066 all platforms. Improvement of last change.
3068 2001-10-25 Robert Dewar <dewar@gnat.com>
3070 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
3072 2001-10-25 Geert Bosch <bosch@gnat.com>
3074 * osint.adb (Is_Relative): Remove duplicate.
3076 2001-10-25 Pascal Obry <obry@gnat.com>
3078 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
3079 pathnames in UNIX and DOS style with drive letter.
3080 (Is_Relative): new routine.
3082 * osint.adb: Minor reformatting
3084 * osint.adb (Is_Relative): implementation using
3085 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
3087 2001-10-25 Pascal Obry <obry@gnat.com>
3089 * g-dirope.adb (Basename): correctly compute offset between the
3090 original Path and the translated one.
3092 * g-dirope.adb: (Base_Name): add some comments.
3094 2001-10-25 Robert Dewar <dewar@gnat.com>
3096 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
3097 in HIE mode, avoids compilation abandoned message
3099 * exp_imgv.adb: Correct typo in previous change
3101 * exp_imgv.adb: Correct typo in previous change (not my day!)
3103 2001-10-25 Robert Dewar <dewar@gnat.com>
3105 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
3107 2001-10-25 Pascal Obry <obry@gnat.com>
3109 * g-awk.ads: Move all pragma inlines next to the routine
3110 declarations. This is more uniform with other GNAT spec.
3112 2001-10-22 Geert Bosch <bosch@gnat.com>
3114 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
3116 2001-10-19 Geert Bosch <bosch@gnat.com>
3118 * Makefile.in (tools, gnattools): Remove gnatmem.
3120 2001-10-17 Richard Henderson <rth@redhat.com>
3122 * Makefile.in (misc.o): Depend on langhooks.h.
3123 * misc.c: Include it.
3124 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
3125 (LANG_HOOKS_DECODE_OPTION): New.
3126 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
3128 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
3130 * trans.c (tree_transform): Adjust to recent change in
3131 expand_asm_operands to implement named asm operands.
3133 2001-10-11 Ed Schonberg <schonber@gnat.com>
3135 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
3136 renaming of discriminant for mutable record type.
3138 2001-10-11 Robert Dewar <dewar@gnat.com>
3140 * validsw.adb: Properly save -gnatVn status.
3142 2001-10-11 Robert Dewar <dewar@gnat.com>
3144 * usage.adb: Add lines for V switch.
3146 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
3147 (/VALIDITY_CHECKING).
3149 2001-10-11 Ed Schonberg <schonber@gnat.com>
3151 * sem_type.adb (Add_One_Interp): an operator for a type declared in
3152 an extension of System is known to be visible.
3154 2001-10-11 Ed Schonberg <schonber@gnat.com>
3156 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
3157 properly. Fixes regression on ACATS C34005G.
3159 2001-10-11 Robert Dewar <dewar@gnat.com>
3161 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
3162 loop in generic instance, since this is likely not very useful.
3164 2001-10-11 Robert Dewar <dewar@gnat.com>
3166 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
3167 the error message for high integrity mode.
3169 * rtsfind.adb (RTE): Give message if we try to find an entity that
3170 is not available in high integrity mode.
3173 (OK_To_Use_In_HIE_Mode): New array.
3174 (RTE): May return Empty in high integrity mode.
3176 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
3177 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
3179 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
3180 unit if not inlined always and in no runtime mode. Fixes problem
3181 caused by new Rtsfind changes.
3183 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
3186 * rtsfind.adb (RTE): Make sure we do not try to load unit after
3187 giving message for entity not available in high integrity mode.
3189 2001-10-11 Pascal Obry <obry@gnat.com>
3191 * impunit.adb: Add GNAT.CRC32.
3193 2001-10-11 Ed Schonberg <schonber@gnat.com>
3195 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
3196 properly the case where one universal operand in a non-static
3197 exponentiation of a real literal.
3199 2001-10-11 Ed Schonberg <schonber@gnat.com>
3201 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
3202 clause, return the gobal finalization list, for lack of anthing else.
3204 2001-10-11 Ed Schonberg <schonber@gnat.com>
3206 * exp_ch7.adb (Make_Transient_Block): if statement is within
3207 exception handler, always use new transient scope to place Clean
3210 2001-10-11 Pascal Obry <obry@gnat.com>
3213 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
3214 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
3215 (GNATLS_RTL_OBJS): add g-crc32.o
3216 (GNATMAKE_RTL_OBJS): add g-crc32.o
3219 (CRC_Match): new function.
3220 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
3221 instead of the previous simple checksum algorithm.
3222 (Time_Stamp_Mismatch): use CRC_Match for comparison.
3223 (Set_Source_Table): idem.
3226 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
3227 instead of simple checksum.
3228 (CRC_Match): new function.
3229 (CRC_Error): new constant.
3231 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
3232 a CRC now and not a simple checksum. A CRC uses lower-case hex
3233 letters, fixes ambiguity in parsing.
3235 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
3236 is what this variable will store.
3238 * bcheck.adb: Change reference to chechsum in comments by CRC.
3239 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
3240 rename All_Checksum_Match to All_CRC_Match. Change due to API
3241 renaming since now GNAT does not use a simple checksum but a
3242 CRC using GNAT.CRC32.
3244 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
3245 now and not anymore a simple checksum.
3247 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
3250 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
3253 (Restore_Scan_State): rename Checksum to CRC.
3254 (Save_Scan_State): idem.
3258 (Checksum): rename to CRC.
3259 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
3261 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
3262 GNAT.CRC32). Update copyright notice.
3264 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
3265 GNAT.CRC32). Update copyright notice.
3268 (Accumulate_Checksum): removed.
3269 (Update): new procedure. Add a wide-character into the CRC.
3272 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
3273 (Load_File): fix initialization of S (change Source_Checksum to
3276 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
3277 Source_CRC in S initialization.
3279 * sinput.adb (Source_Checksum): renamed to Source_CRC.
3281 * sinput.ads (Source_Checksum): renamed to Source_CRC.
3282 Update comments for the CRC.
3284 * types.adb (Hex): Use lowercase for the letter part.
3286 * types.ads (Get_Hex_String): Returns the hexadecimal representation
3287 for a word. This is currently used only for CRC. In previous version,
3288 the checksum was using a representation with all letter being
3289 upper-case. With the new implementation (using CRC) we do not remove
3290 the 32th bit of the CRC, so we can have an upper-case starting letter
3291 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
3292 It is ambigous since the CRC was optional and could be followed by
3293 options like EB, EE. So now this routines uses lower-case letter for
3294 the hexadecimal representation. Strange enough only lower case letters
3295 where checked in Scan_ALI (even if this was not a possible case).
3297 * gnatvsn.ads (Library_Version): changed to 3.15a.
3299 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
3302 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
3305 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
3306 Add 2001 to copyright notice
3307 (Accumulate_Checksum): Modify to use System.CRC32.
3309 * ali-util.ads: Redo changes of previous revision to continue to use
3310 the word Checksum. Add 2001 to copyright notice.
3312 * ali.adb: Undo some of previous changes, not needed.
3313 Keep the change for lower case letters in the checksum.
3315 * ali.ads: Undo previous change not needed.
3317 * bcheck.adb: Undo most of previous change, not needed.
3318 But do use Checksums_Match for checksum comparison.
3320 * gnatls.adb: Undo most of previous change, not needed.
3321 But do use Checksums_Match for comparing checksums.
3323 * lib-load.adb: Undo previous change, not needed.
3325 * lib-writ.adb: Undo previous change, not needed.
3327 * lib-writ.ads: Document that checksums use lower case,
3328 not upper case letters.
3330 * scans.adb: Undo previous change, not needed
3332 * scans.ads: Undo previous change, not needed.
3334 * scn-nlit.adb: Undo previous changes, not needed.
3336 * scn-slit.adb: Undo previous change, not needed. Fix header format.
3339 (Accumulate_Checksum): Use System.CRC32.
3340 (Initialize_Checksum): New procedure.
3341 Remove other changes of previous revision.
3343 * sinput-p.adb: Undo previous change, not needed.
3345 * sinput.adb: Undo previous change, not needed.
3347 * sinput-l.adb: Undo previous change, not needed.
3349 * sinput.ads: Undo previous change, not needed. Keep only comment
3350 on new checksum algorithm
3352 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
3353 Also remove a-tags and a-stream from GNAT sources.
3355 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
3357 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
3359 2001-10-11 Geert Bosch <bosch@gnat.com>
3361 * einfo.h: Regenerate.
3363 * nmake.ads: Regenerate.
3365 * nmake.adb: Regenerate.
3367 * sinfo.h: Regenerate.
3369 * treeprs.adb: Regenerate.
3371 2001-10-10 Geert Bosch <bosch@gnat.com>
3373 * gnat-style.texi: New file describing coding guidelines for Ada.
3375 2001-10-10 Ed Schonberg <schonber@gnat.com>
3377 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
3380 2001-10-10 Geert Bosch <bosch@gnat.com>
3382 * snames.ads: Add new names for project facility.
3384 * snames.adb: Update to reflect snames.ads changes.
3386 * snames.h: Update to reflect snames.ads changes.
3388 2001-10-10 Vincent Celier <celier@gnat.com>
3391 (Add_Switches): reflect the changes for the switches attributes
3392 Default_Switches indexed by the programming language,
3393 Switches indexed by the file name.
3394 (Collect_Arguments_And_Compile): Idem.
3395 Reflect the attribute name changes.
3398 (Initialisation_Data): Change the names of some packages and
3400 (Initialize): process case insensitive associative arrays.
3403 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
3406 (Parse_Attribute_Declaration): For case insensitive associative
3407 arrays, set the index string to lower case.
3410 Reflect the changes of the project attributes.
3413 Replace Check_Naming_Scheme by Ada_Check and
3414 Language_Independent_Check.
3417 Replaced Check_Naming_Scheme by 2 procedures:
3418 Ada_Check and Language_Independent_Check.
3421 (Process_Declarative_Items): For case-insensitive associative
3422 arrays, set the index string to lower case.
3423 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
3424 Prj.Nmsc.Check_Naming_Scheme.
3427 (Case_Insensitive): New function
3428 (Set_Case_Insensitive): New procedure
3431 (Case_Insensitive): New function
3432 (Set_Case_Insensitive): New procedure
3433 (Project_Node_Record): New flag Case_Insensitive.
3436 (Value_Of): new function to get the string value of a single
3437 string variable or attribute.
3440 (Value_Of): new function to get the string value of a single
3441 string variable or attribute.
3444 (Ada_Default_Spec_Suffix): New function
3445 (Ada_Default_Impl_Suffix): New function
3446 Change definitions of several constants to reflect
3447 new components of record types.
3450 (Naming_Data): Change several components to reflect new
3451 elements of naming schemes.
3452 (Project_Data): New flags Sources_Present and
3453 Language_Independent_Checked.
3454 (Ada_Default_Spec_Suffix): New function.
3455 (Ada_Default_Impl_Suffix): New function.
3458 Modification of predefined names for project manager: added
3459 Implementation, Specification_Exceptions, Implementation_Exceptions,
3460 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
3461 Default_Switches, _Languages, Builder, Cross_Reference,
3462 Finder. Removed Body_Part, Specification_Append, Body_Append,
3463 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
3466 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
3469 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
3470 not that it is Nil_Variable_Value.
3472 * prj.ads: Add ??? for uncommented declarations
3474 2001-10-10 Ed Schonberg <schonber@gnat.com>
3476 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
3477 constant, do not indicate possible modification, so that gigi can
3478 treat it as a bona fide constant.
3480 2001-10-10 Robert Dewar <dewar@gnat.com>
3482 * sem_prag.adb: Add processing for pragma External.
3484 * snames.ads: Add entry for pragma External.
3486 * par-prag.adb: Add pragma External.
3488 * snames.adb: Updated to match snames.ads.
3490 2001-10-10 Ed Schonberg <schonber@gnat.com>
3492 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
3493 a dynamic task if the allocator appears in an indexed assignment
3494 or selected component assignment.
3496 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
3497 For a dynamic task in an assignment statement, use target of
3498 assignment to generate meaningful name.
3500 2001-10-10 Ed Schonberg <schonber@gnat.com>
3502 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
3505 * einfo.ads: Body_Entity is also defined for generic package.
3506 Documentation change only
3508 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
3509 others_choice for a discriminated component initialization,
3510 convert discriminant references into the corresponding discriminals.
3512 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
3513 only if original type is private and expression has to be wrapped
3517 (Apply_Constraint_Check): Do not perform length check
3518 if expression is an aggregate with only an others_choice.
3519 (Length_N_Cond): two references to the same in_parameter
3520 (typically the discriminal in an init_proc) denote the same value.
3521 Two useful optimization uncovered by bugfixes above.
3523 2001-10-10 Robert Dewar <dewar@gnat.com>
3525 * xeinfo.adb: Change int to char in translation of enumeration types.
3526 This fixes a problem in the C representation of component alignment.
3527 Add 2001 to copyright notice
3529 2001-10-10 Richard Kenner <kenner@gnat.com>
3531 * decl.c: (validate_size): Do check size of object of integral type
3532 if it is a packed array type.
3534 2001-10-10 Richard Kenner <kenner@gnat.com>
3536 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
3537 VAR_DECL for constant if not Is_Public but -O0.
3539 2001-10-10 Richard Kenner <kenner@gnat.com>
3541 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
3543 2001-10-10 Geert Bosch <bosch@gnat.com>
3545 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
3546 use '/' as switch character, allowing for absolute file names.
3548 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
3550 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
3553 2001-10-08 Geert Bosch <bosch@gnat.com>
3555 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
3556 Automatically build utilities when files need to be regenerated.
3558 2001-10-08 Geert Bosch <bosch@gnat.com>
3560 * xsnames.adb: New utility for updating snames.ads and snames.adb
3562 2001-10-08 Zack Weinberg <zack@codesourcery.com>
3564 * Make-lang.in (ADAFLAGS): Add -W -Wall.
3565 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
3566 (gnat1): Also depend on attribs.o.
3567 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
3568 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
3569 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
3570 (ADAFLAGS): Add -W -Wall.
3571 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
3574 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
3575 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
3576 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
3577 Use $(ADAC), not $(CC), as compilation command.
3579 (gnattools): Depend directly on tools to build, don't use
3581 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
3583 * einfo.h, sinfo.h: New files (autogenerated).
3585 2001-10-08 Richard Henderson <rth@redhat.com>
3587 * comperr.adb (Abort_In_Progress): New.
3588 (Compiler_Abort): Use it to prevent recursion.
3590 2001-10-08 Robert Dewar <dewar@gnat.com>
3592 * atree.adb: Set Error_Posted in Error node, helps error recovery.
3594 * par-endh.adb (Output_End_Expected): We should also not test
3595 Error_Posted on the Error node, since now it is always set.
3597 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
3598 to help error recovery. Part of general work on 9407-004.
3600 * par.adb: Add ??? for misuse of error
3603 (Resolve): Defend against Error, fixes 9407-003.
3604 (Resolve_Discrete_Subtype_Indication): Defend against Error.
3606 * sinfo.ads (N_Error): Now has Etype field (which will be set
3607 to Any_Type to help error recovery).
3609 2001-10-08 Richard Kenner (kenner@gnat.com)
3611 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
3612 Consistently set MEM attributes from expression; fixes
3613 bootstrap failure on x86.
3615 2001-10-08 Geert Bosch (bosch@gnat.com)
3617 * 5oosinte.adb: Add 2001 to copyright notice.
3619 2001-10-08 Geert Bosch (bosch@gnat.com)
3621 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
3623 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
3625 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
3627 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
3629 2001-10-05 Geert Bosch (bosch@gnat.com)
3631 * adaint.h: Small formatting fix.
3633 2001-10-04 Geert Bosch <bosch@gnat.com>
3635 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
3636 Arg is int, not FILE *, in dummy version of functions.
3638 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
3639 Arg is int, not FILE *.
3641 2001-10-04 Geert Bosch <bosch@gnat.com>
3643 * 3lsoccon.ads: Added file, missed with initial check ins.
3645 * 4lintnam.ads: Fix header format.
3646 Change Linux to GNU/Linux.
3648 * 5iosinte.adb: Change Linux to GNU/Linux.
3650 * 5iosinte.ads: Change Linux to GNU/Linux.
3652 * 5itaprop.adb: Change Linux to GNU/Linux.
3654 * 5itaspri.ads: Change Linux to GNU/Linux.
3655 Update copyright notice.
3657 * 5lintman.adb: Change Linux to GNU/Linux.
3659 * 5lml-tgt.adb: Change Linux to GNU/Linux.
3661 * 5losinte.ads: Change Linux to GNU/Linux.
3663 * 5lsystem.ads: Change Linux to GNU/Linux.
3665 * 5qosinte.adb: Change Linux to GNU/Linux.
3667 * 5qosinte.ads: Change Linux to GNU/Linux.
3669 * 5qparame.ads: Change Linux to GNU/Linux.
3671 * 5qtaprop.adb: Change Linux to GNU/Linux.
3673 * 5qtaspri.ads: Change Linux to GNU/Linux.
3674 Add 2001 to copyright notice.
3676 * 5vintman.ads: Change Linux to GNU/Linux.
3677 Fix header format. Add 2001 to copyright notice.
3679 * g-soccon.ads: Change Linux to GNU/Linux.
3681 * g-trasym.ads: Change Linux to GNU/Linux.
3682 Add 2001 to copyright notice.
3684 * memtrack.adb: Change Linux to GNU/Linux.
3686 * s-intman.ads: Change Linux to GNU/Linux.
3687 Add 2001 to copyright notice. Fix header format.
3689 * s-stache.adb: Change Linux to GNU/Linux.
3691 * adaint.c: Change Linux to GNU/Linux.
3693 * cio.c: Change Linux to GNU/Linux.
3695 * cstreams.c: Change Linux to GNU/Linux.
3697 * init.c: Change Linux to GNU/Linux.
3699 * gmem.c: Change Linux to GNU/Linux.
3701 * tracebak.c: Change Linux to GNU/Linux.
3704 2001-10-02 Geert Bosch <bosch@gnat.com>
3706 * misc.c (insert_default_attributes): Add dummy version.