1 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
3 * trans.c (build_unit_elab, set_lineno): Rename lineno to
5 * utils.c (pushdecl, create_label_decl, begin_subprog_body,
6 end_subprog_body): Likewise.
7 * utils2.c (build_call_raise): Likewise.
9 2003-05-01 Laurent Guerby <guerby@acm.org>
12 * 5iosinte.ads: Increase pthread_cond_t size to match recent
13 LinuxThread and NPTL version, merge from ACT.
15 2003-04-28 Zack Weinberg <zack@codesourcery.com>
17 * utils.c (convert): No need to clear TREE_CST_RTL.
19 2003-04-23 Geert Bosch <bosch@gnat.com>
21 * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
22 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
23 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
24 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
25 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
26 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
27 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
28 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
29 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
30 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
31 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
32 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
33 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
34 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
35 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
36 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
37 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
38 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
39 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
40 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
41 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
42 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
43 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
44 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
45 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
46 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
47 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
48 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
49 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
50 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
51 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
52 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
53 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
54 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
55 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
56 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
57 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
58 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
59 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
60 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
61 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
62 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
63 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
64 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
65 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
66 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
67 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
68 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
69 a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
70 a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
71 a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
72 a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
73 a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
74 a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
75 a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
76 a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
77 a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
78 a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
79 a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
80 a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
81 a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
82 a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
83 a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
84 a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
85 a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
86 a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
87 a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
88 a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
89 a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
90 a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
91 a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
92 a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
93 a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
94 a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
95 a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
96 a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
97 a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
98 a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
99 a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
100 a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
101 a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
102 a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
103 a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
104 a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
105 a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
106 a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
107 a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
108 a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
109 a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
110 a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
111 a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
112 a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
113 a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
114 a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
115 a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
116 a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
117 a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
118 a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
119 a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
120 a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
121 a-wttest.ads, ada-tree.h, ada.ads, ada.h,
122 adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
123 ali.adb, ali.ads, alloc.ads, argv.c,
124 atree.adb, atree.ads, atree.h, aux-io.c,
125 back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
126 binde.adb, binde.ads, binderr.adb, binderr.ads,
127 bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
128 butil.adb, butil.ads, cal.c, calendar.ads,
129 casing.adb, casing.ads, ceinfo.adb, checks.adb,
130 checks.ads, cio.c, comperr.adb, comperr.ads,
131 config-lang.in, csets.adb, csets.ads, csinfo.adb,
132 cstand.adb, cstand.ads, cuintp.c, debug.adb,
133 debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
134 dec-io.ads, dec.ads, deftarg.c, directio.ads,
135 einfo.adb, einfo.ads, elists.adb, elists.ads,
136 elists.h, errno.c, errout.adb, errout.ads,
137 eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
138 exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
139 exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
140 exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
141 exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
142 exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
143 exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
144 exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
145 exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
146 exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
147 exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
148 exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
149 exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
150 exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
151 exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
152 fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
153 fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
154 freeze.adb, freeze.ads, frontend.adb, frontend.ads,
155 g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
156 g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
157 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
158 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
159 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
160 g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
161 g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
162 g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
163 g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
164 g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
165 g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
166 g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
167 g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
168 g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
169 g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
170 g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
171 g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
172 g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
173 g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
174 g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
175 g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
176 g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
177 get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
178 gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
179 gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
180 gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
181 gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
182 gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
183 gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
184 gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
185 hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
186 i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
187 i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
188 i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
189 i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
190 i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
191 i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
192 inline.adb, inline.ads, interfac.ads, ioexcept.ads,
193 itypes.adb, itypes.ads, krunch.adb, krunch.ads,
194 layout.adb, layout.ads, lib-list.adb, lib-load.adb,
195 lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
196 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
197 lib.adb, lib.ads, live.adb, live.ads,
198 machcode.ads, make.adb, make.ads, makeusg.adb,
199 makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
200 mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
201 memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
202 mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
203 mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
204 mlib.ads, namet.adb, namet.ads, nlists.adb,
205 nlists.ads, opt.adb, opt.ads, osint-b.adb,
206 osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
207 osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
208 osint.ads, output.adb, output.ads, par-ch10.adb,
209 par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
210 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
211 par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
212 par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
213 par-tchk.adb, par-util.adb, par.adb, par.ads,
214 prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
215 prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
216 prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
217 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
218 prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
219 prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
220 prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
221 prj.adb, prj.ads, repinfo.adb, repinfo.ads,
222 restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
223 rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
224 s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
225 s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
226 s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
227 s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
228 s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
229 s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
230 s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
231 s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
232 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
233 s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
234 s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
235 s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
236 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
237 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
238 s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
239 s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
240 s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
241 s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
242 s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
243 s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
244 s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
245 s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
246 s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
247 s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
248 s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
249 s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
250 s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
251 s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
252 s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
253 s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
254 s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
255 s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
256 s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
257 s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
258 s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
259 s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
260 s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
261 s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
262 s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
263 s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
264 s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
265 s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
266 s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
267 s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
268 s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
269 s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
270 s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
271 s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
272 s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
273 s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
274 s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
275 s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
276 s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
277 s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
278 s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
279 s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
280 s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
281 s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
282 s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
283 s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
284 s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
285 s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
286 s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
287 s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
288 s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
289 s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
290 s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
291 s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
292 s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
293 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
294 s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
295 s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
296 s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
297 s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
298 s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
299 s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
300 s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
301 s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
302 s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
303 s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
304 s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
305 s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
306 s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
307 s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
308 s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
309 s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
310 s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
311 s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
312 s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
313 s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
314 s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
315 s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
316 s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
317 scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
318 sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
319 sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
320 sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
321 sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
322 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
323 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
324 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
325 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
326 sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
327 sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
328 sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
329 sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
330 sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
331 sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
332 sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
333 sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
334 sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
335 sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
336 sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
337 sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
338 snames.ads, sprint.adb, sprint.ads, stand.adb,
339 stand.ads, stringt.adb, stringt.ads, style.adb,
340 style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
341 switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
342 switch-m.ads, switch.adb, switch.ads, system.ads,
343 table.adb, table.ads, targparm.adb, targparm.ads,
344 tbuild.adb, tbuild.ads, text_io.ads, trans.c,
345 tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
346 tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
347 ttypef.ads, ttypes.ads, types.adb, types.ads,
348 uintp.adb, uintp.ads, uname.adb, uname.ads,
349 unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
350 usage.adb, usage.ads, validsw.adb, validsw.ads,
351 widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
352 xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
353 xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
354 formatting and other trivial changes from ACT.
356 2003-04-12 Zack Weinberg <zack@codesourcery.com>
358 * gigi.h, utils2.c (build_constructor):
359 Rename gnat_build_constructor. Use build_constructor.
360 * decl.c (gnat_to_gnu_entity)
361 * trans.c (tree_transform, pos_to_constructor, extract_values)
362 * ada/utils.c (build_template, convert_to_fat_pointer, convert)
364 * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
365 (fill_vms_descriptor):
368 2003-04-06 Zack Weinberg <zack@codesourcery.com>
370 * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
371 * misc.c (gnat_tree_size): New function.
372 (LANG_HOOKS_TREE_SIZE): Override.
374 2003-04-03 Jason Merrill <jason@redhat.com>
376 * misc.c (gnat_adjust_rli): #if 0.
378 2003-03-31 Geert Bosch <bosch@gnat.com>
381 * link.c : Fix misspelled "const" keyword
383 2003-03-23 Mark Mitchell <mark@codesourcery.com>
386 * utils2.c: Adjust calls to put_var_into_stack.
388 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
390 * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
392 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
394 * misc.c (gnat_init): Update for new prototype.
396 2003-03-05 Olivier Hainque <hainque@gnat.com>
399 * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
400 warning, and fix return type for the IN_RTS && !SJLJ case.
402 2003-03-04 Tom Tromey <tromey@redhat.com>
404 * Make-lang.in (ada.tags): New target.
406 2003-03-04 Olivier Hainque <hainque@act-europe.fr>
409 * a-except.adb (Unwind_RaiseException): Import a GNAT specific
410 wrapper, which name remains constant whatever underlying GCC
413 * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
414 the stable interface needed for a-except.
416 2003-03-02 Andreas Jaeger <aj@suse.de>
418 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
419 gnat_ug_wnt.texi: Regenerate.
421 2003-03-02 Laurent Guerby <guerby@acm.org>
423 * Makefile.in (install-gnatlib): Match previous change there
426 2003-02-28 Andreas Schwab <schwab@suse.de>
428 * Make-lang.in (install-gnatlib): Change to ada directory before
429 running make instead of using ada/Makefile directly.
431 2003-02-18 Ben Elliston <bje@redhat.com>
433 Part of fix for PR ada/9406
434 * gnat_ug.texi (Binder output file): Grammar fix.
436 2003-02-18 Ben Elliston <bje@redhat.com>
439 * 5qtaprop.adb (Sleep): Fix typo in comment.
441 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
443 * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
444 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
445 gnat_ug_wnt.texi: Regenerate.
447 2003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de>
449 * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
450 be created if necessary.
451 (ada.install-common): Let $(DESTDIR)$(bindir) be created
452 if necessary. Remove erroneous and redundant gnatchop
453 installation commands. Test for gnatdll before attempting
455 (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
456 and gnatdll from all plausible locations.
458 2003-02-01 Richard Sandiford <rsandifo@redhat.com>
460 * utils2.c (build_unary_op): Don't check flag_volatile.
461 * gnat_ug.texi: Remove -fvolatile from example.
462 * gnat_ug_vxw.texi: Likewise.
464 2003-01-29 Laurent Guerby <guerby@acm.org>
467 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
468 * Makefile.in: match previous change.
469 * Make-lang.in: match previous change.
471 2003-01-29 Joel Sherrill <joel@OARcorp.com>
473 * 5rosinte.ads: Add SIGXCPU.
474 * 5rtpopsp.adb: New file.
475 * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
476 * Makefile.in: Recognize more RTEMS targets and add the RTEMS
477 specific file 5rtpopsp.adb.
478 * adaint.h: Add include of <stdio.h> when target is RTEMS. This
479 is likely needed for all newlib targets.
480 * init.c: Add RTEMS specific version of __gnat_initialize().
482 2003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
484 * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
486 2003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
488 * init.c (__gnat_error_handler): Make msg const.
490 * gmem.c (convert_addresses): Move declaration ...
491 * adaint.h: ... here.
492 * adaint.c (convert_addresses): Adapt addrs type to match
495 * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
497 2003-01-24 Andreas Schwab <schwab@suse.de>
499 * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
500 size_t to avoid warning.
502 2003-01-21 Zack Weinberg <zack@codesourcery.com>
504 * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
506 2003-01-09 Geoffrey Keating <geoffk@apple.com>
508 * gnat_rm.texi: Remove RCS version number.
510 * ada-tree.h (union lang_tree_node): Add chain_next option.
512 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
514 * Make-lang.in (ada.install-info, ada.install-common,
515 ada.uninstall): Prepend $(DESTDIR) to the destination
516 directory in all (un)installation commands.
517 * Makefile.in (install-gnatlib, install-rts): Ditto.
519 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
521 * gnat_rm.texi, gnat_ug.texi: Use @copying.
522 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
523 gnat_ug_wnt.texi: Regenerate.
525 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
527 * gnat_rm.texi: Include gcc-common.texi. Use GCC version number
529 * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
530 $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
531 $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
532 ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
533 ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
534 $(srcdir)/doc/include/gcc-common.texi.
536 2002-12-15 Geert Bosch <bosch@gnat.com>
538 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
540 2002-12-14 Geert Bosch <bosch@gnat.com>
542 * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
543 case of a body created for a Renaming_As_Body, on which
544 conformance checks are not performed. Fixes PR ada/5690.
546 2002-11-30 Zack Weinberg <zack@codesourcery.com>
548 * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
549 utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
550 not already included.
551 * Make-lang.in: Update dependencies.
553 2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
554 * adaint.c (__gnat_tmp_name): Better, but good enough for now,
555 solution to buffer overflow bug on GNU/Linux.
557 2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
558 Closes PR ada/5856 and PR ada/6919 !
559 * bindgen.adb: Remove all references to Public_Version.
560 * comperr.adb: Remove all references to Public_Version and
561 GNATPRO_Version; correct bug reporting instructions.
562 * comperr.ads: Change to match bug box.
563 * gnatvsn.ads: Remove all references to Public version and
566 2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
568 * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
572 * config-lang.in: Remove diff_excludes.
574 2002-11-05 Graham Stott <graham.stott@btinternet.com>
576 * trans.c (gnu_pending_elaboration_lists): New GC root.
577 (build_unit_elab): Use..
579 2002-10-30 Geert Bosch <bosch@gnat.com>
581 * misc.c : Include optabs.h
583 * Make-lang.in (misc.o): Add dependency on optabs.h
585 2002-10-29 Geert Bosch <bosch@gnat.com>
587 * Make-lang.in (gnatbind): Depend on CONFIG_H
589 2002-10-29 Geert bosch <bosch@gnat.com>
591 * misc.c: Unrevert misc.c (1.13)
593 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
595 * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
596 maintainership comments.
598 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
600 * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
601 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
602 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
603 7staprop.adb: Correct statements in comments about
604 maintainership of GNAT.
607 * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
608 gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
609 osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
610 osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
611 s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
612 s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
613 sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
614 switch-c.ads switch-m.adb switch-m.ads: Correct statements in
615 comments about maintainership of GNAT.
617 PR ada/6919 (forward port of patch for PR ada/5904)
618 * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
619 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
620 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
621 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
622 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
623 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
624 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
625 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
626 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
627 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
628 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
629 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
630 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
631 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
632 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
633 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
634 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
635 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
636 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
637 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
638 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
639 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
640 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
641 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
642 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
643 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
644 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
645 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
646 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
647 a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
648 a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
649 a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
650 a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
651 a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
652 a-except.adb a-except.ads a-excpol.adb a-exctra.adb
653 a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
654 a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
655 a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
656 a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
657 a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
658 a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
659 a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
660 a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
661 a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
662 a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
663 a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
664 a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
665 a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
666 a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
667 a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
668 a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
669 a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
670 a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
671 a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
672 a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
673 a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
674 a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
675 a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
676 a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
677 a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
678 a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
679 a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
680 a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
681 a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
682 a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
683 a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
684 a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
685 a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
686 adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
687 alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
688 back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
689 binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
690 bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
691 ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
692 csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
693 cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
694 debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
695 einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
696 errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
697 exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
698 exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
699 exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
700 exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
701 exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
702 exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
703 exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
704 exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
705 exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
706 exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
707 exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
708 exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
709 exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
710 final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
711 fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
712 freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
713 g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
714 g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
715 gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
716 gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
717 gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
718 gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
719 gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
720 gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
721 i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
722 i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
723 i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
724 i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
725 impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
726 itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
727 lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
728 lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
729 lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
730 lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
731 makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
732 namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
733 nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
734 osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
735 par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
736 par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
737 par-endh.adb par-labl.adb par-load.adb par-prag.adb
738 par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
739 prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
740 prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
741 prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
742 prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
743 prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
744 prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
745 repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
746 rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
747 s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
748 s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
749 s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
750 s-direio.adb s-direio.ads s-except.ads s-exctab.adb
751 s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
752 s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
753 s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
754 s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
755 s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
756 s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
757 s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
758 s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
759 s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
760 s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
761 s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
762 s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
763 s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
764 s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
765 s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
766 s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
767 s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
768 s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
769 s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
770 s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
771 s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
772 s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
773 s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
774 s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
775 s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
776 s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
777 s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
778 s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
779 s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
780 s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
781 s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
782 s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
783 s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
784 s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
785 s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
786 s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
787 s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
788 s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
789 s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
790 s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
791 s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
792 s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
793 s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
794 s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
795 s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
796 s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
797 s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
798 s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
799 s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
800 s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
801 s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
802 s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
803 s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
804 s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
805 s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
806 s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
807 s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
808 s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
809 s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
810 s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
811 s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
812 s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
813 s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
814 s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
815 s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
816 s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
817 s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
818 s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
819 s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
820 s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
821 s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
822 s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
823 s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
824 s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
825 s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
826 s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
827 s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
828 s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
829 scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
830 sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
831 sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
832 sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
833 sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
834 sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
835 sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
836 sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
837 sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
838 sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
839 sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
840 sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
841 sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
842 sem_type.adb sem_type.ads sem_util.adb sem_util.ads
843 sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
844 sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
845 sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
846 sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
847 snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
848 stringt.ads stringt.h style.adb style.ads stylesw.adb
849 stylesw.ads switch.adb switch.ads sysdep.c system.ads
850 table.adb table.ads targparm.adb targparm.ads targtyps.c
851 tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
852 tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
853 treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
854 types.adb types.ads types.h uintp.adb uintp.ads uintp.h
855 uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
856 usage.ads utils.c utils2.c validsw.adb validsw.ads
857 widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
858 xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
859 xtreeprs.adb: Correct statements in comments about maintainership
862 2002-09-23 Zack Weinberg <zack@codesourcery.com>
864 * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
865 * Makefile.in (TOOLS_LIBS): Add ../../version.o.
866 * gnatvsn.ads: Gnat_Version_String is now a function.
867 * gnatvsn.adb: New file. When asked for Gnat_Version_String,
868 copy the C version_string into a String and return it.
869 * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
870 gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
871 Remove pragma Ident (Gnat_Version_String). If this was the
872 sole use of package Gnatvsn, remove the with statement too.
873 * gnat1drv.adb: Tweak -gnatv output.
875 2002-09-17 Richard Henderson <rth@redhat.com>
877 * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
878 * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
879 * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
880 (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
881 * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
882 and real_2expN instead of a loop.
883 * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
884 (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
886 2002-08-25 Andre Leis <a.leis@gmx.net>
887 David Billinghurst (David.Billinghurst@riotinto.com>
889 * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
891 2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
893 * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
894 Remove $(CONFIG_H) dependency.
896 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
898 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
900 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
902 * adadecode.c (ada_demangle): Use xstrdup in lieu of
904 * misc.c (gnat_decode_option): Likewise.
906 2002-07-15 Florian Weimer <fw@deneb.enyo.de>
908 * make.adb (Add_Switch): Make Generic_Position a procedure. The
909 function approach did not work well because of a side effect (the
910 function call could reallocate the table which was being indexed
911 using its result). Fixes ada/4851. [RESURRECTED]
913 2002-07-01 Roger Sayle <roger@eyesopen.com>
915 * ada/utils.c (builtin_function): Accept an additional parameter.
917 2002-06-28 Andreas Jaeger <aj@suse.de>
920 * Makefile.in: Fix typo in comment, patch by Adrian Knoth
923 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
925 * Makefile.in (SHELL): Set to @SHELL@.
927 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
929 * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
930 array size calculation.
932 2002-06-04 Andreas Jaeger <aj@suse.de>
934 * Make-lang.in (gnatbind): Readd rule that has been lost in last
937 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
939 Merge from pch-branch:
941 * config-lang.in (gtfiles): Add ada-tree.h.
942 * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
943 (SET_TYPE_MODULUS): New.
944 (SET_TYPE_INDEX): New.
945 (SET_TYPE_DIGITS_VALUE): New.
946 (SET_TYPE_RM_SIZE): New.
947 (SET_TYPE_UNCONSTRAINED_ARRAY): New.
948 (SET_TYPE_ADA_SIZE): New.
949 (SET_TYPE_ACTUAL_BOUNDS): New.
950 (SET_DECL_CONST_CORRESPONDING_VAR): New.
951 (SET_DECL_ORIGINAL_FIELD): New.
952 (TREE_LOOP_ID): Correct typo.
953 * decl.c: Use new macros.
954 * utils.c: Include debug.h, use new macros.
955 * utils2.c: Use new macros.
957 * ada-tree.h: Update all macros for new tree description.
958 (struct tree_loop_id): New.
959 (union lang_tree_node): New.
960 (struct lang_decl): New.
961 (struct lang_type): New.
962 * misc.c (gnat_mark_tree): Delete.
963 (LANG_HOOKS_MARK_TREE): Delete.
964 * trans.c (tree_transform): No longer any need to cast
967 * utils.c (struct language_function): New dummy structure.
969 * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
971 (utils.o): Likewise; also gtype-ada.h.
972 * Make-lang.in (gnat1): Add dependency on s-gtype.
973 (gnatbind): Add dependency on $(CONFIG_H).
974 * utils.c: Correct last #include.
975 (stuct e_stack): Remove unnecessary 'static'.
976 (mark_e_stack): Remove unused prototype.
978 * scn-nlit.adb: Remove whitespace after version number to
979 keep lines under 80 chars.
980 * snames.adb: Likewise.
981 * treepr.ads: Likewise.
983 * Makefile.in (decl.o): Include gt-ada-<filename>.h.
985 (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
986 * config-lang.in (gtfiles): New.
987 * decl.c: Use gengtype for roots.
988 * gigi.h: Use gengtype for roots.
989 * trans.c: Use gengtype for roots.
990 * utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
992 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
994 * misc.c (gnat_init): Adjust setting of internal_error_function.
996 2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
998 * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
999 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
1000 gnat_ug_wnt.texi: Regenerate.
1002 2002-05-31 Florian Weimer <fw@deneb.enyo.de>
1004 * 5ntaprop.adb (with System.OS_Primitives): Remove.
1006 * cstreams.c (max_path_len): Move from here ...
1007 * adaint.c (__gnat_max_path_len): ... to here.
1008 * adaint.c (__gnat_max_path_len): Declare.
1009 * g-dirope.adb (Max_Path): Adjust.
1010 * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
1011 * i-cstrea.ads (max_path_len): Adjust.
1012 * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
1013 * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
1015 * Makefile.in, Make-lang.in: Documentation is now built in
1016 Make-lang.in. Store Info and generated Texinfo files in the
1018 * gnat_ug.texi: Remove CVS keywords, correct version number.
1019 Set file name correctly.
1021 * gnat_ug_*.texi: Add.
1022 * .cvsignore: Ignore generated Texinfo files.
1024 2002-05-30 Zack Weinberg <zack@codesourcery.com>
1026 * ada.h: Add MI guard macro.
1027 (SUBTYPE): Define constants with an anonymous enum, not static
1029 (IN): Cast constants to appropriate type before use.
1031 2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
1033 * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
1036 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1038 * Make-lang.in (CP, ECHO): Copy from Makefile.in.
1039 (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
1040 (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
1041 (ALL_ADA_CFLAGS): Likewise.
1042 (ADA_INCLUDES): Likewise.
1043 Adapt for new working dir.
1044 (GNATBIND): Use Makefile.in version.
1045 (.SUFFIXES): Copy from Makefile.in.
1047 (.adb.o, .ads.o): Copy from Makefile.in.
1048 Added $(OUTPUT_OPTION).
1049 (GNAT1_C_OBJS): Moved from Makefile.in.
1050 Prefix with ada subdir.
1051 (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
1052 (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
1053 Adapt for new working dir.
1054 (EXTRA_GNATBIND_OBJS): Likewise.
1055 (ADA_BACKEND): Moved from Makefile.in.
1056 Renamed to avoid conflict with global BACKEND.
1058 (TARGET_ADA_SRCS): Moved from Makefile.in.
1059 (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
1061 (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
1062 (ada_extra_files): Moved from Makefile.in.
1063 Prefix with ada subdir.
1064 (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
1065 (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
1066 (ada/nmake.ads): Likewise.
1067 (update-sources): Moved from Makefile.in.
1068 Prefix with ada subdir.
1069 (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
1070 (ADA_TREE_H): Likewise.
1071 (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
1072 (ada/memtrack.o): Likewise.
1073 (ada/adadecode.o): Likewise.
1074 Update dependencies.
1075 (ada/adaint.o): New.
1076 (ada/argv.o): Moved from Makefile.in.
1077 Prefix with ada subdir.
1078 Update dependencies.
1079 (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
1080 (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
1081 (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
1082 Prefix with ada subdir.
1083 (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
1084 (GNAT DEPENDENCIES): Regenerate.
1085 * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
1086 toplevel Makefile.in.
1087 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
1088 (TARGET_ADA_SRCS): Removed.
1089 (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
1090 (GNATBIND_OBJS): Likewise.
1091 (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
1093 (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
1095 (ada_extra_files): Likewise.
1096 (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
1097 (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
1098 (update-sources): Likewise.
1099 (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
1100 (ADA_TREE_H): Likewise.
1101 (adadecoce.o): Likewise.
1102 (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
1103 (GNAT DEPENDENCIES): Likewise.
1105 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1107 * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
1108 * Makefile.in: Likewise.
1110 2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1112 * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
1113 Restore $(CONFIG_H) and prefix.o dependencies.
1114 (ada.stage[1-4]): Depend on stage?-start.
1116 * Makefile.in (b_gnatb.c): Depend on interfac.o.
1118 2002-05-02 Jim Wilson <wilson@redhat.com>
1120 * utils.c (finish_record_type): Change record_size to record_type.
1122 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
1124 * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
1125 (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
1126 ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
1128 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
1130 * misc.c (gnat_parse_file): Update.
1132 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
1134 * misc.c (gnat_init): Don't set lang_attribute_common.
1136 2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
1138 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
1140 2002-04-21 Florian Weimer <fw@deneb.enyo.de>
1142 * gnat_ug.texi: New file.
1144 * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
1145 instead of gfdl.texi
1147 * xgnatug.adb, ug_words: New files.
1149 * Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
1150 gnat_rm and gnat-style manuals.
1152 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
1154 * gigi.h (incomplete_type_error): Remove.
1155 * utils.c (incomplete_type_error): Remove.
1157 2002-04-16 Mark Mitchell <mark@codesourcery.com>
1159 * trans.c (tree_transform): Add has_scope argument to
1160 expand_start_stmt_expr.
1162 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
1164 * gigi.h (truthvalue_conversion): Rename.
1165 * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
1166 * trans.c (tree_transform): Update.
1167 * utils2.c (truthvalue_conversion): Rename, update.
1168 (build_binary_op, build_unary_op): Update.
1170 2002-04-04 Laurent Guerby <guerby@acm.org>
1172 * make.adb: Implement -margs, remove restriction about file name placement.
1173 * makeusg.adb: Documentation update.
1174 * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
1175 * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
1177 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
1179 * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
1180 (builtin_function): Similarly.
1182 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
1184 * decl.c (gnat_to_gnu_entity): Update.
1185 * gigi.h (mark_addressable): Rename.
1186 * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
1187 * trans.c (tree_transform): Update.
1188 * utils.c (create_var_decl): Update.
1189 * util2.c (build_binary_op, build_unary_op,
1190 fill_vms_descriptor): Update.
1191 (mark_addressable): Rename, update.
1193 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
1195 * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
1197 * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
1198 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
1199 * trans.c (tree_transform, convert_with_check): Update.
1200 * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
1203 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
1205 * gigi.h (finish_incomplete_decl): Rename.
1206 * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
1207 * utils.c (gnat_init_decl_processing): Don't set hook.
1208 (finish_incomplete_decl): Rename.
1210 2002-03-29 Andreas Schwab <schwab@suse.de>
1212 * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
1215 2001-03-28 Robert Dewar <dewar@gnat.com>
1218 (Remove_Checks): New procedure
1221 (Remove_Checks): New procedure
1224 Use new Duplicate_Subexpr functions
1225 (Duplicate_Subexpr_No_Checks): New procedure
1226 (Duplicate_Subexpr_No_Checks_Orig): New procedure
1227 (Duplicate_Subexpr): Restore original form (checks duplicated)
1228 (Duplicate_Subexpr): Call Remove_Checks
1231 (Duplicate_Subexpr_No_Checks): New procedure
1232 (Duplicate_Subexpr_No_Checks_Orig): New procedure
1233 Add 2002 to copyright notice
1235 * sem_util.adb: Use new Duplicate_Subexpr functions
1238 (Eval_Indexed_Component): This is the place to call
1239 Constant_Array_Ref and to replace the value. We simply merge
1240 the code of this function in here, since it is now no longer
1241 used elsewhere. This fixes the problem of the back end not
1242 realizing we were clever enough to see that this was
1244 (Expr_Val): Remove call to Constant_Array_Ref
1245 (Expr_Rep_Val): Remove call to Constant_Array_Ref
1247 (Constant_Array_Ref): Deal with string literals (patch
1248 suggested by Zack Weinberg on the gcc list)
1250 2001-03-28 Ed Schonberg <schonber@gnat.com>
1252 * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
1253 Duplicate_Subexpr_Move_Checks.
1255 * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
1256 Duplicate_Subexpr_Move_Checks.
1258 * sem_eval.adb: (Constant_Array_Ref): Verify that constant
1259 value of array exists before retrieving it (it may a private
1260 protected component in a function).
1262 2002-03-28 Geert Bosch <bosch@gnat.com>
1264 * prj-pp.adb : New file.
1266 * prj-pp.ads : New file.
1268 2002-03-28 Andreas Jaeger <aj@suse.de>
1270 * Makefile.in (stamp-sdefault): Fix path for Makefile.
1272 2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
1274 * misc.c (gnat_expand_expr): Move prototype.
1276 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1278 * misc.c (insert_default_attributes): Remove.
1280 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1282 * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
1283 (gnat_init): Don't set hook.
1284 (gnat_expand_expr): Fix prototype.
1286 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1288 * misc.c (ggc_p): Remove.
1290 2002-03-27 Geert Bosch <bosch@gnat.com>
1292 * prj-makr.ads, prj-makr.adb : New files.
1294 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
1296 * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
1297 (lang_mark_tree): Make static, rename.
1299 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
1301 * misc.c (maybe_build_cleanup): Remove.
1303 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
1305 * gigi.h (yyparse): Remove.
1307 2002-03-23 Florian Weimer <fw@deneb.enyo.de>
1309 * gnat_rm.texi: Sync with ACT version.
1310 (From Ben Brosgol <brosgol@gnat.com>)
1312 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
1314 * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
1315 (gnat_init): Remove old hook.
1317 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
1319 * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
1320 (yyparse): Rename gnat_parse_file.
1322 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
1324 Delete all lines containing "$Revision:".
1325 * xeinfo.adb: Don't look for revision numbers.
1326 * xnmake.adb: Likewise.
1327 * xsinfo.adb: Likewise.
1328 * xsnames.adb: Likewise.
1329 * xtreeprs.adb: Likewise.
1331 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1333 * misc.c (gnat_tree_code_type, gnat_tree_code_length,
1334 gnat_tree_code_name): Delete.
1335 (tree_code_type, tree_code_length, tree_code_name): Define.
1336 (gnat_init): Don't try to copy into the various tree_code
1339 2002-03-11 Richard Henderson <rth@redhat.com>
1341 * Makefile.in (.NOTPARALLEL): Add fake tag.
1343 2002-03-07 Geert Bosch <bosch@gnat.com>
1345 * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
1346 s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
1347 switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
1348 switch-m.adb, switch-m.ads : New files.
1350 2002-03-07 Geert Bosch <bosch@gnat.com>
1352 * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
1353 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
1354 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
1355 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
1356 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
1357 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
1358 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
1359 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
1360 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
1361 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
1362 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
1363 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
1364 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
1365 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
1366 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
1367 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
1368 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
1369 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
1370 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
1371 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
1372 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
1373 Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
1374 a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
1375 a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
1376 a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
1377 a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
1378 a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
1379 a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
1380 a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
1381 adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
1382 atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
1383 bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
1384 csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
1385 einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
1386 eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
1387 exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
1388 exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
1389 exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
1390 exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
1391 exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
1392 expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
1393 freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
1394 g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
1395 g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
1396 g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
1397 g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
1398 g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
1399 g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
1400 gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
1401 gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
1402 gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
1403 i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
1404 impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
1405 lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
1406 lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
1407 memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
1408 mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
1409 nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
1410 output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
1411 par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
1412 prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
1413 prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
1414 prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
1415 rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
1416 s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
1417 s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
1418 s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
1419 s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
1420 s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
1421 s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
1422 s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
1423 s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
1424 s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
1425 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
1426 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
1427 s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
1428 s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
1429 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
1430 s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
1431 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
1432 sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
1433 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
1434 sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
1435 sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
1436 sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
1437 sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
1438 sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
1439 sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
1440 sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
1441 snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
1442 stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
1443 table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
1444 tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
1445 treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
1446 types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
1447 utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
1448 xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
1450 * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
1451 g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
1452 mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
1453 osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
1455 * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
1456 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
1458 * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
1459 to mdll-fil.ad[bs] and mdll-util.ad[bs]
1461 * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
1462 from mdllfile.ad[bs] and mdlltool.ad[bs]
1464 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1466 * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
1467 lieu of explicit sizeof/sizeof.
1469 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
1471 * misc.c (copy_lang_decl): Remove.
1473 2002-02-27 Zack Weinberg <zack@codesourcery.com>
1475 * misc.c: Delete traditional-mode-related code copied from the
1476 C front end but not used, or used only to permit the compiler
1479 2002-02-07 Richard Henderson <rth@redhat.com>
1481 * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
1482 * adaint.h (__gnat_to_gm_time): Update prototype.
1484 2002-01-30 Richard Henderson <rth@redhat.com>
1486 * trans.c (tree_transform) [N_Loop_Statement]: Use
1487 expand_exit_loop_top_cond.
1489 2001-12-23 Richard Henderson <rth@redhat.com>
1491 * utils.c (end_subprog_body): Push GC context around
1492 rest_of_compilation for nested functions.
1494 2001-12-23 Richard Henderson <rth@redhat.com>
1496 * 5nosinte.ads: Get definition of "int" from Interfaces.C.
1498 2001-12-23 Florian Weimer <fw@deneb.enyo.de>
1500 * gnat-style.texi (Declarations and Types): Remove ancient style
1501 rule which was mandated by code generation issues.
1503 * gnat-style.texi (header): Add @dircategory, @direntry.
1504 (title page): Remove date.
1505 (general) Add @./@: where approriate, and two spaces after the
1506 full stop at the end of a sentence. Use @samp markup when
1507 referring concrete lexical entities (keywords, attribute names
1508 etc.), and @syntax for ARM grammar elements. Use @r for English
1509 text in comments. Use @emph for emphasis. Change "if-statements"
1510 etc. to "if statements" (without @samp). Break long lines. Make
1511 casing of section names consistent.
1512 (Identifiers): Use @samp markup for variable names.
1513 (Comments): Use @samp markup for comment characters. Line-end
1514 comments may follow any Ada code, not just statements. Fix
1515 misspelling of "Integer" as "integer".
1516 (Loop statements): Do not use variable name "I", use "J".
1517 (Subprogram Declarations): Document alignment.
1518 (Subprogram Bodies, Block statements): Document empty line before
1521 2001-12-22 Florian Weimer <fw@deneb.enyo.de>
1523 * make.adb (Add_Switch): Make Generic_Position a procedure. The
1524 function approach did not work well because of a side effect (the
1525 function call could reallocate the table which was being indexed
1526 using its result). Fixes ada/4851.
1528 2001-12-19 Robert Dewar <dewar@gnat.com>
1530 * bindgen.adb: Minor reformatting
1532 * cstand.adb: Minor reformatting
1534 * fmap.adb: Minor reformatting
1535 Change name from Add for Add_To_File_Map (Add is much too generic)
1536 Change Path_Name_Of to Mapped_Path_Name
1537 Change File_Name_Of to Mapped_File_Name
1538 Fix copyright dates in header
1541 Change name from Add for Add_To_File_Map (Add is much too generic)
1542 Change Path_Name_Of to Mapped_Path_Name
1543 Change File_Name_Of to Mapped_File_Name
1544 Fix copyright dates in header
1546 * fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
1547 Add use clause for Fmap.
1549 * make.adb: Minor reformatting
1551 * osint.adb: Minor reformatting. Change of names in Fmap.
1552 Add use clause for Fmap.
1554 * prj-env.adb: Minor reformatting
1556 * prj-env.ads: Minor reformatting
1558 * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
1559 error found (there were odd exceptions to this general rule in
1560 -gnatec/-gnatem processing)
1562 2001-12-19 Olivier Hainque <hainque@gnat.com>
1564 * raise.c (__gnat_eh_personality): Exception handling personality
1565 routine for Ada. Still in rough state, inspired from the C++ version
1566 and still containing a bunch of debugging artifacts.
1567 (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
1568 inspired from the C++ library.
1570 * raise.c (eh_personality): Add comments. Part of work for the GCC 3
1571 exception handling integration.
1573 2001-12-19 Arnaud Charlet <charlet@gnat.com>
1575 * Makefile.in: Remove use of 5smastop.adb which is obsolete.
1576 (HIE_SOURCES): Add s-secsta.ad{s,b}.
1577 (HIE_OBJS): Add s-fat*.o
1578 (RAVEN_SOURCES): Remove files that are no longer required. Add
1579 interrupt handling files.
1580 (RAVEN_MOD): Removed, no longer needed.
1582 2001-12-19 Robert Dewar <dewar@gnat.com>
1584 * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
1585 Add 2001 to copyright date
1587 * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
1588 need to force universal inlining for these cases.
1590 2001-12-19 Arnaud Charlet <charlet@gnat.com>
1592 * s-taprob.adb: Minor clean ups so that this unit can be used in
1595 * exp_ch7.adb: Allow use of secondary stack in HI mode.
1596 Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
1598 2001-12-19 Vincent Celier <celier@gnat.com>
1600 * prj-tree.ads (Project_Node_Record): Add comments for components
1601 Pkg_Id and Case_Insensitive.
1603 2001-12-19 Pascal Obry <obry@gnat.com>
1605 * g-socket.adb: Minor reformatting. Found while reading code.
1607 2001-12-19 Robert Dewar <dewar@gnat.com>
1609 * prj-tree.ads: Minor reformatting
1611 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
1613 * config-lang.in (diff_excludes): Remove.
1615 2001-12-17 Ed Schonberg <schonber@gnat.com>
1617 * sem_res.adb (Resolve_Selected_Component): do not generate a
1618 discriminant check if the selected component is a component of
1619 the argument of an initialization procedure.
1621 * trans.c (tree_transform, case of arithmetic operators): If result
1622 type is private, the gnu_type is the base type of the full view,
1623 given that the full view itself may be a subtype.
1625 2001-12-17 Robert Dewar <dewar@gnat.com>
1627 * sem_res.adb: Minor reformatting
1629 * trans.c (tree_transform, case N_Real_Literal): Add missing third
1630 parameter in call to Machine (unknown horrible effects from this
1633 * urealp.h: Add definition of Round_Even for call to Machine
1634 Add third parameter for Machine
1636 2001-12-17 Ed Schonberg <schonber@gnat.com>
1638 * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
1639 predefined units in No_Run_Time mode.
1641 2001-12-17 Richard Kenner <kenner@gnat.com>
1643 * misc.c (insn-codes.h): Now include.
1645 2001-12-17 Olivier Hainque <hainque@gnat.com>
1647 * a-except.adb: Preparation work for future integration of the GCC 3
1648 exception handling mechanism
1649 (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
1650 to factorize previous code sequences and make them externally callable,
1651 e.g. for the Ada personality routine when the GCC 3 mechanism is used.
1652 (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
1653 Use the new notification routines.
1655 2001-12-17 Emmanuel Briot <briot@gnat.com>
1657 * prj-tree.ads (First_Choice_Of): Document the when others case
1659 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1661 * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
1662 HI-E mode, in order to support Ravenscar profile properly.
1664 * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
1665 mode on 32 bits targets.
1667 2001-12-17 Vincent Celier <celier@gnat.com>
1669 * fmap.adb: Initial version.
1671 * fmap.ads: Initial version.
1673 * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
1674 If search is successfully done, add to mapping.
1676 * frontend.adb: Initialize the mapping if a -gnatem switch was used.
1679 (Gnatmake): Add new local variable Mapping_File_Name.
1680 Create mapping file when using project file(s).
1681 Delete mapping file before exiting.
1683 * opt.ads (Mapping_File_Name): New variable
1685 * osint.adb (Find_File): Use path name found in mapping, if any.
1687 * prj-env.adb (Create_Mapping_File): New procedure
1689 * prj-env.ads (Create_Mapping_File): New procedure.
1691 * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
1694 * usage.adb: Add entry for new switch -gnatem.
1696 * Makefile.in: Add dependencies for fmap.o.
1698 2001-12-17 Ed Schonberg <schonber@gnat.com>
1700 * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
1701 is a package instantiation rewritten as a package body.
1702 (Install_Withed_Unit): Undo previous change, now redundant.
1704 2001-12-17 Gary Dismukes <dismukes@gnat.com>
1707 (Compute_Length): Move conversion to Unsigned to callers.
1708 (Get_Max_Size): Convert Len expression to Unsigned after calls to
1709 Compute_Length and Determine_Range.
1710 (Layout_Array_Type): Convert Len expression to Unsigned after calls to
1711 Compute_Length and Determine_Range.
1712 Above changes fix problem with length computation for supernull arrays
1713 where Max (Len, 0) wasn't getting applied due to the Unsigned
1714 conversion used by Compute_Length.
1716 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1719 (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
1720 System.Secondary_Stack.
1721 (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
1723 Remove unused entity RE_Exception_Data.
1725 * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
1727 * rident.ads (No_Secondary_Stack): New restriction.
1729 2001-12-17 Joel Brobecker <brobecke@gnat.com>
1731 * gnat_rm.texi: Fix minor typos. Found while reading the section
1732 regarding "Bit_Order Clauses" that was sent to a customer.
1733 Very interesting documentation!
1735 2001-12-17 Robert Dewar <dewar@gnat.com>
1737 * sem_case.adb (Choice_Image): Avoid creating improper character
1738 literal names by using the routine Set_Character_Literal_Name. This
1739 fixes bombs in certain error message cases.
1741 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1743 * a-reatim.adb: Minor reformatting.
1745 2001-12-17 Ed Schonberg <schonber@gnat.com>
1747 * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
1748 case where the formal is an extension of another formal in the current
1749 unit or in a parent generic unit.
1751 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1753 * s-tposen.adb: Update comments. Minor reformatting.
1754 Minor code clean up.
1756 * s-tarest.adb: Update comments. Minor code reorganization.
1758 2001-12-17 Gary Dismukes <dismukes@gnat.com>
1760 * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
1763 2001-12-17 Robert Dewar <dewar@gnat.com>
1765 * exp_attr.adb: Minor reformatting
1767 2001-12-17 Ed Schonberg <schonber@gnat.com>
1769 * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
1770 derivations nested within a child unit: verify that the parent
1771 type is declared in an outer scope.
1773 2001-12-17 Robert Dewar <dewar@gnat.com>
1775 * sem_ch12.adb: Minor reformatting
1777 2001-12-17 Ed Schonberg <schonber@gnat.com>
1779 * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
1780 warning if current unit is a predefined one, from which bodies may
1783 2001-12-17 Robert Dewar <dewar@gnat.com>
1785 * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
1786 Fix header format. Add 2001 to copyright date.
1788 * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
1789 which caused CE during compilation if checks were enabled.
1791 2001-12-17 Vincent Celier <celier@gnat.com>
1794 (Switches_Of): New function
1795 (Test_If_Relative_Path): New procedure
1796 (Add_Switches): Use new function Switches_Of
1797 (Collect_Arguments_And_Compile): Use new function Switches_Of.
1798 When using a project file, test if there are any relative
1799 search path. Fail if there are any.
1800 (Gnatmake): Only add switches for the primary directory when not using
1801 a project file. When using a project file, change directory to the
1802 object directory of the main project file. When using a project file,
1803 test if there are any relative search path. Fail if there are any.
1804 When using a project file, fail if specified executable is relative
1805 path with directory information, and prepend executable, if not
1806 specified as an absolute path, with the exec directory. Make sure
1807 that only one -o switch is transmitted to the linker.
1809 * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
1812 (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
1813 when using a non standard naming scheme.
1814 (Check_Ada_Naming_Scheme): Make sure that error messages
1815 do not raise exceptions.
1816 (Is_Illegal_Append): Return True if there is no dot in the suffix.
1817 (Language_Independent_Check): Check the exec directory.
1819 * prj.adb (Project_Empty): Add new component Exec_Directory
1822 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
1823 (Project_Data): Add component Exec_Directory
1825 * snames.adb: Updated to match snames.ads revision 1.215
1827 * snames.ads: Added Exec_Dir
1829 2001-12-17 Robert Dewar <dewar@gnat.com>
1831 * make.adb: Minor reformatting
1833 * prj-nmsc.adb: Minor reformatting
1835 * snames.adb: Updated to match snames.ads
1837 * snames.ads: Alphebetize entries for project file
1839 2001-12-17 Ed Schonberg <schonber@gnat.com>
1841 * trans.c (process_freeze_entity): Do nothing if the entity is a
1842 subprogram that was already elaborated.
1844 2001-12-17 Richard Kenner <kenner@gnat.com>
1846 * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
1847 and Esize if object is referenced via pointer.
1849 2001-12-17 Ed Schonberg <schonber@gnat.com>
1851 * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
1852 is discrete before analyzing choices.
1854 2001-12-17 Joel Brobecker <brobecke@gnat.com>
1856 * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
1857 containing the name of the Ada Main Program. This string is mainly
1858 intended for the debugger.
1859 (Gen_Output_File_C): Do the equivalent change when generating a C file.
1861 2001-12-17 Robert Dewar <dewar@gnat.com>
1863 * ali.adb: Set new Dummy_Entry field in dependency entry
1865 * ali.ads: Add Dummy_Entry field to source dependency table
1867 * bcheck.adb (Check_Consistency): Ignore dummy D lines
1869 * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
1871 * lib-writ.ads: Document dummy D lines for missing files.
1873 * types.ads: (Dummy_Time_Stamp): New value for non-existant files
1875 2001-12-17 Robert Dewar <dewar@gnat.com>
1877 * ali.adb: Type reference does not reset current file.
1879 * ali.adb: Recognize and scan renaming reference
1881 * ali.ads: Add spec for storing renaming references.
1883 * lib-xref.ads: Add documentation for handling of renaming references
1885 * lib-xref.adb: Implement output of renaming reference.
1888 (Determine_Range): Document local variables
1889 (Determine_Range): Make sure Hbound is initialized. It looks as though
1890 there could be a real problem here with an uninitialized reference
1891 to Hbound, but no actual example of failure has been found.
1893 2001-12-17 Laurent Pautet <pautet@gnat.com>
1896 Fix comment of Shutdown_Socket and Close_Socket. These functions
1897 should not fail silently because if they are called twice, this
1898 probably means that there is a race condition in the user program.
1899 Anyway, this behaviour is consistent with the rest of this unit.
1900 When an error occurs, an exception is raised with the error message
1901 as exception message.
1903 2001-12-17 Robert Dewar <dewar@gnat.com>
1905 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
1906 that it happens before modification of Sloc values for -gnatD.
1908 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
1909 so that it happens before modification of Sloc values for -gnatD.
1911 * switch.adb: Minor reformatting
1913 2001-12-15 Richard Henderson <rth@redhat.com>
1915 * sem_ch7.adb: Wrap comment.
1917 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
1919 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
1920 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
1921 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
1922 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
1923 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
1924 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
1925 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
1926 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
1927 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
1928 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
1929 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
1930 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
1931 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
1932 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
1933 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
1934 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
1935 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
1936 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
1937 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
1938 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
1939 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
1940 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
1941 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
1942 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
1945 2001-12-14 Vincent Celier <celier@gnat.com>
1947 * osint.adb(Create_Debug_File): When an object file is specified,
1948 put the .dg file in the same directory as the object file.
1950 2001-12-14 Robert Dewar <dewar@gnat.com>
1952 * osint.adb: Minor reformatting
1954 * lib-xref.adb (Output_Instantiation): New procedure to generate
1955 instantiation references.
1957 * lib-xref.ads: Add documentation of handling of generic references.
1959 * ali.adb (Read_Instantiation_Ref): New procedure to read
1960 instantiation references
1962 * ali.ads: Add spec for storing instantiation references
1964 * bindusg.adb: Minor reformatting
1966 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1968 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1970 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1972 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1976 Add 2001 to copyright date
1977 Add entry for Latin-5 (Cyrillic ISO-8859-5)
1979 2001-12-14 Matt Gingell <gingell@gnat.com>
1981 * adaint.c: mktemp is a macro on Lynx and can not be used as an
1984 2001-12-14 Richard Kenner <kenner@gnat.com>
1986 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
1987 if operand is CONSTRUCTOR.
1989 2001-12-14 Ed Schonberg <schonber@gnat.com>
1991 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
1992 before emiting check on right-hand side, so that exception information
1995 2001-12-14 Richard Kenner <kenner@gnat.com>
1997 * utils.c (create_var_decl): Throw away initializing expression
1998 if just annotating types and non-constant.
2000 2001-12-14 Vincent Celier <celier@gnat.com>
2002 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
2005 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
2007 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
2009 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
2011 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
2013 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
2015 * ChangeLog: Remove piece of diff output.
2017 2001-12-14 Geert Bosch <bosch@gnat.com>
2019 * config-lang.in: Update copyright notice
2021 * layout.adb: Remove commented out code.
2023 * mdllfile.ads: Update copyright notice. Fix header format.
2025 * sem_case.ads: Likewise.
2027 * sem_ch3.adb: Minor reformatting.
2029 2001-12-12 Geert Bosch <bosch@gnat.com>
2031 * freeze.ads: Update copyright date.
2033 * g-comlin.ads: Minor reformatting.
2035 * gnat-style.texi: Fix typo.
2037 2001-12-12 Geert Bosch <bosch@gnat.com>
2039 * einfo.h: Regenerate.
2041 2001-12-12 Ed Schonberg <schonber@gnat.com>
2043 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
2044 on known node types, rather than untyped fields. Further cleanups.
2046 2001-12-12 Robert Dewar <dewar@gnat.com>
2049 (Save_Entity_Descendant): Minor comment update.
2050 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
2051 of an N_Attribute_Reference node. As per note below, this does not
2052 eliminate need for Associated_Node in attribute ref nodes.
2053 (Associated_Node): Documentation explicitly mentions attribute
2054 reference nodes, since this field is used in such nodes.
2056 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
2058 2001-12-12 Robert Dewar <dewar@gnat.com>
2060 * s-stalib.adb: Add more comments on with statements being needed
2062 * par-ch12.adb: Minor reformatting
2064 * prj-dect.ads: Fix copyright header
2066 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
2067 inputs fit in 32 bits, but the result still overflows.
2069 * s-fatgen.ads: Minor comment improvement
2071 2001-12-12 Ed Schonberg <schonber@gnat.com>
2073 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
2074 formal derived type, look for an inherited component from the full
2075 view of the parent, if any.
2077 2001-12-12 Robert Dewar <dewar@gnat.com>
2079 * checks.ads (Apply_Alignment_Check): New procedure.
2081 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
2082 ensure that the alignment of objects with address clauses is
2083 appropriate, and raise PE if not.
2085 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
2086 Exp_Pakd.Known_Aligned_Enough
2088 * mdllfile.ads: Minor reformatting
2090 * mlib-fil.ads: Minor reformatting
2092 2001-12-12 Ed Schonberg <schonber@gnat.com>
2094 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
2095 fix to any component reference if enclosing record has non-standard
2098 2001-12-12 Vincent Celier <celier@gnat.com>
2100 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
2103 2001-12-12 Ed Schonberg <schonber@gnat.com>
2105 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
2108 2001-12-12 Robert Dewar <dewar@gnat.com>
2110 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
2112 2001-12-12 Emmanuel Briot <briot@gnat.com>
2114 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
2115 and it adds dependencies to system.io.
2117 2001-12-12 Pascal Obry <obry@gnat.com>
2119 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
2122 2001-12-11 Ed Schonberg <schonber@gnat.com>
2124 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
2125 that is the parent of other generics, the instance body replaces the
2126 instance node. Retrieve the instance of the spec, which is the one
2127 that is visible in clients and within the body.
2129 2001-12-11 Vincent Celier <celier@gnat.com>
2131 * gnatmain.adb: Initial version.
2133 * gnatmain.ads: Initial version.
2135 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
2137 * snames.adb: Updated to match snames.ads.
2139 * snames.ads: Added Gnatstub.
2141 2001-12-11 Vincent Celier <celier@gnat.com>
2143 * prj-attr.adb (Initialization_Data): Change name from
2144 Initialisation_Data.
2146 2001-12-11 Emmanuel Briot <briot@gnat.com>
2148 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
2149 + and * applied to backslashed expressions like \r.
2151 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
2153 * g-os_lib.ads: String_List type added, Argument_List type is now
2154 subtype of String_List.
2156 2001-12-11 Robert Dewar <dewar@gnat.com>
2158 * g-os_lib.ads: Change copyright to FSF
2159 Add comments for String_List type
2161 2001-12-11 Vincent Celier <celier@gnat.com>
2163 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
2164 string to the buffer).
2166 2001-12-11 Ed Schonberg <schonber@gnat.com>
2168 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
2171 * sem_attr.adb: Simplify previous fix for Address.
2172 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
2173 to avoid anomalies where the bound of the type appears to raise
2176 2001-12-11 Robert Dewar <dewar@gnat.com>
2178 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
2181 2001-12-11 Ed Schonberg <schonber@gnat.com>
2183 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
2184 renamed unit before checking for recursive instantiations.
2186 2001-12-11 Emmanuel Briot <briot@gnat.com>
2188 * prj.ads: Add comments for some of the fields.
2190 2001-12-11 Robert Dewar <dewar@gnat.com>
2192 * lib-xref.adb (Output_Refs): Don't output type references outside
2193 the main unit if they are not otherwise referenced.
2195 2001-12-11 Ed Schonberg <schonber@gnat.com>
2197 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
2198 code and diagnose additional illegal uses
2200 * sem_util.adb (Is_Object_Reference): An indexed component is an
2201 object only if the prefix is.
2203 2001-12-11 Vincent Celier <celier@gnat.com>
2205 * g-diopit.adb: Initial version.
2207 * g-diopit.ads: Initial version.
2210 (Expand_Path): Avoid use of Unbounded_String
2211 (Find, Wildcard_Iterator): Moved to child package Iteration
2213 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
2215 2001-12-11 Robert Dewar <dewar@gnat.com>
2217 * sem_attr.adb: Minor reformatting
2219 2001-12-11 Ed Schonberg <schonber@gnat.com>
2221 * sem_ch3.adb: Clarify some ???.
2223 2001-12-11 Robert Dewar <dewar@gnat.com>
2225 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
2226 Exp_Pakd.Known_Aligned_Enough
2228 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
2229 version is moved to Exp_Ch13.
2231 2001-12-11 Robert Dewar <dewar@gnat.com>
2233 * einfo.ads: Minor reformatting
2235 * exp_ch5.adb: Add comment for previous.change
2237 * ali.adb: New interface for extended typeref stuff.
2239 * ali.ads: New interface for typeref stuff.
2241 * checks.adb (Apply_Alignment_Check): New procedure.
2243 * debug.adb: Add -gnatdM for modified ALI output
2245 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
2247 * lib-xref.adb: Extend generation of <..> notation to cover
2248 subtype/object types. Note that this is a complete rewrite,
2249 getting rid of the very nasty quadratic algorithm previously
2250 used for derived type output.
2252 * lib-xref.ads: Extend description of <..> notation to cover
2253 subtype/object types. Uses {..} for these other cases.
2254 Also use (..) for pointer types.
2256 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
2258 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
2259 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
2261 2001-12-11 Vincent Celier <celier@gnat.com>
2264 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
2265 Changed /BIND_ONLY to /ACTIONS=BIND
2266 Changed /LINK_ONLY to /ACTIONS=LINK
2268 2001-12-11 Ed Schonberg <schonber@gnat.com>
2270 * sem_ch8.adb (Find_Selected_Component): improved search for a
2271 candidate package in case of error.
2273 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
2274 chain back on scope stack before reinstalling use clauses.
2276 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
2277 is enabled, do not kill the code for the condition, to preserve
2280 2001-12-11 Robert Dewar <dewar@gnat.com>
2282 * checks.adb (Insert_Valid_Check): Apply validity check to expression
2283 of conversion, not to result of conversion.
2285 2001-12-11 Ed Schonberg <schonber@gnat.com>
2287 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
2288 before freezing parent. If the declarations are mutually recursive,
2289 an access to the current record type may be frozen before the
2290 derivation is complete.
2292 2001-12-05 Vincent Celier <celier@gnat.com>
2294 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
2295 -c /COMPILE_ONLY, -l /LINK_ONLY
2298 (Bind_Only): New Flag
2299 (Link_Only): New flag
2301 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
2304 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
2307 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
2308 (Gnatmake): Set the step flags. Only perform a step if the
2309 corresponding step flag is True.
2310 (Scan_Make_Arg): Reset the bind and link step flags when -u
2311 or -gnatc has been specified.
2313 2001-12-05 Ed Schonberg <schonber@gnat.com>
2315 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
2316 get bounds from right operand.
2318 * sem_eval.adb: Minor reformatting
2320 * exp_util.adb (Make_Literal_Range): use bound of literal rather
2321 than Index'First, its lower bound may be different from 1.
2323 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
2326 2001-12-05 Vincent Celier <celier@gnat.com>
2328 * prj-nmsc.adb Minor reformatting
2330 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
2331 set and libraries are not supported.
2333 2001-12-05 Ed Schonberg <schonber@gnat.com>
2335 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
2336 private view explicitly, so the back-end can treat as a global
2339 2001-12-05 Ed Schonberg <schonber@gnat.com>
2341 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
2342 unit, always replace instance node with new body, for ASIS use.
2344 2001-12-05 Vincent Celier <celier@gnat.com>
2346 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
2347 libraries are not supported and both attributes Library_Name and
2348 Library_Dir are specified.
2350 * prj-proc.adb (Expression): Set location of Result to location of
2353 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
2354 (prj-nmsc is now importing MLib.Tgt)
2356 * prj-proc.adb: Put the change indicated above that was forgotten.
2358 2001-12-05 Robert Dewar <dewar@gnat.com>
2360 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
2362 2001-12-05 Ed Schonberg <schonber@gnat.com>
2364 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
2365 constraint, introduce explicit subtype declaration and derive from it.
2367 * sem_ch3.adb: Minor reformatting
2369 2001-12-05 Robert Dewar <dewar@gnat.com>
2371 * checks.adb (Determine_Range): Increase cache size for checks.
2374 * exp_ch6.adb: Minor reformatting
2375 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
2376 a parameter whose root type is System.Address, since treating such
2377 subprograms as pure in the code generator is almost surely a mistake
2378 that will lead to unexpected results.
2380 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
2381 change handling of conversions.
2383 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
2385 2001-12-05 Ed Schonberg <schonber@gnat.com>
2387 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
2388 aggregate with static wrong size, attach generated Raise node to
2391 2001-12-05 Robert Dewar <dewar@gnat.com>
2393 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
2394 Fixes compilation abandoned bomb in B24009B.
2396 2001-12-05 Ed Schonberg <schonber@gnat.com>
2399 Document use of Associated_Node on Selected_Components.
2400 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
2401 to clarify use of untyped descendant fields.
2403 2001-12-05 Robert Dewar <dewar@gnat.com>
2405 * prj-dect.ads: Add ??? comment
2406 Add 2001 to copyright notice (was not done in after all)
2408 * prj-part.adb: Minor reformatting. Reword one awkward error message.
2410 * prj.ads: Minor reformatting throughout, and add some ??? comments
2412 * snames.ads: Minor reformatting
2414 2001-12-05 Geert Bosch <bosch@gnat.com>
2416 * snames.adb: Autoupdate
2418 2001-12-05 Vincent Celier <celier@gnat.com>
2420 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
2422 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
2424 * prj-env.adb: Minor comment changes (modifying -> extends).
2426 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
2428 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
2431 * prj.adb (Initialize): Change Modifying to Extends.
2433 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
2435 * prj.ads: Minor comment change (Modifying -> extending).
2437 * snames.ads: Change modifying to extends.
2439 2001-12-05 Robert Dewar <dewar@gnat.com>
2441 * sem_warn.adb: Remove stuff for conditionals, we are not going to
2444 * sem_warn.ads: Remove stuff for conditionals, we are not going to
2445 do this after all. Add 2001 to copyright notice
2447 2001-12-04 Geert Bosch <bosch@gnat.com>
2449 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
2451 2001-12-04 Robert Dewar <dewar@gnat.com>
2453 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
2454 location if we already have errors. Stops some cases of cascaded
2457 * errout.adb: Improve comment.
2459 2001-12-04 Robert Dewar <dewar@gnat.com>
2462 (Analyze_Formal_Type_Definition): Defend against Error.
2463 (Analyze_Formal_Subprogram): Defend against Error.
2465 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
2466 remove following semicolon if present. Removes cascaded error.
2468 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
2471 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
2472 exceptions equals 0.
2473 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
2474 Fixes PIWG E tests (which have to be run with -gnatL).
2476 2001-12-04 Robert Dewar <dewar@gnat.com>
2478 * einfo.ads: Minor reformatting
2480 2001-12-04 Ed Schonberg <schonber@gnat.com>
2482 * einfo.ads: Block_Node points to the identifier of the block, not to
2483 the block node itself, to preserve the link when the block is
2484 rewritten, e.g. within an if-statement with a static condition.
2486 * inline.adb (Cleanup_Scopes): recover block statement from block
2487 entity using new meaning of Block_Node.
2489 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
2490 identifier of block node, rather than to node itself.
2492 2001-12-04 Gary Dismukes <dismukes@gnat.com>
2495 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
2496 (Discrimify): Go back to setting the Etypes of the selected component
2497 because the Vname component does not exist at this point and will
2498 fail name resolution. Also set Analyzed.
2499 Remove with and use of Sem_Res.
2501 2001-12-04 Arnaud Charlet <charlet@gnat.com>
2503 * Makefile.in: (HIE_SOURCES): add s-fat*.
2505 2001-12-04 Robert Dewar <dewar@gnat.com>
2508 (Compile_Time_Known_Attribute): New procedure.
2509 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
2512 2001-12-04 Ed Schonberg <schonber@gnat.com>
2514 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
2515 processing discriminants to diagnose illegal default values.
2517 2001-12-04 Ed Schonberg <schonber@gnat.com>
2519 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
2520 access discriminant within a type extension that constrains its
2521 parent discriminants.
2523 2001-12-04 Ed Schonberg <schonber@gnat.com>
2525 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
2526 is malformed, use instance of Any_Id to allow analysis to proceed.
2528 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
2529 type definition is illegal.
2530 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
2533 2001-12-04 Ed Schonberg <schonber@gnat.com>
2535 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
2538 2001-12-04 Robert Dewar <dewar@gnat.com>
2540 * errout.adb: Minor reformatting
2542 2001-12-04 Robert Dewar <dewar@gnat.com>
2544 * exp_util.adb: Minor reformatting from last change
2546 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
2547 which is a rewriting of an expression, traverse the original
2548 expression to remove warnings that may have been posted on it.
2550 2001-12-04 Ed Schonberg <schonber@gnat.com>
2552 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
2553 record that has other packed components.
2555 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
2557 * adaint.c: Minor cleanups.
2559 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
2561 * adaint.c: Do not use utime.h on vxworks.
2563 2001-12-04 Arnaud Charlet <charlet@gnat.com>
2565 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
2566 more confusion than it solves.
2568 2001-12-04 Geert bosch <bosch@gnat.com>
2570 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
2572 2001-12-04 Geert Bosch <bosch@gnat.com>
2574 * Makefile.in (update-sources): New target.
2575 For use by gcc_release script.
2577 2001-12-04 Ed Schonberg <schonber@gnat.com>
2579 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
2580 a configuration pragma, it is now legal wherever a pragma can appear.
2582 2001-12-04 Zack Weinberg <zack@codesourcery.com>
2584 * Makefile.in: Don't set ALL. Delete @cross_defines@,
2585 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
2586 is now @CROSS@ -DIN_GCC; update comment.
2588 2001-12-04 Robert Dewar <dewar@gnat.com>
2590 * einfo.adb (Has_Pragma_Pure_Function): New flag.
2591 Fix problem that stopped ceinfo from working
2593 * einfo.ads (Has_Pragma_Pure_Function): New flag.
2595 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
2597 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
2600 (File_Time_Stamp): New procedure.
2601 (Preserve_Mode): New boolean.
2602 (Write_Unit): Pass time stamp.
2603 Implement -p switch (preserve time stamps).
2605 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
2607 * gnatchop.adb: Do usage info for -p switch
2609 * adaint.h (__gnat_set_file_time_name): New function
2611 * adaint.c (__gnat_set_file_time_name): Implement
2613 * adaint.h: Fix typo
2615 2001-12-03 Robert Dewar <dewar@gnat.com>
2617 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
2618 have Associated_Node.
2620 2001-12-03 Robert Dewar <dewar@gnat.com>
2622 * prj-proc.adb: Minor reformatting
2624 * make.adb: Minor reformatting
2626 2001-12-03 Geert Bosch <bosch@gnat.com>
2628 * make.adb: Minor reformatting.
2630 2001-12-03 Robert Dewar <dewar@gnat.com>
2632 * sem_ch12.adb: Minor reformatting
2634 2001-12-03 Ed Schonberg <schonber@gnat.com>
2636 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
2637 push Standard on the stack before analyzing the instance body,
2638 in order to have a clean visibility environment.
2640 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
2642 2001-12-03 Ed Schonberg <schonber@gnat.com>
2644 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
2645 instantiation of a body that contains an inlined body.
2647 2001-12-03 Ed Schonberg <schonber@gnat.com>
2650 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
2651 to prevent freezing within formal packages.
2652 (Freeze_Subprogram_Body): If body comes from another instance that
2653 appeared before its own body, place freeze node at end of current
2654 declarative part, to prevent a back-end crash.
2655 (Inline_Instance_Body): Handle properly a package instance within
2656 a subprogram instance that is a child unit.
2658 2001-12-01 Graham Stott <grahams@redhat.com>
2660 * Makefile.in (misc.o): Add missing $(srcdir) prefix
2661 and add optabs.h dependency.
2663 * misc.c: Include optabs.h
2664 (gnat_tree_code_type): Make static and const.
2665 (gnat_tree_code_length): Likewise.
2666 (gnat_tree_code_name): Likewise.
2667 (update_setjmp_buf): Obtain operands mode from insn_data.
2669 2001-11-29 Richard Henderson <rth@redhat.com>
2671 * init.c: Remove obsolete dwarf2 frame.h section.
2673 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
2675 * Make-lang.in (ada.generated-manpages): New dummy target.
2677 2001-11-29 Ed Schonberg <schonber@gnat.com>
2679 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
2680 into Command, an array conversion is illegal here. Uncovered by
2683 2001/11/28 Geert Bosch <bosch@gnat.com>
2685 * init.c: Minor whitespace changes.
2687 2001-11-28 Doug Rupp <rupp@gnat.com>
2689 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
2692 2001-11-28 Zack Weinberg <zack@codesourcery.com>
2694 * misc.c (gnat_expand_constant): Move declaration above
2695 definition of lang_hooks.
2696 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
2697 (gnat_init): lang_expand_constant no longer exists.
2699 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
2700 always have vprintf.
2701 (gnat_init): Always call set_internal_error_function.
2703 2001-11-27 Andreas Jaeger <aj@suse.de>
2705 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
2707 2001-11-27 Laurent Guerby <guerby@acm.org>
2709 * Makefile.in: Regenerate Ada dependencies.
2711 2001-11-26 Richard Henderson <rth@redhat.com>
2713 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
2714 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
2715 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
2717 2001-11-25 Laurent Guerby <guerby@acm.org>
2719 * sysdep.c (rts_get_*): Fix style.
2721 2001-11-19 Laurent Guerby <guerby@acm.org>
2723 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
2724 since it is of no apparent use and cause warnings.
2726 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
2728 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
2730 (gnat_init): Don't return NULL.
2731 (finish_parse): Remove.
2733 2001-11-17 Laurent Guerby <guerby@acm.org>
2735 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
2736 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
2737 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
2738 * lang-spec.h: Add missing struct field to silence warnings.
2739 * sysdep.c (rts_get_*): Provide K&R prototype.
2740 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
2741 * traceback.c (Unlock_Task, Lock_Task): Likewise.
2742 * tracebak.c (__gnat_backtrace): Remove unused variable.
2743 * utils.c (end_subprog_body): Move to K&R style.
2745 Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2747 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
2749 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
2751 * misc.c (gnat_init): Change prototype. Include the
2752 functionality of the old init_parse and init_decl_processing.
2753 (gnat_init_decl_processing): New prototype.
2754 (init_parse): Remove.
2755 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
2757 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
2759 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
2760 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
2761 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
2762 set_yydebug): Remove.
2764 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
2766 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
2767 (struct lang_hooks): Constify.
2768 (language_string, lang_identify): Remove.
2769 * utils.c (init_decl_processing): Update.
2771 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2773 * misc.c: Include langhooks-def.h.
2774 * Makefile.in: Update.
2776 2001-10-30 Robert Dewar <dewar@gnat.com>
2779 (Check_Identifier): Rewrite circuit to be compatible with use of letters
2780 in the upper half of ASCII.
2781 (Check_Identifier): Minor reformatting
2783 2001-10-30 Geert Bosch <bosch@gnat.com>
2785 * (Associated_Node, Set_Associated_Node): Do not check for
2788 2001-10-30 Robert Dewar <dewar@gnat.com>
2790 * a-reatim.ads: Minor reformatting
2792 2001-10-30 Robert Dewar <dewar@gnat.com>
2794 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
2795 undocumented declarations.
2797 2001-10-30 Pascal Obry <obry@gnat.com>
2799 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
2800 to the binder and linker.
2803 * mdll.ads: Fix layout. Update copyright notice.
2805 * mdll.adb: Fix layout. Update copyright notice.
2807 2001-10-30 Robert Dewar <dewar@gnat.com>
2809 * usage.adb: Minor fix to output for -gnaty.
2811 2001-10-30 Ed Schonberg <schonber@gnat.com>
2813 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
2814 to accommodate all its possible values.
2816 * a-reatim.adb (Split): Special-case handling of Time_Span_First
2817 and of small absolute values of T.
2819 2001-10-30 Richard Kenner <kenner@gnat.com>
2821 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
2822 set_mem_attributes since not needed and wrong if RESULT if a REG;
2823 fixes ACATS failures.
2825 2001-10-30 Geert Bosch <bosch@gnat.com>
2827 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
2828 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
2830 2001-10-30 Robert Dewar <dewar@gnat.com>
2832 * bindusg.adb: Undocument -f switch.
2834 * gnatcmd.adb: Remove /FULL_ELABORATION.
2836 * opt.ads (Force_RM_Elaboration_Order): Document that this is
2839 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
2841 * gnatbind.adb: Minor update of warning msg.
2843 2001-10-30 Vincent Celier <celier@gnat.com>
2845 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
2846 for project file switches (-P (/PROJECT_FILE=),
2847 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
2850 2001-10-30 Geert Bosch <bosch@gnat.com>
2852 * decl.c: Minor whitespace fixes.
2854 2001-10-30 Richard Kenner <kenner@gnat.com>
2856 * utils2.c (build_allocator): Test for SIZE overflow in array case too
2858 2001-10-30 Geert Bosch <bosch@gnat.com>
2860 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
2861 Found due to GCC 3.0 warning of using uninitialized value.
2864 (Get_Max_Size): Use variant record for tracking value/expression.
2865 Makes logic clearer and prevents warnings for uninitialized variables.
2866 (Layout_Array_Type): Use variant record for tracking value/expression.
2867 Makes logic clearer and prevents warnings for uninitialized variables.
2869 2001-10-30 Robert Dewar <dewar@gnat.com>
2871 * lib.adb: Minor reformatting
2873 * s-taprop.ads: Minor reformatting
2875 2001-10-29 Laurent Guerby <guerby@acm.org>
2878 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
2880 (_gnat_error_handler): Make MSG const.
2882 2001-10-29 Richard Kenner <kenner@gnat.com>
2884 * sysdep.c: Fix localtime_r problem on LynxOS.
2885 Also remove #elif to avoid warnings.
2887 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
2890 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
2892 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
2894 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
2895 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
2896 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
2897 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
2898 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
2899 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
2900 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
2901 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
2902 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
2903 types.ads, urealp.adb: Fix spelling errors.
2905 2001-10-27 Laurent Guerby <guerby@acm.org>
2907 * trans.c (gigi): Fix non determinism leading to bootstrap
2908 comparison failures for debugging information.
2910 2001-10-26 Florian Weimer <fw@deneb.enyo.de>
2912 * gnat_rm.texi: Use @./@: where appropriate.
2914 2001-10-26 Robert Dewar <dewar@gnat.com>
2916 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
2918 2001-10-26 Richard Kenner <kenner@gnat.com>
2920 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
2922 2001-10-26 Richard Kenner <kenner@gnat.com>
2924 * decl.c (validate_size): Modify message for bad size to avoid
2925 implication that compiler is modifying the size.
2927 2001-10-26 Robert Dewar <dewar@gnat.com>
2929 * prj-util.adb: Minor reformatting. Fix bad header format.
2931 2001-10-26 Robert Dewar <dewar@gnat.com>
2933 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
2935 * sinfo.ads: Clarify use of Associated_Node (documentation only).
2937 * sem_ch12.adb: Change Node4 to Associated_Node. Change
2938 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
2939 much more narrowly in places where needed. These are cleanups.
2941 2001-10-26 Joel Brobecker <brobecke@gnat.com>
2943 * 5zosinte.ads (null_pthread): new constant.
2946 (Initialize_TCB): Initialize thread ID to null, to be able to verify
2947 later that this field has been set.
2948 (Finalize_TCB): ditto.
2949 (Suspend_Task): Verify that the thread ID is not null before using it.
2950 (Resume_Task): ditto.
2953 (Resume_All_Tasks): Lock the tasks list before using it.
2954 (Suspend_All_Tasks): ditto.
2956 2001-10-26 Richard Kenner <kenner@gnat.com>
2958 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
2959 Make constant variant of designated type for Is_Access_Constant.
2960 Call update_pointer_to with main variant.
2962 * trans.c (process_freeze_entity, process_type):
2963 Call update_pointer_to on main variant.
2965 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
2966 If main variant, update all other variants.
2968 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
2971 2001-10-26 Robert Dewar <dewar@gnat.com>
2973 * prj-util.adb: Minor reformatting
2975 2001-10-26 Robert Dewar <dewar@gnat.com>
2977 * prj-util.adb: Minor reformatting
2979 2001-10-26 Robert Dewar <dewar@gnat.com>
2981 * prj-attr.adb: Minor reformatting throughout
2983 2001-10-26 Robert Dewar <dewar@gnat.com>
2985 * prj-attr.ads: Minor reformatting
2986 Add ??? comment (this whole spec has almost no comments)
2988 2001-10-26 Vincent Celier <celier@gnat.com>
2990 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
2991 ("//") that precede the drive letter on Interix.
2993 2001-10-26 Geert Bosch <bosch@gnat.com>
2995 * gnat_rm.texi: Add GNAT Reference Manual.
2997 2001-10-25 Robert Dewar <dewar@gnat.com>
2999 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
3000 is Error. Similar change for other renaming cases.
3002 2001-10-25 Robert Dewar <dewar@gnat.com>
3004 * s-atacco.ads: Add pragma Inline_Always for functions.
3005 Fix header format. Add copyright 2001
3007 2001-10-25 Ed Schonberg <schonber@gnat.com>
3009 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
3010 return Error rather than Empty so that analysis can proceed.
3012 2001-10-25 Ed Schonberg <schonber@gnat.com>
3014 * sem_util.adb (Enter_Name): better handling of cascaded error
3015 messages when a unit appears in its own context.
3017 2001-10-25 Ed Schonberg <schonber@gnat.com>
3019 * sem_util.adb (Defining_Entity): in case of error, attach created
3020 entity to specification, so that semantic analysis can proceed.
3022 2001-10-25 Robert Dewar <dewar@gnat.com>
3025 (Defining_Entity): Deal with Error.
3026 (Process_End_Label): Deal with bad end label for.
3028 2001-10-25 Ed Schonberg <schonber@gnat.com>
3030 * sem_elab.adb (Check_A_Call): refine message when call is in an
3031 instance but callee is not declared in the generic unit.
3033 2001-10-25 Ed Schonberg <schonber@gnat.com>
3035 * sem_elab.adb (Check_A_Call): check for renaming before finding the
3036 enclosing unit, which may already be different from the calling unit.
3038 2001-10-25 Geert Bosch <bosch@gnat.com>
3040 * 4gintnam.ads: fix header format.
3042 2001-10-25 Ed Schonberg <schonber@gnat.com>
3044 * sem_res.adb (Resolve_Call): if the call is actually an indexing
3045 operation on the result of a parameterless call, perform elaboration
3046 check after the node has been properly rewritten.
3048 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
3049 inlined within the generic tree, the defining identifier is not a
3052 2001-10-25 Ed Schonberg <schonber@gnat.com>
3054 * sem_res.adb (Resolve): special-case resolution of Null in an
3055 instance or an inlined body to avoid view conflicts.
3057 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
3058 compatibility by retrieving the access type of the generic copy.
3060 2001-10-25 Robert Dewar <dewar@gnat.com>
3063 (Analyze_Number_Declaration): Handle error expression.
3064 (Signed_Integer_Type_Declaration): Handle error bound.
3065 (Analyze_Subtype_Indication): Handle error range.
3067 * sem_util.adb (Get_Index_Bounds): Check for Error.
3069 2001-10-25 Robert Dewar <dewar@gnat.com>
3071 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
3072 in no run time mode.
3074 2001-10-25 Pascal Obry <obry@gnat.com>
3076 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
3077 mode case for ALLOC case.
3079 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
3080 all platforms. Improvement of last change.
3082 2001-10-25 Robert Dewar <dewar@gnat.com>
3084 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
3086 2001-10-25 Geert Bosch <bosch@gnat.com>
3088 * osint.adb (Is_Relative): Remove duplicate.
3090 2001-10-25 Pascal Obry <obry@gnat.com>
3092 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
3093 pathnames in UNIX and DOS style with drive letter.
3094 (Is_Relative): new routine.
3096 * osint.adb: Minor reformatting
3098 * osint.adb (Is_Relative): implementation using
3099 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
3101 2001-10-25 Pascal Obry <obry@gnat.com>
3103 * g-dirope.adb (Basename): correctly compute offset between the
3104 original Path and the translated one.
3106 * g-dirope.adb: (Base_Name): add some comments.
3108 2001-10-25 Robert Dewar <dewar@gnat.com>
3110 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
3111 in HIE mode, avoids compilation abandoned message
3113 * exp_imgv.adb: Correct typo in previous change
3115 * exp_imgv.adb: Correct typo in previous change (not my day!)
3117 2001-10-25 Robert Dewar <dewar@gnat.com>
3119 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
3121 2001-10-25 Pascal Obry <obry@gnat.com>
3123 * g-awk.ads: Move all pragma inlines next to the routine
3124 declarations. This is more uniform with other GNAT spec.
3126 2001-10-22 Geert Bosch <bosch@gnat.com>
3128 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
3130 2001-10-19 Geert Bosch <bosch@gnat.com>
3132 * Makefile.in (tools, gnattools): Remove gnatmem.
3134 2001-10-17 Richard Henderson <rth@redhat.com>
3136 * Makefile.in (misc.o): Depend on langhooks.h.
3137 * misc.c: Include it.
3138 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
3139 (LANG_HOOKS_DECODE_OPTION): New.
3140 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
3142 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
3144 * trans.c (tree_transform): Adjust to recent change in
3145 expand_asm_operands to implement named asm operands.
3147 2001-10-11 Ed Schonberg <schonber@gnat.com>
3149 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
3150 renaming of discriminant for mutable record type.
3152 2001-10-11 Robert Dewar <dewar@gnat.com>
3154 * validsw.adb: Properly save -gnatVn status.
3156 2001-10-11 Robert Dewar <dewar@gnat.com>
3158 * usage.adb: Add lines for V switch.
3160 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
3161 (/VALIDITY_CHECKING).
3163 2001-10-11 Ed Schonberg <schonber@gnat.com>
3165 * sem_type.adb (Add_One_Interp): an operator for a type declared in
3166 an extension of System is known to be visible.
3168 2001-10-11 Ed Schonberg <schonber@gnat.com>
3170 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
3171 properly. Fixes regression on ACATS C34005G.
3173 2001-10-11 Robert Dewar <dewar@gnat.com>
3175 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
3176 loop in generic instance, since this is likely not very useful.
3178 2001-10-11 Robert Dewar <dewar@gnat.com>
3180 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
3181 the error message for high integrity mode.
3183 * rtsfind.adb (RTE): Give message if we try to find an entity that
3184 is not available in high integrity mode.
3187 (OK_To_Use_In_HIE_Mode): New array.
3188 (RTE): May return Empty in high integrity mode.
3190 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
3191 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
3193 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
3194 unit if not inlined always and in no runtime mode. Fixes problem
3195 caused by new Rtsfind changes.
3197 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
3200 * rtsfind.adb (RTE): Make sure we do not try to load unit after
3201 giving message for entity not available in high integrity mode.
3203 2001-10-11 Pascal Obry <obry@gnat.com>
3205 * impunit.adb: Add GNAT.CRC32.
3207 2001-10-11 Ed Schonberg <schonber@gnat.com>
3209 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
3210 properly the case where one universal operand in a non-static
3211 exponentiation of a real literal.
3213 2001-10-11 Ed Schonberg <schonber@gnat.com>
3215 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
3216 clause, return the gobal finalization list, for lack of anthing else.
3218 2001-10-11 Ed Schonberg <schonber@gnat.com>
3220 * exp_ch7.adb (Make_Transient_Block): if statement is within
3221 exception handler, always use new transient scope to place Clean
3224 2001-10-11 Pascal Obry <obry@gnat.com>
3227 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
3228 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
3229 (GNATLS_RTL_OBJS): add g-crc32.o
3230 (GNATMAKE_RTL_OBJS): add g-crc32.o
3233 (CRC_Match): new function.
3234 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
3235 instead of the previous simple checksum algorithm.
3236 (Time_Stamp_Mismatch): use CRC_Match for comparison.
3237 (Set_Source_Table): idem.
3240 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
3241 instead of simple checksum.
3242 (CRC_Match): new function.
3243 (CRC_Error): new constant.
3245 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
3246 a CRC now and not a simple checksum. A CRC uses lower-case hex
3247 letters, fixes ambiguity in parsing.
3249 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
3250 is what this variable will store.
3252 * bcheck.adb: Change reference to chechsum in comments by CRC.
3253 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
3254 rename All_Checksum_Match to All_CRC_Match. Change due to API
3255 renaming since now GNAT does not use a simple checksum but a
3256 CRC using GNAT.CRC32.
3258 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
3259 now and not anymore a simple checksum.
3261 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
3264 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
3267 (Restore_Scan_State): rename Checksum to CRC.
3268 (Save_Scan_State): idem.
3272 (Checksum): rename to CRC.
3273 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
3275 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
3276 GNAT.CRC32). Update copyright notice.
3278 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
3279 GNAT.CRC32). Update copyright notice.
3282 (Accumulate_Checksum): removed.
3283 (Update): new procedure. Add a wide-character into the CRC.
3286 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
3287 (Load_File): fix initialization of S (change Source_Checksum to
3290 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
3291 Source_CRC in S initialization.
3293 * sinput.adb (Source_Checksum): renamed to Source_CRC.
3295 * sinput.ads (Source_Checksum): renamed to Source_CRC.
3296 Update comments for the CRC.
3298 * types.adb (Hex): Use lowercase for the letter part.
3300 * types.ads (Get_Hex_String): Returns the hexadecimal representation
3301 for a word. This is currently used only for CRC. In previous version,
3302 the checksum was using a representation with all letter being
3303 upper-case. With the new implementation (using CRC) we do not remove
3304 the 32th bit of the CRC, so we can have an upper-case starting letter
3305 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
3306 It is ambigous since the CRC was optional and could be followed by
3307 options like EB, EE. So now this routines uses lower-case letter for
3308 the hexadecimal representation. Strange enough only lower case letters
3309 where checked in Scan_ALI (even if this was not a possible case).
3311 * gnatvsn.ads (Library_Version): changed to 3.15a.
3313 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
3316 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
3319 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
3320 Add 2001 to copyright notice
3321 (Accumulate_Checksum): Modify to use System.CRC32.
3323 * ali-util.ads: Redo changes of previous revision to continue to use
3324 the word Checksum. Add 2001 to copyright notice.
3326 * ali.adb: Undo some of previous changes, not needed.
3327 Keep the change for lower case letters in the checksum.
3329 * ali.ads: Undo previous change not needed.
3331 * bcheck.adb: Undo most of previous change, not needed.
3332 But do use Checksums_Match for checksum comparison.
3334 * gnatls.adb: Undo most of previous change, not needed.
3335 But do use Checksums_Match for comparing checksums.
3337 * lib-load.adb: Undo previous change, not needed.
3339 * lib-writ.adb: Undo previous change, not needed.
3341 * lib-writ.ads: Document that checksums use lower case,
3342 not upper case letters.
3344 * scans.adb: Undo previous change, not needed
3346 * scans.ads: Undo previous change, not needed.
3348 * scn-nlit.adb: Undo previous changes, not needed.
3350 * scn-slit.adb: Undo previous change, not needed. Fix header format.
3353 (Accumulate_Checksum): Use System.CRC32.
3354 (Initialize_Checksum): New procedure.
3355 Remove other changes of previous revision.
3357 * sinput-p.adb: Undo previous change, not needed.
3359 * sinput.adb: Undo previous change, not needed.
3361 * sinput-l.adb: Undo previous change, not needed.
3363 * sinput.ads: Undo previous change, not needed. Keep only comment
3364 on new checksum algorithm
3366 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
3367 Also remove a-tags and a-stream from GNAT sources.
3369 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
3371 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
3373 2001-10-11 Geert Bosch <bosch@gnat.com>
3375 * einfo.h: Regenerate.
3377 * nmake.ads: Regenerate.
3379 * nmake.adb: Regenerate.
3381 * sinfo.h: Regenerate.
3383 * treeprs.adb: Regenerate.
3385 2001-10-10 Geert Bosch <bosch@gnat.com>
3387 * gnat-style.texi: New file describing coding guidelines for Ada.
3389 2001-10-10 Ed Schonberg <schonber@gnat.com>
3391 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
3394 2001-10-10 Geert Bosch <bosch@gnat.com>
3396 * snames.ads: Add new names for project facility.
3398 * snames.adb: Update to reflect snames.ads changes.
3400 * snames.h: Update to reflect snames.ads changes.
3402 2001-10-10 Vincent Celier <celier@gnat.com>
3405 (Add_Switches): reflect the changes for the switches attributes
3406 Default_Switches indexed by the programming language,
3407 Switches indexed by the file name.
3408 (Collect_Arguments_And_Compile): Idem.
3409 Reflect the attribute name changes.
3412 (Initialisation_Data): Change the names of some packages and
3414 (Initialize): process case insensitive associative arrays.
3417 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
3420 (Parse_Attribute_Declaration): For case insensitive associative
3421 arrays, set the index string to lower case.
3424 Reflect the changes of the project attributes.
3427 Replace Check_Naming_Scheme by Ada_Check and
3428 Language_Independent_Check.
3431 Replaced Check_Naming_Scheme by 2 procedures:
3432 Ada_Check and Language_Independent_Check.
3435 (Process_Declarative_Items): For case-insensitive associative
3436 arrays, set the index string to lower case.
3437 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
3438 Prj.Nmsc.Check_Naming_Scheme.
3441 (Case_Insensitive): New function
3442 (Set_Case_Insensitive): New procedure
3445 (Case_Insensitive): New function
3446 (Set_Case_Insensitive): New procedure
3447 (Project_Node_Record): New flag Case_Insensitive.
3450 (Value_Of): new function to get the string value of a single
3451 string variable or attribute.
3454 (Value_Of): new function to get the string value of a single
3455 string variable or attribute.
3458 (Ada_Default_Spec_Suffix): New function
3459 (Ada_Default_Impl_Suffix): New function
3460 Change definitions of several constants to reflect
3461 new components of record types.
3464 (Naming_Data): Change several components to reflect new
3465 elements of naming schemes.
3466 (Project_Data): New flags Sources_Present and
3467 Language_Independent_Checked.
3468 (Ada_Default_Spec_Suffix): New function.
3469 (Ada_Default_Impl_Suffix): New function.
3472 Modification of predefined names for project manager: added
3473 Implementation, Specification_Exceptions, Implementation_Exceptions,
3474 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
3475 Default_Switches, _Languages, Builder, Cross_Reference,
3476 Finder. Removed Body_Part, Specification_Append, Body_Append,
3477 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
3480 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
3483 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
3484 not that it is Nil_Variable_Value.
3486 * prj.ads: Add ??? for uncommented declarations
3488 2001-10-10 Ed Schonberg <schonber@gnat.com>
3490 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
3491 constant, do not indicate possible modification, so that gigi can
3492 treat it as a bona fide constant.
3494 2001-10-10 Robert Dewar <dewar@gnat.com>
3496 * sem_prag.adb: Add processing for pragma External.
3498 * snames.ads: Add entry for pragma External.
3500 * par-prag.adb: Add pragma External.
3502 * snames.adb: Updated to match snames.ads.
3504 2001-10-10 Ed Schonberg <schonber@gnat.com>
3506 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
3507 a dynamic task if the allocator appears in an indexed assignment
3508 or selected component assignment.
3510 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
3511 For a dynamic task in an assignment statement, use target of
3512 assignment to generate meaningful name.
3514 2001-10-10 Ed Schonberg <schonber@gnat.com>
3516 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
3519 * einfo.ads: Body_Entity is also defined for generic package.
3520 Documentation change only
3522 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
3523 others_choice for a discriminated component initialization,
3524 convert discriminant references into the corresponding discriminals.
3526 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
3527 only if original type is private and expression has to be wrapped
3531 (Apply_Constraint_Check): Do not perform length check
3532 if expression is an aggregate with only an others_choice.
3533 (Length_N_Cond): two references to the same in_parameter
3534 (typically the discriminal in an init_proc) denote the same value.
3535 Two useful optimization uncovered by bugfixes above.
3537 2001-10-10 Robert Dewar <dewar@gnat.com>
3539 * xeinfo.adb: Change int to char in translation of enumeration types.
3540 This fixes a problem in the C representation of component alignment.
3541 Add 2001 to copyright notice
3543 2001-10-10 Richard Kenner <kenner@gnat.com>
3545 * decl.c: (validate_size): Do check size of object of integral type
3546 if it is a packed array type.
3548 2001-10-10 Richard Kenner <kenner@gnat.com>
3550 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
3551 VAR_DECL for constant if not Is_Public but -O0.
3553 2001-10-10 Richard Kenner <kenner@gnat.com>
3555 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
3557 2001-10-10 Geert Bosch <bosch@gnat.com>
3559 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
3560 use '/' as switch character, allowing for absolute file names.
3562 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
3564 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
3567 2001-10-08 Geert Bosch <bosch@gnat.com>
3569 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
3570 Automatically build utilities when files need to be regenerated.
3572 2001-10-08 Geert Bosch <bosch@gnat.com>
3574 * xsnames.adb: New utility for updating snames.ads and snames.adb
3576 2001-10-08 Zack Weinberg <zack@codesourcery.com>
3578 * Make-lang.in (ADAFLAGS): Add -W -Wall.
3579 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
3580 (gnat1): Also depend on attribs.o.
3581 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
3582 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
3583 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
3584 (ADAFLAGS): Add -W -Wall.
3585 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
3588 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
3589 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
3590 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
3591 Use $(ADAC), not $(CC), as compilation command.
3593 (gnattools): Depend directly on tools to build, don't use
3595 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
3597 * einfo.h, sinfo.h: New files (autogenerated).
3599 2001-10-08 Richard Henderson <rth@redhat.com>
3601 * comperr.adb (Abort_In_Progress): New.
3602 (Compiler_Abort): Use it to prevent recursion.
3604 2001-10-08 Robert Dewar <dewar@gnat.com>
3606 * atree.adb: Set Error_Posted in Error node, helps error recovery.
3608 * par-endh.adb (Output_End_Expected): We should also not test
3609 Error_Posted on the Error node, since now it is always set.
3611 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
3612 to help error recovery. Part of general work on 9407-004.
3614 * par.adb: Add ??? for misuse of error
3617 (Resolve): Defend against Error, fixes 9407-003.
3618 (Resolve_Discrete_Subtype_Indication): Defend against Error.
3620 * sinfo.ads (N_Error): Now has Etype field (which will be set
3621 to Any_Type to help error recovery).
3623 2001-10-08 Richard Kenner (kenner@gnat.com)
3625 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
3626 Consistently set MEM attributes from expression; fixes
3627 bootstrap failure on x86.
3629 2001-10-08 Geert Bosch (bosch@gnat.com)
3631 * 5oosinte.adb: Add 2001 to copyright notice.
3633 2001-10-08 Geert Bosch (bosch@gnat.com)
3635 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
3637 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
3639 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
3641 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
3643 2001-10-05 Geert Bosch (bosch@gnat.com)
3645 * adaint.h: Small formatting fix.
3647 2001-10-04 Geert Bosch <bosch@gnat.com>
3649 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
3650 Arg is int, not FILE *, in dummy version of functions.
3652 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
3653 Arg is int, not FILE *.
3655 2001-10-04 Geert Bosch <bosch@gnat.com>
3657 * 3lsoccon.ads: Added file, missed with initial check ins.
3659 * 4lintnam.ads: Fix header format.
3660 Change Linux to GNU/Linux.
3662 * 5iosinte.adb: Change Linux to GNU/Linux.
3664 * 5iosinte.ads: Change Linux to GNU/Linux.
3666 * 5itaprop.adb: Change Linux to GNU/Linux.
3668 * 5itaspri.ads: Change Linux to GNU/Linux.
3669 Update copyright notice.
3671 * 5lintman.adb: Change Linux to GNU/Linux.
3673 * 5lml-tgt.adb: Change Linux to GNU/Linux.
3675 * 5losinte.ads: Change Linux to GNU/Linux.
3677 * 5lsystem.ads: Change Linux to GNU/Linux.
3679 * 5qosinte.adb: Change Linux to GNU/Linux.
3681 * 5qosinte.ads: Change Linux to GNU/Linux.
3683 * 5qparame.ads: Change Linux to GNU/Linux.
3685 * 5qtaprop.adb: Change Linux to GNU/Linux.
3687 * 5qtaspri.ads: Change Linux to GNU/Linux.
3688 Add 2001 to copyright notice.
3690 * 5vintman.ads: Change Linux to GNU/Linux.
3691 Fix header format. Add 2001 to copyright notice.
3693 * g-soccon.ads: Change Linux to GNU/Linux.
3695 * g-trasym.ads: Change Linux to GNU/Linux.
3696 Add 2001 to copyright notice.
3698 * memtrack.adb: Change Linux to GNU/Linux.
3700 * s-intman.ads: Change Linux to GNU/Linux.
3701 Add 2001 to copyright notice. Fix header format.
3703 * s-stache.adb: Change Linux to GNU/Linux.
3705 * adaint.c: Change Linux to GNU/Linux.
3707 * cio.c: Change Linux to GNU/Linux.
3709 * cstreams.c: Change Linux to GNU/Linux.
3711 * init.c: Change Linux to GNU/Linux.
3713 * gmem.c: Change Linux to GNU/Linux.
3715 * tracebak.c: Change Linux to GNU/Linux.
3718 2001-10-02 Geert Bosch <bosch@gnat.com>
3720 * misc.c (insert_default_attributes): Add dummy version.