1 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
3 * misc.c (save_argc, save_argv): Make static.
4 (gnat_init_options): New prototype.
5 (gnat_init_options): Update.
7 2003-07-01 Matt Kraai <kraai@alumni.cmu.edu>
9 * gnat_ug.texi: Remove unlikely characters from @vars.
10 * gnat_ug_vms.texi: Regenerate.
12 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
14 * misc.c (record_code_position): Adjust emit_note call.
16 2003-06-26 Neil Booth <neil@daikokuya.co.uk>
18 * misc.c (gnat_handle_option): Don't check for missing arguments.
20 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
22 * utils.c (end_subprog_body): Adjust expand_function_end call.
24 2003-06-16 Matt Kraai <kraai@alumni.cmu.edu>
26 * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
29 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
31 * lang.opt: Declare Ada.
32 * misc.c (gnat_init_options): Update.
34 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
36 * utils.c (begin_subprog_body): Adjust init_function_start call.
38 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
40 * Make-lang.in: Update to use options.c and options.h.
41 * misc.c: Include options.h not aoptions.h.
42 (gnat_handle_option): Abort on unrecognized switch.
43 (gnat_init_options): Request Ada switches.
45 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
47 * lang.opt: Add -Wall.
48 * misc.c (gnat_handle_option): Handle it.
50 2003-06-12 Neil Booth <neil@daikokuya.co.uk>
52 * misc.c (gnat_handle_option): Fix warnings.
54 2003-06-11 Matt Kraai <kraai@alumni.cmu.edu>
56 * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
58 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
60 * Make-lang.in: Update to handle command-line options.
62 * misc.c: Include aoptions.h.
63 (cl_options_count, cl_options): Remove.
64 (gnat_handle_option): New.
65 (gnat_decode_option): Remove.
66 (LANG_HOOKS_DECODE_OPTION): Remove.
67 (LANG_HOOKS_HANDLE_OPTION): Override.
69 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org>
71 * init.c, misc.c, trans.c, utils.c: Remove dead code.
73 2003-06-09 Nathanael Nerode <neroden@gcc.gnu.org>
75 * Makefile.in: Replace "host_canonical" with "host" for autoconf
78 2003-06-08 Neil Booth <neil@daikokuya.co.uk>
80 * Make-lang.in: Update.
81 * misc.c: Include opts.h. Define cl_options_count and cl_options.
83 2003-06-07 Neil Booth <neil@daikokuya.co.uk>
85 * misc.c (gnat_init_options): Update.
87 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
89 * Make-lang.in (ada/b_gnatb.o-warn): Remove.
90 * bindgen.adb (Gen_Main_C): Mark ensure_reference with
91 __attribute__ ((__unused__)).
93 Thu Jun 5 18:33:40 CEST 2003 Jan Hubicka <jh@suse.cz>
95 * Make-lang.in: Add support for stageprofile and stagefeedback
97 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
99 * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
100 (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
102 2003-06-04 Matt Kraai <kraai@alumni.cmu.edu>
104 * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
105 Remove non-VMS directive.
106 (Switches for gnatlbr, Optimization Levels): Remove non-VMS
108 (Examples of gnatls Usage): Remove VMS alternative.
110 2003-06-04 Olivier Hainque <hainque@act-europe.fr>
113 * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
114 and turn ZCX_By_Default back to False since the underlying support
115 is not quite there yet.
117 2003-06-01 Andreas Jaeger <aj@suse.de>
119 * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
120 and ROUND_TYPE_SIZE_UNIT.
122 2003-05-22 Geert Bosch <bosch@gnat.com>
124 * gnat_rm.texi : Remove reference to Ada Core Technologies.
126 2003-05-03 Nathan Sidwell <nathan@codesourcery.com>
128 * trans.c (tree_transform): Use location_t and input_location
130 (build_unit_elab): Likewise.
131 * utils.c (create_label_decl): Likewise.
133 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
135 * trans.c (tree_transform, build_unit_elab,
136 set_lineno): Rename lineno to input_line.
137 * utils.c (pushdecl, create_label_decl, begin_subprog_body,
138 end_subprog_body): Likewise.
139 * utils2.c (build_call_raise): Likewise.
141 2003-05-01 Laurent Guerby <guerby@acm.org>
144 * 5iosinte.ads: Increase pthread_cond_t size to match recent
145 LinuxThread and NPTL version, merge from ACT.
147 2003-04-28 Zack Weinberg <zack@codesourcery.com>
149 * utils.c (convert): No need to clear TREE_CST_RTL.
151 2003-04-23 Geert Bosch <bosch@gnat.com>
153 * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
154 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
155 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
156 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
157 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
158 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
159 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
160 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
161 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
162 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
163 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
164 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
165 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
166 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
167 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
168 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
169 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
170 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
171 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
172 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
173 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
174 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
175 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
176 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
177 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
178 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
179 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
180 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
181 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
182 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
183 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
184 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
185 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
186 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
187 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
188 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
189 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
190 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
191 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
192 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
193 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
194 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
195 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
196 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
197 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
198 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
199 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
200 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
201 a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
202 a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
203 a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
204 a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
205 a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
206 a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
207 a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
208 a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
209 a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
210 a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
211 a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
212 a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
213 a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
214 a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
215 a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
216 a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
217 a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
218 a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
219 a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
220 a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
221 a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
222 a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
223 a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
224 a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
225 a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
226 a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
227 a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
228 a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
229 a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
230 a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
231 a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
232 a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
233 a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
234 a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
235 a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
236 a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
237 a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
238 a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
239 a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
240 a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
241 a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
242 a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
243 a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
244 a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
245 a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
246 a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
247 a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
248 a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
249 a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
250 a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
251 a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
252 a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
253 a-wttest.ads, ada-tree.h, ada.ads, ada.h,
254 adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
255 ali.adb, ali.ads, alloc.ads, argv.c,
256 atree.adb, atree.ads, atree.h, aux-io.c,
257 back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
258 binde.adb, binde.ads, binderr.adb, binderr.ads,
259 bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
260 butil.adb, butil.ads, cal.c, calendar.ads,
261 casing.adb, casing.ads, ceinfo.adb, checks.adb,
262 checks.ads, cio.c, comperr.adb, comperr.ads,
263 config-lang.in, csets.adb, csets.ads, csinfo.adb,
264 cstand.adb, cstand.ads, cuintp.c, debug.adb,
265 debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
266 dec-io.ads, dec.ads, deftarg.c, directio.ads,
267 einfo.adb, einfo.ads, elists.adb, elists.ads,
268 elists.h, errno.c, errout.adb, errout.ads,
269 eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
270 exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
271 exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
272 exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
273 exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
274 exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
275 exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
276 exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
277 exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
278 exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
279 exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
280 exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
281 exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
282 exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
283 exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
284 fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
285 fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
286 freeze.adb, freeze.ads, frontend.adb, frontend.ads,
287 g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
288 g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
289 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
290 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
291 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
292 g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
293 g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
294 g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
295 g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
296 g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
297 g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
298 g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
299 g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
300 g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
301 g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
302 g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
303 g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
304 g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
305 g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
306 g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
307 g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
308 g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
309 get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
310 gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
311 gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
312 gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
313 gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
314 gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
315 gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
316 gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
317 hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
318 i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
319 i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
320 i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
321 i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
322 i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
323 i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
324 inline.adb, inline.ads, interfac.ads, ioexcept.ads,
325 itypes.adb, itypes.ads, krunch.adb, krunch.ads,
326 layout.adb, layout.ads, lib-list.adb, lib-load.adb,
327 lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
328 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
329 lib.adb, lib.ads, live.adb, live.ads,
330 machcode.ads, make.adb, make.ads, makeusg.adb,
331 makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
332 mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
333 memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
334 mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
335 mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
336 mlib.ads, namet.adb, namet.ads, nlists.adb,
337 nlists.ads, opt.adb, opt.ads, osint-b.adb,
338 osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
339 osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
340 osint.ads, output.adb, output.ads, par-ch10.adb,
341 par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
342 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
343 par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
344 par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
345 par-tchk.adb, par-util.adb, par.adb, par.ads,
346 prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
347 prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
348 prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
349 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
350 prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
351 prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
352 prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
353 prj.adb, prj.ads, repinfo.adb, repinfo.ads,
354 restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
355 rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
356 s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
357 s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
358 s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
359 s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
360 s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
361 s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
362 s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
363 s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
364 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
365 s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
366 s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
367 s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
368 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
369 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
370 s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
371 s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
372 s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
373 s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
374 s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
375 s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
376 s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
377 s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
378 s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
379 s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
380 s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
381 s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
382 s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
383 s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
384 s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
385 s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
386 s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
387 s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
388 s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
389 s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
390 s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
391 s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
392 s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
393 s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
394 s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
395 s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
396 s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
397 s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
398 s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
399 s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
400 s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
401 s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
402 s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
403 s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
404 s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
405 s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
406 s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
407 s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
408 s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
409 s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
410 s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
411 s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
412 s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
413 s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
414 s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
415 s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
416 s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
417 s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
418 s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
419 s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
420 s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
421 s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
422 s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
423 s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
424 s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
425 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
426 s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
427 s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
428 s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
429 s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
430 s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
431 s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
432 s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
433 s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
434 s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
435 s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
436 s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
437 s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
438 s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
439 s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
440 s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
441 s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
442 s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
443 s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
444 s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
445 s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
446 s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
447 s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
448 s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
449 scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
450 sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
451 sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
452 sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
453 sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
454 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
455 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
456 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
457 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
458 sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
459 sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
460 sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
461 sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
462 sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
463 sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
464 sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
465 sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
466 sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
467 sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
468 sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
469 sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
470 snames.ads, sprint.adb, sprint.ads, stand.adb,
471 stand.ads, stringt.adb, stringt.ads, style.adb,
472 style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
473 switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
474 switch-m.ads, switch.adb, switch.ads, system.ads,
475 table.adb, table.ads, targparm.adb, targparm.ads,
476 tbuild.adb, tbuild.ads, text_io.ads, trans.c,
477 tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
478 tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
479 ttypef.ads, ttypes.ads, types.adb, types.ads,
480 uintp.adb, uintp.ads, uname.adb, uname.ads,
481 unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
482 usage.adb, usage.ads, validsw.adb, validsw.ads,
483 widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
484 xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
485 xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
486 formatting and other trivial changes from ACT.
488 2003-04-12 Zack Weinberg <zack@codesourcery.com>
490 * gigi.h, utils2.c (build_constructor):
491 Rename gnat_build_constructor. Use build_constructor.
492 * decl.c (gnat_to_gnu_entity)
493 * trans.c (tree_transform, pos_to_constructor, extract_values)
494 * ada/utils.c (build_template, convert_to_fat_pointer, convert)
496 * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
497 (fill_vms_descriptor):
500 2003-04-06 Zack Weinberg <zack@codesourcery.com>
502 * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
503 * misc.c (gnat_tree_size): New function.
504 (LANG_HOOKS_TREE_SIZE): Override.
506 2003-04-03 Jason Merrill <jason@redhat.com>
508 * misc.c (gnat_adjust_rli): #if 0.
510 2003-03-31 Geert Bosch <bosch@gnat.com>
513 * link.c : Fix misspelled "const" keyword
515 2003-03-23 Mark Mitchell <mark@codesourcery.com>
518 * utils2.c: Adjust calls to put_var_into_stack.
520 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
522 * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
524 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
526 * misc.c (gnat_init): Update for new prototype.
528 2003-03-05 Olivier Hainque <hainque@gnat.com>
531 * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
532 warning, and fix return type for the IN_RTS && !SJLJ case.
534 2003-03-04 Tom Tromey <tromey@redhat.com>
536 * Make-lang.in (ada.tags): New target.
538 2003-03-04 Olivier Hainque <hainque@act-europe.fr>
541 * a-except.adb (Unwind_RaiseException): Import a GNAT specific
542 wrapper, which name remains constant whatever underlying GCC
545 * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
546 the stable interface needed for a-except.
548 2003-03-02 Andreas Jaeger <aj@suse.de>
550 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
551 gnat_ug_wnt.texi: Regenerate.
553 2003-03-02 Laurent Guerby <guerby@acm.org>
555 * Makefile.in (install-gnatlib): Match previous change there
558 2003-02-28 Andreas Schwab <schwab@suse.de>
560 * Make-lang.in (install-gnatlib): Change to ada directory before
561 running make instead of using ada/Makefile directly.
563 2003-02-18 Ben Elliston <bje@redhat.com>
565 Part of fix for PR ada/9406
566 * gnat_ug.texi (Binder output file): Grammar fix.
568 2003-02-18 Ben Elliston <bje@redhat.com>
571 * 5qtaprop.adb (Sleep): Fix typo in comment.
573 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
575 * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
576 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
577 gnat_ug_wnt.texi: Regenerate.
579 2003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de>
581 * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
582 be created if necessary.
583 (ada.install-common): Let $(DESTDIR)$(bindir) be created
584 if necessary. Remove erroneous and redundant gnatchop
585 installation commands. Test for gnatdll before attempting
587 (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
588 and gnatdll from all plausible locations.
590 2003-02-01 Richard Sandiford <rsandifo@redhat.com>
592 * utils2.c (build_unary_op): Don't check flag_volatile.
593 * gnat_ug.texi: Remove -fvolatile from example.
594 * gnat_ug_vxw.texi: Likewise.
596 2003-01-29 Laurent Guerby <guerby@acm.org>
599 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
600 * Makefile.in: match previous change.
601 * Make-lang.in: match previous change.
603 2003-01-29 Joel Sherrill <joel@OARcorp.com>
605 * 5rosinte.ads: Add SIGXCPU.
606 * 5rtpopsp.adb: New file.
607 * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
608 * Makefile.in: Recognize more RTEMS targets and add the RTEMS
609 specific file 5rtpopsp.adb.
610 * adaint.h: Add include of <stdio.h> when target is RTEMS. This
611 is likely needed for all newlib targets.
612 * init.c: Add RTEMS specific version of __gnat_initialize().
614 2003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
616 * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
618 2003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
620 * init.c (__gnat_error_handler): Make msg const.
622 * gmem.c (convert_addresses): Move declaration ...
623 * adaint.h: ... here.
624 * adaint.c (convert_addresses): Adapt addrs type to match
627 * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
629 2003-01-24 Andreas Schwab <schwab@suse.de>
631 * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
632 size_t to avoid warning.
634 2003-01-21 Zack Weinberg <zack@codesourcery.com>
636 * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
638 2003-01-09 Geoffrey Keating <geoffk@apple.com>
640 * gnat_rm.texi: Remove RCS version number.
642 * ada-tree.h (union lang_tree_node): Add chain_next option.
644 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
646 * Make-lang.in (ada.install-info, ada.install-common,
647 ada.uninstall): Prepend $(DESTDIR) to the destination
648 directory in all (un)installation commands.
649 * Makefile.in (install-gnatlib, install-rts): Ditto.
651 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
653 * gnat_rm.texi, gnat_ug.texi: Use @copying.
654 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
655 gnat_ug_wnt.texi: Regenerate.
657 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
659 * gnat_rm.texi: Include gcc-common.texi. Use GCC version number
661 * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
662 $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
663 $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
664 ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
665 ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
666 $(srcdir)/doc/include/gcc-common.texi.
668 2002-12-15 Geert Bosch <bosch@gnat.com>
670 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
672 2002-12-14 Geert Bosch <bosch@gnat.com>
674 * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
675 case of a body created for a Renaming_As_Body, on which
676 conformance checks are not performed. Fixes PR ada/5690.
678 2002-11-30 Zack Weinberg <zack@codesourcery.com>
680 * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
681 utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
682 not already included.
683 * Make-lang.in: Update dependencies.
685 2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
686 * adaint.c (__gnat_tmp_name): Better, but good enough for now,
687 solution to buffer overflow bug on GNU/Linux.
689 2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
690 Closes PR ada/5856 and PR ada/6919 !
691 * bindgen.adb: Remove all references to Public_Version.
692 * comperr.adb: Remove all references to Public_Version and
693 GNATPRO_Version; correct bug reporting instructions.
694 * comperr.ads: Change to match bug box.
695 * gnatvsn.ads: Remove all references to Public version and
698 2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
700 * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
704 * config-lang.in: Remove diff_excludes.
706 2002-11-05 Graham Stott <graham.stott@btinternet.com>
708 * trans.c (gnu_pending_elaboration_lists): New GC root.
709 (build_unit_elab): Use..
711 2002-10-30 Geert Bosch <bosch@gnat.com>
713 * misc.c : Include optabs.h
715 * Make-lang.in (misc.o): Add dependency on optabs.h
717 2002-10-29 Geert Bosch <bosch@gnat.com>
719 * Make-lang.in (gnatbind): Depend on CONFIG_H
721 2002-10-29 Geert bosch <bosch@gnat.com>
723 * misc.c: Unrevert misc.c (1.13)
725 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
727 * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
728 maintainership comments.
730 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
732 * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
733 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
734 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
735 7staprop.adb: Correct statements in comments about
736 maintainership of GNAT.
739 * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
740 gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
741 osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
742 osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
743 s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
744 s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
745 sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
746 switch-c.ads switch-m.adb switch-m.ads: Correct statements in
747 comments about maintainership of GNAT.
749 PR ada/6919 (forward port of patch for PR ada/5904)
750 * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
751 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
752 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
753 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
754 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
755 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
756 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
757 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
758 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
759 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
760 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
761 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
762 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
763 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
764 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
765 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
766 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
767 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
768 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
769 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
770 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
771 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
772 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
773 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
774 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
775 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
776 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
777 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
778 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
779 a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
780 a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
781 a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
782 a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
783 a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
784 a-except.adb a-except.ads a-excpol.adb a-exctra.adb
785 a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
786 a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
787 a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
788 a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
789 a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
790 a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
791 a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
792 a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
793 a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
794 a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
795 a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
796 a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
797 a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
798 a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
799 a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
800 a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
801 a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
802 a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
803 a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
804 a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
805 a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
806 a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
807 a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
808 a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
809 a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
810 a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
811 a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
812 a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
813 a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
814 a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
815 a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
816 a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
817 a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
818 adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
819 alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
820 back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
821 binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
822 bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
823 ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
824 csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
825 cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
826 debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
827 einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
828 errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
829 exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
830 exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
831 exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
832 exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
833 exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
834 exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
835 exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
836 exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
837 exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
838 exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
839 exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
840 exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
841 exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
842 final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
843 fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
844 freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
845 g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
846 g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
847 gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
848 gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
849 gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
850 gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
851 gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
852 gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
853 i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
854 i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
855 i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
856 i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
857 impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
858 itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
859 lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
860 lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
861 lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
862 lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
863 makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
864 namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
865 nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
866 osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
867 par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
868 par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
869 par-endh.adb par-labl.adb par-load.adb par-prag.adb
870 par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
871 prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
872 prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
873 prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
874 prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
875 prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
876 prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
877 repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
878 rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
879 s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
880 s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
881 s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
882 s-direio.adb s-direio.ads s-except.ads s-exctab.adb
883 s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
884 s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
885 s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
886 s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
887 s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
888 s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
889 s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
890 s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
891 s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
892 s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
893 s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
894 s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
895 s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
896 s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
897 s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
898 s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
899 s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
900 s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
901 s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
902 s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
903 s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
904 s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
905 s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
906 s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
907 s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
908 s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
909 s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
910 s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
911 s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
912 s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
913 s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
914 s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
915 s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
916 s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
917 s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
918 s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
919 s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
920 s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
921 s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
922 s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
923 s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
924 s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
925 s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
926 s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
927 s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
928 s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
929 s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
930 s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
931 s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
932 s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
933 s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
934 s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
935 s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
936 s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
937 s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
938 s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
939 s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
940 s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
941 s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
942 s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
943 s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
944 s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
945 s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
946 s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
947 s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
948 s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
949 s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
950 s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
951 s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
952 s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
953 s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
954 s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
955 s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
956 s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
957 s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
958 s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
959 s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
960 s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
961 scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
962 sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
963 sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
964 sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
965 sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
966 sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
967 sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
968 sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
969 sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
970 sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
971 sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
972 sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
973 sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
974 sem_type.adb sem_type.ads sem_util.adb sem_util.ads
975 sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
976 sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
977 sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
978 sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
979 snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
980 stringt.ads stringt.h style.adb style.ads stylesw.adb
981 stylesw.ads switch.adb switch.ads sysdep.c system.ads
982 table.adb table.ads targparm.adb targparm.ads targtyps.c
983 tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
984 tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
985 treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
986 types.adb types.ads types.h uintp.adb uintp.ads uintp.h
987 uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
988 usage.ads utils.c utils2.c validsw.adb validsw.ads
989 widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
990 xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
991 xtreeprs.adb: Correct statements in comments about maintainership
994 2002-09-23 Zack Weinberg <zack@codesourcery.com>
996 * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
997 * Makefile.in (TOOLS_LIBS): Add ../../version.o.
998 * gnatvsn.ads: Gnat_Version_String is now a function.
999 * gnatvsn.adb: New file. When asked for Gnat_Version_String,
1000 copy the C version_string into a String and return it.
1001 * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
1002 gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
1003 Remove pragma Ident (Gnat_Version_String). If this was the
1004 sole use of package Gnatvsn, remove the with statement too.
1005 * gnat1drv.adb: Tweak -gnatv output.
1007 2002-09-17 Richard Henderson <rth@redhat.com>
1009 * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
1010 * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
1011 * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
1012 (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
1013 * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
1014 and real_2expN instead of a loop.
1015 * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
1016 (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
1018 2002-08-25 Andre Leis <a.leis@gmx.net>
1019 David Billinghurst (David.Billinghurst@riotinto.com>
1021 * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
1023 2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1025 * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
1026 Remove $(CONFIG_H) dependency.
1028 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
1030 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
1032 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1034 * adadecode.c (ada_demangle): Use xstrdup in lieu of
1036 * misc.c (gnat_decode_option): Likewise.
1038 2002-07-15 Florian Weimer <fw@deneb.enyo.de>
1040 * make.adb (Add_Switch): Make Generic_Position a procedure. The
1041 function approach did not work well because of a side effect (the
1042 function call could reallocate the table which was being indexed
1043 using its result). Fixes ada/4851. [RESURRECTED]
1045 2002-07-01 Roger Sayle <roger@eyesopen.com>
1047 * ada/utils.c (builtin_function): Accept an additional parameter.
1049 2002-06-28 Andreas Jaeger <aj@suse.de>
1052 * Makefile.in: Fix typo in comment, patch by Adrian Knoth
1055 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1057 * Makefile.in (SHELL): Set to @SHELL@.
1059 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1061 * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
1062 array size calculation.
1064 2002-06-04 Andreas Jaeger <aj@suse.de>
1066 * Make-lang.in (gnatbind): Readd rule that has been lost in last
1069 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
1071 Merge from pch-branch:
1073 * config-lang.in (gtfiles): Add ada-tree.h.
1074 * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
1075 (SET_TYPE_MODULUS): New.
1076 (SET_TYPE_INDEX): New.
1077 (SET_TYPE_DIGITS_VALUE): New.
1078 (SET_TYPE_RM_SIZE): New.
1079 (SET_TYPE_UNCONSTRAINED_ARRAY): New.
1080 (SET_TYPE_ADA_SIZE): New.
1081 (SET_TYPE_ACTUAL_BOUNDS): New.
1082 (SET_DECL_CONST_CORRESPONDING_VAR): New.
1083 (SET_DECL_ORIGINAL_FIELD): New.
1084 (TREE_LOOP_ID): Correct typo.
1085 * decl.c: Use new macros.
1086 * utils.c: Include debug.h, use new macros.
1087 * utils2.c: Use new macros.
1089 * ada-tree.h: Update all macros for new tree description.
1090 (struct tree_loop_id): New.
1091 (union lang_tree_node): New.
1092 (struct lang_decl): New.
1093 (struct lang_type): New.
1094 * misc.c (gnat_mark_tree): Delete.
1095 (LANG_HOOKS_MARK_TREE): Delete.
1096 * trans.c (tree_transform): No longer any need to cast
1099 * utils.c (struct language_function): New dummy structure.
1101 * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
1103 (utils.o): Likewise; also gtype-ada.h.
1104 * Make-lang.in (gnat1): Add dependency on s-gtype.
1105 (gnatbind): Add dependency on $(CONFIG_H).
1106 * utils.c: Correct last #include.
1107 (stuct e_stack): Remove unnecessary 'static'.
1108 (mark_e_stack): Remove unused prototype.
1110 * scn-nlit.adb: Remove whitespace after version number to
1111 keep lines under 80 chars.
1112 * snames.adb: Likewise.
1113 * treepr.ads: Likewise.
1115 * Makefile.in (decl.o): Include gt-ada-<filename>.h.
1117 (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
1118 * config-lang.in (gtfiles): New.
1119 * decl.c: Use gengtype for roots.
1120 * gigi.h: Use gengtype for roots.
1121 * trans.c: Use gengtype for roots.
1122 * utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
1124 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
1126 * misc.c (gnat_init): Adjust setting of internal_error_function.
1128 2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
1130 * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
1131 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
1132 gnat_ug_wnt.texi: Regenerate.
1134 2002-05-31 Florian Weimer <fw@deneb.enyo.de>
1136 * 5ntaprop.adb (with System.OS_Primitives): Remove.
1138 * cstreams.c (max_path_len): Move from here ...
1139 * adaint.c (__gnat_max_path_len): ... to here.
1140 * adaint.c (__gnat_max_path_len): Declare.
1141 * g-dirope.adb (Max_Path): Adjust.
1142 * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
1143 * i-cstrea.ads (max_path_len): Adjust.
1144 * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
1145 * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
1147 * Makefile.in, Make-lang.in: Documentation is now built in
1148 Make-lang.in. Store Info and generated Texinfo files in the
1150 * gnat_ug.texi: Remove CVS keywords, correct version number.
1151 Set file name correctly.
1153 * gnat_ug_*.texi: Add.
1154 * .cvsignore: Ignore generated Texinfo files.
1156 2002-05-30 Zack Weinberg <zack@codesourcery.com>
1158 * ada.h: Add MI guard macro.
1159 (SUBTYPE): Define constants with an anonymous enum, not static
1161 (IN): Cast constants to appropriate type before use.
1163 2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
1165 * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
1168 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1170 * Make-lang.in (CP, ECHO): Copy from Makefile.in.
1171 (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
1172 (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
1173 (ALL_ADA_CFLAGS): Likewise.
1174 (ADA_INCLUDES): Likewise.
1175 Adapt for new working dir.
1176 (GNATBIND): Use Makefile.in version.
1177 (.SUFFIXES): Copy from Makefile.in.
1179 (.adb.o, .ads.o): Copy from Makefile.in.
1180 Added $(OUTPUT_OPTION).
1181 (GNAT1_C_OBJS): Moved from Makefile.in.
1182 Prefix with ada subdir.
1183 (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
1184 (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
1185 Adapt for new working dir.
1186 (EXTRA_GNATBIND_OBJS): Likewise.
1187 (ADA_BACKEND): Moved from Makefile.in.
1188 Renamed to avoid conflict with global BACKEND.
1190 (TARGET_ADA_SRCS): Moved from Makefile.in.
1191 (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
1193 (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
1194 (ada_extra_files): Moved from Makefile.in.
1195 Prefix with ada subdir.
1196 (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
1197 (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
1198 (ada/nmake.ads): Likewise.
1199 (update-sources): Moved from Makefile.in.
1200 Prefix with ada subdir.
1201 (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
1202 (ADA_TREE_H): Likewise.
1203 (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
1204 (ada/memtrack.o): Likewise.
1205 (ada/adadecode.o): Likewise.
1206 Update dependencies.
1207 (ada/adaint.o): New.
1208 (ada/argv.o): Moved from Makefile.in.
1209 Prefix with ada subdir.
1210 Update dependencies.
1211 (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
1212 (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
1213 (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
1214 Prefix with ada subdir.
1215 (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
1216 (GNAT DEPENDENCIES): Regenerate.
1217 * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
1218 toplevel Makefile.in.
1219 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
1220 (TARGET_ADA_SRCS): Removed.
1221 (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
1222 (GNATBIND_OBJS): Likewise.
1223 (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
1225 (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
1227 (ada_extra_files): Likewise.
1228 (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
1229 (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
1230 (update-sources): Likewise.
1231 (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
1232 (ADA_TREE_H): Likewise.
1233 (adadecoce.o): Likewise.
1234 (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
1235 (GNAT DEPENDENCIES): Likewise.
1237 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1239 * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
1240 * Makefile.in: Likewise.
1242 2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1244 * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
1245 Restore $(CONFIG_H) and prefix.o dependencies.
1246 (ada.stage[1-4]): Depend on stage?-start.
1248 * Makefile.in (b_gnatb.c): Depend on interfac.o.
1250 2002-05-02 Jim Wilson <wilson@redhat.com>
1252 * utils.c (finish_record_type): Change record_size to record_type.
1254 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
1256 * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
1257 (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
1258 ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
1260 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
1262 * misc.c (gnat_parse_file): Update.
1264 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
1266 * misc.c (gnat_init): Don't set lang_attribute_common.
1268 2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
1270 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
1272 2002-04-21 Florian Weimer <fw@deneb.enyo.de>
1274 * gnat_ug.texi: New file.
1276 * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
1277 instead of gfdl.texi
1279 * xgnatug.adb, ug_words: New files.
1281 * Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
1282 gnat_rm and gnat-style manuals.
1284 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
1286 * gigi.h (incomplete_type_error): Remove.
1287 * utils.c (incomplete_type_error): Remove.
1289 2002-04-16 Mark Mitchell <mark@codesourcery.com>
1291 * trans.c (tree_transform): Add has_scope argument to
1292 expand_start_stmt_expr.
1294 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
1296 * gigi.h (truthvalue_conversion): Rename.
1297 * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
1298 * trans.c (tree_transform): Update.
1299 * utils2.c (truthvalue_conversion): Rename, update.
1300 (build_binary_op, build_unary_op): Update.
1302 2002-04-04 Laurent Guerby <guerby@acm.org>
1304 * make.adb: Implement -margs, remove restriction about file name placement.
1305 * makeusg.adb: Documentation update.
1306 * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
1307 * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
1309 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
1311 * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
1312 (builtin_function): Similarly.
1314 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
1316 * decl.c (gnat_to_gnu_entity): Update.
1317 * gigi.h (mark_addressable): Rename.
1318 * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
1319 * trans.c (tree_transform): Update.
1320 * utils.c (create_var_decl): Update.
1321 * util2.c (build_binary_op, build_unary_op,
1322 fill_vms_descriptor): Update.
1323 (mark_addressable): Rename, update.
1325 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
1327 * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
1329 * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
1330 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
1331 * trans.c (tree_transform, convert_with_check): Update.
1332 * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
1335 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
1337 * gigi.h (finish_incomplete_decl): Rename.
1338 * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
1339 * utils.c (gnat_init_decl_processing): Don't set hook.
1340 (finish_incomplete_decl): Rename.
1342 2002-03-29 Andreas Schwab <schwab@suse.de>
1344 * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
1347 2001-03-28 Robert Dewar <dewar@gnat.com>
1350 (Remove_Checks): New procedure
1353 (Remove_Checks): New procedure
1356 Use new Duplicate_Subexpr functions
1357 (Duplicate_Subexpr_No_Checks): New procedure
1358 (Duplicate_Subexpr_No_Checks_Orig): New procedure
1359 (Duplicate_Subexpr): Restore original form (checks duplicated)
1360 (Duplicate_Subexpr): Call Remove_Checks
1363 (Duplicate_Subexpr_No_Checks): New procedure
1364 (Duplicate_Subexpr_No_Checks_Orig): New procedure
1365 Add 2002 to copyright notice
1367 * sem_util.adb: Use new Duplicate_Subexpr functions
1370 (Eval_Indexed_Component): This is the place to call
1371 Constant_Array_Ref and to replace the value. We simply merge
1372 the code of this function in here, since it is now no longer
1373 used elsewhere. This fixes the problem of the back end not
1374 realizing we were clever enough to see that this was
1376 (Expr_Val): Remove call to Constant_Array_Ref
1377 (Expr_Rep_Val): Remove call to Constant_Array_Ref
1379 (Constant_Array_Ref): Deal with string literals (patch
1380 suggested by Zack Weinberg on the gcc list)
1382 2001-03-28 Ed Schonberg <schonber@gnat.com>
1384 * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
1385 Duplicate_Subexpr_Move_Checks.
1387 * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
1388 Duplicate_Subexpr_Move_Checks.
1390 * sem_eval.adb: (Constant_Array_Ref): Verify that constant
1391 value of array exists before retrieving it (it may a private
1392 protected component in a function).
1394 2002-03-28 Geert Bosch <bosch@gnat.com>
1396 * prj-pp.adb : New file.
1398 * prj-pp.ads : New file.
1400 2002-03-28 Andreas Jaeger <aj@suse.de>
1402 * Makefile.in (stamp-sdefault): Fix path for Makefile.
1404 2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
1406 * misc.c (gnat_expand_expr): Move prototype.
1408 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1410 * misc.c (insert_default_attributes): Remove.
1412 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1414 * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
1415 (gnat_init): Don't set hook.
1416 (gnat_expand_expr): Fix prototype.
1418 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1420 * misc.c (ggc_p): Remove.
1422 2002-03-27 Geert Bosch <bosch@gnat.com>
1424 * prj-makr.ads, prj-makr.adb : New files.
1426 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
1428 * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
1429 (lang_mark_tree): Make static, rename.
1431 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
1433 * misc.c (maybe_build_cleanup): Remove.
1435 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
1437 * gigi.h (yyparse): Remove.
1439 2002-03-23 Florian Weimer <fw@deneb.enyo.de>
1441 * gnat_rm.texi: Sync with ACT version.
1442 (From Ben Brosgol <brosgol@gnat.com>)
1444 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
1446 * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
1447 (gnat_init): Remove old hook.
1449 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
1451 * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
1452 (yyparse): Rename gnat_parse_file.
1454 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
1456 Delete all lines containing "$Revision:".
1457 * xeinfo.adb: Don't look for revision numbers.
1458 * xnmake.adb: Likewise.
1459 * xsinfo.adb: Likewise.
1460 * xsnames.adb: Likewise.
1461 * xtreeprs.adb: Likewise.
1463 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1465 * misc.c (gnat_tree_code_type, gnat_tree_code_length,
1466 gnat_tree_code_name): Delete.
1467 (tree_code_type, tree_code_length, tree_code_name): Define.
1468 (gnat_init): Don't try to copy into the various tree_code
1471 2002-03-11 Richard Henderson <rth@redhat.com>
1473 * Makefile.in (.NOTPARALLEL): Add fake tag.
1475 2002-03-07 Geert Bosch <bosch@gnat.com>
1477 * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
1478 s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
1479 switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
1480 switch-m.adb, switch-m.ads : New files.
1482 2002-03-07 Geert Bosch <bosch@gnat.com>
1484 * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
1485 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
1486 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
1487 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
1488 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
1489 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
1490 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
1491 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
1492 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
1493 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
1494 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
1495 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
1496 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
1497 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
1498 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
1499 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
1500 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
1501 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
1502 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
1503 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
1504 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
1505 Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
1506 a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
1507 a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
1508 a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
1509 a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
1510 a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
1511 a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
1512 a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
1513 adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
1514 atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
1515 bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
1516 csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
1517 einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
1518 eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
1519 exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
1520 exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
1521 exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
1522 exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
1523 exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
1524 expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
1525 freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
1526 g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
1527 g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
1528 g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
1529 g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
1530 g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
1531 g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
1532 gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
1533 gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
1534 gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
1535 i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
1536 impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
1537 lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
1538 lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
1539 memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
1540 mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
1541 nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
1542 output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
1543 par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
1544 prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
1545 prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
1546 prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
1547 rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
1548 s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
1549 s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
1550 s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
1551 s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
1552 s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
1553 s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
1554 s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
1555 s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
1556 s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
1557 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
1558 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
1559 s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
1560 s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
1561 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
1562 s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
1563 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
1564 sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
1565 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
1566 sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
1567 sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
1568 sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
1569 sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
1570 sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
1571 sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
1572 sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
1573 snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
1574 stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
1575 table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
1576 tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
1577 treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
1578 types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
1579 utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
1580 xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
1582 * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
1583 g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
1584 mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
1585 osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
1587 * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
1588 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
1590 * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
1591 to mdll-fil.ad[bs] and mdll-util.ad[bs]
1593 * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
1594 from mdllfile.ad[bs] and mdlltool.ad[bs]
1596 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1598 * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
1599 lieu of explicit sizeof/sizeof.
1601 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
1603 * misc.c (copy_lang_decl): Remove.
1605 2002-02-27 Zack Weinberg <zack@codesourcery.com>
1607 * misc.c: Delete traditional-mode-related code copied from the
1608 C front end but not used, or used only to permit the compiler
1611 2002-02-07 Richard Henderson <rth@redhat.com>
1613 * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
1614 * adaint.h (__gnat_to_gm_time): Update prototype.
1616 2002-01-30 Richard Henderson <rth@redhat.com>
1618 * trans.c (tree_transform) [N_Loop_Statement]: Use
1619 expand_exit_loop_top_cond.
1621 2001-12-23 Richard Henderson <rth@redhat.com>
1623 * utils.c (end_subprog_body): Push GC context around
1624 rest_of_compilation for nested functions.
1626 2001-12-23 Richard Henderson <rth@redhat.com>
1628 * 5nosinte.ads: Get definition of "int" from Interfaces.C.
1630 2001-12-23 Florian Weimer <fw@deneb.enyo.de>
1632 * gnat-style.texi (Declarations and Types): Remove ancient style
1633 rule which was mandated by code generation issues.
1635 * gnat-style.texi (header): Add @dircategory, @direntry.
1636 (title page): Remove date.
1637 (general) Add @./@: where approriate, and two spaces after the
1638 full stop at the end of a sentence. Use @samp markup when
1639 referring concrete lexical entities (keywords, attribute names
1640 etc.), and @syntax for ARM grammar elements. Use @r for English
1641 text in comments. Use @emph for emphasis. Change "if-statements"
1642 etc. to "if statements" (without @samp). Break long lines. Make
1643 casing of section names consistent.
1644 (Identifiers): Use @samp markup for variable names.
1645 (Comments): Use @samp markup for comment characters. Line-end
1646 comments may follow any Ada code, not just statements. Fix
1647 misspelling of "Integer" as "integer".
1648 (Loop statements): Do not use variable name "I", use "J".
1649 (Subprogram Declarations): Document alignment.
1650 (Subprogram Bodies, Block statements): Document empty line before
1653 2001-12-22 Florian Weimer <fw@deneb.enyo.de>
1655 * make.adb (Add_Switch): Make Generic_Position a procedure. The
1656 function approach did not work well because of a side effect (the
1657 function call could reallocate the table which was being indexed
1658 using its result). Fixes ada/4851.
1660 2001-12-19 Robert Dewar <dewar@gnat.com>
1662 * bindgen.adb: Minor reformatting
1664 * cstand.adb: Minor reformatting
1666 * fmap.adb: Minor reformatting
1667 Change name from Add for Add_To_File_Map (Add is much too generic)
1668 Change Path_Name_Of to Mapped_Path_Name
1669 Change File_Name_Of to Mapped_File_Name
1670 Fix copyright dates in header
1673 Change name from Add for Add_To_File_Map (Add is much too generic)
1674 Change Path_Name_Of to Mapped_Path_Name
1675 Change File_Name_Of to Mapped_File_Name
1676 Fix copyright dates in header
1678 * fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
1679 Add use clause for Fmap.
1681 * make.adb: Minor reformatting
1683 * osint.adb: Minor reformatting. Change of names in Fmap.
1684 Add use clause for Fmap.
1686 * prj-env.adb: Minor reformatting
1688 * prj-env.ads: Minor reformatting
1690 * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
1691 error found (there were odd exceptions to this general rule in
1692 -gnatec/-gnatem processing)
1694 2001-12-19 Olivier Hainque <hainque@gnat.com>
1696 * raise.c (__gnat_eh_personality): Exception handling personality
1697 routine for Ada. Still in rough state, inspired from the C++ version
1698 and still containing a bunch of debugging artifacts.
1699 (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
1700 inspired from the C++ library.
1702 * raise.c (eh_personality): Add comments. Part of work for the GCC 3
1703 exception handling integration.
1705 2001-12-19 Arnaud Charlet <charlet@gnat.com>
1707 * Makefile.in: Remove use of 5smastop.adb which is obsolete.
1708 (HIE_SOURCES): Add s-secsta.ad{s,b}.
1709 (HIE_OBJS): Add s-fat*.o
1710 (RAVEN_SOURCES): Remove files that are no longer required. Add
1711 interrupt handling files.
1712 (RAVEN_MOD): Removed, no longer needed.
1714 2001-12-19 Robert Dewar <dewar@gnat.com>
1716 * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
1717 Add 2001 to copyright date
1719 * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
1720 need to force universal inlining for these cases.
1722 2001-12-19 Arnaud Charlet <charlet@gnat.com>
1724 * s-taprob.adb: Minor clean ups so that this unit can be used in
1727 * exp_ch7.adb: Allow use of secondary stack in HI mode.
1728 Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
1730 2001-12-19 Vincent Celier <celier@gnat.com>
1732 * prj-tree.ads (Project_Node_Record): Add comments for components
1733 Pkg_Id and Case_Insensitive.
1735 2001-12-19 Pascal Obry <obry@gnat.com>
1737 * g-socket.adb: Minor reformatting. Found while reading code.
1739 2001-12-19 Robert Dewar <dewar@gnat.com>
1741 * prj-tree.ads: Minor reformatting
1743 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
1745 * config-lang.in (diff_excludes): Remove.
1747 2001-12-17 Ed Schonberg <schonber@gnat.com>
1749 * sem_res.adb (Resolve_Selected_Component): do not generate a
1750 discriminant check if the selected component is a component of
1751 the argument of an initialization procedure.
1753 * trans.c (tree_transform, case of arithmetic operators): If result
1754 type is private, the gnu_type is the base type of the full view,
1755 given that the full view itself may be a subtype.
1757 2001-12-17 Robert Dewar <dewar@gnat.com>
1759 * sem_res.adb: Minor reformatting
1761 * trans.c (tree_transform, case N_Real_Literal): Add missing third
1762 parameter in call to Machine (unknown horrible effects from this
1765 * urealp.h: Add definition of Round_Even for call to Machine
1766 Add third parameter for Machine
1768 2001-12-17 Ed Schonberg <schonber@gnat.com>
1770 * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
1771 predefined units in No_Run_Time mode.
1773 2001-12-17 Richard Kenner <kenner@gnat.com>
1775 * misc.c (insn-codes.h): Now include.
1777 2001-12-17 Olivier Hainque <hainque@gnat.com>
1779 * a-except.adb: Preparation work for future integration of the GCC 3
1780 exception handling mechanism
1781 (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
1782 to factorize previous code sequences and make them externally callable,
1783 e.g. for the Ada personality routine when the GCC 3 mechanism is used.
1784 (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
1785 Use the new notification routines.
1787 2001-12-17 Emmanuel Briot <briot@gnat.com>
1789 * prj-tree.ads (First_Choice_Of): Document the when others case
1791 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1793 * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
1794 HI-E mode, in order to support Ravenscar profile properly.
1796 * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
1797 mode on 32 bits targets.
1799 2001-12-17 Vincent Celier <celier@gnat.com>
1801 * fmap.adb: Initial version.
1803 * fmap.ads: Initial version.
1805 * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
1806 If search is successfully done, add to mapping.
1808 * frontend.adb: Initialize the mapping if a -gnatem switch was used.
1811 (Gnatmake): Add new local variable Mapping_File_Name.
1812 Create mapping file when using project file(s).
1813 Delete mapping file before exiting.
1815 * opt.ads (Mapping_File_Name): New variable
1817 * osint.adb (Find_File): Use path name found in mapping, if any.
1819 * prj-env.adb (Create_Mapping_File): New procedure
1821 * prj-env.ads (Create_Mapping_File): New procedure.
1823 * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
1826 * usage.adb: Add entry for new switch -gnatem.
1828 * Makefile.in: Add dependencies for fmap.o.
1830 2001-12-17 Ed Schonberg <schonber@gnat.com>
1832 * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
1833 is a package instantiation rewritten as a package body.
1834 (Install_Withed_Unit): Undo previous change, now redundant.
1836 2001-12-17 Gary Dismukes <dismukes@gnat.com>
1839 (Compute_Length): Move conversion to Unsigned to callers.
1840 (Get_Max_Size): Convert Len expression to Unsigned after calls to
1841 Compute_Length and Determine_Range.
1842 (Layout_Array_Type): Convert Len expression to Unsigned after calls to
1843 Compute_Length and Determine_Range.
1844 Above changes fix problem with length computation for supernull arrays
1845 where Max (Len, 0) wasn't getting applied due to the Unsigned
1846 conversion used by Compute_Length.
1848 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1851 (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
1852 System.Secondary_Stack.
1853 (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
1855 Remove unused entity RE_Exception_Data.
1857 * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
1859 * rident.ads (No_Secondary_Stack): New restriction.
1861 2001-12-17 Joel Brobecker <brobecke@gnat.com>
1863 * gnat_rm.texi: Fix minor typos. Found while reading the section
1864 regarding "Bit_Order Clauses" that was sent to a customer.
1865 Very interesting documentation!
1867 2001-12-17 Robert Dewar <dewar@gnat.com>
1869 * sem_case.adb (Choice_Image): Avoid creating improper character
1870 literal names by using the routine Set_Character_Literal_Name. This
1871 fixes bombs in certain error message cases.
1873 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1875 * a-reatim.adb: Minor reformatting.
1877 2001-12-17 Ed Schonberg <schonber@gnat.com>
1879 * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
1880 case where the formal is an extension of another formal in the current
1881 unit or in a parent generic unit.
1883 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1885 * s-tposen.adb: Update comments. Minor reformatting.
1886 Minor code clean up.
1888 * s-tarest.adb: Update comments. Minor code reorganization.
1890 2001-12-17 Gary Dismukes <dismukes@gnat.com>
1892 * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
1895 2001-12-17 Robert Dewar <dewar@gnat.com>
1897 * exp_attr.adb: Minor reformatting
1899 2001-12-17 Ed Schonberg <schonber@gnat.com>
1901 * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
1902 derivations nested within a child unit: verify that the parent
1903 type is declared in an outer scope.
1905 2001-12-17 Robert Dewar <dewar@gnat.com>
1907 * sem_ch12.adb: Minor reformatting
1909 2001-12-17 Ed Schonberg <schonber@gnat.com>
1911 * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
1912 warning if current unit is a predefined one, from which bodies may
1915 2001-12-17 Robert Dewar <dewar@gnat.com>
1917 * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
1918 Fix header format. Add 2001 to copyright date.
1920 * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
1921 which caused CE during compilation if checks were enabled.
1923 2001-12-17 Vincent Celier <celier@gnat.com>
1926 (Switches_Of): New function
1927 (Test_If_Relative_Path): New procedure
1928 (Add_Switches): Use new function Switches_Of
1929 (Collect_Arguments_And_Compile): Use new function Switches_Of.
1930 When using a project file, test if there are any relative
1931 search path. Fail if there are any.
1932 (Gnatmake): Only add switches for the primary directory when not using
1933 a project file. When using a project file, change directory to the
1934 object directory of the main project file. When using a project file,
1935 test if there are any relative search path. Fail if there are any.
1936 When using a project file, fail if specified executable is relative
1937 path with directory information, and prepend executable, if not
1938 specified as an absolute path, with the exec directory. Make sure
1939 that only one -o switch is transmitted to the linker.
1941 * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
1944 (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
1945 when using a non standard naming scheme.
1946 (Check_Ada_Naming_Scheme): Make sure that error messages
1947 do not raise exceptions.
1948 (Is_Illegal_Append): Return True if there is no dot in the suffix.
1949 (Language_Independent_Check): Check the exec directory.
1951 * prj.adb (Project_Empty): Add new component Exec_Directory
1954 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
1955 (Project_Data): Add component Exec_Directory
1957 * snames.adb: Updated to match snames.ads revision 1.215
1959 * snames.ads: Added Exec_Dir
1961 2001-12-17 Robert Dewar <dewar@gnat.com>
1963 * make.adb: Minor reformatting
1965 * prj-nmsc.adb: Minor reformatting
1967 * snames.adb: Updated to match snames.ads
1969 * snames.ads: Alphebetize entries for project file
1971 2001-12-17 Ed Schonberg <schonber@gnat.com>
1973 * trans.c (process_freeze_entity): Do nothing if the entity is a
1974 subprogram that was already elaborated.
1976 2001-12-17 Richard Kenner <kenner@gnat.com>
1978 * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
1979 and Esize if object is referenced via pointer.
1981 2001-12-17 Ed Schonberg <schonber@gnat.com>
1983 * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
1984 is discrete before analyzing choices.
1986 2001-12-17 Joel Brobecker <brobecke@gnat.com>
1988 * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
1989 containing the name of the Ada Main Program. This string is mainly
1990 intended for the debugger.
1991 (Gen_Output_File_C): Do the equivalent change when generating a C file.
1993 2001-12-17 Robert Dewar <dewar@gnat.com>
1995 * ali.adb: Set new Dummy_Entry field in dependency entry
1997 * ali.ads: Add Dummy_Entry field to source dependency table
1999 * bcheck.adb (Check_Consistency): Ignore dummy D lines
2001 * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
2003 * lib-writ.ads: Document dummy D lines for missing files.
2005 * types.ads: (Dummy_Time_Stamp): New value for non-existant files
2007 2001-12-17 Robert Dewar <dewar@gnat.com>
2009 * ali.adb: Type reference does not reset current file.
2011 * ali.adb: Recognize and scan renaming reference
2013 * ali.ads: Add spec for storing renaming references.
2015 * lib-xref.ads: Add documentation for handling of renaming references
2017 * lib-xref.adb: Implement output of renaming reference.
2020 (Determine_Range): Document local variables
2021 (Determine_Range): Make sure Hbound is initialized. It looks as though
2022 there could be a real problem here with an uninitialized reference
2023 to Hbound, but no actual example of failure has been found.
2025 2001-12-17 Laurent Pautet <pautet@gnat.com>
2028 Fix comment of Shutdown_Socket and Close_Socket. These functions
2029 should not fail silently because if they are called twice, this
2030 probably means that there is a race condition in the user program.
2031 Anyway, this behaviour is consistent with the rest of this unit.
2032 When an error occurs, an exception is raised with the error message
2033 as exception message.
2035 2001-12-17 Robert Dewar <dewar@gnat.com>
2037 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
2038 that it happens before modification of Sloc values for -gnatD.
2040 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
2041 so that it happens before modification of Sloc values for -gnatD.
2043 * switch.adb: Minor reformatting
2045 2001-12-15 Richard Henderson <rth@redhat.com>
2047 * sem_ch7.adb: Wrap comment.
2049 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
2051 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
2052 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
2053 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
2054 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
2055 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
2056 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
2057 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
2058 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
2059 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
2060 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
2061 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
2062 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
2063 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
2064 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
2065 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
2066 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
2067 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
2068 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
2069 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
2070 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
2071 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
2072 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
2073 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
2074 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
2077 2001-12-14 Vincent Celier <celier@gnat.com>
2079 * osint.adb(Create_Debug_File): When an object file is specified,
2080 put the .dg file in the same directory as the object file.
2082 2001-12-14 Robert Dewar <dewar@gnat.com>
2084 * osint.adb: Minor reformatting
2086 * lib-xref.adb (Output_Instantiation): New procedure to generate
2087 instantiation references.
2089 * lib-xref.ads: Add documentation of handling of generic references.
2091 * ali.adb (Read_Instantiation_Ref): New procedure to read
2092 instantiation references
2094 * ali.ads: Add spec for storing instantiation references
2096 * bindusg.adb: Minor reformatting
2098 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
2100 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
2102 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
2104 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
2108 Add 2001 to copyright date
2109 Add entry for Latin-5 (Cyrillic ISO-8859-5)
2111 2001-12-14 Matt Gingell <gingell@gnat.com>
2113 * adaint.c: mktemp is a macro on Lynx and can not be used as an
2116 2001-12-14 Richard Kenner <kenner@gnat.com>
2118 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
2119 if operand is CONSTRUCTOR.
2121 2001-12-14 Ed Schonberg <schonber@gnat.com>
2123 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
2124 before emiting check on right-hand side, so that exception information
2127 2001-12-14 Richard Kenner <kenner@gnat.com>
2129 * utils.c (create_var_decl): Throw away initializing expression
2130 if just annotating types and non-constant.
2132 2001-12-14 Vincent Celier <celier@gnat.com>
2134 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
2137 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
2139 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
2141 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
2143 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
2145 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
2147 * ChangeLog: Remove piece of diff output.
2149 2001-12-14 Geert Bosch <bosch@gnat.com>
2151 * config-lang.in: Update copyright notice
2153 * layout.adb: Remove commented out code.
2155 * mdllfile.ads: Update copyright notice. Fix header format.
2157 * sem_case.ads: Likewise.
2159 * sem_ch3.adb: Minor reformatting.
2161 2001-12-12 Geert Bosch <bosch@gnat.com>
2163 * freeze.ads: Update copyright date.
2165 * g-comlin.ads: Minor reformatting.
2167 * gnat-style.texi: Fix typo.
2169 2001-12-12 Geert Bosch <bosch@gnat.com>
2171 * einfo.h: Regenerate.
2173 2001-12-12 Ed Schonberg <schonber@gnat.com>
2175 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
2176 on known node types, rather than untyped fields. Further cleanups.
2178 2001-12-12 Robert Dewar <dewar@gnat.com>
2181 (Save_Entity_Descendant): Minor comment update.
2182 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
2183 of an N_Attribute_Reference node. As per note below, this does not
2184 eliminate need for Associated_Node in attribute ref nodes.
2185 (Associated_Node): Documentation explicitly mentions attribute
2186 reference nodes, since this field is used in such nodes.
2188 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
2190 2001-12-12 Robert Dewar <dewar@gnat.com>
2192 * s-stalib.adb: Add more comments on with statements being needed
2194 * par-ch12.adb: Minor reformatting
2196 * prj-dect.ads: Fix copyright header
2198 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
2199 inputs fit in 32 bits, but the result still overflows.
2201 * s-fatgen.ads: Minor comment improvement
2203 2001-12-12 Ed Schonberg <schonber@gnat.com>
2205 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
2206 formal derived type, look for an inherited component from the full
2207 view of the parent, if any.
2209 2001-12-12 Robert Dewar <dewar@gnat.com>
2211 * checks.ads (Apply_Alignment_Check): New procedure.
2213 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
2214 ensure that the alignment of objects with address clauses is
2215 appropriate, and raise PE if not.
2217 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
2218 Exp_Pakd.Known_Aligned_Enough
2220 * mdllfile.ads: Minor reformatting
2222 * mlib-fil.ads: Minor reformatting
2224 2001-12-12 Ed Schonberg <schonber@gnat.com>
2226 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
2227 fix to any component reference if enclosing record has non-standard
2230 2001-12-12 Vincent Celier <celier@gnat.com>
2232 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
2235 2001-12-12 Ed Schonberg <schonber@gnat.com>
2237 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
2240 2001-12-12 Robert Dewar <dewar@gnat.com>
2242 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
2244 2001-12-12 Emmanuel Briot <briot@gnat.com>
2246 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
2247 and it adds dependencies to system.io.
2249 2001-12-12 Pascal Obry <obry@gnat.com>
2251 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
2254 2001-12-11 Ed Schonberg <schonber@gnat.com>
2256 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
2257 that is the parent of other generics, the instance body replaces the
2258 instance node. Retrieve the instance of the spec, which is the one
2259 that is visible in clients and within the body.
2261 2001-12-11 Vincent Celier <celier@gnat.com>
2263 * gnatmain.adb: Initial version.
2265 * gnatmain.ads: Initial version.
2267 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
2269 * snames.adb: Updated to match snames.ads.
2271 * snames.ads: Added Gnatstub.
2273 2001-12-11 Vincent Celier <celier@gnat.com>
2275 * prj-attr.adb (Initialization_Data): Change name from
2276 Initialisation_Data.
2278 2001-12-11 Emmanuel Briot <briot@gnat.com>
2280 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
2281 + and * applied to backslashed expressions like \r.
2283 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
2285 * g-os_lib.ads: String_List type added, Argument_List type is now
2286 subtype of String_List.
2288 2001-12-11 Robert Dewar <dewar@gnat.com>
2290 * g-os_lib.ads: Change copyright to FSF
2291 Add comments for String_List type
2293 2001-12-11 Vincent Celier <celier@gnat.com>
2295 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
2296 string to the buffer).
2298 2001-12-11 Ed Schonberg <schonber@gnat.com>
2300 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
2303 * sem_attr.adb: Simplify previous fix for Address.
2304 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
2305 to avoid anomalies where the bound of the type appears to raise
2308 2001-12-11 Robert Dewar <dewar@gnat.com>
2310 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
2313 2001-12-11 Ed Schonberg <schonber@gnat.com>
2315 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
2316 renamed unit before checking for recursive instantiations.
2318 2001-12-11 Emmanuel Briot <briot@gnat.com>
2320 * prj.ads: Add comments for some of the fields.
2322 2001-12-11 Robert Dewar <dewar@gnat.com>
2324 * lib-xref.adb (Output_Refs): Don't output type references outside
2325 the main unit if they are not otherwise referenced.
2327 2001-12-11 Ed Schonberg <schonber@gnat.com>
2329 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
2330 code and diagnose additional illegal uses
2332 * sem_util.adb (Is_Object_Reference): An indexed component is an
2333 object only if the prefix is.
2335 2001-12-11 Vincent Celier <celier@gnat.com>
2337 * g-diopit.adb: Initial version.
2339 * g-diopit.ads: Initial version.
2342 (Expand_Path): Avoid use of Unbounded_String
2343 (Find, Wildcard_Iterator): Moved to child package Iteration
2345 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
2347 2001-12-11 Robert Dewar <dewar@gnat.com>
2349 * sem_attr.adb: Minor reformatting
2351 2001-12-11 Ed Schonberg <schonber@gnat.com>
2353 * sem_ch3.adb: Clarify some ???.
2355 2001-12-11 Robert Dewar <dewar@gnat.com>
2357 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
2358 Exp_Pakd.Known_Aligned_Enough
2360 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
2361 version is moved to Exp_Ch13.
2363 2001-12-11 Robert Dewar <dewar@gnat.com>
2365 * einfo.ads: Minor reformatting
2367 * exp_ch5.adb: Add comment for previous.change
2369 * ali.adb: New interface for extended typeref stuff.
2371 * ali.ads: New interface for typeref stuff.
2373 * checks.adb (Apply_Alignment_Check): New procedure.
2375 * debug.adb: Add -gnatdM for modified ALI output
2377 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
2379 * lib-xref.adb: Extend generation of <..> notation to cover
2380 subtype/object types. Note that this is a complete rewrite,
2381 getting rid of the very nasty quadratic algorithm previously
2382 used for derived type output.
2384 * lib-xref.ads: Extend description of <..> notation to cover
2385 subtype/object types. Uses {..} for these other cases.
2386 Also use (..) for pointer types.
2388 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
2390 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
2391 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
2393 2001-12-11 Vincent Celier <celier@gnat.com>
2396 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
2397 Changed /BIND_ONLY to /ACTIONS=BIND
2398 Changed /LINK_ONLY to /ACTIONS=LINK
2400 2001-12-11 Ed Schonberg <schonber@gnat.com>
2402 * sem_ch8.adb (Find_Selected_Component): improved search for a
2403 candidate package in case of error.
2405 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
2406 chain back on scope stack before reinstalling use clauses.
2408 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
2409 is enabled, do not kill the code for the condition, to preserve
2412 2001-12-11 Robert Dewar <dewar@gnat.com>
2414 * checks.adb (Insert_Valid_Check): Apply validity check to expression
2415 of conversion, not to result of conversion.
2417 2001-12-11 Ed Schonberg <schonber@gnat.com>
2419 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
2420 before freezing parent. If the declarations are mutually recursive,
2421 an access to the current record type may be frozen before the
2422 derivation is complete.
2424 2001-12-05 Vincent Celier <celier@gnat.com>
2426 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
2427 -c /COMPILE_ONLY, -l /LINK_ONLY
2430 (Bind_Only): New Flag
2431 (Link_Only): New flag
2433 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
2436 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
2439 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
2440 (Gnatmake): Set the step flags. Only perform a step if the
2441 corresponding step flag is True.
2442 (Scan_Make_Arg): Reset the bind and link step flags when -u
2443 or -gnatc has been specified.
2445 2001-12-05 Ed Schonberg <schonber@gnat.com>
2447 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
2448 get bounds from right operand.
2450 * sem_eval.adb: Minor reformatting
2452 * exp_util.adb (Make_Literal_Range): use bound of literal rather
2453 than Index'First, its lower bound may be different from 1.
2455 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
2458 2001-12-05 Vincent Celier <celier@gnat.com>
2460 * prj-nmsc.adb Minor reformatting
2462 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
2463 set and libraries are not supported.
2465 2001-12-05 Ed Schonberg <schonber@gnat.com>
2467 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
2468 private view explicitly, so the back-end can treat as a global
2471 2001-12-05 Ed Schonberg <schonber@gnat.com>
2473 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
2474 unit, always replace instance node with new body, for ASIS use.
2476 2001-12-05 Vincent Celier <celier@gnat.com>
2478 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
2479 libraries are not supported and both attributes Library_Name and
2480 Library_Dir are specified.
2482 * prj-proc.adb (Expression): Set location of Result to location of
2485 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
2486 (prj-nmsc is now importing MLib.Tgt)
2488 * prj-proc.adb: Put the change indicated above that was forgotten.
2490 2001-12-05 Robert Dewar <dewar@gnat.com>
2492 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
2494 2001-12-05 Ed Schonberg <schonber@gnat.com>
2496 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
2497 constraint, introduce explicit subtype declaration and derive from it.
2499 * sem_ch3.adb: Minor reformatting
2501 2001-12-05 Robert Dewar <dewar@gnat.com>
2503 * checks.adb (Determine_Range): Increase cache size for checks.
2506 * exp_ch6.adb: Minor reformatting
2507 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
2508 a parameter whose root type is System.Address, since treating such
2509 subprograms as pure in the code generator is almost surely a mistake
2510 that will lead to unexpected results.
2512 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
2513 change handling of conversions.
2515 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
2517 2001-12-05 Ed Schonberg <schonber@gnat.com>
2519 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
2520 aggregate with static wrong size, attach generated Raise node to
2523 2001-12-05 Robert Dewar <dewar@gnat.com>
2525 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
2526 Fixes compilation abandoned bomb in B24009B.
2528 2001-12-05 Ed Schonberg <schonber@gnat.com>
2531 Document use of Associated_Node on Selected_Components.
2532 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
2533 to clarify use of untyped descendant fields.
2535 2001-12-05 Robert Dewar <dewar@gnat.com>
2537 * prj-dect.ads: Add ??? comment
2538 Add 2001 to copyright notice (was not done in after all)
2540 * prj-part.adb: Minor reformatting. Reword one awkward error message.
2542 * prj.ads: Minor reformatting throughout, and add some ??? comments
2544 * snames.ads: Minor reformatting
2546 2001-12-05 Geert Bosch <bosch@gnat.com>
2548 * snames.adb: Autoupdate
2550 2001-12-05 Vincent Celier <celier@gnat.com>
2552 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
2554 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
2556 * prj-env.adb: Minor comment changes (modifying -> extends).
2558 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
2560 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
2563 * prj.adb (Initialize): Change Modifying to Extends.
2565 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
2567 * prj.ads: Minor comment change (Modifying -> extending).
2569 * snames.ads: Change modifying to extends.
2571 2001-12-05 Robert Dewar <dewar@gnat.com>
2573 * sem_warn.adb: Remove stuff for conditionals, we are not going to
2576 * sem_warn.ads: Remove stuff for conditionals, we are not going to
2577 do this after all. Add 2001 to copyright notice
2579 2001-12-04 Geert Bosch <bosch@gnat.com>
2581 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
2583 2001-12-04 Robert Dewar <dewar@gnat.com>
2585 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
2586 location if we already have errors. Stops some cases of cascaded
2589 * errout.adb: Improve comment.
2591 2001-12-04 Robert Dewar <dewar@gnat.com>
2594 (Analyze_Formal_Type_Definition): Defend against Error.
2595 (Analyze_Formal_Subprogram): Defend against Error.
2597 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
2598 remove following semicolon if present. Removes cascaded error.
2600 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
2603 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
2604 exceptions equals 0.
2605 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
2606 Fixes PIWG E tests (which have to be run with -gnatL).
2608 2001-12-04 Robert Dewar <dewar@gnat.com>
2610 * einfo.ads: Minor reformatting
2612 2001-12-04 Ed Schonberg <schonber@gnat.com>
2614 * einfo.ads: Block_Node points to the identifier of the block, not to
2615 the block node itself, to preserve the link when the block is
2616 rewritten, e.g. within an if-statement with a static condition.
2618 * inline.adb (Cleanup_Scopes): recover block statement from block
2619 entity using new meaning of Block_Node.
2621 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
2622 identifier of block node, rather than to node itself.
2624 2001-12-04 Gary Dismukes <dismukes@gnat.com>
2627 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
2628 (Discrimify): Go back to setting the Etypes of the selected component
2629 because the Vname component does not exist at this point and will
2630 fail name resolution. Also set Analyzed.
2631 Remove with and use of Sem_Res.
2633 2001-12-04 Arnaud Charlet <charlet@gnat.com>
2635 * Makefile.in: (HIE_SOURCES): add s-fat*.
2637 2001-12-04 Robert Dewar <dewar@gnat.com>
2640 (Compile_Time_Known_Attribute): New procedure.
2641 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
2644 2001-12-04 Ed Schonberg <schonber@gnat.com>
2646 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
2647 processing discriminants to diagnose illegal default values.
2649 2001-12-04 Ed Schonberg <schonber@gnat.com>
2651 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
2652 access discriminant within a type extension that constrains its
2653 parent discriminants.
2655 2001-12-04 Ed Schonberg <schonber@gnat.com>
2657 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
2658 is malformed, use instance of Any_Id to allow analysis to proceed.
2660 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
2661 type definition is illegal.
2662 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
2665 2001-12-04 Ed Schonberg <schonber@gnat.com>
2667 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
2670 2001-12-04 Robert Dewar <dewar@gnat.com>
2672 * errout.adb: Minor reformatting
2674 2001-12-04 Robert Dewar <dewar@gnat.com>
2676 * exp_util.adb: Minor reformatting from last change
2678 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
2679 which is a rewriting of an expression, traverse the original
2680 expression to remove warnings that may have been posted on it.
2682 2001-12-04 Ed Schonberg <schonber@gnat.com>
2684 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
2685 record that has other packed components.
2687 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
2689 * adaint.c: Minor cleanups.
2691 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
2693 * adaint.c: Do not use utime.h on vxworks.
2695 2001-12-04 Arnaud Charlet <charlet@gnat.com>
2697 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
2698 more confusion than it solves.
2700 2001-12-04 Geert bosch <bosch@gnat.com>
2702 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
2704 2001-12-04 Geert Bosch <bosch@gnat.com>
2706 * Makefile.in (update-sources): New target.
2707 For use by gcc_release script.
2709 2001-12-04 Ed Schonberg <schonber@gnat.com>
2711 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
2712 a configuration pragma, it is now legal wherever a pragma can appear.
2714 2001-12-04 Zack Weinberg <zack@codesourcery.com>
2716 * Makefile.in: Don't set ALL. Delete @cross_defines@,
2717 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
2718 is now @CROSS@ -DIN_GCC; update comment.
2720 2001-12-04 Robert Dewar <dewar@gnat.com>
2722 * einfo.adb (Has_Pragma_Pure_Function): New flag.
2723 Fix problem that stopped ceinfo from working
2725 * einfo.ads (Has_Pragma_Pure_Function): New flag.
2727 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
2729 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
2732 (File_Time_Stamp): New procedure.
2733 (Preserve_Mode): New boolean.
2734 (Write_Unit): Pass time stamp.
2735 Implement -p switch (preserve time stamps).
2737 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
2739 * gnatchop.adb: Do usage info for -p switch
2741 * adaint.h (__gnat_set_file_time_name): New function
2743 * adaint.c (__gnat_set_file_time_name): Implement
2745 * adaint.h: Fix typo
2747 2001-12-03 Robert Dewar <dewar@gnat.com>
2749 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
2750 have Associated_Node.
2752 2001-12-03 Robert Dewar <dewar@gnat.com>
2754 * prj-proc.adb: Minor reformatting
2756 * make.adb: Minor reformatting
2758 2001-12-03 Geert Bosch <bosch@gnat.com>
2760 * make.adb: Minor reformatting.
2762 2001-12-03 Robert Dewar <dewar@gnat.com>
2764 * sem_ch12.adb: Minor reformatting
2766 2001-12-03 Ed Schonberg <schonber@gnat.com>
2768 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
2769 push Standard on the stack before analyzing the instance body,
2770 in order to have a clean visibility environment.
2772 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
2774 2001-12-03 Ed Schonberg <schonber@gnat.com>
2776 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
2777 instantiation of a body that contains an inlined body.
2779 2001-12-03 Ed Schonberg <schonber@gnat.com>
2782 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
2783 to prevent freezing within formal packages.
2784 (Freeze_Subprogram_Body): If body comes from another instance that
2785 appeared before its own body, place freeze node at end of current
2786 declarative part, to prevent a back-end crash.
2787 (Inline_Instance_Body): Handle properly a package instance within
2788 a subprogram instance that is a child unit.
2790 2001-12-01 Graham Stott <grahams@redhat.com>
2792 * Makefile.in (misc.o): Add missing $(srcdir) prefix
2793 and add optabs.h dependency.
2795 * misc.c: Include optabs.h
2796 (gnat_tree_code_type): Make static and const.
2797 (gnat_tree_code_length): Likewise.
2798 (gnat_tree_code_name): Likewise.
2799 (update_setjmp_buf): Obtain operands mode from insn_data.
2801 2001-11-29 Richard Henderson <rth@redhat.com>
2803 * init.c: Remove obsolete dwarf2 frame.h section.
2805 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
2807 * Make-lang.in (ada.generated-manpages): New dummy target.
2809 2001-11-29 Ed Schonberg <schonber@gnat.com>
2811 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
2812 into Command, an array conversion is illegal here. Uncovered by
2815 2001/11/28 Geert Bosch <bosch@gnat.com>
2817 * init.c: Minor whitespace changes.
2819 2001-11-28 Doug Rupp <rupp@gnat.com>
2821 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
2824 2001-11-28 Zack Weinberg <zack@codesourcery.com>
2826 * misc.c (gnat_expand_constant): Move declaration above
2827 definition of lang_hooks.
2828 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
2829 (gnat_init): lang_expand_constant no longer exists.
2831 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
2832 always have vprintf.
2833 (gnat_init): Always call set_internal_error_function.
2835 2001-11-27 Andreas Jaeger <aj@suse.de>
2837 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
2839 2001-11-27 Laurent Guerby <guerby@acm.org>
2841 * Makefile.in: Regenerate Ada dependencies.
2843 2001-11-26 Richard Henderson <rth@redhat.com>
2845 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
2846 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
2847 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
2849 2001-11-25 Laurent Guerby <guerby@acm.org>
2851 * sysdep.c (rts_get_*): Fix style.
2853 2001-11-19 Laurent Guerby <guerby@acm.org>
2855 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
2856 since it is of no apparent use and cause warnings.
2858 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
2860 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
2862 (gnat_init): Don't return NULL.
2863 (finish_parse): Remove.
2865 2001-11-17 Laurent Guerby <guerby@acm.org>
2867 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
2868 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
2869 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
2870 * lang-spec.h: Add missing struct field to silence warnings.
2871 * sysdep.c (rts_get_*): Provide K&R prototype.
2872 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
2873 * traceback.c (Unlock_Task, Lock_Task): Likewise.
2874 * tracebak.c (__gnat_backtrace): Remove unused variable.
2875 * utils.c (end_subprog_body): Move to K&R style.
2877 Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2879 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
2881 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
2883 * misc.c (gnat_init): Change prototype. Include the
2884 functionality of the old init_parse and init_decl_processing.
2885 (gnat_init_decl_processing): New prototype.
2886 (init_parse): Remove.
2887 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
2889 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
2891 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
2892 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
2893 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
2894 set_yydebug): Remove.
2896 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
2898 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
2899 (struct lang_hooks): Constify.
2900 (language_string, lang_identify): Remove.
2901 * utils.c (init_decl_processing): Update.
2903 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2905 * misc.c: Include langhooks-def.h.
2906 * Makefile.in: Update.
2908 2001-10-30 Robert Dewar <dewar@gnat.com>
2911 (Check_Identifier): Rewrite circuit to be compatible with use of letters
2912 in the upper half of ASCII.
2913 (Check_Identifier): Minor reformatting
2915 2001-10-30 Geert Bosch <bosch@gnat.com>
2917 * (Associated_Node, Set_Associated_Node): Do not check for
2920 2001-10-30 Robert Dewar <dewar@gnat.com>
2922 * a-reatim.ads: Minor reformatting
2924 2001-10-30 Robert Dewar <dewar@gnat.com>
2926 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
2927 undocumented declarations.
2929 2001-10-30 Pascal Obry <obry@gnat.com>
2931 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
2932 to the binder and linker.
2935 * mdll.ads: Fix layout. Update copyright notice.
2937 * mdll.adb: Fix layout. Update copyright notice.
2939 2001-10-30 Robert Dewar <dewar@gnat.com>
2941 * usage.adb: Minor fix to output for -gnaty.
2943 2001-10-30 Ed Schonberg <schonber@gnat.com>
2945 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
2946 to accommodate all its possible values.
2948 * a-reatim.adb (Split): Special-case handling of Time_Span_First
2949 and of small absolute values of T.
2951 2001-10-30 Richard Kenner <kenner@gnat.com>
2953 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
2954 set_mem_attributes since not needed and wrong if RESULT if a REG;
2955 fixes ACATS failures.
2957 2001-10-30 Geert Bosch <bosch@gnat.com>
2959 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
2960 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
2962 2001-10-30 Robert Dewar <dewar@gnat.com>
2964 * bindusg.adb: Undocument -f switch.
2966 * gnatcmd.adb: Remove /FULL_ELABORATION.
2968 * opt.ads (Force_RM_Elaboration_Order): Document that this is
2971 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
2973 * gnatbind.adb: Minor update of warning msg.
2975 2001-10-30 Vincent Celier <celier@gnat.com>
2977 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
2978 for project file switches (-P (/PROJECT_FILE=),
2979 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
2982 2001-10-30 Geert Bosch <bosch@gnat.com>
2984 * decl.c: Minor whitespace fixes.
2986 2001-10-30 Richard Kenner <kenner@gnat.com>
2988 * utils2.c (build_allocator): Test for SIZE overflow in array case too
2990 2001-10-30 Geert Bosch <bosch@gnat.com>
2992 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
2993 Found due to GCC 3.0 warning of using uninitialized value.
2996 (Get_Max_Size): Use variant record for tracking value/expression.
2997 Makes logic clearer and prevents warnings for uninitialized variables.
2998 (Layout_Array_Type): Use variant record for tracking value/expression.
2999 Makes logic clearer and prevents warnings for uninitialized variables.
3001 2001-10-30 Robert Dewar <dewar@gnat.com>
3003 * lib.adb: Minor reformatting
3005 * s-taprop.ads: Minor reformatting
3007 2001-10-29 Laurent Guerby <guerby@acm.org>
3010 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
3012 (_gnat_error_handler): Make MSG const.
3014 2001-10-29 Richard Kenner <kenner@gnat.com>
3016 * sysdep.c: Fix localtime_r problem on LynxOS.
3017 Also remove #elif to avoid warnings.
3019 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
3022 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
3024 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
3026 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
3027 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
3028 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
3029 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
3030 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
3031 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
3032 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
3033 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
3034 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
3035 types.ads, urealp.adb: Fix spelling errors.
3037 2001-10-27 Laurent Guerby <guerby@acm.org>
3039 * trans.c (gigi): Fix non determinism leading to bootstrap
3040 comparison failures for debugging information.
3042 2001-10-26 Florian Weimer <fw@deneb.enyo.de>
3044 * gnat_rm.texi: Use @./@: where appropriate.
3046 2001-10-26 Robert Dewar <dewar@gnat.com>
3048 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
3050 2001-10-26 Richard Kenner <kenner@gnat.com>
3052 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
3054 2001-10-26 Richard Kenner <kenner@gnat.com>
3056 * decl.c (validate_size): Modify message for bad size to avoid
3057 implication that compiler is modifying the size.
3059 2001-10-26 Robert Dewar <dewar@gnat.com>
3061 * prj-util.adb: Minor reformatting. Fix bad header format.
3063 2001-10-26 Robert Dewar <dewar@gnat.com>
3065 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
3067 * sinfo.ads: Clarify use of Associated_Node (documentation only).
3069 * sem_ch12.adb: Change Node4 to Associated_Node. Change
3070 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
3071 much more narrowly in places where needed. These are cleanups.
3073 2001-10-26 Joel Brobecker <brobecke@gnat.com>
3075 * 5zosinte.ads (null_pthread): new constant.
3078 (Initialize_TCB): Initialize thread ID to null, to be able to verify
3079 later that this field has been set.
3080 (Finalize_TCB): ditto.
3081 (Suspend_Task): Verify that the thread ID is not null before using it.
3082 (Resume_Task): ditto.
3085 (Resume_All_Tasks): Lock the tasks list before using it.
3086 (Suspend_All_Tasks): ditto.
3088 2001-10-26 Richard Kenner <kenner@gnat.com>
3090 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
3091 Make constant variant of designated type for Is_Access_Constant.
3092 Call update_pointer_to with main variant.
3094 * trans.c (process_freeze_entity, process_type):
3095 Call update_pointer_to on main variant.
3097 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
3098 If main variant, update all other variants.
3100 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
3103 2001-10-26 Robert Dewar <dewar@gnat.com>
3105 * prj-util.adb: Minor reformatting
3107 2001-10-26 Robert Dewar <dewar@gnat.com>
3109 * prj-util.adb: Minor reformatting
3111 2001-10-26 Robert Dewar <dewar@gnat.com>
3113 * prj-attr.adb: Minor reformatting throughout
3115 2001-10-26 Robert Dewar <dewar@gnat.com>
3117 * prj-attr.ads: Minor reformatting
3118 Add ??? comment (this whole spec has almost no comments)
3120 2001-10-26 Vincent Celier <celier@gnat.com>
3122 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
3123 ("//") that precede the drive letter on Interix.
3125 2001-10-26 Geert Bosch <bosch@gnat.com>
3127 * gnat_rm.texi: Add GNAT Reference Manual.
3129 2001-10-25 Robert Dewar <dewar@gnat.com>
3131 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
3132 is Error. Similar change for other renaming cases.
3134 2001-10-25 Robert Dewar <dewar@gnat.com>
3136 * s-atacco.ads: Add pragma Inline_Always for functions.
3137 Fix header format. Add copyright 2001
3139 2001-10-25 Ed Schonberg <schonber@gnat.com>
3141 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
3142 return Error rather than Empty so that analysis can proceed.
3144 2001-10-25 Ed Schonberg <schonber@gnat.com>
3146 * sem_util.adb (Enter_Name): better handling of cascaded error
3147 messages when a unit appears in its own context.
3149 2001-10-25 Ed Schonberg <schonber@gnat.com>
3151 * sem_util.adb (Defining_Entity): in case of error, attach created
3152 entity to specification, so that semantic analysis can proceed.
3154 2001-10-25 Robert Dewar <dewar@gnat.com>
3157 (Defining_Entity): Deal with Error.
3158 (Process_End_Label): Deal with bad end label for.
3160 2001-10-25 Ed Schonberg <schonber@gnat.com>
3162 * sem_elab.adb (Check_A_Call): refine message when call is in an
3163 instance but callee is not declared in the generic unit.
3165 2001-10-25 Ed Schonberg <schonber@gnat.com>
3167 * sem_elab.adb (Check_A_Call): check for renaming before finding the
3168 enclosing unit, which may already be different from the calling unit.
3170 2001-10-25 Geert Bosch <bosch@gnat.com>
3172 * 4gintnam.ads: fix header format.
3174 2001-10-25 Ed Schonberg <schonber@gnat.com>
3176 * sem_res.adb (Resolve_Call): if the call is actually an indexing
3177 operation on the result of a parameterless call, perform elaboration
3178 check after the node has been properly rewritten.
3180 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
3181 inlined within the generic tree, the defining identifier is not a
3184 2001-10-25 Ed Schonberg <schonber@gnat.com>
3186 * sem_res.adb (Resolve): special-case resolution of Null in an
3187 instance or an inlined body to avoid view conflicts.
3189 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
3190 compatibility by retrieving the access type of the generic copy.
3192 2001-10-25 Robert Dewar <dewar@gnat.com>
3195 (Analyze_Number_Declaration): Handle error expression.
3196 (Signed_Integer_Type_Declaration): Handle error bound.
3197 (Analyze_Subtype_Indication): Handle error range.
3199 * sem_util.adb (Get_Index_Bounds): Check for Error.
3201 2001-10-25 Robert Dewar <dewar@gnat.com>
3203 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
3204 in no run time mode.
3206 2001-10-25 Pascal Obry <obry@gnat.com>
3208 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
3209 mode case for ALLOC case.
3211 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
3212 all platforms. Improvement of last change.
3214 2001-10-25 Robert Dewar <dewar@gnat.com>
3216 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
3218 2001-10-25 Geert Bosch <bosch@gnat.com>
3220 * osint.adb (Is_Relative): Remove duplicate.
3222 2001-10-25 Pascal Obry <obry@gnat.com>
3224 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
3225 pathnames in UNIX and DOS style with drive letter.
3226 (Is_Relative): new routine.
3228 * osint.adb: Minor reformatting
3230 * osint.adb (Is_Relative): implementation using
3231 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
3233 2001-10-25 Pascal Obry <obry@gnat.com>
3235 * g-dirope.adb (Basename): correctly compute offset between the
3236 original Path and the translated one.
3238 * g-dirope.adb: (Base_Name): add some comments.
3240 2001-10-25 Robert Dewar <dewar@gnat.com>
3242 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
3243 in HIE mode, avoids compilation abandoned message
3245 * exp_imgv.adb: Correct typo in previous change
3247 * exp_imgv.adb: Correct typo in previous change (not my day!)
3249 2001-10-25 Robert Dewar <dewar@gnat.com>
3251 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
3253 2001-10-25 Pascal Obry <obry@gnat.com>
3255 * g-awk.ads: Move all pragma inlines next to the routine
3256 declarations. This is more uniform with other GNAT spec.
3258 2001-10-22 Geert Bosch <bosch@gnat.com>
3260 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
3262 2001-10-19 Geert Bosch <bosch@gnat.com>
3264 * Makefile.in (tools, gnattools): Remove gnatmem.
3266 2001-10-17 Richard Henderson <rth@redhat.com>
3268 * Makefile.in (misc.o): Depend on langhooks.h.
3269 * misc.c: Include it.
3270 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
3271 (LANG_HOOKS_DECODE_OPTION): New.
3272 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
3274 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
3276 * trans.c (tree_transform): Adjust to recent change in
3277 expand_asm_operands to implement named asm operands.
3279 2001-10-11 Ed Schonberg <schonber@gnat.com>
3281 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
3282 renaming of discriminant for mutable record type.
3284 2001-10-11 Robert Dewar <dewar@gnat.com>
3286 * validsw.adb: Properly save -gnatVn status.
3288 2001-10-11 Robert Dewar <dewar@gnat.com>
3290 * usage.adb: Add lines for V switch.
3292 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
3293 (/VALIDITY_CHECKING).
3295 2001-10-11 Ed Schonberg <schonber@gnat.com>
3297 * sem_type.adb (Add_One_Interp): an operator for a type declared in
3298 an extension of System is known to be visible.
3300 2001-10-11 Ed Schonberg <schonber@gnat.com>
3302 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
3303 properly. Fixes regression on ACATS C34005G.
3305 2001-10-11 Robert Dewar <dewar@gnat.com>
3307 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
3308 loop in generic instance, since this is likely not very useful.
3310 2001-10-11 Robert Dewar <dewar@gnat.com>
3312 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
3313 the error message for high integrity mode.
3315 * rtsfind.adb (RTE): Give message if we try to find an entity that
3316 is not available in high integrity mode.
3319 (OK_To_Use_In_HIE_Mode): New array.
3320 (RTE): May return Empty in high integrity mode.
3322 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
3323 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
3325 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
3326 unit if not inlined always and in no runtime mode. Fixes problem
3327 caused by new Rtsfind changes.
3329 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
3332 * rtsfind.adb (RTE): Make sure we do not try to load unit after
3333 giving message for entity not available in high integrity mode.
3335 2001-10-11 Pascal Obry <obry@gnat.com>
3337 * impunit.adb: Add GNAT.CRC32.
3339 2001-10-11 Ed Schonberg <schonber@gnat.com>
3341 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
3342 properly the case where one universal operand in a non-static
3343 exponentiation of a real literal.
3345 2001-10-11 Ed Schonberg <schonber@gnat.com>
3347 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
3348 clause, return the gobal finalization list, for lack of anthing else.
3350 2001-10-11 Ed Schonberg <schonber@gnat.com>
3352 * exp_ch7.adb (Make_Transient_Block): if statement is within
3353 exception handler, always use new transient scope to place Clean
3356 2001-10-11 Pascal Obry <obry@gnat.com>
3359 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
3360 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
3361 (GNATLS_RTL_OBJS): add g-crc32.o
3362 (GNATMAKE_RTL_OBJS): add g-crc32.o
3365 (CRC_Match): new function.
3366 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
3367 instead of the previous simple checksum algorithm.
3368 (Time_Stamp_Mismatch): use CRC_Match for comparison.
3369 (Set_Source_Table): idem.
3372 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
3373 instead of simple checksum.
3374 (CRC_Match): new function.
3375 (CRC_Error): new constant.
3377 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
3378 a CRC now and not a simple checksum. A CRC uses lower-case hex
3379 letters, fixes ambiguity in parsing.
3381 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
3382 is what this variable will store.
3384 * bcheck.adb: Change reference to chechsum in comments by CRC.
3385 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
3386 rename All_Checksum_Match to All_CRC_Match. Change due to API
3387 renaming since now GNAT does not use a simple checksum but a
3388 CRC using GNAT.CRC32.
3390 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
3391 now and not anymore a simple checksum.
3393 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
3396 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
3399 (Restore_Scan_State): rename Checksum to CRC.
3400 (Save_Scan_State): idem.
3404 (Checksum): rename to CRC.
3405 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
3407 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
3408 GNAT.CRC32). Update copyright notice.
3410 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
3411 GNAT.CRC32). Update copyright notice.
3414 (Accumulate_Checksum): removed.
3415 (Update): new procedure. Add a wide-character into the CRC.
3418 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
3419 (Load_File): fix initialization of S (change Source_Checksum to
3422 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
3423 Source_CRC in S initialization.
3425 * sinput.adb (Source_Checksum): renamed to Source_CRC.
3427 * sinput.ads (Source_Checksum): renamed to Source_CRC.
3428 Update comments for the CRC.
3430 * types.adb (Hex): Use lowercase for the letter part.
3432 * types.ads (Get_Hex_String): Returns the hexadecimal representation
3433 for a word. This is currently used only for CRC. In previous version,
3434 the checksum was using a representation with all letter being
3435 upper-case. With the new implementation (using CRC) we do not remove
3436 the 32th bit of the CRC, so we can have an upper-case starting letter
3437 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
3438 It is ambigous since the CRC was optional and could be followed by
3439 options like EB, EE. So now this routines uses lower-case letter for
3440 the hexadecimal representation. Strange enough only lower case letters
3441 where checked in Scan_ALI (even if this was not a possible case).
3443 * gnatvsn.ads (Library_Version): changed to 3.15a.
3445 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
3448 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
3451 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
3452 Add 2001 to copyright notice
3453 (Accumulate_Checksum): Modify to use System.CRC32.
3455 * ali-util.ads: Redo changes of previous revision to continue to use
3456 the word Checksum. Add 2001 to copyright notice.
3458 * ali.adb: Undo some of previous changes, not needed.
3459 Keep the change for lower case letters in the checksum.
3461 * ali.ads: Undo previous change not needed.
3463 * bcheck.adb: Undo most of previous change, not needed.
3464 But do use Checksums_Match for checksum comparison.
3466 * gnatls.adb: Undo most of previous change, not needed.
3467 But do use Checksums_Match for comparing checksums.
3469 * lib-load.adb: Undo previous change, not needed.
3471 * lib-writ.adb: Undo previous change, not needed.
3473 * lib-writ.ads: Document that checksums use lower case,
3474 not upper case letters.
3476 * scans.adb: Undo previous change, not needed
3478 * scans.ads: Undo previous change, not needed.
3480 * scn-nlit.adb: Undo previous changes, not needed.
3482 * scn-slit.adb: Undo previous change, not needed. Fix header format.
3485 (Accumulate_Checksum): Use System.CRC32.
3486 (Initialize_Checksum): New procedure.
3487 Remove other changes of previous revision.
3489 * sinput-p.adb: Undo previous change, not needed.
3491 * sinput.adb: Undo previous change, not needed.
3493 * sinput-l.adb: Undo previous change, not needed.
3495 * sinput.ads: Undo previous change, not needed. Keep only comment
3496 on new checksum algorithm
3498 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
3499 Also remove a-tags and a-stream from GNAT sources.
3501 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
3503 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
3505 2001-10-11 Geert Bosch <bosch@gnat.com>
3507 * einfo.h: Regenerate.
3509 * nmake.ads: Regenerate.
3511 * nmake.adb: Regenerate.
3513 * sinfo.h: Regenerate.
3515 * treeprs.adb: Regenerate.
3517 2001-10-10 Geert Bosch <bosch@gnat.com>
3519 * gnat-style.texi: New file describing coding guidelines for Ada.
3521 2001-10-10 Ed Schonberg <schonber@gnat.com>
3523 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
3526 2001-10-10 Geert Bosch <bosch@gnat.com>
3528 * snames.ads: Add new names for project facility.
3530 * snames.adb: Update to reflect snames.ads changes.
3532 * snames.h: Update to reflect snames.ads changes.
3534 2001-10-10 Vincent Celier <celier@gnat.com>
3537 (Add_Switches): reflect the changes for the switches attributes
3538 Default_Switches indexed by the programming language,
3539 Switches indexed by the file name.
3540 (Collect_Arguments_And_Compile): Idem.
3541 Reflect the attribute name changes.
3544 (Initialisation_Data): Change the names of some packages and
3546 (Initialize): process case insensitive associative arrays.
3549 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
3552 (Parse_Attribute_Declaration): For case insensitive associative
3553 arrays, set the index string to lower case.
3556 Reflect the changes of the project attributes.
3559 Replace Check_Naming_Scheme by Ada_Check and
3560 Language_Independent_Check.
3563 Replaced Check_Naming_Scheme by 2 procedures:
3564 Ada_Check and Language_Independent_Check.
3567 (Process_Declarative_Items): For case-insensitive associative
3568 arrays, set the index string to lower case.
3569 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
3570 Prj.Nmsc.Check_Naming_Scheme.
3573 (Case_Insensitive): New function
3574 (Set_Case_Insensitive): New procedure
3577 (Case_Insensitive): New function
3578 (Set_Case_Insensitive): New procedure
3579 (Project_Node_Record): New flag Case_Insensitive.
3582 (Value_Of): new function to get the string value of a single
3583 string variable or attribute.
3586 (Value_Of): new function to get the string value of a single
3587 string variable or attribute.
3590 (Ada_Default_Spec_Suffix): New function
3591 (Ada_Default_Impl_Suffix): New function
3592 Change definitions of several constants to reflect
3593 new components of record types.
3596 (Naming_Data): Change several components to reflect new
3597 elements of naming schemes.
3598 (Project_Data): New flags Sources_Present and
3599 Language_Independent_Checked.
3600 (Ada_Default_Spec_Suffix): New function.
3601 (Ada_Default_Impl_Suffix): New function.
3604 Modification of predefined names for project manager: added
3605 Implementation, Specification_Exceptions, Implementation_Exceptions,
3606 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
3607 Default_Switches, _Languages, Builder, Cross_Reference,
3608 Finder. Removed Body_Part, Specification_Append, Body_Append,
3609 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
3612 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
3615 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
3616 not that it is Nil_Variable_Value.
3618 * prj.ads: Add ??? for uncommented declarations
3620 2001-10-10 Ed Schonberg <schonber@gnat.com>
3622 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
3623 constant, do not indicate possible modification, so that gigi can
3624 treat it as a bona fide constant.
3626 2001-10-10 Robert Dewar <dewar@gnat.com>
3628 * sem_prag.adb: Add processing for pragma External.
3630 * snames.ads: Add entry for pragma External.
3632 * par-prag.adb: Add pragma External.
3634 * snames.adb: Updated to match snames.ads.
3636 2001-10-10 Ed Schonberg <schonber@gnat.com>
3638 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
3639 a dynamic task if the allocator appears in an indexed assignment
3640 or selected component assignment.
3642 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
3643 For a dynamic task in an assignment statement, use target of
3644 assignment to generate meaningful name.
3646 2001-10-10 Ed Schonberg <schonber@gnat.com>
3648 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
3651 * einfo.ads: Body_Entity is also defined for generic package.
3652 Documentation change only
3654 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
3655 others_choice for a discriminated component initialization,
3656 convert discriminant references into the corresponding discriminals.
3658 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
3659 only if original type is private and expression has to be wrapped
3663 (Apply_Constraint_Check): Do not perform length check
3664 if expression is an aggregate with only an others_choice.
3665 (Length_N_Cond): two references to the same in_parameter
3666 (typically the discriminal in an init_proc) denote the same value.
3667 Two useful optimization uncovered by bugfixes above.
3669 2001-10-10 Robert Dewar <dewar@gnat.com>
3671 * xeinfo.adb: Change int to char in translation of enumeration types.
3672 This fixes a problem in the C representation of component alignment.
3673 Add 2001 to copyright notice
3675 2001-10-10 Richard Kenner <kenner@gnat.com>
3677 * decl.c: (validate_size): Do check size of object of integral type
3678 if it is a packed array type.
3680 2001-10-10 Richard Kenner <kenner@gnat.com>
3682 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
3683 VAR_DECL for constant if not Is_Public but -O0.
3685 2001-10-10 Richard Kenner <kenner@gnat.com>
3687 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
3689 2001-10-10 Geert Bosch <bosch@gnat.com>
3691 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
3692 use '/' as switch character, allowing for absolute file names.
3694 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
3696 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
3699 2001-10-08 Geert Bosch <bosch@gnat.com>
3701 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
3702 Automatically build utilities when files need to be regenerated.
3704 2001-10-08 Geert Bosch <bosch@gnat.com>
3706 * xsnames.adb: New utility for updating snames.ads and snames.adb
3708 2001-10-08 Zack Weinberg <zack@codesourcery.com>
3710 * Make-lang.in (ADAFLAGS): Add -W -Wall.
3711 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
3712 (gnat1): Also depend on attribs.o.
3713 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
3714 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
3715 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
3716 (ADAFLAGS): Add -W -Wall.
3717 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
3720 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
3721 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
3722 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
3723 Use $(ADAC), not $(CC), as compilation command.
3725 (gnattools): Depend directly on tools to build, don't use
3727 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
3729 * einfo.h, sinfo.h: New files (autogenerated).
3731 2001-10-08 Richard Henderson <rth@redhat.com>
3733 * comperr.adb (Abort_In_Progress): New.
3734 (Compiler_Abort): Use it to prevent recursion.
3736 2001-10-08 Robert Dewar <dewar@gnat.com>
3738 * atree.adb: Set Error_Posted in Error node, helps error recovery.
3740 * par-endh.adb (Output_End_Expected): We should also not test
3741 Error_Posted on the Error node, since now it is always set.
3743 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
3744 to help error recovery. Part of general work on 9407-004.
3746 * par.adb: Add ??? for misuse of error
3749 (Resolve): Defend against Error, fixes 9407-003.
3750 (Resolve_Discrete_Subtype_Indication): Defend against Error.
3752 * sinfo.ads (N_Error): Now has Etype field (which will be set
3753 to Any_Type to help error recovery).
3755 2001-10-08 Richard Kenner (kenner@gnat.com)
3757 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
3758 Consistently set MEM attributes from expression; fixes
3759 bootstrap failure on x86.
3761 2001-10-08 Geert Bosch (bosch@gnat.com)
3763 * 5oosinte.adb: Add 2001 to copyright notice.
3765 2001-10-08 Geert Bosch (bosch@gnat.com)
3767 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
3769 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
3771 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
3773 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
3775 2001-10-05 Geert Bosch (bosch@gnat.com)
3777 * adaint.h: Small formatting fix.
3779 2001-10-04 Geert Bosch <bosch@gnat.com>
3781 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
3782 Arg is int, not FILE *, in dummy version of functions.
3784 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
3785 Arg is int, not FILE *.
3787 2001-10-04 Geert Bosch <bosch@gnat.com>
3789 * 3lsoccon.ads: Added file, missed with initial check ins.
3791 * 4lintnam.ads: Fix header format.
3792 Change Linux to GNU/Linux.
3794 * 5iosinte.adb: Change Linux to GNU/Linux.
3796 * 5iosinte.ads: Change Linux to GNU/Linux.
3798 * 5itaprop.adb: Change Linux to GNU/Linux.
3800 * 5itaspri.ads: Change Linux to GNU/Linux.
3801 Update copyright notice.
3803 * 5lintman.adb: Change Linux to GNU/Linux.
3805 * 5lml-tgt.adb: Change Linux to GNU/Linux.
3807 * 5losinte.ads: Change Linux to GNU/Linux.
3809 * 5lsystem.ads: Change Linux to GNU/Linux.
3811 * 5qosinte.adb: Change Linux to GNU/Linux.
3813 * 5qosinte.ads: Change Linux to GNU/Linux.
3815 * 5qparame.ads: Change Linux to GNU/Linux.
3817 * 5qtaprop.adb: Change Linux to GNU/Linux.
3819 * 5qtaspri.ads: Change Linux to GNU/Linux.
3820 Add 2001 to copyright notice.
3822 * 5vintman.ads: Change Linux to GNU/Linux.
3823 Fix header format. Add 2001 to copyright notice.
3825 * g-soccon.ads: Change Linux to GNU/Linux.
3827 * g-trasym.ads: Change Linux to GNU/Linux.
3828 Add 2001 to copyright notice.
3830 * memtrack.adb: Change Linux to GNU/Linux.
3832 * s-intman.ads: Change Linux to GNU/Linux.
3833 Add 2001 to copyright notice. Fix header format.
3835 * s-stache.adb: Change Linux to GNU/Linux.
3837 * adaint.c: Change Linux to GNU/Linux.
3839 * cio.c: Change Linux to GNU/Linux.
3841 * cstreams.c: Change Linux to GNU/Linux.
3843 * init.c: Change Linux to GNU/Linux.
3845 * gmem.c: Change Linux to GNU/Linux.
3847 * tracebak.c: Change Linux to GNU/Linux.
3850 2001-10-02 Geert Bosch <bosch@gnat.com>
3852 * misc.c (insert_default_attributes): Add dummy version.