1 2003-05-03 Nathan Sidwell <nathan@codesourcery.com>
3 * trans.c (tree_transform): Use location_t and input_location
5 (build_unit_elab): Likewise.
6 * utils.c (create_label_decl): Likewise.
8 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
10 * trans.c (tree_transform, build_unit_elab,
11 set_lineno): Rename lineno to input_line.
12 * utils.c (pushdecl, create_label_decl, begin_subprog_body,
13 end_subprog_body): Likewise.
14 * utils2.c (build_call_raise): Likewise.
16 2003-05-01 Laurent Guerby <guerby@acm.org>
19 * 5iosinte.ads: Increase pthread_cond_t size to match recent
20 LinuxThread and NPTL version, merge from ACT.
22 2003-04-28 Zack Weinberg <zack@codesourcery.com>
24 * utils.c (convert): No need to clear TREE_CST_RTL.
26 2003-04-23 Geert Bosch <bosch@gnat.com>
28 * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
29 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
30 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
31 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
32 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
33 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
34 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
35 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
36 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
37 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
38 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
39 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
40 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
41 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
42 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
43 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
44 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
45 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
46 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
47 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
48 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
49 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
50 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
51 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
52 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
53 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
54 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
55 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
56 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
57 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
58 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
59 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
60 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
61 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
62 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
63 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
64 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
65 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
66 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
67 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
68 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
69 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
70 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
71 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
72 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
73 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
74 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
75 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
76 a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
77 a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
78 a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
79 a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
80 a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
81 a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
82 a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
83 a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
84 a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
85 a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
86 a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
87 a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
88 a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
89 a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
90 a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
91 a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
92 a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
93 a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
94 a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
95 a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
96 a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
97 a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
98 a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
99 a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
100 a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
101 a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
102 a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
103 a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
104 a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
105 a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
106 a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
107 a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
108 a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
109 a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
110 a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
111 a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
112 a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
113 a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
114 a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
115 a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
116 a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
117 a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
118 a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
119 a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
120 a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
121 a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
122 a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
123 a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
124 a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
125 a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
126 a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
127 a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
128 a-wttest.ads, ada-tree.h, ada.ads, ada.h,
129 adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
130 ali.adb, ali.ads, alloc.ads, argv.c,
131 atree.adb, atree.ads, atree.h, aux-io.c,
132 back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
133 binde.adb, binde.ads, binderr.adb, binderr.ads,
134 bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
135 butil.adb, butil.ads, cal.c, calendar.ads,
136 casing.adb, casing.ads, ceinfo.adb, checks.adb,
137 checks.ads, cio.c, comperr.adb, comperr.ads,
138 config-lang.in, csets.adb, csets.ads, csinfo.adb,
139 cstand.adb, cstand.ads, cuintp.c, debug.adb,
140 debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
141 dec-io.ads, dec.ads, deftarg.c, directio.ads,
142 einfo.adb, einfo.ads, elists.adb, elists.ads,
143 elists.h, errno.c, errout.adb, errout.ads,
144 eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
145 exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
146 exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
147 exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
148 exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
149 exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
150 exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
151 exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
152 exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
153 exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
154 exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
155 exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
156 exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
157 exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
158 exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
159 fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
160 fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
161 freeze.adb, freeze.ads, frontend.adb, frontend.ads,
162 g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
163 g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
164 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
165 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
166 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
167 g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
168 g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
169 g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
170 g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
171 g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
172 g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
173 g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
174 g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
175 g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
176 g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
177 g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
178 g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
179 g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
180 g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
181 g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
182 g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
183 g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
184 get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
185 gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
186 gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
187 gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
188 gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
189 gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
190 gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
191 gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
192 hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
193 i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
194 i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
195 i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
196 i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
197 i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
198 i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
199 inline.adb, inline.ads, interfac.ads, ioexcept.ads,
200 itypes.adb, itypes.ads, krunch.adb, krunch.ads,
201 layout.adb, layout.ads, lib-list.adb, lib-load.adb,
202 lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
203 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
204 lib.adb, lib.ads, live.adb, live.ads,
205 machcode.ads, make.adb, make.ads, makeusg.adb,
206 makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
207 mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
208 memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
209 mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
210 mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
211 mlib.ads, namet.adb, namet.ads, nlists.adb,
212 nlists.ads, opt.adb, opt.ads, osint-b.adb,
213 osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
214 osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
215 osint.ads, output.adb, output.ads, par-ch10.adb,
216 par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
217 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
218 par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
219 par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
220 par-tchk.adb, par-util.adb, par.adb, par.ads,
221 prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
222 prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
223 prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
224 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
225 prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
226 prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
227 prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
228 prj.adb, prj.ads, repinfo.adb, repinfo.ads,
229 restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
230 rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
231 s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
232 s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
233 s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
234 s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
235 s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
236 s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
237 s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
238 s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
239 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
240 s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
241 s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
242 s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
243 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
244 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
245 s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
246 s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
247 s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
248 s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
249 s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
250 s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
251 s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
252 s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
253 s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
254 s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
255 s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
256 s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
257 s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
258 s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
259 s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
260 s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
261 s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
262 s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
263 s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
264 s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
265 s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
266 s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
267 s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
268 s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
269 s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
270 s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
271 s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
272 s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
273 s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
274 s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
275 s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
276 s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
277 s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
278 s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
279 s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
280 s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
281 s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
282 s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
283 s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
284 s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
285 s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
286 s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
287 s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
288 s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
289 s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
290 s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
291 s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
292 s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
293 s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
294 s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
295 s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
296 s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
297 s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
298 s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
299 s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
300 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
301 s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
302 s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
303 s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
304 s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
305 s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
306 s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
307 s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
308 s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
309 s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
310 s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
311 s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
312 s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
313 s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
314 s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
315 s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
316 s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
317 s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
318 s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
319 s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
320 s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
321 s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
322 s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
323 s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
324 scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
325 sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
326 sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
327 sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
328 sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
329 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
330 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
331 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
332 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
333 sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
334 sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
335 sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
336 sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
337 sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
338 sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
339 sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
340 sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
341 sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
342 sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
343 sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
344 sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
345 snames.ads, sprint.adb, sprint.ads, stand.adb,
346 stand.ads, stringt.adb, stringt.ads, style.adb,
347 style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
348 switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
349 switch-m.ads, switch.adb, switch.ads, system.ads,
350 table.adb, table.ads, targparm.adb, targparm.ads,
351 tbuild.adb, tbuild.ads, text_io.ads, trans.c,
352 tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
353 tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
354 ttypef.ads, ttypes.ads, types.adb, types.ads,
355 uintp.adb, uintp.ads, uname.adb, uname.ads,
356 unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
357 usage.adb, usage.ads, validsw.adb, validsw.ads,
358 widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
359 xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
360 xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
361 formatting and other trivial changes from ACT.
363 2003-04-12 Zack Weinberg <zack@codesourcery.com>
365 * gigi.h, utils2.c (build_constructor):
366 Rename gnat_build_constructor. Use build_constructor.
367 * decl.c (gnat_to_gnu_entity)
368 * trans.c (tree_transform, pos_to_constructor, extract_values)
369 * ada/utils.c (build_template, convert_to_fat_pointer, convert)
371 * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
372 (fill_vms_descriptor):
375 2003-04-06 Zack Weinberg <zack@codesourcery.com>
377 * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
378 * misc.c (gnat_tree_size): New function.
379 (LANG_HOOKS_TREE_SIZE): Override.
381 2003-04-03 Jason Merrill <jason@redhat.com>
383 * misc.c (gnat_adjust_rli): #if 0.
385 2003-03-31 Geert Bosch <bosch@gnat.com>
388 * link.c : Fix misspelled "const" keyword
390 2003-03-23 Mark Mitchell <mark@codesourcery.com>
393 * utils2.c: Adjust calls to put_var_into_stack.
395 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
397 * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
399 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
401 * misc.c (gnat_init): Update for new prototype.
403 2003-03-05 Olivier Hainque <hainque@gnat.com>
406 * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
407 warning, and fix return type for the IN_RTS && !SJLJ case.
409 2003-03-04 Tom Tromey <tromey@redhat.com>
411 * Make-lang.in (ada.tags): New target.
413 2003-03-04 Olivier Hainque <hainque@act-europe.fr>
416 * a-except.adb (Unwind_RaiseException): Import a GNAT specific
417 wrapper, which name remains constant whatever underlying GCC
420 * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
421 the stable interface needed for a-except.
423 2003-03-02 Andreas Jaeger <aj@suse.de>
425 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
426 gnat_ug_wnt.texi: Regenerate.
428 2003-03-02 Laurent Guerby <guerby@acm.org>
430 * Makefile.in (install-gnatlib): Match previous change there
433 2003-02-28 Andreas Schwab <schwab@suse.de>
435 * Make-lang.in (install-gnatlib): Change to ada directory before
436 running make instead of using ada/Makefile directly.
438 2003-02-18 Ben Elliston <bje@redhat.com>
440 Part of fix for PR ada/9406
441 * gnat_ug.texi (Binder output file): Grammar fix.
443 2003-02-18 Ben Elliston <bje@redhat.com>
446 * 5qtaprop.adb (Sleep): Fix typo in comment.
448 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
450 * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
451 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
452 gnat_ug_wnt.texi: Regenerate.
454 2003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de>
456 * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
457 be created if necessary.
458 (ada.install-common): Let $(DESTDIR)$(bindir) be created
459 if necessary. Remove erroneous and redundant gnatchop
460 installation commands. Test for gnatdll before attempting
462 (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
463 and gnatdll from all plausible locations.
465 2003-02-01 Richard Sandiford <rsandifo@redhat.com>
467 * utils2.c (build_unary_op): Don't check flag_volatile.
468 * gnat_ug.texi: Remove -fvolatile from example.
469 * gnat_ug_vxw.texi: Likewise.
471 2003-01-29 Laurent Guerby <guerby@acm.org>
474 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
475 * Makefile.in: match previous change.
476 * Make-lang.in: match previous change.
478 2003-01-29 Joel Sherrill <joel@OARcorp.com>
480 * 5rosinte.ads: Add SIGXCPU.
481 * 5rtpopsp.adb: New file.
482 * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
483 * Makefile.in: Recognize more RTEMS targets and add the RTEMS
484 specific file 5rtpopsp.adb.
485 * adaint.h: Add include of <stdio.h> when target is RTEMS. This
486 is likely needed for all newlib targets.
487 * init.c: Add RTEMS specific version of __gnat_initialize().
489 2003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
491 * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
493 2003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
495 * init.c (__gnat_error_handler): Make msg const.
497 * gmem.c (convert_addresses): Move declaration ...
498 * adaint.h: ... here.
499 * adaint.c (convert_addresses): Adapt addrs type to match
502 * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
504 2003-01-24 Andreas Schwab <schwab@suse.de>
506 * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
507 size_t to avoid warning.
509 2003-01-21 Zack Weinberg <zack@codesourcery.com>
511 * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
513 2003-01-09 Geoffrey Keating <geoffk@apple.com>
515 * gnat_rm.texi: Remove RCS version number.
517 * ada-tree.h (union lang_tree_node): Add chain_next option.
519 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
521 * Make-lang.in (ada.install-info, ada.install-common,
522 ada.uninstall): Prepend $(DESTDIR) to the destination
523 directory in all (un)installation commands.
524 * Makefile.in (install-gnatlib, install-rts): Ditto.
526 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
528 * gnat_rm.texi, gnat_ug.texi: Use @copying.
529 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
530 gnat_ug_wnt.texi: Regenerate.
532 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
534 * gnat_rm.texi: Include gcc-common.texi. Use GCC version number
536 * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
537 $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
538 $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
539 ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
540 ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
541 $(srcdir)/doc/include/gcc-common.texi.
543 2002-12-15 Geert Bosch <bosch@gnat.com>
545 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
547 2002-12-14 Geert Bosch <bosch@gnat.com>
549 * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
550 case of a body created for a Renaming_As_Body, on which
551 conformance checks are not performed. Fixes PR ada/5690.
553 2002-11-30 Zack Weinberg <zack@codesourcery.com>
555 * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
556 utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
557 not already included.
558 * Make-lang.in: Update dependencies.
560 2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
561 * adaint.c (__gnat_tmp_name): Better, but good enough for now,
562 solution to buffer overflow bug on GNU/Linux.
564 2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
565 Closes PR ada/5856 and PR ada/6919 !
566 * bindgen.adb: Remove all references to Public_Version.
567 * comperr.adb: Remove all references to Public_Version and
568 GNATPRO_Version; correct bug reporting instructions.
569 * comperr.ads: Change to match bug box.
570 * gnatvsn.ads: Remove all references to Public version and
573 2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
575 * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
579 * config-lang.in: Remove diff_excludes.
581 2002-11-05 Graham Stott <graham.stott@btinternet.com>
583 * trans.c (gnu_pending_elaboration_lists): New GC root.
584 (build_unit_elab): Use..
586 2002-10-30 Geert Bosch <bosch@gnat.com>
588 * misc.c : Include optabs.h
590 * Make-lang.in (misc.o): Add dependency on optabs.h
592 2002-10-29 Geert Bosch <bosch@gnat.com>
594 * Make-lang.in (gnatbind): Depend on CONFIG_H
596 2002-10-29 Geert bosch <bosch@gnat.com>
598 * misc.c: Unrevert misc.c (1.13)
600 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
602 * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
603 maintainership comments.
605 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
607 * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
608 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
609 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
610 7staprop.adb: Correct statements in comments about
611 maintainership of GNAT.
614 * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
615 gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
616 osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
617 osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
618 s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
619 s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
620 sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
621 switch-c.ads switch-m.adb switch-m.ads: Correct statements in
622 comments about maintainership of GNAT.
624 PR ada/6919 (forward port of patch for PR ada/5904)
625 * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
626 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
627 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
628 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
629 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
630 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
631 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
632 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
633 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
634 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
635 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
636 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
637 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
638 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
639 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
640 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
641 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
642 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
643 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
644 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
645 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
646 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
647 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
648 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
649 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
650 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
651 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
652 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
653 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
654 a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
655 a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
656 a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
657 a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
658 a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
659 a-except.adb a-except.ads a-excpol.adb a-exctra.adb
660 a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
661 a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
662 a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
663 a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
664 a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
665 a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
666 a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
667 a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
668 a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
669 a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
670 a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
671 a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
672 a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
673 a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
674 a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
675 a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
676 a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
677 a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
678 a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
679 a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
680 a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
681 a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
682 a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
683 a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
684 a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
685 a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
686 a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
687 a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
688 a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
689 a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
690 a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
691 a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
692 a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
693 adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
694 alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
695 back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
696 binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
697 bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
698 ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
699 csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
700 cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
701 debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
702 einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
703 errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
704 exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
705 exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
706 exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
707 exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
708 exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
709 exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
710 exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
711 exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
712 exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
713 exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
714 exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
715 exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
716 exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
717 final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
718 fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
719 freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
720 g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
721 g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
722 gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
723 gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
724 gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
725 gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
726 gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
727 gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
728 i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
729 i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
730 i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
731 i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
732 impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
733 itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
734 lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
735 lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
736 lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
737 lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
738 makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
739 namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
740 nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
741 osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
742 par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
743 par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
744 par-endh.adb par-labl.adb par-load.adb par-prag.adb
745 par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
746 prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
747 prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
748 prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
749 prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
750 prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
751 prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
752 repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
753 rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
754 s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
755 s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
756 s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
757 s-direio.adb s-direio.ads s-except.ads s-exctab.adb
758 s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
759 s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
760 s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
761 s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
762 s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
763 s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
764 s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
765 s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
766 s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
767 s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
768 s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
769 s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
770 s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
771 s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
772 s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
773 s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
774 s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
775 s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
776 s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
777 s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
778 s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
779 s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
780 s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
781 s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
782 s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
783 s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
784 s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
785 s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
786 s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
787 s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
788 s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
789 s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
790 s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
791 s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
792 s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
793 s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
794 s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
795 s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
796 s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
797 s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
798 s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
799 s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
800 s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
801 s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
802 s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
803 s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
804 s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
805 s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
806 s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
807 s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
808 s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
809 s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
810 s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
811 s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
812 s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
813 s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
814 s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
815 s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
816 s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
817 s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
818 s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
819 s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
820 s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
821 s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
822 s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
823 s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
824 s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
825 s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
826 s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
827 s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
828 s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
829 s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
830 s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
831 s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
832 s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
833 s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
834 s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
835 s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
836 scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
837 sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
838 sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
839 sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
840 sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
841 sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
842 sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
843 sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
844 sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
845 sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
846 sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
847 sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
848 sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
849 sem_type.adb sem_type.ads sem_util.adb sem_util.ads
850 sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
851 sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
852 sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
853 sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
854 snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
855 stringt.ads stringt.h style.adb style.ads stylesw.adb
856 stylesw.ads switch.adb switch.ads sysdep.c system.ads
857 table.adb table.ads targparm.adb targparm.ads targtyps.c
858 tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
859 tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
860 treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
861 types.adb types.ads types.h uintp.adb uintp.ads uintp.h
862 uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
863 usage.ads utils.c utils2.c validsw.adb validsw.ads
864 widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
865 xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
866 xtreeprs.adb: Correct statements in comments about maintainership
869 2002-09-23 Zack Weinberg <zack@codesourcery.com>
871 * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
872 * Makefile.in (TOOLS_LIBS): Add ../../version.o.
873 * gnatvsn.ads: Gnat_Version_String is now a function.
874 * gnatvsn.adb: New file. When asked for Gnat_Version_String,
875 copy the C version_string into a String and return it.
876 * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
877 gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
878 Remove pragma Ident (Gnat_Version_String). If this was the
879 sole use of package Gnatvsn, remove the with statement too.
880 * gnat1drv.adb: Tweak -gnatv output.
882 2002-09-17 Richard Henderson <rth@redhat.com>
884 * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
885 * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
886 * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
887 (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
888 * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
889 and real_2expN instead of a loop.
890 * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
891 (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
893 2002-08-25 Andre Leis <a.leis@gmx.net>
894 David Billinghurst (David.Billinghurst@riotinto.com>
896 * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
898 2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
900 * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
901 Remove $(CONFIG_H) dependency.
903 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
905 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
907 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
909 * adadecode.c (ada_demangle): Use xstrdup in lieu of
911 * misc.c (gnat_decode_option): Likewise.
913 2002-07-15 Florian Weimer <fw@deneb.enyo.de>
915 * make.adb (Add_Switch): Make Generic_Position a procedure. The
916 function approach did not work well because of a side effect (the
917 function call could reallocate the table which was being indexed
918 using its result). Fixes ada/4851. [RESURRECTED]
920 2002-07-01 Roger Sayle <roger@eyesopen.com>
922 * ada/utils.c (builtin_function): Accept an additional parameter.
924 2002-06-28 Andreas Jaeger <aj@suse.de>
927 * Makefile.in: Fix typo in comment, patch by Adrian Knoth
930 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
932 * Makefile.in (SHELL): Set to @SHELL@.
934 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
936 * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
937 array size calculation.
939 2002-06-04 Andreas Jaeger <aj@suse.de>
941 * Make-lang.in (gnatbind): Readd rule that has been lost in last
944 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
946 Merge from pch-branch:
948 * config-lang.in (gtfiles): Add ada-tree.h.
949 * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
950 (SET_TYPE_MODULUS): New.
951 (SET_TYPE_INDEX): New.
952 (SET_TYPE_DIGITS_VALUE): New.
953 (SET_TYPE_RM_SIZE): New.
954 (SET_TYPE_UNCONSTRAINED_ARRAY): New.
955 (SET_TYPE_ADA_SIZE): New.
956 (SET_TYPE_ACTUAL_BOUNDS): New.
957 (SET_DECL_CONST_CORRESPONDING_VAR): New.
958 (SET_DECL_ORIGINAL_FIELD): New.
959 (TREE_LOOP_ID): Correct typo.
960 * decl.c: Use new macros.
961 * utils.c: Include debug.h, use new macros.
962 * utils2.c: Use new macros.
964 * ada-tree.h: Update all macros for new tree description.
965 (struct tree_loop_id): New.
966 (union lang_tree_node): New.
967 (struct lang_decl): New.
968 (struct lang_type): New.
969 * misc.c (gnat_mark_tree): Delete.
970 (LANG_HOOKS_MARK_TREE): Delete.
971 * trans.c (tree_transform): No longer any need to cast
974 * utils.c (struct language_function): New dummy structure.
976 * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
978 (utils.o): Likewise; also gtype-ada.h.
979 * Make-lang.in (gnat1): Add dependency on s-gtype.
980 (gnatbind): Add dependency on $(CONFIG_H).
981 * utils.c: Correct last #include.
982 (stuct e_stack): Remove unnecessary 'static'.
983 (mark_e_stack): Remove unused prototype.
985 * scn-nlit.adb: Remove whitespace after version number to
986 keep lines under 80 chars.
987 * snames.adb: Likewise.
988 * treepr.ads: Likewise.
990 * Makefile.in (decl.o): Include gt-ada-<filename>.h.
992 (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
993 * config-lang.in (gtfiles): New.
994 * decl.c: Use gengtype for roots.
995 * gigi.h: Use gengtype for roots.
996 * trans.c: Use gengtype for roots.
997 * utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
999 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
1001 * misc.c (gnat_init): Adjust setting of internal_error_function.
1003 2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
1005 * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
1006 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
1007 gnat_ug_wnt.texi: Regenerate.
1009 2002-05-31 Florian Weimer <fw@deneb.enyo.de>
1011 * 5ntaprop.adb (with System.OS_Primitives): Remove.
1013 * cstreams.c (max_path_len): Move from here ...
1014 * adaint.c (__gnat_max_path_len): ... to here.
1015 * adaint.c (__gnat_max_path_len): Declare.
1016 * g-dirope.adb (Max_Path): Adjust.
1017 * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
1018 * i-cstrea.ads (max_path_len): Adjust.
1019 * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
1020 * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
1022 * Makefile.in, Make-lang.in: Documentation is now built in
1023 Make-lang.in. Store Info and generated Texinfo files in the
1025 * gnat_ug.texi: Remove CVS keywords, correct version number.
1026 Set file name correctly.
1028 * gnat_ug_*.texi: Add.
1029 * .cvsignore: Ignore generated Texinfo files.
1031 2002-05-30 Zack Weinberg <zack@codesourcery.com>
1033 * ada.h: Add MI guard macro.
1034 (SUBTYPE): Define constants with an anonymous enum, not static
1036 (IN): Cast constants to appropriate type before use.
1038 2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
1040 * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
1043 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1045 * Make-lang.in (CP, ECHO): Copy from Makefile.in.
1046 (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
1047 (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
1048 (ALL_ADA_CFLAGS): Likewise.
1049 (ADA_INCLUDES): Likewise.
1050 Adapt for new working dir.
1051 (GNATBIND): Use Makefile.in version.
1052 (.SUFFIXES): Copy from Makefile.in.
1054 (.adb.o, .ads.o): Copy from Makefile.in.
1055 Added $(OUTPUT_OPTION).
1056 (GNAT1_C_OBJS): Moved from Makefile.in.
1057 Prefix with ada subdir.
1058 (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
1059 (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
1060 Adapt for new working dir.
1061 (EXTRA_GNATBIND_OBJS): Likewise.
1062 (ADA_BACKEND): Moved from Makefile.in.
1063 Renamed to avoid conflict with global BACKEND.
1065 (TARGET_ADA_SRCS): Moved from Makefile.in.
1066 (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
1068 (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
1069 (ada_extra_files): Moved from Makefile.in.
1070 Prefix with ada subdir.
1071 (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
1072 (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
1073 (ada/nmake.ads): Likewise.
1074 (update-sources): Moved from Makefile.in.
1075 Prefix with ada subdir.
1076 (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
1077 (ADA_TREE_H): Likewise.
1078 (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
1079 (ada/memtrack.o): Likewise.
1080 (ada/adadecode.o): Likewise.
1081 Update dependencies.
1082 (ada/adaint.o): New.
1083 (ada/argv.o): Moved from Makefile.in.
1084 Prefix with ada subdir.
1085 Update dependencies.
1086 (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
1087 (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
1088 (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
1089 Prefix with ada subdir.
1090 (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
1091 (GNAT DEPENDENCIES): Regenerate.
1092 * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
1093 toplevel Makefile.in.
1094 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
1095 (TARGET_ADA_SRCS): Removed.
1096 (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
1097 (GNATBIND_OBJS): Likewise.
1098 (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
1100 (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
1102 (ada_extra_files): Likewise.
1103 (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
1104 (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
1105 (update-sources): Likewise.
1106 (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
1107 (ADA_TREE_H): Likewise.
1108 (adadecoce.o): Likewise.
1109 (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
1110 (GNAT DEPENDENCIES): Likewise.
1112 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1114 * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
1115 * Makefile.in: Likewise.
1117 2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1119 * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
1120 Restore $(CONFIG_H) and prefix.o dependencies.
1121 (ada.stage[1-4]): Depend on stage?-start.
1123 * Makefile.in (b_gnatb.c): Depend on interfac.o.
1125 2002-05-02 Jim Wilson <wilson@redhat.com>
1127 * utils.c (finish_record_type): Change record_size to record_type.
1129 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
1131 * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
1132 (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
1133 ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
1135 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
1137 * misc.c (gnat_parse_file): Update.
1139 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
1141 * misc.c (gnat_init): Don't set lang_attribute_common.
1143 2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
1145 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
1147 2002-04-21 Florian Weimer <fw@deneb.enyo.de>
1149 * gnat_ug.texi: New file.
1151 * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
1152 instead of gfdl.texi
1154 * xgnatug.adb, ug_words: New files.
1156 * Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
1157 gnat_rm and gnat-style manuals.
1159 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
1161 * gigi.h (incomplete_type_error): Remove.
1162 * utils.c (incomplete_type_error): Remove.
1164 2002-04-16 Mark Mitchell <mark@codesourcery.com>
1166 * trans.c (tree_transform): Add has_scope argument to
1167 expand_start_stmt_expr.
1169 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
1171 * gigi.h (truthvalue_conversion): Rename.
1172 * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
1173 * trans.c (tree_transform): Update.
1174 * utils2.c (truthvalue_conversion): Rename, update.
1175 (build_binary_op, build_unary_op): Update.
1177 2002-04-04 Laurent Guerby <guerby@acm.org>
1179 * make.adb: Implement -margs, remove restriction about file name placement.
1180 * makeusg.adb: Documentation update.
1181 * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
1182 * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
1184 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
1186 * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
1187 (builtin_function): Similarly.
1189 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
1191 * decl.c (gnat_to_gnu_entity): Update.
1192 * gigi.h (mark_addressable): Rename.
1193 * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
1194 * trans.c (tree_transform): Update.
1195 * utils.c (create_var_decl): Update.
1196 * util2.c (build_binary_op, build_unary_op,
1197 fill_vms_descriptor): Update.
1198 (mark_addressable): Rename, update.
1200 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
1202 * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
1204 * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
1205 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
1206 * trans.c (tree_transform, convert_with_check): Update.
1207 * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
1210 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
1212 * gigi.h (finish_incomplete_decl): Rename.
1213 * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
1214 * utils.c (gnat_init_decl_processing): Don't set hook.
1215 (finish_incomplete_decl): Rename.
1217 2002-03-29 Andreas Schwab <schwab@suse.de>
1219 * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
1222 2001-03-28 Robert Dewar <dewar@gnat.com>
1225 (Remove_Checks): New procedure
1228 (Remove_Checks): New procedure
1231 Use new Duplicate_Subexpr functions
1232 (Duplicate_Subexpr_No_Checks): New procedure
1233 (Duplicate_Subexpr_No_Checks_Orig): New procedure
1234 (Duplicate_Subexpr): Restore original form (checks duplicated)
1235 (Duplicate_Subexpr): Call Remove_Checks
1238 (Duplicate_Subexpr_No_Checks): New procedure
1239 (Duplicate_Subexpr_No_Checks_Orig): New procedure
1240 Add 2002 to copyright notice
1242 * sem_util.adb: Use new Duplicate_Subexpr functions
1245 (Eval_Indexed_Component): This is the place to call
1246 Constant_Array_Ref and to replace the value. We simply merge
1247 the code of this function in here, since it is now no longer
1248 used elsewhere. This fixes the problem of the back end not
1249 realizing we were clever enough to see that this was
1251 (Expr_Val): Remove call to Constant_Array_Ref
1252 (Expr_Rep_Val): Remove call to Constant_Array_Ref
1254 (Constant_Array_Ref): Deal with string literals (patch
1255 suggested by Zack Weinberg on the gcc list)
1257 2001-03-28 Ed Schonberg <schonber@gnat.com>
1259 * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
1260 Duplicate_Subexpr_Move_Checks.
1262 * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
1263 Duplicate_Subexpr_Move_Checks.
1265 * sem_eval.adb: (Constant_Array_Ref): Verify that constant
1266 value of array exists before retrieving it (it may a private
1267 protected component in a function).
1269 2002-03-28 Geert Bosch <bosch@gnat.com>
1271 * prj-pp.adb : New file.
1273 * prj-pp.ads : New file.
1275 2002-03-28 Andreas Jaeger <aj@suse.de>
1277 * Makefile.in (stamp-sdefault): Fix path for Makefile.
1279 2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
1281 * misc.c (gnat_expand_expr): Move prototype.
1283 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1285 * misc.c (insert_default_attributes): Remove.
1287 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1289 * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
1290 (gnat_init): Don't set hook.
1291 (gnat_expand_expr): Fix prototype.
1293 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1295 * misc.c (ggc_p): Remove.
1297 2002-03-27 Geert Bosch <bosch@gnat.com>
1299 * prj-makr.ads, prj-makr.adb : New files.
1301 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
1303 * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
1304 (lang_mark_tree): Make static, rename.
1306 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
1308 * misc.c (maybe_build_cleanup): Remove.
1310 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
1312 * gigi.h (yyparse): Remove.
1314 2002-03-23 Florian Weimer <fw@deneb.enyo.de>
1316 * gnat_rm.texi: Sync with ACT version.
1317 (From Ben Brosgol <brosgol@gnat.com>)
1319 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
1321 * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
1322 (gnat_init): Remove old hook.
1324 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
1326 * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
1327 (yyparse): Rename gnat_parse_file.
1329 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
1331 Delete all lines containing "$Revision:".
1332 * xeinfo.adb: Don't look for revision numbers.
1333 * xnmake.adb: Likewise.
1334 * xsinfo.adb: Likewise.
1335 * xsnames.adb: Likewise.
1336 * xtreeprs.adb: Likewise.
1338 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1340 * misc.c (gnat_tree_code_type, gnat_tree_code_length,
1341 gnat_tree_code_name): Delete.
1342 (tree_code_type, tree_code_length, tree_code_name): Define.
1343 (gnat_init): Don't try to copy into the various tree_code
1346 2002-03-11 Richard Henderson <rth@redhat.com>
1348 * Makefile.in (.NOTPARALLEL): Add fake tag.
1350 2002-03-07 Geert Bosch <bosch@gnat.com>
1352 * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
1353 s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
1354 switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
1355 switch-m.adb, switch-m.ads : New files.
1357 2002-03-07 Geert Bosch <bosch@gnat.com>
1359 * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
1360 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
1361 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
1362 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
1363 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
1364 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
1365 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
1366 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
1367 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
1368 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
1369 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
1370 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
1371 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
1372 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
1373 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
1374 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
1375 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
1376 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
1377 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
1378 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
1379 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
1380 Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
1381 a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
1382 a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
1383 a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
1384 a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
1385 a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
1386 a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
1387 a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
1388 adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
1389 atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
1390 bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
1391 csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
1392 einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
1393 eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
1394 exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
1395 exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
1396 exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
1397 exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
1398 exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
1399 expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
1400 freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
1401 g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
1402 g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
1403 g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
1404 g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
1405 g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
1406 g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
1407 gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
1408 gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
1409 gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
1410 i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
1411 impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
1412 lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
1413 lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
1414 memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
1415 mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
1416 nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
1417 output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
1418 par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
1419 prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
1420 prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
1421 prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
1422 rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
1423 s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
1424 s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
1425 s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
1426 s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
1427 s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
1428 s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
1429 s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
1430 s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
1431 s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
1432 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
1433 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
1434 s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
1435 s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
1436 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
1437 s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
1438 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
1439 sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
1440 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
1441 sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
1442 sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
1443 sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
1444 sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
1445 sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
1446 sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
1447 sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
1448 snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
1449 stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
1450 table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
1451 tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
1452 treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
1453 types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
1454 utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
1455 xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
1457 * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
1458 g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
1459 mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
1460 osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
1462 * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
1463 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
1465 * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
1466 to mdll-fil.ad[bs] and mdll-util.ad[bs]
1468 * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
1469 from mdllfile.ad[bs] and mdlltool.ad[bs]
1471 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1473 * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
1474 lieu of explicit sizeof/sizeof.
1476 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
1478 * misc.c (copy_lang_decl): Remove.
1480 2002-02-27 Zack Weinberg <zack@codesourcery.com>
1482 * misc.c: Delete traditional-mode-related code copied from the
1483 C front end but not used, or used only to permit the compiler
1486 2002-02-07 Richard Henderson <rth@redhat.com>
1488 * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
1489 * adaint.h (__gnat_to_gm_time): Update prototype.
1491 2002-01-30 Richard Henderson <rth@redhat.com>
1493 * trans.c (tree_transform) [N_Loop_Statement]: Use
1494 expand_exit_loop_top_cond.
1496 2001-12-23 Richard Henderson <rth@redhat.com>
1498 * utils.c (end_subprog_body): Push GC context around
1499 rest_of_compilation for nested functions.
1501 2001-12-23 Richard Henderson <rth@redhat.com>
1503 * 5nosinte.ads: Get definition of "int" from Interfaces.C.
1505 2001-12-23 Florian Weimer <fw@deneb.enyo.de>
1507 * gnat-style.texi (Declarations and Types): Remove ancient style
1508 rule which was mandated by code generation issues.
1510 * gnat-style.texi (header): Add @dircategory, @direntry.
1511 (title page): Remove date.
1512 (general) Add @./@: where approriate, and two spaces after the
1513 full stop at the end of a sentence. Use @samp markup when
1514 referring concrete lexical entities (keywords, attribute names
1515 etc.), and @syntax for ARM grammar elements. Use @r for English
1516 text in comments. Use @emph for emphasis. Change "if-statements"
1517 etc. to "if statements" (without @samp). Break long lines. Make
1518 casing of section names consistent.
1519 (Identifiers): Use @samp markup for variable names.
1520 (Comments): Use @samp markup for comment characters. Line-end
1521 comments may follow any Ada code, not just statements. Fix
1522 misspelling of "Integer" as "integer".
1523 (Loop statements): Do not use variable name "I", use "J".
1524 (Subprogram Declarations): Document alignment.
1525 (Subprogram Bodies, Block statements): Document empty line before
1528 2001-12-22 Florian Weimer <fw@deneb.enyo.de>
1530 * make.adb (Add_Switch): Make Generic_Position a procedure. The
1531 function approach did not work well because of a side effect (the
1532 function call could reallocate the table which was being indexed
1533 using its result). Fixes ada/4851.
1535 2001-12-19 Robert Dewar <dewar@gnat.com>
1537 * bindgen.adb: Minor reformatting
1539 * cstand.adb: Minor reformatting
1541 * fmap.adb: Minor reformatting
1542 Change name from Add for Add_To_File_Map (Add is much too generic)
1543 Change Path_Name_Of to Mapped_Path_Name
1544 Change File_Name_Of to Mapped_File_Name
1545 Fix copyright dates in header
1548 Change name from Add for Add_To_File_Map (Add is much too generic)
1549 Change Path_Name_Of to Mapped_Path_Name
1550 Change File_Name_Of to Mapped_File_Name
1551 Fix copyright dates in header
1553 * fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
1554 Add use clause for Fmap.
1556 * make.adb: Minor reformatting
1558 * osint.adb: Minor reformatting. Change of names in Fmap.
1559 Add use clause for Fmap.
1561 * prj-env.adb: Minor reformatting
1563 * prj-env.ads: Minor reformatting
1565 * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
1566 error found (there were odd exceptions to this general rule in
1567 -gnatec/-gnatem processing)
1569 2001-12-19 Olivier Hainque <hainque@gnat.com>
1571 * raise.c (__gnat_eh_personality): Exception handling personality
1572 routine for Ada. Still in rough state, inspired from the C++ version
1573 and still containing a bunch of debugging artifacts.
1574 (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
1575 inspired from the C++ library.
1577 * raise.c (eh_personality): Add comments. Part of work for the GCC 3
1578 exception handling integration.
1580 2001-12-19 Arnaud Charlet <charlet@gnat.com>
1582 * Makefile.in: Remove use of 5smastop.adb which is obsolete.
1583 (HIE_SOURCES): Add s-secsta.ad{s,b}.
1584 (HIE_OBJS): Add s-fat*.o
1585 (RAVEN_SOURCES): Remove files that are no longer required. Add
1586 interrupt handling files.
1587 (RAVEN_MOD): Removed, no longer needed.
1589 2001-12-19 Robert Dewar <dewar@gnat.com>
1591 * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
1592 Add 2001 to copyright date
1594 * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
1595 need to force universal inlining for these cases.
1597 2001-12-19 Arnaud Charlet <charlet@gnat.com>
1599 * s-taprob.adb: Minor clean ups so that this unit can be used in
1602 * exp_ch7.adb: Allow use of secondary stack in HI mode.
1603 Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
1605 2001-12-19 Vincent Celier <celier@gnat.com>
1607 * prj-tree.ads (Project_Node_Record): Add comments for components
1608 Pkg_Id and Case_Insensitive.
1610 2001-12-19 Pascal Obry <obry@gnat.com>
1612 * g-socket.adb: Minor reformatting. Found while reading code.
1614 2001-12-19 Robert Dewar <dewar@gnat.com>
1616 * prj-tree.ads: Minor reformatting
1618 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
1620 * config-lang.in (diff_excludes): Remove.
1622 2001-12-17 Ed Schonberg <schonber@gnat.com>
1624 * sem_res.adb (Resolve_Selected_Component): do not generate a
1625 discriminant check if the selected component is a component of
1626 the argument of an initialization procedure.
1628 * trans.c (tree_transform, case of arithmetic operators): If result
1629 type is private, the gnu_type is the base type of the full view,
1630 given that the full view itself may be a subtype.
1632 2001-12-17 Robert Dewar <dewar@gnat.com>
1634 * sem_res.adb: Minor reformatting
1636 * trans.c (tree_transform, case N_Real_Literal): Add missing third
1637 parameter in call to Machine (unknown horrible effects from this
1640 * urealp.h: Add definition of Round_Even for call to Machine
1641 Add third parameter for Machine
1643 2001-12-17 Ed Schonberg <schonber@gnat.com>
1645 * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
1646 predefined units in No_Run_Time mode.
1648 2001-12-17 Richard Kenner <kenner@gnat.com>
1650 * misc.c (insn-codes.h): Now include.
1652 2001-12-17 Olivier Hainque <hainque@gnat.com>
1654 * a-except.adb: Preparation work for future integration of the GCC 3
1655 exception handling mechanism
1656 (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
1657 to factorize previous code sequences and make them externally callable,
1658 e.g. for the Ada personality routine when the GCC 3 mechanism is used.
1659 (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
1660 Use the new notification routines.
1662 2001-12-17 Emmanuel Briot <briot@gnat.com>
1664 * prj-tree.ads (First_Choice_Of): Document the when others case
1666 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1668 * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
1669 HI-E mode, in order to support Ravenscar profile properly.
1671 * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
1672 mode on 32 bits targets.
1674 2001-12-17 Vincent Celier <celier@gnat.com>
1676 * fmap.adb: Initial version.
1678 * fmap.ads: Initial version.
1680 * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
1681 If search is successfully done, add to mapping.
1683 * frontend.adb: Initialize the mapping if a -gnatem switch was used.
1686 (Gnatmake): Add new local variable Mapping_File_Name.
1687 Create mapping file when using project file(s).
1688 Delete mapping file before exiting.
1690 * opt.ads (Mapping_File_Name): New variable
1692 * osint.adb (Find_File): Use path name found in mapping, if any.
1694 * prj-env.adb (Create_Mapping_File): New procedure
1696 * prj-env.ads (Create_Mapping_File): New procedure.
1698 * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
1701 * usage.adb: Add entry for new switch -gnatem.
1703 * Makefile.in: Add dependencies for fmap.o.
1705 2001-12-17 Ed Schonberg <schonber@gnat.com>
1707 * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
1708 is a package instantiation rewritten as a package body.
1709 (Install_Withed_Unit): Undo previous change, now redundant.
1711 2001-12-17 Gary Dismukes <dismukes@gnat.com>
1714 (Compute_Length): Move conversion to Unsigned to callers.
1715 (Get_Max_Size): Convert Len expression to Unsigned after calls to
1716 Compute_Length and Determine_Range.
1717 (Layout_Array_Type): Convert Len expression to Unsigned after calls to
1718 Compute_Length and Determine_Range.
1719 Above changes fix problem with length computation for supernull arrays
1720 where Max (Len, 0) wasn't getting applied due to the Unsigned
1721 conversion used by Compute_Length.
1723 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1726 (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
1727 System.Secondary_Stack.
1728 (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
1730 Remove unused entity RE_Exception_Data.
1732 * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
1734 * rident.ads (No_Secondary_Stack): New restriction.
1736 2001-12-17 Joel Brobecker <brobecke@gnat.com>
1738 * gnat_rm.texi: Fix minor typos. Found while reading the section
1739 regarding "Bit_Order Clauses" that was sent to a customer.
1740 Very interesting documentation!
1742 2001-12-17 Robert Dewar <dewar@gnat.com>
1744 * sem_case.adb (Choice_Image): Avoid creating improper character
1745 literal names by using the routine Set_Character_Literal_Name. This
1746 fixes bombs in certain error message cases.
1748 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1750 * a-reatim.adb: Minor reformatting.
1752 2001-12-17 Ed Schonberg <schonber@gnat.com>
1754 * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
1755 case where the formal is an extension of another formal in the current
1756 unit or in a parent generic unit.
1758 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1760 * s-tposen.adb: Update comments. Minor reformatting.
1761 Minor code clean up.
1763 * s-tarest.adb: Update comments. Minor code reorganization.
1765 2001-12-17 Gary Dismukes <dismukes@gnat.com>
1767 * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
1770 2001-12-17 Robert Dewar <dewar@gnat.com>
1772 * exp_attr.adb: Minor reformatting
1774 2001-12-17 Ed Schonberg <schonber@gnat.com>
1776 * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
1777 derivations nested within a child unit: verify that the parent
1778 type is declared in an outer scope.
1780 2001-12-17 Robert Dewar <dewar@gnat.com>
1782 * sem_ch12.adb: Minor reformatting
1784 2001-12-17 Ed Schonberg <schonber@gnat.com>
1786 * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
1787 warning if current unit is a predefined one, from which bodies may
1790 2001-12-17 Robert Dewar <dewar@gnat.com>
1792 * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
1793 Fix header format. Add 2001 to copyright date.
1795 * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
1796 which caused CE during compilation if checks were enabled.
1798 2001-12-17 Vincent Celier <celier@gnat.com>
1801 (Switches_Of): New function
1802 (Test_If_Relative_Path): New procedure
1803 (Add_Switches): Use new function Switches_Of
1804 (Collect_Arguments_And_Compile): Use new function Switches_Of.
1805 When using a project file, test if there are any relative
1806 search path. Fail if there are any.
1807 (Gnatmake): Only add switches for the primary directory when not using
1808 a project file. When using a project file, change directory to the
1809 object directory of the main project file. When using a project file,
1810 test if there are any relative search path. Fail if there are any.
1811 When using a project file, fail if specified executable is relative
1812 path with directory information, and prepend executable, if not
1813 specified as an absolute path, with the exec directory. Make sure
1814 that only one -o switch is transmitted to the linker.
1816 * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
1819 (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
1820 when using a non standard naming scheme.
1821 (Check_Ada_Naming_Scheme): Make sure that error messages
1822 do not raise exceptions.
1823 (Is_Illegal_Append): Return True if there is no dot in the suffix.
1824 (Language_Independent_Check): Check the exec directory.
1826 * prj.adb (Project_Empty): Add new component Exec_Directory
1829 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
1830 (Project_Data): Add component Exec_Directory
1832 * snames.adb: Updated to match snames.ads revision 1.215
1834 * snames.ads: Added Exec_Dir
1836 2001-12-17 Robert Dewar <dewar@gnat.com>
1838 * make.adb: Minor reformatting
1840 * prj-nmsc.adb: Minor reformatting
1842 * snames.adb: Updated to match snames.ads
1844 * snames.ads: Alphebetize entries for project file
1846 2001-12-17 Ed Schonberg <schonber@gnat.com>
1848 * trans.c (process_freeze_entity): Do nothing if the entity is a
1849 subprogram that was already elaborated.
1851 2001-12-17 Richard Kenner <kenner@gnat.com>
1853 * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
1854 and Esize if object is referenced via pointer.
1856 2001-12-17 Ed Schonberg <schonber@gnat.com>
1858 * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
1859 is discrete before analyzing choices.
1861 2001-12-17 Joel Brobecker <brobecke@gnat.com>
1863 * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
1864 containing the name of the Ada Main Program. This string is mainly
1865 intended for the debugger.
1866 (Gen_Output_File_C): Do the equivalent change when generating a C file.
1868 2001-12-17 Robert Dewar <dewar@gnat.com>
1870 * ali.adb: Set new Dummy_Entry field in dependency entry
1872 * ali.ads: Add Dummy_Entry field to source dependency table
1874 * bcheck.adb (Check_Consistency): Ignore dummy D lines
1876 * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
1878 * lib-writ.ads: Document dummy D lines for missing files.
1880 * types.ads: (Dummy_Time_Stamp): New value for non-existant files
1882 2001-12-17 Robert Dewar <dewar@gnat.com>
1884 * ali.adb: Type reference does not reset current file.
1886 * ali.adb: Recognize and scan renaming reference
1888 * ali.ads: Add spec for storing renaming references.
1890 * lib-xref.ads: Add documentation for handling of renaming references
1892 * lib-xref.adb: Implement output of renaming reference.
1895 (Determine_Range): Document local variables
1896 (Determine_Range): Make sure Hbound is initialized. It looks as though
1897 there could be a real problem here with an uninitialized reference
1898 to Hbound, but no actual example of failure has been found.
1900 2001-12-17 Laurent Pautet <pautet@gnat.com>
1903 Fix comment of Shutdown_Socket and Close_Socket. These functions
1904 should not fail silently because if they are called twice, this
1905 probably means that there is a race condition in the user program.
1906 Anyway, this behaviour is consistent with the rest of this unit.
1907 When an error occurs, an exception is raised with the error message
1908 as exception message.
1910 2001-12-17 Robert Dewar <dewar@gnat.com>
1912 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
1913 that it happens before modification of Sloc values for -gnatD.
1915 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
1916 so that it happens before modification of Sloc values for -gnatD.
1918 * switch.adb: Minor reformatting
1920 2001-12-15 Richard Henderson <rth@redhat.com>
1922 * sem_ch7.adb: Wrap comment.
1924 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
1926 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
1927 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
1928 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
1929 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
1930 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
1931 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
1932 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
1933 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
1934 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
1935 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
1936 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
1937 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
1938 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
1939 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
1940 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
1941 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
1942 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
1943 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
1944 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
1945 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
1946 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
1947 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
1948 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
1949 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
1952 2001-12-14 Vincent Celier <celier@gnat.com>
1954 * osint.adb(Create_Debug_File): When an object file is specified,
1955 put the .dg file in the same directory as the object file.
1957 2001-12-14 Robert Dewar <dewar@gnat.com>
1959 * osint.adb: Minor reformatting
1961 * lib-xref.adb (Output_Instantiation): New procedure to generate
1962 instantiation references.
1964 * lib-xref.ads: Add documentation of handling of generic references.
1966 * ali.adb (Read_Instantiation_Ref): New procedure to read
1967 instantiation references
1969 * ali.ads: Add spec for storing instantiation references
1971 * bindusg.adb: Minor reformatting
1973 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1975 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1977 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1979 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1983 Add 2001 to copyright date
1984 Add entry for Latin-5 (Cyrillic ISO-8859-5)
1986 2001-12-14 Matt Gingell <gingell@gnat.com>
1988 * adaint.c: mktemp is a macro on Lynx and can not be used as an
1991 2001-12-14 Richard Kenner <kenner@gnat.com>
1993 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
1994 if operand is CONSTRUCTOR.
1996 2001-12-14 Ed Schonberg <schonber@gnat.com>
1998 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
1999 before emiting check on right-hand side, so that exception information
2002 2001-12-14 Richard Kenner <kenner@gnat.com>
2004 * utils.c (create_var_decl): Throw away initializing expression
2005 if just annotating types and non-constant.
2007 2001-12-14 Vincent Celier <celier@gnat.com>
2009 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
2012 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
2014 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
2016 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
2018 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
2020 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
2022 * ChangeLog: Remove piece of diff output.
2024 2001-12-14 Geert Bosch <bosch@gnat.com>
2026 * config-lang.in: Update copyright notice
2028 * layout.adb: Remove commented out code.
2030 * mdllfile.ads: Update copyright notice. Fix header format.
2032 * sem_case.ads: Likewise.
2034 * sem_ch3.adb: Minor reformatting.
2036 2001-12-12 Geert Bosch <bosch@gnat.com>
2038 * freeze.ads: Update copyright date.
2040 * g-comlin.ads: Minor reformatting.
2042 * gnat-style.texi: Fix typo.
2044 2001-12-12 Geert Bosch <bosch@gnat.com>
2046 * einfo.h: Regenerate.
2048 2001-12-12 Ed Schonberg <schonber@gnat.com>
2050 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
2051 on known node types, rather than untyped fields. Further cleanups.
2053 2001-12-12 Robert Dewar <dewar@gnat.com>
2056 (Save_Entity_Descendant): Minor comment update.
2057 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
2058 of an N_Attribute_Reference node. As per note below, this does not
2059 eliminate need for Associated_Node in attribute ref nodes.
2060 (Associated_Node): Documentation explicitly mentions attribute
2061 reference nodes, since this field is used in such nodes.
2063 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
2065 2001-12-12 Robert Dewar <dewar@gnat.com>
2067 * s-stalib.adb: Add more comments on with statements being needed
2069 * par-ch12.adb: Minor reformatting
2071 * prj-dect.ads: Fix copyright header
2073 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
2074 inputs fit in 32 bits, but the result still overflows.
2076 * s-fatgen.ads: Minor comment improvement
2078 2001-12-12 Ed Schonberg <schonber@gnat.com>
2080 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
2081 formal derived type, look for an inherited component from the full
2082 view of the parent, if any.
2084 2001-12-12 Robert Dewar <dewar@gnat.com>
2086 * checks.ads (Apply_Alignment_Check): New procedure.
2088 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
2089 ensure that the alignment of objects with address clauses is
2090 appropriate, and raise PE if not.
2092 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
2093 Exp_Pakd.Known_Aligned_Enough
2095 * mdllfile.ads: Minor reformatting
2097 * mlib-fil.ads: Minor reformatting
2099 2001-12-12 Ed Schonberg <schonber@gnat.com>
2101 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
2102 fix to any component reference if enclosing record has non-standard
2105 2001-12-12 Vincent Celier <celier@gnat.com>
2107 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
2110 2001-12-12 Ed Schonberg <schonber@gnat.com>
2112 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
2115 2001-12-12 Robert Dewar <dewar@gnat.com>
2117 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
2119 2001-12-12 Emmanuel Briot <briot@gnat.com>
2121 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
2122 and it adds dependencies to system.io.
2124 2001-12-12 Pascal Obry <obry@gnat.com>
2126 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
2129 2001-12-11 Ed Schonberg <schonber@gnat.com>
2131 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
2132 that is the parent of other generics, the instance body replaces the
2133 instance node. Retrieve the instance of the spec, which is the one
2134 that is visible in clients and within the body.
2136 2001-12-11 Vincent Celier <celier@gnat.com>
2138 * gnatmain.adb: Initial version.
2140 * gnatmain.ads: Initial version.
2142 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
2144 * snames.adb: Updated to match snames.ads.
2146 * snames.ads: Added Gnatstub.
2148 2001-12-11 Vincent Celier <celier@gnat.com>
2150 * prj-attr.adb (Initialization_Data): Change name from
2151 Initialisation_Data.
2153 2001-12-11 Emmanuel Briot <briot@gnat.com>
2155 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
2156 + and * applied to backslashed expressions like \r.
2158 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
2160 * g-os_lib.ads: String_List type added, Argument_List type is now
2161 subtype of String_List.
2163 2001-12-11 Robert Dewar <dewar@gnat.com>
2165 * g-os_lib.ads: Change copyright to FSF
2166 Add comments for String_List type
2168 2001-12-11 Vincent Celier <celier@gnat.com>
2170 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
2171 string to the buffer).
2173 2001-12-11 Ed Schonberg <schonber@gnat.com>
2175 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
2178 * sem_attr.adb: Simplify previous fix for Address.
2179 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
2180 to avoid anomalies where the bound of the type appears to raise
2183 2001-12-11 Robert Dewar <dewar@gnat.com>
2185 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
2188 2001-12-11 Ed Schonberg <schonber@gnat.com>
2190 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
2191 renamed unit before checking for recursive instantiations.
2193 2001-12-11 Emmanuel Briot <briot@gnat.com>
2195 * prj.ads: Add comments for some of the fields.
2197 2001-12-11 Robert Dewar <dewar@gnat.com>
2199 * lib-xref.adb (Output_Refs): Don't output type references outside
2200 the main unit if they are not otherwise referenced.
2202 2001-12-11 Ed Schonberg <schonber@gnat.com>
2204 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
2205 code and diagnose additional illegal uses
2207 * sem_util.adb (Is_Object_Reference): An indexed component is an
2208 object only if the prefix is.
2210 2001-12-11 Vincent Celier <celier@gnat.com>
2212 * g-diopit.adb: Initial version.
2214 * g-diopit.ads: Initial version.
2217 (Expand_Path): Avoid use of Unbounded_String
2218 (Find, Wildcard_Iterator): Moved to child package Iteration
2220 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
2222 2001-12-11 Robert Dewar <dewar@gnat.com>
2224 * sem_attr.adb: Minor reformatting
2226 2001-12-11 Ed Schonberg <schonber@gnat.com>
2228 * sem_ch3.adb: Clarify some ???.
2230 2001-12-11 Robert Dewar <dewar@gnat.com>
2232 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
2233 Exp_Pakd.Known_Aligned_Enough
2235 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
2236 version is moved to Exp_Ch13.
2238 2001-12-11 Robert Dewar <dewar@gnat.com>
2240 * einfo.ads: Minor reformatting
2242 * exp_ch5.adb: Add comment for previous.change
2244 * ali.adb: New interface for extended typeref stuff.
2246 * ali.ads: New interface for typeref stuff.
2248 * checks.adb (Apply_Alignment_Check): New procedure.
2250 * debug.adb: Add -gnatdM for modified ALI output
2252 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
2254 * lib-xref.adb: Extend generation of <..> notation to cover
2255 subtype/object types. Note that this is a complete rewrite,
2256 getting rid of the very nasty quadratic algorithm previously
2257 used for derived type output.
2259 * lib-xref.ads: Extend description of <..> notation to cover
2260 subtype/object types. Uses {..} for these other cases.
2261 Also use (..) for pointer types.
2263 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
2265 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
2266 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
2268 2001-12-11 Vincent Celier <celier@gnat.com>
2271 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
2272 Changed /BIND_ONLY to /ACTIONS=BIND
2273 Changed /LINK_ONLY to /ACTIONS=LINK
2275 2001-12-11 Ed Schonberg <schonber@gnat.com>
2277 * sem_ch8.adb (Find_Selected_Component): improved search for a
2278 candidate package in case of error.
2280 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
2281 chain back on scope stack before reinstalling use clauses.
2283 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
2284 is enabled, do not kill the code for the condition, to preserve
2287 2001-12-11 Robert Dewar <dewar@gnat.com>
2289 * checks.adb (Insert_Valid_Check): Apply validity check to expression
2290 of conversion, not to result of conversion.
2292 2001-12-11 Ed Schonberg <schonber@gnat.com>
2294 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
2295 before freezing parent. If the declarations are mutually recursive,
2296 an access to the current record type may be frozen before the
2297 derivation is complete.
2299 2001-12-05 Vincent Celier <celier@gnat.com>
2301 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
2302 -c /COMPILE_ONLY, -l /LINK_ONLY
2305 (Bind_Only): New Flag
2306 (Link_Only): New flag
2308 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
2311 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
2314 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
2315 (Gnatmake): Set the step flags. Only perform a step if the
2316 corresponding step flag is True.
2317 (Scan_Make_Arg): Reset the bind and link step flags when -u
2318 or -gnatc has been specified.
2320 2001-12-05 Ed Schonberg <schonber@gnat.com>
2322 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
2323 get bounds from right operand.
2325 * sem_eval.adb: Minor reformatting
2327 * exp_util.adb (Make_Literal_Range): use bound of literal rather
2328 than Index'First, its lower bound may be different from 1.
2330 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
2333 2001-12-05 Vincent Celier <celier@gnat.com>
2335 * prj-nmsc.adb Minor reformatting
2337 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
2338 set and libraries are not supported.
2340 2001-12-05 Ed Schonberg <schonber@gnat.com>
2342 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
2343 private view explicitly, so the back-end can treat as a global
2346 2001-12-05 Ed Schonberg <schonber@gnat.com>
2348 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
2349 unit, always replace instance node with new body, for ASIS use.
2351 2001-12-05 Vincent Celier <celier@gnat.com>
2353 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
2354 libraries are not supported and both attributes Library_Name and
2355 Library_Dir are specified.
2357 * prj-proc.adb (Expression): Set location of Result to location of
2360 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
2361 (prj-nmsc is now importing MLib.Tgt)
2363 * prj-proc.adb: Put the change indicated above that was forgotten.
2365 2001-12-05 Robert Dewar <dewar@gnat.com>
2367 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
2369 2001-12-05 Ed Schonberg <schonber@gnat.com>
2371 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
2372 constraint, introduce explicit subtype declaration and derive from it.
2374 * sem_ch3.adb: Minor reformatting
2376 2001-12-05 Robert Dewar <dewar@gnat.com>
2378 * checks.adb (Determine_Range): Increase cache size for checks.
2381 * exp_ch6.adb: Minor reformatting
2382 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
2383 a parameter whose root type is System.Address, since treating such
2384 subprograms as pure in the code generator is almost surely a mistake
2385 that will lead to unexpected results.
2387 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
2388 change handling of conversions.
2390 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
2392 2001-12-05 Ed Schonberg <schonber@gnat.com>
2394 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
2395 aggregate with static wrong size, attach generated Raise node to
2398 2001-12-05 Robert Dewar <dewar@gnat.com>
2400 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
2401 Fixes compilation abandoned bomb in B24009B.
2403 2001-12-05 Ed Schonberg <schonber@gnat.com>
2406 Document use of Associated_Node on Selected_Components.
2407 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
2408 to clarify use of untyped descendant fields.
2410 2001-12-05 Robert Dewar <dewar@gnat.com>
2412 * prj-dect.ads: Add ??? comment
2413 Add 2001 to copyright notice (was not done in after all)
2415 * prj-part.adb: Minor reformatting. Reword one awkward error message.
2417 * prj.ads: Minor reformatting throughout, and add some ??? comments
2419 * snames.ads: Minor reformatting
2421 2001-12-05 Geert Bosch <bosch@gnat.com>
2423 * snames.adb: Autoupdate
2425 2001-12-05 Vincent Celier <celier@gnat.com>
2427 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
2429 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
2431 * prj-env.adb: Minor comment changes (modifying -> extends).
2433 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
2435 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
2438 * prj.adb (Initialize): Change Modifying to Extends.
2440 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
2442 * prj.ads: Minor comment change (Modifying -> extending).
2444 * snames.ads: Change modifying to extends.
2446 2001-12-05 Robert Dewar <dewar@gnat.com>
2448 * sem_warn.adb: Remove stuff for conditionals, we are not going to
2451 * sem_warn.ads: Remove stuff for conditionals, we are not going to
2452 do this after all. Add 2001 to copyright notice
2454 2001-12-04 Geert Bosch <bosch@gnat.com>
2456 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
2458 2001-12-04 Robert Dewar <dewar@gnat.com>
2460 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
2461 location if we already have errors. Stops some cases of cascaded
2464 * errout.adb: Improve comment.
2466 2001-12-04 Robert Dewar <dewar@gnat.com>
2469 (Analyze_Formal_Type_Definition): Defend against Error.
2470 (Analyze_Formal_Subprogram): Defend against Error.
2472 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
2473 remove following semicolon if present. Removes cascaded error.
2475 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
2478 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
2479 exceptions equals 0.
2480 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
2481 Fixes PIWG E tests (which have to be run with -gnatL).
2483 2001-12-04 Robert Dewar <dewar@gnat.com>
2485 * einfo.ads: Minor reformatting
2487 2001-12-04 Ed Schonberg <schonber@gnat.com>
2489 * einfo.ads: Block_Node points to the identifier of the block, not to
2490 the block node itself, to preserve the link when the block is
2491 rewritten, e.g. within an if-statement with a static condition.
2493 * inline.adb (Cleanup_Scopes): recover block statement from block
2494 entity using new meaning of Block_Node.
2496 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
2497 identifier of block node, rather than to node itself.
2499 2001-12-04 Gary Dismukes <dismukes@gnat.com>
2502 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
2503 (Discrimify): Go back to setting the Etypes of the selected component
2504 because the Vname component does not exist at this point and will
2505 fail name resolution. Also set Analyzed.
2506 Remove with and use of Sem_Res.
2508 2001-12-04 Arnaud Charlet <charlet@gnat.com>
2510 * Makefile.in: (HIE_SOURCES): add s-fat*.
2512 2001-12-04 Robert Dewar <dewar@gnat.com>
2515 (Compile_Time_Known_Attribute): New procedure.
2516 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
2519 2001-12-04 Ed Schonberg <schonber@gnat.com>
2521 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
2522 processing discriminants to diagnose illegal default values.
2524 2001-12-04 Ed Schonberg <schonber@gnat.com>
2526 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
2527 access discriminant within a type extension that constrains its
2528 parent discriminants.
2530 2001-12-04 Ed Schonberg <schonber@gnat.com>
2532 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
2533 is malformed, use instance of Any_Id to allow analysis to proceed.
2535 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
2536 type definition is illegal.
2537 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
2540 2001-12-04 Ed Schonberg <schonber@gnat.com>
2542 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
2545 2001-12-04 Robert Dewar <dewar@gnat.com>
2547 * errout.adb: Minor reformatting
2549 2001-12-04 Robert Dewar <dewar@gnat.com>
2551 * exp_util.adb: Minor reformatting from last change
2553 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
2554 which is a rewriting of an expression, traverse the original
2555 expression to remove warnings that may have been posted on it.
2557 2001-12-04 Ed Schonberg <schonber@gnat.com>
2559 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
2560 record that has other packed components.
2562 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
2564 * adaint.c: Minor cleanups.
2566 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
2568 * adaint.c: Do not use utime.h on vxworks.
2570 2001-12-04 Arnaud Charlet <charlet@gnat.com>
2572 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
2573 more confusion than it solves.
2575 2001-12-04 Geert bosch <bosch@gnat.com>
2577 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
2579 2001-12-04 Geert Bosch <bosch@gnat.com>
2581 * Makefile.in (update-sources): New target.
2582 For use by gcc_release script.
2584 2001-12-04 Ed Schonberg <schonber@gnat.com>
2586 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
2587 a configuration pragma, it is now legal wherever a pragma can appear.
2589 2001-12-04 Zack Weinberg <zack@codesourcery.com>
2591 * Makefile.in: Don't set ALL. Delete @cross_defines@,
2592 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
2593 is now @CROSS@ -DIN_GCC; update comment.
2595 2001-12-04 Robert Dewar <dewar@gnat.com>
2597 * einfo.adb (Has_Pragma_Pure_Function): New flag.
2598 Fix problem that stopped ceinfo from working
2600 * einfo.ads (Has_Pragma_Pure_Function): New flag.
2602 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
2604 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
2607 (File_Time_Stamp): New procedure.
2608 (Preserve_Mode): New boolean.
2609 (Write_Unit): Pass time stamp.
2610 Implement -p switch (preserve time stamps).
2612 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
2614 * gnatchop.adb: Do usage info for -p switch
2616 * adaint.h (__gnat_set_file_time_name): New function
2618 * adaint.c (__gnat_set_file_time_name): Implement
2620 * adaint.h: Fix typo
2622 2001-12-03 Robert Dewar <dewar@gnat.com>
2624 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
2625 have Associated_Node.
2627 2001-12-03 Robert Dewar <dewar@gnat.com>
2629 * prj-proc.adb: Minor reformatting
2631 * make.adb: Minor reformatting
2633 2001-12-03 Geert Bosch <bosch@gnat.com>
2635 * make.adb: Minor reformatting.
2637 2001-12-03 Robert Dewar <dewar@gnat.com>
2639 * sem_ch12.adb: Minor reformatting
2641 2001-12-03 Ed Schonberg <schonber@gnat.com>
2643 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
2644 push Standard on the stack before analyzing the instance body,
2645 in order to have a clean visibility environment.
2647 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
2649 2001-12-03 Ed Schonberg <schonber@gnat.com>
2651 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
2652 instantiation of a body that contains an inlined body.
2654 2001-12-03 Ed Schonberg <schonber@gnat.com>
2657 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
2658 to prevent freezing within formal packages.
2659 (Freeze_Subprogram_Body): If body comes from another instance that
2660 appeared before its own body, place freeze node at end of current
2661 declarative part, to prevent a back-end crash.
2662 (Inline_Instance_Body): Handle properly a package instance within
2663 a subprogram instance that is a child unit.
2665 2001-12-01 Graham Stott <grahams@redhat.com>
2667 * Makefile.in (misc.o): Add missing $(srcdir) prefix
2668 and add optabs.h dependency.
2670 * misc.c: Include optabs.h
2671 (gnat_tree_code_type): Make static and const.
2672 (gnat_tree_code_length): Likewise.
2673 (gnat_tree_code_name): Likewise.
2674 (update_setjmp_buf): Obtain operands mode from insn_data.
2676 2001-11-29 Richard Henderson <rth@redhat.com>
2678 * init.c: Remove obsolete dwarf2 frame.h section.
2680 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
2682 * Make-lang.in (ada.generated-manpages): New dummy target.
2684 2001-11-29 Ed Schonberg <schonber@gnat.com>
2686 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
2687 into Command, an array conversion is illegal here. Uncovered by
2690 2001/11/28 Geert Bosch <bosch@gnat.com>
2692 * init.c: Minor whitespace changes.
2694 2001-11-28 Doug Rupp <rupp@gnat.com>
2696 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
2699 2001-11-28 Zack Weinberg <zack@codesourcery.com>
2701 * misc.c (gnat_expand_constant): Move declaration above
2702 definition of lang_hooks.
2703 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
2704 (gnat_init): lang_expand_constant no longer exists.
2706 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
2707 always have vprintf.
2708 (gnat_init): Always call set_internal_error_function.
2710 2001-11-27 Andreas Jaeger <aj@suse.de>
2712 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
2714 2001-11-27 Laurent Guerby <guerby@acm.org>
2716 * Makefile.in: Regenerate Ada dependencies.
2718 2001-11-26 Richard Henderson <rth@redhat.com>
2720 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
2721 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
2722 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
2724 2001-11-25 Laurent Guerby <guerby@acm.org>
2726 * sysdep.c (rts_get_*): Fix style.
2728 2001-11-19 Laurent Guerby <guerby@acm.org>
2730 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
2731 since it is of no apparent use and cause warnings.
2733 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
2735 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
2737 (gnat_init): Don't return NULL.
2738 (finish_parse): Remove.
2740 2001-11-17 Laurent Guerby <guerby@acm.org>
2742 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
2743 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
2744 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
2745 * lang-spec.h: Add missing struct field to silence warnings.
2746 * sysdep.c (rts_get_*): Provide K&R prototype.
2747 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
2748 * traceback.c (Unlock_Task, Lock_Task): Likewise.
2749 * tracebak.c (__gnat_backtrace): Remove unused variable.
2750 * utils.c (end_subprog_body): Move to K&R style.
2752 Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2754 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
2756 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
2758 * misc.c (gnat_init): Change prototype. Include the
2759 functionality of the old init_parse and init_decl_processing.
2760 (gnat_init_decl_processing): New prototype.
2761 (init_parse): Remove.
2762 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
2764 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
2766 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
2767 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
2768 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
2769 set_yydebug): Remove.
2771 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
2773 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
2774 (struct lang_hooks): Constify.
2775 (language_string, lang_identify): Remove.
2776 * utils.c (init_decl_processing): Update.
2778 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2780 * misc.c: Include langhooks-def.h.
2781 * Makefile.in: Update.
2783 2001-10-30 Robert Dewar <dewar@gnat.com>
2786 (Check_Identifier): Rewrite circuit to be compatible with use of letters
2787 in the upper half of ASCII.
2788 (Check_Identifier): Minor reformatting
2790 2001-10-30 Geert Bosch <bosch@gnat.com>
2792 * (Associated_Node, Set_Associated_Node): Do not check for
2795 2001-10-30 Robert Dewar <dewar@gnat.com>
2797 * a-reatim.ads: Minor reformatting
2799 2001-10-30 Robert Dewar <dewar@gnat.com>
2801 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
2802 undocumented declarations.
2804 2001-10-30 Pascal Obry <obry@gnat.com>
2806 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
2807 to the binder and linker.
2810 * mdll.ads: Fix layout. Update copyright notice.
2812 * mdll.adb: Fix layout. Update copyright notice.
2814 2001-10-30 Robert Dewar <dewar@gnat.com>
2816 * usage.adb: Minor fix to output for -gnaty.
2818 2001-10-30 Ed Schonberg <schonber@gnat.com>
2820 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
2821 to accommodate all its possible values.
2823 * a-reatim.adb (Split): Special-case handling of Time_Span_First
2824 and of small absolute values of T.
2826 2001-10-30 Richard Kenner <kenner@gnat.com>
2828 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
2829 set_mem_attributes since not needed and wrong if RESULT if a REG;
2830 fixes ACATS failures.
2832 2001-10-30 Geert Bosch <bosch@gnat.com>
2834 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
2835 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
2837 2001-10-30 Robert Dewar <dewar@gnat.com>
2839 * bindusg.adb: Undocument -f switch.
2841 * gnatcmd.adb: Remove /FULL_ELABORATION.
2843 * opt.ads (Force_RM_Elaboration_Order): Document that this is
2846 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
2848 * gnatbind.adb: Minor update of warning msg.
2850 2001-10-30 Vincent Celier <celier@gnat.com>
2852 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
2853 for project file switches (-P (/PROJECT_FILE=),
2854 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
2857 2001-10-30 Geert Bosch <bosch@gnat.com>
2859 * decl.c: Minor whitespace fixes.
2861 2001-10-30 Richard Kenner <kenner@gnat.com>
2863 * utils2.c (build_allocator): Test for SIZE overflow in array case too
2865 2001-10-30 Geert Bosch <bosch@gnat.com>
2867 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
2868 Found due to GCC 3.0 warning of using uninitialized value.
2871 (Get_Max_Size): Use variant record for tracking value/expression.
2872 Makes logic clearer and prevents warnings for uninitialized variables.
2873 (Layout_Array_Type): Use variant record for tracking value/expression.
2874 Makes logic clearer and prevents warnings for uninitialized variables.
2876 2001-10-30 Robert Dewar <dewar@gnat.com>
2878 * lib.adb: Minor reformatting
2880 * s-taprop.ads: Minor reformatting
2882 2001-10-29 Laurent Guerby <guerby@acm.org>
2885 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
2887 (_gnat_error_handler): Make MSG const.
2889 2001-10-29 Richard Kenner <kenner@gnat.com>
2891 * sysdep.c: Fix localtime_r problem on LynxOS.
2892 Also remove #elif to avoid warnings.
2894 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
2897 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
2899 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
2901 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
2902 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
2903 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
2904 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
2905 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
2906 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
2907 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
2908 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
2909 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
2910 types.ads, urealp.adb: Fix spelling errors.
2912 2001-10-27 Laurent Guerby <guerby@acm.org>
2914 * trans.c (gigi): Fix non determinism leading to bootstrap
2915 comparison failures for debugging information.
2917 2001-10-26 Florian Weimer <fw@deneb.enyo.de>
2919 * gnat_rm.texi: Use @./@: where appropriate.
2921 2001-10-26 Robert Dewar <dewar@gnat.com>
2923 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
2925 2001-10-26 Richard Kenner <kenner@gnat.com>
2927 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
2929 2001-10-26 Richard Kenner <kenner@gnat.com>
2931 * decl.c (validate_size): Modify message for bad size to avoid
2932 implication that compiler is modifying the size.
2934 2001-10-26 Robert Dewar <dewar@gnat.com>
2936 * prj-util.adb: Minor reformatting. Fix bad header format.
2938 2001-10-26 Robert Dewar <dewar@gnat.com>
2940 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
2942 * sinfo.ads: Clarify use of Associated_Node (documentation only).
2944 * sem_ch12.adb: Change Node4 to Associated_Node. Change
2945 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
2946 much more narrowly in places where needed. These are cleanups.
2948 2001-10-26 Joel Brobecker <brobecke@gnat.com>
2950 * 5zosinte.ads (null_pthread): new constant.
2953 (Initialize_TCB): Initialize thread ID to null, to be able to verify
2954 later that this field has been set.
2955 (Finalize_TCB): ditto.
2956 (Suspend_Task): Verify that the thread ID is not null before using it.
2957 (Resume_Task): ditto.
2960 (Resume_All_Tasks): Lock the tasks list before using it.
2961 (Suspend_All_Tasks): ditto.
2963 2001-10-26 Richard Kenner <kenner@gnat.com>
2965 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
2966 Make constant variant of designated type for Is_Access_Constant.
2967 Call update_pointer_to with main variant.
2969 * trans.c (process_freeze_entity, process_type):
2970 Call update_pointer_to on main variant.
2972 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
2973 If main variant, update all other variants.
2975 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
2978 2001-10-26 Robert Dewar <dewar@gnat.com>
2980 * prj-util.adb: Minor reformatting
2982 2001-10-26 Robert Dewar <dewar@gnat.com>
2984 * prj-util.adb: Minor reformatting
2986 2001-10-26 Robert Dewar <dewar@gnat.com>
2988 * prj-attr.adb: Minor reformatting throughout
2990 2001-10-26 Robert Dewar <dewar@gnat.com>
2992 * prj-attr.ads: Minor reformatting
2993 Add ??? comment (this whole spec has almost no comments)
2995 2001-10-26 Vincent Celier <celier@gnat.com>
2997 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
2998 ("//") that precede the drive letter on Interix.
3000 2001-10-26 Geert Bosch <bosch@gnat.com>
3002 * gnat_rm.texi: Add GNAT Reference Manual.
3004 2001-10-25 Robert Dewar <dewar@gnat.com>
3006 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
3007 is Error. Similar change for other renaming cases.
3009 2001-10-25 Robert Dewar <dewar@gnat.com>
3011 * s-atacco.ads: Add pragma Inline_Always for functions.
3012 Fix header format. Add copyright 2001
3014 2001-10-25 Ed Schonberg <schonber@gnat.com>
3016 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
3017 return Error rather than Empty so that analysis can proceed.
3019 2001-10-25 Ed Schonberg <schonber@gnat.com>
3021 * sem_util.adb (Enter_Name): better handling of cascaded error
3022 messages when a unit appears in its own context.
3024 2001-10-25 Ed Schonberg <schonber@gnat.com>
3026 * sem_util.adb (Defining_Entity): in case of error, attach created
3027 entity to specification, so that semantic analysis can proceed.
3029 2001-10-25 Robert Dewar <dewar@gnat.com>
3032 (Defining_Entity): Deal with Error.
3033 (Process_End_Label): Deal with bad end label for.
3035 2001-10-25 Ed Schonberg <schonber@gnat.com>
3037 * sem_elab.adb (Check_A_Call): refine message when call is in an
3038 instance but callee is not declared in the generic unit.
3040 2001-10-25 Ed Schonberg <schonber@gnat.com>
3042 * sem_elab.adb (Check_A_Call): check for renaming before finding the
3043 enclosing unit, which may already be different from the calling unit.
3045 2001-10-25 Geert Bosch <bosch@gnat.com>
3047 * 4gintnam.ads: fix header format.
3049 2001-10-25 Ed Schonberg <schonber@gnat.com>
3051 * sem_res.adb (Resolve_Call): if the call is actually an indexing
3052 operation on the result of a parameterless call, perform elaboration
3053 check after the node has been properly rewritten.
3055 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
3056 inlined within the generic tree, the defining identifier is not a
3059 2001-10-25 Ed Schonberg <schonber@gnat.com>
3061 * sem_res.adb (Resolve): special-case resolution of Null in an
3062 instance or an inlined body to avoid view conflicts.
3064 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
3065 compatibility by retrieving the access type of the generic copy.
3067 2001-10-25 Robert Dewar <dewar@gnat.com>
3070 (Analyze_Number_Declaration): Handle error expression.
3071 (Signed_Integer_Type_Declaration): Handle error bound.
3072 (Analyze_Subtype_Indication): Handle error range.
3074 * sem_util.adb (Get_Index_Bounds): Check for Error.
3076 2001-10-25 Robert Dewar <dewar@gnat.com>
3078 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
3079 in no run time mode.
3081 2001-10-25 Pascal Obry <obry@gnat.com>
3083 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
3084 mode case for ALLOC case.
3086 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
3087 all platforms. Improvement of last change.
3089 2001-10-25 Robert Dewar <dewar@gnat.com>
3091 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
3093 2001-10-25 Geert Bosch <bosch@gnat.com>
3095 * osint.adb (Is_Relative): Remove duplicate.
3097 2001-10-25 Pascal Obry <obry@gnat.com>
3099 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
3100 pathnames in UNIX and DOS style with drive letter.
3101 (Is_Relative): new routine.
3103 * osint.adb: Minor reformatting
3105 * osint.adb (Is_Relative): implementation using
3106 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
3108 2001-10-25 Pascal Obry <obry@gnat.com>
3110 * g-dirope.adb (Basename): correctly compute offset between the
3111 original Path and the translated one.
3113 * g-dirope.adb: (Base_Name): add some comments.
3115 2001-10-25 Robert Dewar <dewar@gnat.com>
3117 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
3118 in HIE mode, avoids compilation abandoned message
3120 * exp_imgv.adb: Correct typo in previous change
3122 * exp_imgv.adb: Correct typo in previous change (not my day!)
3124 2001-10-25 Robert Dewar <dewar@gnat.com>
3126 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
3128 2001-10-25 Pascal Obry <obry@gnat.com>
3130 * g-awk.ads: Move all pragma inlines next to the routine
3131 declarations. This is more uniform with other GNAT spec.
3133 2001-10-22 Geert Bosch <bosch@gnat.com>
3135 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
3137 2001-10-19 Geert Bosch <bosch@gnat.com>
3139 * Makefile.in (tools, gnattools): Remove gnatmem.
3141 2001-10-17 Richard Henderson <rth@redhat.com>
3143 * Makefile.in (misc.o): Depend on langhooks.h.
3144 * misc.c: Include it.
3145 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
3146 (LANG_HOOKS_DECODE_OPTION): New.
3147 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
3149 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
3151 * trans.c (tree_transform): Adjust to recent change in
3152 expand_asm_operands to implement named asm operands.
3154 2001-10-11 Ed Schonberg <schonber@gnat.com>
3156 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
3157 renaming of discriminant for mutable record type.
3159 2001-10-11 Robert Dewar <dewar@gnat.com>
3161 * validsw.adb: Properly save -gnatVn status.
3163 2001-10-11 Robert Dewar <dewar@gnat.com>
3165 * usage.adb: Add lines for V switch.
3167 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
3168 (/VALIDITY_CHECKING).
3170 2001-10-11 Ed Schonberg <schonber@gnat.com>
3172 * sem_type.adb (Add_One_Interp): an operator for a type declared in
3173 an extension of System is known to be visible.
3175 2001-10-11 Ed Schonberg <schonber@gnat.com>
3177 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
3178 properly. Fixes regression on ACATS C34005G.
3180 2001-10-11 Robert Dewar <dewar@gnat.com>
3182 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
3183 loop in generic instance, since this is likely not very useful.
3185 2001-10-11 Robert Dewar <dewar@gnat.com>
3187 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
3188 the error message for high integrity mode.
3190 * rtsfind.adb (RTE): Give message if we try to find an entity that
3191 is not available in high integrity mode.
3194 (OK_To_Use_In_HIE_Mode): New array.
3195 (RTE): May return Empty in high integrity mode.
3197 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
3198 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
3200 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
3201 unit if not inlined always and in no runtime mode. Fixes problem
3202 caused by new Rtsfind changes.
3204 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
3207 * rtsfind.adb (RTE): Make sure we do not try to load unit after
3208 giving message for entity not available in high integrity mode.
3210 2001-10-11 Pascal Obry <obry@gnat.com>
3212 * impunit.adb: Add GNAT.CRC32.
3214 2001-10-11 Ed Schonberg <schonber@gnat.com>
3216 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
3217 properly the case where one universal operand in a non-static
3218 exponentiation of a real literal.
3220 2001-10-11 Ed Schonberg <schonber@gnat.com>
3222 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
3223 clause, return the gobal finalization list, for lack of anthing else.
3225 2001-10-11 Ed Schonberg <schonber@gnat.com>
3227 * exp_ch7.adb (Make_Transient_Block): if statement is within
3228 exception handler, always use new transient scope to place Clean
3231 2001-10-11 Pascal Obry <obry@gnat.com>
3234 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
3235 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
3236 (GNATLS_RTL_OBJS): add g-crc32.o
3237 (GNATMAKE_RTL_OBJS): add g-crc32.o
3240 (CRC_Match): new function.
3241 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
3242 instead of the previous simple checksum algorithm.
3243 (Time_Stamp_Mismatch): use CRC_Match for comparison.
3244 (Set_Source_Table): idem.
3247 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
3248 instead of simple checksum.
3249 (CRC_Match): new function.
3250 (CRC_Error): new constant.
3252 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
3253 a CRC now and not a simple checksum. A CRC uses lower-case hex
3254 letters, fixes ambiguity in parsing.
3256 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
3257 is what this variable will store.
3259 * bcheck.adb: Change reference to chechsum in comments by CRC.
3260 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
3261 rename All_Checksum_Match to All_CRC_Match. Change due to API
3262 renaming since now GNAT does not use a simple checksum but a
3263 CRC using GNAT.CRC32.
3265 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
3266 now and not anymore a simple checksum.
3268 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
3271 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
3274 (Restore_Scan_State): rename Checksum to CRC.
3275 (Save_Scan_State): idem.
3279 (Checksum): rename to CRC.
3280 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
3282 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
3283 GNAT.CRC32). Update copyright notice.
3285 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
3286 GNAT.CRC32). Update copyright notice.
3289 (Accumulate_Checksum): removed.
3290 (Update): new procedure. Add a wide-character into the CRC.
3293 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
3294 (Load_File): fix initialization of S (change Source_Checksum to
3297 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
3298 Source_CRC in S initialization.
3300 * sinput.adb (Source_Checksum): renamed to Source_CRC.
3302 * sinput.ads (Source_Checksum): renamed to Source_CRC.
3303 Update comments for the CRC.
3305 * types.adb (Hex): Use lowercase for the letter part.
3307 * types.ads (Get_Hex_String): Returns the hexadecimal representation
3308 for a word. This is currently used only for CRC. In previous version,
3309 the checksum was using a representation with all letter being
3310 upper-case. With the new implementation (using CRC) we do not remove
3311 the 32th bit of the CRC, so we can have an upper-case starting letter
3312 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
3313 It is ambigous since the CRC was optional and could be followed by
3314 options like EB, EE. So now this routines uses lower-case letter for
3315 the hexadecimal representation. Strange enough only lower case letters
3316 where checked in Scan_ALI (even if this was not a possible case).
3318 * gnatvsn.ads (Library_Version): changed to 3.15a.
3320 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
3323 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
3326 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
3327 Add 2001 to copyright notice
3328 (Accumulate_Checksum): Modify to use System.CRC32.
3330 * ali-util.ads: Redo changes of previous revision to continue to use
3331 the word Checksum. Add 2001 to copyright notice.
3333 * ali.adb: Undo some of previous changes, not needed.
3334 Keep the change for lower case letters in the checksum.
3336 * ali.ads: Undo previous change not needed.
3338 * bcheck.adb: Undo most of previous change, not needed.
3339 But do use Checksums_Match for checksum comparison.
3341 * gnatls.adb: Undo most of previous change, not needed.
3342 But do use Checksums_Match for comparing checksums.
3344 * lib-load.adb: Undo previous change, not needed.
3346 * lib-writ.adb: Undo previous change, not needed.
3348 * lib-writ.ads: Document that checksums use lower case,
3349 not upper case letters.
3351 * scans.adb: Undo previous change, not needed
3353 * scans.ads: Undo previous change, not needed.
3355 * scn-nlit.adb: Undo previous changes, not needed.
3357 * scn-slit.adb: Undo previous change, not needed. Fix header format.
3360 (Accumulate_Checksum): Use System.CRC32.
3361 (Initialize_Checksum): New procedure.
3362 Remove other changes of previous revision.
3364 * sinput-p.adb: Undo previous change, not needed.
3366 * sinput.adb: Undo previous change, not needed.
3368 * sinput-l.adb: Undo previous change, not needed.
3370 * sinput.ads: Undo previous change, not needed. Keep only comment
3371 on new checksum algorithm
3373 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
3374 Also remove a-tags and a-stream from GNAT sources.
3376 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
3378 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
3380 2001-10-11 Geert Bosch <bosch@gnat.com>
3382 * einfo.h: Regenerate.
3384 * nmake.ads: Regenerate.
3386 * nmake.adb: Regenerate.
3388 * sinfo.h: Regenerate.
3390 * treeprs.adb: Regenerate.
3392 2001-10-10 Geert Bosch <bosch@gnat.com>
3394 * gnat-style.texi: New file describing coding guidelines for Ada.
3396 2001-10-10 Ed Schonberg <schonber@gnat.com>
3398 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
3401 2001-10-10 Geert Bosch <bosch@gnat.com>
3403 * snames.ads: Add new names for project facility.
3405 * snames.adb: Update to reflect snames.ads changes.
3407 * snames.h: Update to reflect snames.ads changes.
3409 2001-10-10 Vincent Celier <celier@gnat.com>
3412 (Add_Switches): reflect the changes for the switches attributes
3413 Default_Switches indexed by the programming language,
3414 Switches indexed by the file name.
3415 (Collect_Arguments_And_Compile): Idem.
3416 Reflect the attribute name changes.
3419 (Initialisation_Data): Change the names of some packages and
3421 (Initialize): process case insensitive associative arrays.
3424 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
3427 (Parse_Attribute_Declaration): For case insensitive associative
3428 arrays, set the index string to lower case.
3431 Reflect the changes of the project attributes.
3434 Replace Check_Naming_Scheme by Ada_Check and
3435 Language_Independent_Check.
3438 Replaced Check_Naming_Scheme by 2 procedures:
3439 Ada_Check and Language_Independent_Check.
3442 (Process_Declarative_Items): For case-insensitive associative
3443 arrays, set the index string to lower case.
3444 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
3445 Prj.Nmsc.Check_Naming_Scheme.
3448 (Case_Insensitive): New function
3449 (Set_Case_Insensitive): New procedure
3452 (Case_Insensitive): New function
3453 (Set_Case_Insensitive): New procedure
3454 (Project_Node_Record): New flag Case_Insensitive.
3457 (Value_Of): new function to get the string value of a single
3458 string variable or attribute.
3461 (Value_Of): new function to get the string value of a single
3462 string variable or attribute.
3465 (Ada_Default_Spec_Suffix): New function
3466 (Ada_Default_Impl_Suffix): New function
3467 Change definitions of several constants to reflect
3468 new components of record types.
3471 (Naming_Data): Change several components to reflect new
3472 elements of naming schemes.
3473 (Project_Data): New flags Sources_Present and
3474 Language_Independent_Checked.
3475 (Ada_Default_Spec_Suffix): New function.
3476 (Ada_Default_Impl_Suffix): New function.
3479 Modification of predefined names for project manager: added
3480 Implementation, Specification_Exceptions, Implementation_Exceptions,
3481 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
3482 Default_Switches, _Languages, Builder, Cross_Reference,
3483 Finder. Removed Body_Part, Specification_Append, Body_Append,
3484 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
3487 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
3490 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
3491 not that it is Nil_Variable_Value.
3493 * prj.ads: Add ??? for uncommented declarations
3495 2001-10-10 Ed Schonberg <schonber@gnat.com>
3497 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
3498 constant, do not indicate possible modification, so that gigi can
3499 treat it as a bona fide constant.
3501 2001-10-10 Robert Dewar <dewar@gnat.com>
3503 * sem_prag.adb: Add processing for pragma External.
3505 * snames.ads: Add entry for pragma External.
3507 * par-prag.adb: Add pragma External.
3509 * snames.adb: Updated to match snames.ads.
3511 2001-10-10 Ed Schonberg <schonber@gnat.com>
3513 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
3514 a dynamic task if the allocator appears in an indexed assignment
3515 or selected component assignment.
3517 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
3518 For a dynamic task in an assignment statement, use target of
3519 assignment to generate meaningful name.
3521 2001-10-10 Ed Schonberg <schonber@gnat.com>
3523 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
3526 * einfo.ads: Body_Entity is also defined for generic package.
3527 Documentation change only
3529 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
3530 others_choice for a discriminated component initialization,
3531 convert discriminant references into the corresponding discriminals.
3533 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
3534 only if original type is private and expression has to be wrapped
3538 (Apply_Constraint_Check): Do not perform length check
3539 if expression is an aggregate with only an others_choice.
3540 (Length_N_Cond): two references to the same in_parameter
3541 (typically the discriminal in an init_proc) denote the same value.
3542 Two useful optimization uncovered by bugfixes above.
3544 2001-10-10 Robert Dewar <dewar@gnat.com>
3546 * xeinfo.adb: Change int to char in translation of enumeration types.
3547 This fixes a problem in the C representation of component alignment.
3548 Add 2001 to copyright notice
3550 2001-10-10 Richard Kenner <kenner@gnat.com>
3552 * decl.c: (validate_size): Do check size of object of integral type
3553 if it is a packed array type.
3555 2001-10-10 Richard Kenner <kenner@gnat.com>
3557 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
3558 VAR_DECL for constant if not Is_Public but -O0.
3560 2001-10-10 Richard Kenner <kenner@gnat.com>
3562 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
3564 2001-10-10 Geert Bosch <bosch@gnat.com>
3566 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
3567 use '/' as switch character, allowing for absolute file names.
3569 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
3571 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
3574 2001-10-08 Geert Bosch <bosch@gnat.com>
3576 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
3577 Automatically build utilities when files need to be regenerated.
3579 2001-10-08 Geert Bosch <bosch@gnat.com>
3581 * xsnames.adb: New utility for updating snames.ads and snames.adb
3583 2001-10-08 Zack Weinberg <zack@codesourcery.com>
3585 * Make-lang.in (ADAFLAGS): Add -W -Wall.
3586 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
3587 (gnat1): Also depend on attribs.o.
3588 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
3589 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
3590 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
3591 (ADAFLAGS): Add -W -Wall.
3592 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
3595 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
3596 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
3597 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
3598 Use $(ADAC), not $(CC), as compilation command.
3600 (gnattools): Depend directly on tools to build, don't use
3602 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
3604 * einfo.h, sinfo.h: New files (autogenerated).
3606 2001-10-08 Richard Henderson <rth@redhat.com>
3608 * comperr.adb (Abort_In_Progress): New.
3609 (Compiler_Abort): Use it to prevent recursion.
3611 2001-10-08 Robert Dewar <dewar@gnat.com>
3613 * atree.adb: Set Error_Posted in Error node, helps error recovery.
3615 * par-endh.adb (Output_End_Expected): We should also not test
3616 Error_Posted on the Error node, since now it is always set.
3618 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
3619 to help error recovery. Part of general work on 9407-004.
3621 * par.adb: Add ??? for misuse of error
3624 (Resolve): Defend against Error, fixes 9407-003.
3625 (Resolve_Discrete_Subtype_Indication): Defend against Error.
3627 * sinfo.ads (N_Error): Now has Etype field (which will be set
3628 to Any_Type to help error recovery).
3630 2001-10-08 Richard Kenner (kenner@gnat.com)
3632 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
3633 Consistently set MEM attributes from expression; fixes
3634 bootstrap failure on x86.
3636 2001-10-08 Geert Bosch (bosch@gnat.com)
3638 * 5oosinte.adb: Add 2001 to copyright notice.
3640 2001-10-08 Geert Bosch (bosch@gnat.com)
3642 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
3644 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
3646 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
3648 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
3650 2001-10-05 Geert Bosch (bosch@gnat.com)
3652 * adaint.h: Small formatting fix.
3654 2001-10-04 Geert Bosch <bosch@gnat.com>
3656 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
3657 Arg is int, not FILE *, in dummy version of functions.
3659 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
3660 Arg is int, not FILE *.
3662 2001-10-04 Geert Bosch <bosch@gnat.com>
3664 * 3lsoccon.ads: Added file, missed with initial check ins.
3666 * 4lintnam.ads: Fix header format.
3667 Change Linux to GNU/Linux.
3669 * 5iosinte.adb: Change Linux to GNU/Linux.
3671 * 5iosinte.ads: Change Linux to GNU/Linux.
3673 * 5itaprop.adb: Change Linux to GNU/Linux.
3675 * 5itaspri.ads: Change Linux to GNU/Linux.
3676 Update copyright notice.
3678 * 5lintman.adb: Change Linux to GNU/Linux.
3680 * 5lml-tgt.adb: Change Linux to GNU/Linux.
3682 * 5losinte.ads: Change Linux to GNU/Linux.
3684 * 5lsystem.ads: Change Linux to GNU/Linux.
3686 * 5qosinte.adb: Change Linux to GNU/Linux.
3688 * 5qosinte.ads: Change Linux to GNU/Linux.
3690 * 5qparame.ads: Change Linux to GNU/Linux.
3692 * 5qtaprop.adb: Change Linux to GNU/Linux.
3694 * 5qtaspri.ads: Change Linux to GNU/Linux.
3695 Add 2001 to copyright notice.
3697 * 5vintman.ads: Change Linux to GNU/Linux.
3698 Fix header format. Add 2001 to copyright notice.
3700 * g-soccon.ads: Change Linux to GNU/Linux.
3702 * g-trasym.ads: Change Linux to GNU/Linux.
3703 Add 2001 to copyright notice.
3705 * memtrack.adb: Change Linux to GNU/Linux.
3707 * s-intman.ads: Change Linux to GNU/Linux.
3708 Add 2001 to copyright notice. Fix header format.
3710 * s-stache.adb: Change Linux to GNU/Linux.
3712 * adaint.c: Change Linux to GNU/Linux.
3714 * cio.c: Change Linux to GNU/Linux.
3716 * cstreams.c: Change Linux to GNU/Linux.
3718 * init.c: Change Linux to GNU/Linux.
3720 * gmem.c: Change Linux to GNU/Linux.
3722 * tracebak.c: Change Linux to GNU/Linux.
3725 2001-10-02 Geert Bosch <bosch@gnat.com>
3727 * misc.c (insert_default_attributes): Add dummy version.