1 2003-04-06 Zack Weinberg <zack@codesourcery.com>
3 * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
4 * misc.c (gnat_tree_size): New function.
5 (LANG_HOOKS_TREE_SIZE): Override.
7 2003-04-03 Jason Merrill <jason@redhat.com>
9 * misc.c (gnat_adjust_rli): #if 0.
11 2003-03-31 Geert Bosch <bosch@gnat.com>
14 * link.c : Fix misspelled "const" keyword
16 2003-03-23 Mark Mitchell <mark@codesourcery.com>
19 * utils2.c: Adjust calls to put_var_into_stack.
21 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
23 * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
25 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
27 * misc.c (gnat_init): Update for new prototype.
29 2003-03-05 Olivier Hainque <hainque@gnat.com>
32 * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
33 warning, and fix return type for the IN_RTS && !SJLJ case.
35 2003-03-04 Tom Tromey <tromey@redhat.com>
37 * Make-lang.in (ada.tags): New target.
39 2003-03-04 Olivier Hainque <hainque@act-europe.fr>
42 * a-except.adb (Unwind_RaiseException): Import a GNAT specific
43 wrapper, which name remains constant whatever underlying GCC
46 * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
47 the stable interface needed for a-except.
49 2003-03-02 Andreas Jaeger <aj@suse.de>
51 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
52 gnat_ug_wnt.texi: Regenerate.
54 2003-03-02 Laurent Guerby <guerby@acm.org>
56 * Makefile.in (install-gnatlib): Match previous change there
59 2003-02-28 Andreas Schwab <schwab@suse.de>
61 * Make-lang.in (install-gnatlib): Change to ada directory before
62 running make instead of using ada/Makefile directly.
64 2003-02-18 Ben Elliston <bje@redhat.com>
66 Part of fix for PR ada/9406
67 * gnat_ug.texi (Binder output file): Grammar fix.
69 2003-02-18 Ben Elliston <bje@redhat.com>
72 * 5qtaprop.adb (Sleep): Fix typo in comment.
74 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
76 * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
77 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
78 gnat_ug_wnt.texi: Regenerate.
80 2003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de>
82 * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
83 be created if necessary.
84 (ada.install-common): Let $(DESTDIR)$(bindir) be created
85 if necessary. Remove erroneous and redundant gnatchop
86 installation commands. Test for gnatdll before attempting
88 (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
89 and gnatdll from all plausible locations.
91 2003-02-01 Richard Sandiford <rsandifo@redhat.com>
93 * utils2.c (build_unary_op): Don't check flag_volatile.
94 * gnat_ug.texi: Remove -fvolatile from example.
95 * gnat_ug_vxw.texi: Likewise.
97 2003-01-29 Laurent Guerby <guerby@acm.org>
100 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
101 * Makefile.in: match previous change.
102 * Make-lang.in: match previous change.
104 2003-01-29 Joel Sherrill <joel@OARcorp.com>
106 * 5rosinte.ads: Add SIGXCPU.
107 * 5rtpopsp.adb: New file.
108 * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
109 * Makefile.in: Recognize more RTEMS targets and add the RTEMS
110 specific file 5rtpopsp.adb.
111 * adaint.h: Add include of <stdio.h> when target is RTEMS. This
112 is likely needed for all newlib targets.
113 * init.c: Add RTEMS specific version of __gnat_initialize().
115 2003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
117 * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
119 2003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
121 * init.c (__gnat_error_handler): Make msg const.
123 * gmem.c (convert_addresses): Move declaration ...
124 * adaint.h: ... here.
125 * adaint.c (convert_addresses): Adapt addrs type to match
128 * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
130 2003-01-24 Andreas Schwab <schwab@suse.de>
132 * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
133 size_t to avoid warning.
135 2003-01-21 Zack Weinberg <zack@codesourcery.com>
137 * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
139 2003-01-09 Geoffrey Keating <geoffk@apple.com>
141 * gnat_rm.texi: Remove RCS version number.
143 * ada-tree.h (union lang_tree_node): Add chain_next option.
145 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
147 * Make-lang.in (ada.install-info, ada.install-common,
148 ada.uninstall): Prepend $(DESTDIR) to the destination
149 directory in all (un)installation commands.
150 * Makefile.in (install-gnatlib, install-rts): Ditto.
152 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
154 * gnat_rm.texi, gnat_ug.texi: Use @copying.
155 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
156 gnat_ug_wnt.texi: Regenerate.
158 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
160 * gnat_rm.texi: Include gcc-common.texi. Use GCC version number
162 * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
163 $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
164 $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
165 ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
166 ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
167 $(srcdir)/doc/include/gcc-common.texi.
169 2002-12-15 Geert Bosch <bosch@gnat.com>
171 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
173 2002-12-14 Geert Bosch <bosch@gnat.com>
175 * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
176 case of a body created for a Renaming_As_Body, on which
177 conformance checks are not performed. Fixes PR ada/5690.
179 2002-11-30 Zack Weinberg <zack@codesourcery.com>
181 * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
182 utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
183 not already included.
184 * Make-lang.in: Update dependencies.
186 2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
187 * adaint.c (__gnat_tmp_name): Better, but good enough for now,
188 solution to buffer overflow bug on GNU/Linux.
190 2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
191 Closes PR ada/5856 and PR ada/6919 !
192 * bindgen.adb: Remove all references to Public_Version.
193 * comperr.adb: Remove all references to Public_Version and
194 GNATPRO_Version; correct bug reporting instructions.
195 * comperr.ads: Change to match bug box.
196 * gnatvsn.ads: Remove all references to Public version and
199 2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
201 * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
205 * config-lang.in: Remove diff_excludes.
207 2002-11-05 Graham Stott <graham.stott@btinternet.com>
209 * trans.c (gnu_pending_elaboration_lists): New GC root.
210 (build_unit_elab): Use..
212 2002-10-30 Geert Bosch <bosch@gnat.com>
214 * misc.c : Include optabs.h
216 * Make-lang.in (misc.o): Add dependency on optabs.h
218 2002-10-29 Geert Bosch <bosch@gnat.com>
220 * Make-lang.in (gnatbind): Depend on CONFIG_H
222 2002-10-29 Geert bosch <bosch@gnat.com>
224 * misc.c: Unrevert misc.c (1.13)
226 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
228 * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
229 maintainership comments.
231 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
233 * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
234 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
235 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
236 7staprop.adb: Correct statements in comments about
237 maintainership of GNAT.
240 * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
241 gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
242 osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
243 osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
244 s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
245 s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
246 sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
247 switch-c.ads switch-m.adb switch-m.ads: Correct statements in
248 comments about maintainership of GNAT.
250 PR ada/6919 (forward port of patch for PR ada/5904)
251 * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
252 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
253 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
254 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
255 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
256 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
257 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
258 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
259 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
260 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
261 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
262 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
263 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
264 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
265 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
266 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
267 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
268 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
269 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
270 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
271 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
272 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
273 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
274 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
275 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
276 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
277 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
278 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
279 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
280 a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
281 a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
282 a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
283 a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
284 a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
285 a-except.adb a-except.ads a-excpol.adb a-exctra.adb
286 a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
287 a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
288 a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
289 a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
290 a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
291 a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
292 a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
293 a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
294 a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
295 a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
296 a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
297 a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
298 a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
299 a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
300 a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
301 a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
302 a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
303 a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
304 a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
305 a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
306 a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
307 a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
308 a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
309 a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
310 a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
311 a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
312 a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
313 a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
314 a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
315 a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
316 a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
317 a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
318 a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
319 adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
320 alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
321 back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
322 binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
323 bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
324 ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
325 csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
326 cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
327 debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
328 einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
329 errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
330 exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
331 exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
332 exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
333 exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
334 exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
335 exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
336 exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
337 exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
338 exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
339 exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
340 exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
341 exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
342 exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
343 final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
344 fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
345 freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
346 g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
347 g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
348 gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
349 gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
350 gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
351 gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
352 gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
353 gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
354 i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
355 i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
356 i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
357 i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
358 impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
359 itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
360 lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
361 lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
362 lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
363 lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
364 makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
365 namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
366 nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
367 osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
368 par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
369 par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
370 par-endh.adb par-labl.adb par-load.adb par-prag.adb
371 par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
372 prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
373 prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
374 prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
375 prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
376 prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
377 prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
378 repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
379 rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
380 s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
381 s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
382 s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
383 s-direio.adb s-direio.ads s-except.ads s-exctab.adb
384 s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
385 s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
386 s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
387 s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
388 s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
389 s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
390 s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
391 s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
392 s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
393 s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
394 s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
395 s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
396 s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
397 s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
398 s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
399 s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
400 s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
401 s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
402 s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
403 s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
404 s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
405 s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
406 s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
407 s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
408 s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
409 s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
410 s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
411 s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
412 s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
413 s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
414 s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
415 s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
416 s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
417 s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
418 s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
419 s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
420 s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
421 s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
422 s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
423 s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
424 s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
425 s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
426 s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
427 s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
428 s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
429 s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
430 s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
431 s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
432 s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
433 s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
434 s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
435 s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
436 s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
437 s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
438 s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
439 s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
440 s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
441 s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
442 s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
443 s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
444 s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
445 s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
446 s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
447 s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
448 s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
449 s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
450 s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
451 s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
452 s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
453 s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
454 s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
455 s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
456 s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
457 s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
458 s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
459 s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
460 s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
461 s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
462 scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
463 sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
464 sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
465 sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
466 sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
467 sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
468 sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
469 sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
470 sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
471 sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
472 sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
473 sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
474 sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
475 sem_type.adb sem_type.ads sem_util.adb sem_util.ads
476 sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
477 sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
478 sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
479 sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
480 snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
481 stringt.ads stringt.h style.adb style.ads stylesw.adb
482 stylesw.ads switch.adb switch.ads sysdep.c system.ads
483 table.adb table.ads targparm.adb targparm.ads targtyps.c
484 tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
485 tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
486 treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
487 types.adb types.ads types.h uintp.adb uintp.ads uintp.h
488 uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
489 usage.ads utils.c utils2.c validsw.adb validsw.ads
490 widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
491 xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
492 xtreeprs.adb: Correct statements in comments about maintainership
495 2002-09-23 Zack Weinberg <zack@codesourcery.com>
497 * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
498 * Makefile.in (TOOLS_LIBS): Add ../../version.o.
499 * gnatvsn.ads: Gnat_Version_String is now a function.
500 * gnatvsn.adb: New file. When asked for Gnat_Version_String,
501 copy the C version_string into a String and return it.
502 * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
503 gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
504 Remove pragma Ident (Gnat_Version_String). If this was the
505 sole use of package Gnatvsn, remove the with statement too.
506 * gnat1drv.adb: Tweak -gnatv output.
508 2002-09-17 Richard Henderson <rth@redhat.com>
510 * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
511 * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
512 * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
513 (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
514 * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
515 and real_2expN instead of a loop.
516 * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
517 (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
519 2002-08-25 Andre Leis <a.leis@gmx.net>
520 David Billinghurst (David.Billinghurst@riotinto.com>
522 * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
524 2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
526 * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
527 Remove $(CONFIG_H) dependency.
529 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
531 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
533 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
535 * adadecode.c (ada_demangle): Use xstrdup in lieu of
537 * misc.c (gnat_decode_option): Likewise.
539 2002-07-15 Florian Weimer <fw@deneb.enyo.de>
541 * make.adb (Add_Switch): Make Generic_Position a procedure. The
542 function approach did not work well because of a side effect (the
543 function call could reallocate the table which was being indexed
544 using its result). Fixes ada/4851. [RESURRECTED]
546 2002-07-01 Roger Sayle <roger@eyesopen.com>
548 * ada/utils.c (builtin_function): Accept an additional parameter.
550 2002-06-28 Andreas Jaeger <aj@suse.de>
553 * Makefile.in: Fix typo in comment, patch by Adrian Knoth
556 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
558 * Makefile.in (SHELL): Set to @SHELL@.
560 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
562 * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
563 array size calculation.
565 2002-06-04 Andreas Jaeger <aj@suse.de>
567 * Make-lang.in (gnatbind): Readd rule that has been lost in last
570 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
572 Merge from pch-branch:
574 * config-lang.in (gtfiles): Add ada-tree.h.
575 * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
576 (SET_TYPE_MODULUS): New.
577 (SET_TYPE_INDEX): New.
578 (SET_TYPE_DIGITS_VALUE): New.
579 (SET_TYPE_RM_SIZE): New.
580 (SET_TYPE_UNCONSTRAINED_ARRAY): New.
581 (SET_TYPE_ADA_SIZE): New.
582 (SET_TYPE_ACTUAL_BOUNDS): New.
583 (SET_DECL_CONST_CORRESPONDING_VAR): New.
584 (SET_DECL_ORIGINAL_FIELD): New.
585 (TREE_LOOP_ID): Correct typo.
586 * decl.c: Use new macros.
587 * utils.c: Include debug.h, use new macros.
588 * utils2.c: Use new macros.
590 * ada-tree.h: Update all macros for new tree description.
591 (struct tree_loop_id): New.
592 (union lang_tree_node): New.
593 (struct lang_decl): New.
594 (struct lang_type): New.
595 * misc.c (gnat_mark_tree): Delete.
596 (LANG_HOOKS_MARK_TREE): Delete.
597 * trans.c (tree_transform): No longer any need to cast
600 * utils.c (struct language_function): New dummy structure.
602 * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
604 (utils.o): Likewise; also gtype-ada.h.
605 * Make-lang.in (gnat1): Add dependency on s-gtype.
606 (gnatbind): Add dependency on $(CONFIG_H).
607 * utils.c: Correct last #include.
608 (stuct e_stack): Remove unnecessary 'static'.
609 (mark_e_stack): Remove unused prototype.
611 * scn-nlit.adb: Remove whitespace after version number to
612 keep lines under 80 chars.
613 * snames.adb: Likewise.
614 * treepr.ads: Likewise.
616 * Makefile.in (decl.o): Include gt-ada-<filename>.h.
618 (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
619 * config-lang.in (gtfiles): New.
620 * decl.c: Use gengtype for roots.
621 * gigi.h: Use gengtype for roots.
622 * trans.c: Use gengtype for roots.
623 * utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
625 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
627 * misc.c (gnat_init): Adjust setting of internal_error_function.
629 2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
631 * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
632 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
633 gnat_ug_wnt.texi: Regenerate.
635 2002-05-31 Florian Weimer <fw@deneb.enyo.de>
637 * 5ntaprop.adb (with System.OS_Primitives): Remove.
639 * cstreams.c (max_path_len): Move from here ...
640 * adaint.c (__gnat_max_path_len): ... to here.
641 * adaint.c (__gnat_max_path_len): Declare.
642 * g-dirope.adb (Max_Path): Adjust.
643 * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
644 * i-cstrea.ads (max_path_len): Adjust.
645 * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
646 * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
648 * Makefile.in, Make-lang.in: Documentation is now built in
649 Make-lang.in. Store Info and generated Texinfo files in the
651 * gnat_ug.texi: Remove CVS keywords, correct version number.
652 Set file name correctly.
654 * gnat_ug_*.texi: Add.
655 * .cvsignore: Ignore generated Texinfo files.
657 2002-05-30 Zack Weinberg <zack@codesourcery.com>
659 * ada.h: Add MI guard macro.
660 (SUBTYPE): Define constants with an anonymous enum, not static
662 (IN): Cast constants to appropriate type before use.
664 2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
666 * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
669 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
671 * Make-lang.in (CP, ECHO): Copy from Makefile.in.
672 (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
673 (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
674 (ALL_ADA_CFLAGS): Likewise.
675 (ADA_INCLUDES): Likewise.
676 Adapt for new working dir.
677 (GNATBIND): Use Makefile.in version.
678 (.SUFFIXES): Copy from Makefile.in.
680 (.adb.o, .ads.o): Copy from Makefile.in.
681 Added $(OUTPUT_OPTION).
682 (GNAT1_C_OBJS): Moved from Makefile.in.
683 Prefix with ada subdir.
684 (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
685 (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
686 Adapt for new working dir.
687 (EXTRA_GNATBIND_OBJS): Likewise.
688 (ADA_BACKEND): Moved from Makefile.in.
689 Renamed to avoid conflict with global BACKEND.
691 (TARGET_ADA_SRCS): Moved from Makefile.in.
692 (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
694 (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
695 (ada_extra_files): Moved from Makefile.in.
696 Prefix with ada subdir.
697 (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
698 (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
699 (ada/nmake.ads): Likewise.
700 (update-sources): Moved from Makefile.in.
701 Prefix with ada subdir.
702 (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
703 (ADA_TREE_H): Likewise.
704 (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
705 (ada/memtrack.o): Likewise.
706 (ada/adadecode.o): Likewise.
709 (ada/argv.o): Moved from Makefile.in.
710 Prefix with ada subdir.
712 (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
713 (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
714 (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
715 Prefix with ada subdir.
716 (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
717 (GNAT DEPENDENCIES): Regenerate.
718 * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
719 toplevel Makefile.in.
720 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
721 (TARGET_ADA_SRCS): Removed.
722 (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
723 (GNATBIND_OBJS): Likewise.
724 (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
726 (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
728 (ada_extra_files): Likewise.
729 (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
730 (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
731 (update-sources): Likewise.
732 (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
733 (ADA_TREE_H): Likewise.
734 (adadecoce.o): Likewise.
735 (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
736 (GNAT DEPENDENCIES): Likewise.
738 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
740 * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
741 * Makefile.in: Likewise.
743 2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
745 * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
746 Restore $(CONFIG_H) and prefix.o dependencies.
747 (ada.stage[1-4]): Depend on stage?-start.
749 * Makefile.in (b_gnatb.c): Depend on interfac.o.
751 2002-05-02 Jim Wilson <wilson@redhat.com>
753 * utils.c (finish_record_type): Change record_size to record_type.
755 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
757 * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
758 (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
759 ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
761 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
763 * misc.c (gnat_parse_file): Update.
765 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
767 * misc.c (gnat_init): Don't set lang_attribute_common.
769 2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
771 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
773 2002-04-21 Florian Weimer <fw@deneb.enyo.de>
775 * gnat_ug.texi: New file.
777 * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
780 * xgnatug.adb, ug_words: New files.
782 * Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
783 gnat_rm and gnat-style manuals.
785 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
787 * gigi.h (incomplete_type_error): Remove.
788 * utils.c (incomplete_type_error): Remove.
790 2002-04-16 Mark Mitchell <mark@codesourcery.com>
792 * trans.c (tree_transform): Add has_scope argument to
793 expand_start_stmt_expr.
795 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
797 * gigi.h (truthvalue_conversion): Rename.
798 * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
799 * trans.c (tree_transform): Update.
800 * utils2.c (truthvalue_conversion): Rename, update.
801 (build_binary_op, build_unary_op): Update.
803 2002-04-04 Laurent Guerby <guerby@acm.org>
805 * make.adb: Implement -margs, remove restriction about file name placement.
806 * makeusg.adb: Documentation update.
807 * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
808 * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
810 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
812 * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
813 (builtin_function): Similarly.
815 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
817 * decl.c (gnat_to_gnu_entity): Update.
818 * gigi.h (mark_addressable): Rename.
819 * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
820 * trans.c (tree_transform): Update.
821 * utils.c (create_var_decl): Update.
822 * util2.c (build_binary_op, build_unary_op,
823 fill_vms_descriptor): Update.
824 (mark_addressable): Rename, update.
826 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
828 * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
830 * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
831 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
832 * trans.c (tree_transform, convert_with_check): Update.
833 * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
836 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
838 * gigi.h (finish_incomplete_decl): Rename.
839 * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
840 * utils.c (gnat_init_decl_processing): Don't set hook.
841 (finish_incomplete_decl): Rename.
843 2002-03-29 Andreas Schwab <schwab@suse.de>
845 * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
848 2001-03-28 Robert Dewar <dewar@gnat.com>
851 (Remove_Checks): New procedure
854 (Remove_Checks): New procedure
857 Use new Duplicate_Subexpr functions
858 (Duplicate_Subexpr_No_Checks): New procedure
859 (Duplicate_Subexpr_No_Checks_Orig): New procedure
860 (Duplicate_Subexpr): Restore original form (checks duplicated)
861 (Duplicate_Subexpr): Call Remove_Checks
864 (Duplicate_Subexpr_No_Checks): New procedure
865 (Duplicate_Subexpr_No_Checks_Orig): New procedure
866 Add 2002 to copyright notice
868 * sem_util.adb: Use new Duplicate_Subexpr functions
871 (Eval_Indexed_Component): This is the place to call
872 Constant_Array_Ref and to replace the value. We simply merge
873 the code of this function in here, since it is now no longer
874 used elsewhere. This fixes the problem of the back end not
875 realizing we were clever enough to see that this was
877 (Expr_Val): Remove call to Constant_Array_Ref
878 (Expr_Rep_Val): Remove call to Constant_Array_Ref
880 (Constant_Array_Ref): Deal with string literals (patch
881 suggested by Zack Weinberg on the gcc list)
883 2001-03-28 Ed Schonberg <schonber@gnat.com>
885 * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
886 Duplicate_Subexpr_Move_Checks.
888 * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
889 Duplicate_Subexpr_Move_Checks.
891 * sem_eval.adb: (Constant_Array_Ref): Verify that constant
892 value of array exists before retrieving it (it may a private
893 protected component in a function).
895 2002-03-28 Geert Bosch <bosch@gnat.com>
897 * prj-pp.adb : New file.
899 * prj-pp.ads : New file.
901 2002-03-28 Andreas Jaeger <aj@suse.de>
903 * Makefile.in (stamp-sdefault): Fix path for Makefile.
905 2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
907 * misc.c (gnat_expand_expr): Move prototype.
909 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
911 * misc.c (insert_default_attributes): Remove.
913 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
915 * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
916 (gnat_init): Don't set hook.
917 (gnat_expand_expr): Fix prototype.
919 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
921 * misc.c (ggc_p): Remove.
923 2002-03-27 Geert Bosch <bosch@gnat.com>
925 * prj-makr.ads, prj-makr.adb : New files.
927 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
929 * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
930 (lang_mark_tree): Make static, rename.
932 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
934 * misc.c (maybe_build_cleanup): Remove.
936 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
938 * gigi.h (yyparse): Remove.
940 2002-03-23 Florian Weimer <fw@deneb.enyo.de>
942 * gnat_rm.texi: Sync with ACT version.
943 (From Ben Brosgol <brosgol@gnat.com>)
945 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
947 * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
948 (gnat_init): Remove old hook.
950 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
952 * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
953 (yyparse): Rename gnat_parse_file.
955 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
957 Delete all lines containing "$Revision:".
958 * xeinfo.adb: Don't look for revision numbers.
959 * xnmake.adb: Likewise.
960 * xsinfo.adb: Likewise.
961 * xsnames.adb: Likewise.
962 * xtreeprs.adb: Likewise.
964 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
966 * misc.c (gnat_tree_code_type, gnat_tree_code_length,
967 gnat_tree_code_name): Delete.
968 (tree_code_type, tree_code_length, tree_code_name): Define.
969 (gnat_init): Don't try to copy into the various tree_code
972 2002-03-11 Richard Henderson <rth@redhat.com>
974 * Makefile.in (.NOTPARALLEL): Add fake tag.
976 2002-03-07 Geert Bosch <bosch@gnat.com>
978 * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
979 s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
980 switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
981 switch-m.adb, switch-m.ads : New files.
983 2002-03-07 Geert Bosch <bosch@gnat.com>
985 * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
986 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
987 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
988 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
989 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
990 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
991 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
992 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
993 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
994 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
995 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
996 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
997 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
998 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
999 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
1000 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
1001 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
1002 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
1003 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
1004 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
1005 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
1006 Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
1007 a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
1008 a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
1009 a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
1010 a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
1011 a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
1012 a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
1013 a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
1014 adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
1015 atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
1016 bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
1017 csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
1018 einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
1019 eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
1020 exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
1021 exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
1022 exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
1023 exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
1024 exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
1025 expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
1026 freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
1027 g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
1028 g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
1029 g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
1030 g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
1031 g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
1032 g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
1033 gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
1034 gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
1035 gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
1036 i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
1037 impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
1038 lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
1039 lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
1040 memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
1041 mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
1042 nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
1043 output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
1044 par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
1045 prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
1046 prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
1047 prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
1048 rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
1049 s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
1050 s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
1051 s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
1052 s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
1053 s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
1054 s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
1055 s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
1056 s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
1057 s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
1058 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
1059 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
1060 s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
1061 s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
1062 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
1063 s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
1064 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
1065 sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
1066 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
1067 sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
1068 sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
1069 sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
1070 sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
1071 sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
1072 sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
1073 sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
1074 snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
1075 stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
1076 table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
1077 tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
1078 treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
1079 types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
1080 utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
1081 xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
1083 * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
1084 g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
1085 mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
1086 osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
1088 * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
1089 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
1091 * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
1092 to mdll-fil.ad[bs] and mdll-util.ad[bs]
1094 * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
1095 from mdllfile.ad[bs] and mdlltool.ad[bs]
1097 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1099 * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
1100 lieu of explicit sizeof/sizeof.
1102 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
1104 * misc.c (copy_lang_decl): Remove.
1106 2002-02-27 Zack Weinberg <zack@codesourcery.com>
1108 * misc.c: Delete traditional-mode-related code copied from the
1109 C front end but not used, or used only to permit the compiler
1112 2002-02-07 Richard Henderson <rth@redhat.com>
1114 * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
1115 * adaint.h (__gnat_to_gm_time): Update prototype.
1117 2002-01-30 Richard Henderson <rth@redhat.com>
1119 * trans.c (tree_transform) [N_Loop_Statement]: Use
1120 expand_exit_loop_top_cond.
1122 2001-12-23 Richard Henderson <rth@redhat.com>
1124 * utils.c (end_subprog_body): Push GC context around
1125 rest_of_compilation for nested functions.
1127 2001-12-23 Richard Henderson <rth@redhat.com>
1129 * 5nosinte.ads: Get definition of "int" from Interfaces.C.
1131 2001-12-23 Florian Weimer <fw@deneb.enyo.de>
1133 * gnat-style.texi (Declarations and Types): Remove ancient style
1134 rule which was mandated by code generation issues.
1136 * gnat-style.texi (header): Add @dircategory, @direntry.
1137 (title page): Remove date.
1138 (general) Add @./@: where approriate, and two spaces after the
1139 full stop at the end of a sentence. Use @samp markup when
1140 referring concrete lexical entities (keywords, attribute names
1141 etc.), and @syntax for ARM grammar elements. Use @r for English
1142 text in comments. Use @emph for emphasis. Change "if-statements"
1143 etc. to "if statements" (without @samp). Break long lines. Make
1144 casing of section names consistent.
1145 (Identifiers): Use @samp markup for variable names.
1146 (Comments): Use @samp markup for comment characters. Line-end
1147 comments may follow any Ada code, not just statements. Fix
1148 misspelling of "Integer" as "integer".
1149 (Loop statements): Do not use variable name "I", use "J".
1150 (Subprogram Declarations): Document alignment.
1151 (Subprogram Bodies, Block statements): Document empty line before
1154 2001-12-22 Florian Weimer <fw@deneb.enyo.de>
1156 * make.adb (Add_Switch): Make Generic_Position a procedure. The
1157 function approach did not work well because of a side effect (the
1158 function call could reallocate the table which was being indexed
1159 using its result). Fixes ada/4851.
1161 2001-12-19 Robert Dewar <dewar@gnat.com>
1163 * bindgen.adb: Minor reformatting
1165 * cstand.adb: Minor reformatting
1167 * fmap.adb: Minor reformatting
1168 Change name from Add for Add_To_File_Map (Add is much too generic)
1169 Change Path_Name_Of to Mapped_Path_Name
1170 Change File_Name_Of to Mapped_File_Name
1171 Fix copyright dates in header
1174 Change name from Add for Add_To_File_Map (Add is much too generic)
1175 Change Path_Name_Of to Mapped_Path_Name
1176 Change File_Name_Of to Mapped_File_Name
1177 Fix copyright dates in header
1179 * fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
1180 Add use clause for Fmap.
1182 * make.adb: Minor reformatting
1184 * osint.adb: Minor reformatting. Change of names in Fmap.
1185 Add use clause for Fmap.
1187 * prj-env.adb: Minor reformatting
1189 * prj-env.ads: Minor reformatting
1191 * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
1192 error found (there were odd exceptions to this general rule in
1193 -gnatec/-gnatem processing)
1195 2001-12-19 Olivier Hainque <hainque@gnat.com>
1197 * raise.c (__gnat_eh_personality): Exception handling personality
1198 routine for Ada. Still in rough state, inspired from the C++ version
1199 and still containing a bunch of debugging artifacts.
1200 (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
1201 inspired from the C++ library.
1203 * raise.c (eh_personality): Add comments. Part of work for the GCC 3
1204 exception handling integration.
1206 2001-12-19 Arnaud Charlet <charlet@gnat.com>
1208 * Makefile.in: Remove use of 5smastop.adb which is obsolete.
1209 (HIE_SOURCES): Add s-secsta.ad{s,b}.
1210 (HIE_OBJS): Add s-fat*.o
1211 (RAVEN_SOURCES): Remove files that are no longer required. Add
1212 interrupt handling files.
1213 (RAVEN_MOD): Removed, no longer needed.
1215 2001-12-19 Robert Dewar <dewar@gnat.com>
1217 * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
1218 Add 2001 to copyright date
1220 * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
1221 need to force universal inlining for these cases.
1223 2001-12-19 Arnaud Charlet <charlet@gnat.com>
1225 * s-taprob.adb: Minor clean ups so that this unit can be used in
1228 * exp_ch7.adb: Allow use of secondary stack in HI mode.
1229 Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
1231 2001-12-19 Vincent Celier <celier@gnat.com>
1233 * prj-tree.ads (Project_Node_Record): Add comments for components
1234 Pkg_Id and Case_Insensitive.
1236 2001-12-19 Pascal Obry <obry@gnat.com>
1238 * g-socket.adb: Minor reformatting. Found while reading code.
1240 2001-12-19 Robert Dewar <dewar@gnat.com>
1242 * prj-tree.ads: Minor reformatting
1244 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
1246 * config-lang.in (diff_excludes): Remove.
1248 2001-12-17 Ed Schonberg <schonber@gnat.com>
1250 * sem_res.adb (Resolve_Selected_Component): do not generate a
1251 discriminant check if the selected component is a component of
1252 the argument of an initialization procedure.
1254 * trans.c (tree_transform, case of arithmetic operators): If result
1255 type is private, the gnu_type is the base type of the full view,
1256 given that the full view itself may be a subtype.
1258 2001-12-17 Robert Dewar <dewar@gnat.com>
1260 * sem_res.adb: Minor reformatting
1262 * trans.c (tree_transform, case N_Real_Literal): Add missing third
1263 parameter in call to Machine (unknown horrible effects from this
1266 * urealp.h: Add definition of Round_Even for call to Machine
1267 Add third parameter for Machine
1269 2001-12-17 Ed Schonberg <schonber@gnat.com>
1271 * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
1272 predefined units in No_Run_Time mode.
1274 2001-12-17 Richard Kenner <kenner@gnat.com>
1276 * misc.c (insn-codes.h): Now include.
1278 2001-12-17 Olivier Hainque <hainque@gnat.com>
1280 * a-except.adb: Preparation work for future integration of the GCC 3
1281 exception handling mechanism
1282 (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
1283 to factorize previous code sequences and make them externally callable,
1284 e.g. for the Ada personality routine when the GCC 3 mechanism is used.
1285 (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
1286 Use the new notification routines.
1288 2001-12-17 Emmanuel Briot <briot@gnat.com>
1290 * prj-tree.ads (First_Choice_Of): Document the when others case
1292 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1294 * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
1295 HI-E mode, in order to support Ravenscar profile properly.
1297 * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
1298 mode on 32 bits targets.
1300 2001-12-17 Vincent Celier <celier@gnat.com>
1302 * fmap.adb: Initial version.
1304 * fmap.ads: Initial version.
1306 * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
1307 If search is successfully done, add to mapping.
1309 * frontend.adb: Initialize the mapping if a -gnatem switch was used.
1312 (Gnatmake): Add new local variable Mapping_File_Name.
1313 Create mapping file when using project file(s).
1314 Delete mapping file before exiting.
1316 * opt.ads (Mapping_File_Name): New variable
1318 * osint.adb (Find_File): Use path name found in mapping, if any.
1320 * prj-env.adb (Create_Mapping_File): New procedure
1322 * prj-env.ads (Create_Mapping_File): New procedure.
1324 * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
1327 * usage.adb: Add entry for new switch -gnatem.
1329 * Makefile.in: Add dependencies for fmap.o.
1331 2001-12-17 Ed Schonberg <schonber@gnat.com>
1333 * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
1334 is a package instantiation rewritten as a package body.
1335 (Install_Withed_Unit): Undo previous change, now redundant.
1337 2001-12-17 Gary Dismukes <dismukes@gnat.com>
1340 (Compute_Length): Move conversion to Unsigned to callers.
1341 (Get_Max_Size): Convert Len expression to Unsigned after calls to
1342 Compute_Length and Determine_Range.
1343 (Layout_Array_Type): Convert Len expression to Unsigned after calls to
1344 Compute_Length and Determine_Range.
1345 Above changes fix problem with length computation for supernull arrays
1346 where Max (Len, 0) wasn't getting applied due to the Unsigned
1347 conversion used by Compute_Length.
1349 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1352 (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
1353 System.Secondary_Stack.
1354 (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
1356 Remove unused entity RE_Exception_Data.
1358 * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
1360 * rident.ads (No_Secondary_Stack): New restriction.
1362 2001-12-17 Joel Brobecker <brobecke@gnat.com>
1364 * gnat_rm.texi: Fix minor typos. Found while reading the section
1365 regarding "Bit_Order Clauses" that was sent to a customer.
1366 Very interesting documentation!
1368 2001-12-17 Robert Dewar <dewar@gnat.com>
1370 * sem_case.adb (Choice_Image): Avoid creating improper character
1371 literal names by using the routine Set_Character_Literal_Name. This
1372 fixes bombs in certain error message cases.
1374 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1376 * a-reatim.adb: Minor reformatting.
1378 2001-12-17 Ed Schonberg <schonber@gnat.com>
1380 * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
1381 case where the formal is an extension of another formal in the current
1382 unit or in a parent generic unit.
1384 2001-12-17 Arnaud Charlet <charlet@gnat.com>
1386 * s-tposen.adb: Update comments. Minor reformatting.
1387 Minor code clean up.
1389 * s-tarest.adb: Update comments. Minor code reorganization.
1391 2001-12-17 Gary Dismukes <dismukes@gnat.com>
1393 * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
1396 2001-12-17 Robert Dewar <dewar@gnat.com>
1398 * exp_attr.adb: Minor reformatting
1400 2001-12-17 Ed Schonberg <schonber@gnat.com>
1402 * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
1403 derivations nested within a child unit: verify that the parent
1404 type is declared in an outer scope.
1406 2001-12-17 Robert Dewar <dewar@gnat.com>
1408 * sem_ch12.adb: Minor reformatting
1410 2001-12-17 Ed Schonberg <schonber@gnat.com>
1412 * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
1413 warning if current unit is a predefined one, from which bodies may
1416 2001-12-17 Robert Dewar <dewar@gnat.com>
1418 * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
1419 Fix header format. Add 2001 to copyright date.
1421 * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
1422 which caused CE during compilation if checks were enabled.
1424 2001-12-17 Vincent Celier <celier@gnat.com>
1427 (Switches_Of): New function
1428 (Test_If_Relative_Path): New procedure
1429 (Add_Switches): Use new function Switches_Of
1430 (Collect_Arguments_And_Compile): Use new function Switches_Of.
1431 When using a project file, test if there are any relative
1432 search path. Fail if there are any.
1433 (Gnatmake): Only add switches for the primary directory when not using
1434 a project file. When using a project file, change directory to the
1435 object directory of the main project file. When using a project file,
1436 test if there are any relative search path. Fail if there are any.
1437 When using a project file, fail if specified executable is relative
1438 path with directory information, and prepend executable, if not
1439 specified as an absolute path, with the exec directory. Make sure
1440 that only one -o switch is transmitted to the linker.
1442 * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
1445 (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
1446 when using a non standard naming scheme.
1447 (Check_Ada_Naming_Scheme): Make sure that error messages
1448 do not raise exceptions.
1449 (Is_Illegal_Append): Return True if there is no dot in the suffix.
1450 (Language_Independent_Check): Check the exec directory.
1452 * prj.adb (Project_Empty): Add new component Exec_Directory
1455 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
1456 (Project_Data): Add component Exec_Directory
1458 * snames.adb: Updated to match snames.ads revision 1.215
1460 * snames.ads: Added Exec_Dir
1462 2001-12-17 Robert Dewar <dewar@gnat.com>
1464 * make.adb: Minor reformatting
1466 * prj-nmsc.adb: Minor reformatting
1468 * snames.adb: Updated to match snames.ads
1470 * snames.ads: Alphebetize entries for project file
1472 2001-12-17 Ed Schonberg <schonber@gnat.com>
1474 * trans.c (process_freeze_entity): Do nothing if the entity is a
1475 subprogram that was already elaborated.
1477 2001-12-17 Richard Kenner <kenner@gnat.com>
1479 * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
1480 and Esize if object is referenced via pointer.
1482 2001-12-17 Ed Schonberg <schonber@gnat.com>
1484 * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
1485 is discrete before analyzing choices.
1487 2001-12-17 Joel Brobecker <brobecke@gnat.com>
1489 * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
1490 containing the name of the Ada Main Program. This string is mainly
1491 intended for the debugger.
1492 (Gen_Output_File_C): Do the equivalent change when generating a C file.
1494 2001-12-17 Robert Dewar <dewar@gnat.com>
1496 * ali.adb: Set new Dummy_Entry field in dependency entry
1498 * ali.ads: Add Dummy_Entry field to source dependency table
1500 * bcheck.adb (Check_Consistency): Ignore dummy D lines
1502 * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
1504 * lib-writ.ads: Document dummy D lines for missing files.
1506 * types.ads: (Dummy_Time_Stamp): New value for non-existant files
1508 2001-12-17 Robert Dewar <dewar@gnat.com>
1510 * ali.adb: Type reference does not reset current file.
1512 * ali.adb: Recognize and scan renaming reference
1514 * ali.ads: Add spec for storing renaming references.
1516 * lib-xref.ads: Add documentation for handling of renaming references
1518 * lib-xref.adb: Implement output of renaming reference.
1521 (Determine_Range): Document local variables
1522 (Determine_Range): Make sure Hbound is initialized. It looks as though
1523 there could be a real problem here with an uninitialized reference
1524 to Hbound, but no actual example of failure has been found.
1526 2001-12-17 Laurent Pautet <pautet@gnat.com>
1529 Fix comment of Shutdown_Socket and Close_Socket. These functions
1530 should not fail silently because if they are called twice, this
1531 probably means that there is a race condition in the user program.
1532 Anyway, this behaviour is consistent with the rest of this unit.
1533 When an error occurs, an exception is raised with the error message
1534 as exception message.
1536 2001-12-17 Robert Dewar <dewar@gnat.com>
1538 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
1539 that it happens before modification of Sloc values for -gnatD.
1541 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
1542 so that it happens before modification of Sloc values for -gnatD.
1544 * switch.adb: Minor reformatting
1546 2001-12-15 Richard Henderson <rth@redhat.com>
1548 * sem_ch7.adb: Wrap comment.
1550 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
1552 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
1553 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
1554 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
1555 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
1556 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
1557 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
1558 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
1559 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
1560 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
1561 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
1562 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
1563 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
1564 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
1565 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
1566 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
1567 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
1568 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
1569 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
1570 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
1571 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
1572 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
1573 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
1574 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
1575 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
1578 2001-12-14 Vincent Celier <celier@gnat.com>
1580 * osint.adb(Create_Debug_File): When an object file is specified,
1581 put the .dg file in the same directory as the object file.
1583 2001-12-14 Robert Dewar <dewar@gnat.com>
1585 * osint.adb: Minor reformatting
1587 * lib-xref.adb (Output_Instantiation): New procedure to generate
1588 instantiation references.
1590 * lib-xref.ads: Add documentation of handling of generic references.
1592 * ali.adb (Read_Instantiation_Ref): New procedure to read
1593 instantiation references
1595 * ali.ads: Add spec for storing instantiation references
1597 * bindusg.adb: Minor reformatting
1599 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1601 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1603 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1605 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
1609 Add 2001 to copyright date
1610 Add entry for Latin-5 (Cyrillic ISO-8859-5)
1612 2001-12-14 Matt Gingell <gingell@gnat.com>
1614 * adaint.c: mktemp is a macro on Lynx and can not be used as an
1617 2001-12-14 Richard Kenner <kenner@gnat.com>
1619 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
1620 if operand is CONSTRUCTOR.
1622 2001-12-14 Ed Schonberg <schonber@gnat.com>
1624 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
1625 before emiting check on right-hand side, so that exception information
1628 2001-12-14 Richard Kenner <kenner@gnat.com>
1630 * utils.c (create_var_decl): Throw away initializing expression
1631 if just annotating types and non-constant.
1633 2001-12-14 Vincent Celier <celier@gnat.com>
1635 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
1638 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
1640 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
1642 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
1644 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
1646 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
1648 * ChangeLog: Remove piece of diff output.
1650 2001-12-14 Geert Bosch <bosch@gnat.com>
1652 * config-lang.in: Update copyright notice
1654 * layout.adb: Remove commented out code.
1656 * mdllfile.ads: Update copyright notice. Fix header format.
1658 * sem_case.ads: Likewise.
1660 * sem_ch3.adb: Minor reformatting.
1662 2001-12-12 Geert Bosch <bosch@gnat.com>
1664 * freeze.ads: Update copyright date.
1666 * g-comlin.ads: Minor reformatting.
1668 * gnat-style.texi: Fix typo.
1670 2001-12-12 Geert Bosch <bosch@gnat.com>
1672 * einfo.h: Regenerate.
1674 2001-12-12 Ed Schonberg <schonber@gnat.com>
1676 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
1677 on known node types, rather than untyped fields. Further cleanups.
1679 2001-12-12 Robert Dewar <dewar@gnat.com>
1682 (Save_Entity_Descendant): Minor comment update.
1683 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
1684 of an N_Attribute_Reference node. As per note below, this does not
1685 eliminate need for Associated_Node in attribute ref nodes.
1686 (Associated_Node): Documentation explicitly mentions attribute
1687 reference nodes, since this field is used in such nodes.
1689 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
1691 2001-12-12 Robert Dewar <dewar@gnat.com>
1693 * s-stalib.adb: Add more comments on with statements being needed
1695 * par-ch12.adb: Minor reformatting
1697 * prj-dect.ads: Fix copyright header
1699 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
1700 inputs fit in 32 bits, but the result still overflows.
1702 * s-fatgen.ads: Minor comment improvement
1704 2001-12-12 Ed Schonberg <schonber@gnat.com>
1706 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
1707 formal derived type, look for an inherited component from the full
1708 view of the parent, if any.
1710 2001-12-12 Robert Dewar <dewar@gnat.com>
1712 * checks.ads (Apply_Alignment_Check): New procedure.
1714 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
1715 ensure that the alignment of objects with address clauses is
1716 appropriate, and raise PE if not.
1718 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
1719 Exp_Pakd.Known_Aligned_Enough
1721 * mdllfile.ads: Minor reformatting
1723 * mlib-fil.ads: Minor reformatting
1725 2001-12-12 Ed Schonberg <schonber@gnat.com>
1727 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
1728 fix to any component reference if enclosing record has non-standard
1731 2001-12-12 Vincent Celier <celier@gnat.com>
1733 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
1736 2001-12-12 Ed Schonberg <schonber@gnat.com>
1738 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
1741 2001-12-12 Robert Dewar <dewar@gnat.com>
1743 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
1745 2001-12-12 Emmanuel Briot <briot@gnat.com>
1747 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
1748 and it adds dependencies to system.io.
1750 2001-12-12 Pascal Obry <obry@gnat.com>
1752 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
1755 2001-12-11 Ed Schonberg <schonber@gnat.com>
1757 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
1758 that is the parent of other generics, the instance body replaces the
1759 instance node. Retrieve the instance of the spec, which is the one
1760 that is visible in clients and within the body.
1762 2001-12-11 Vincent Celier <celier@gnat.com>
1764 * gnatmain.adb: Initial version.
1766 * gnatmain.ads: Initial version.
1768 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
1770 * snames.adb: Updated to match snames.ads.
1772 * snames.ads: Added Gnatstub.
1774 2001-12-11 Vincent Celier <celier@gnat.com>
1776 * prj-attr.adb (Initialization_Data): Change name from
1777 Initialisation_Data.
1779 2001-12-11 Emmanuel Briot <briot@gnat.com>
1781 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
1782 + and * applied to backslashed expressions like \r.
1784 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
1786 * g-os_lib.ads: String_List type added, Argument_List type is now
1787 subtype of String_List.
1789 2001-12-11 Robert Dewar <dewar@gnat.com>
1791 * g-os_lib.ads: Change copyright to FSF
1792 Add comments for String_List type
1794 2001-12-11 Vincent Celier <celier@gnat.com>
1796 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
1797 string to the buffer).
1799 2001-12-11 Ed Schonberg <schonber@gnat.com>
1801 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
1804 * sem_attr.adb: Simplify previous fix for Address.
1805 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
1806 to avoid anomalies where the bound of the type appears to raise
1809 2001-12-11 Robert Dewar <dewar@gnat.com>
1811 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
1814 2001-12-11 Ed Schonberg <schonber@gnat.com>
1816 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
1817 renamed unit before checking for recursive instantiations.
1819 2001-12-11 Emmanuel Briot <briot@gnat.com>
1821 * prj.ads: Add comments for some of the fields.
1823 2001-12-11 Robert Dewar <dewar@gnat.com>
1825 * lib-xref.adb (Output_Refs): Don't output type references outside
1826 the main unit if they are not otherwise referenced.
1828 2001-12-11 Ed Schonberg <schonber@gnat.com>
1830 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
1831 code and diagnose additional illegal uses
1833 * sem_util.adb (Is_Object_Reference): An indexed component is an
1834 object only if the prefix is.
1836 2001-12-11 Vincent Celier <celier@gnat.com>
1838 * g-diopit.adb: Initial version.
1840 * g-diopit.ads: Initial version.
1843 (Expand_Path): Avoid use of Unbounded_String
1844 (Find, Wildcard_Iterator): Moved to child package Iteration
1846 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
1848 2001-12-11 Robert Dewar <dewar@gnat.com>
1850 * sem_attr.adb: Minor reformatting
1852 2001-12-11 Ed Schonberg <schonber@gnat.com>
1854 * sem_ch3.adb: Clarify some ???.
1856 2001-12-11 Robert Dewar <dewar@gnat.com>
1858 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
1859 Exp_Pakd.Known_Aligned_Enough
1861 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
1862 version is moved to Exp_Ch13.
1864 2001-12-11 Robert Dewar <dewar@gnat.com>
1866 * einfo.ads: Minor reformatting
1868 * exp_ch5.adb: Add comment for previous.change
1870 * ali.adb: New interface for extended typeref stuff.
1872 * ali.ads: New interface for typeref stuff.
1874 * checks.adb (Apply_Alignment_Check): New procedure.
1876 * debug.adb: Add -gnatdM for modified ALI output
1878 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
1880 * lib-xref.adb: Extend generation of <..> notation to cover
1881 subtype/object types. Note that this is a complete rewrite,
1882 getting rid of the very nasty quadratic algorithm previously
1883 used for derived type output.
1885 * lib-xref.ads: Extend description of <..> notation to cover
1886 subtype/object types. Uses {..} for these other cases.
1887 Also use (..) for pointer types.
1889 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
1891 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
1892 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
1894 2001-12-11 Vincent Celier <celier@gnat.com>
1897 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
1898 Changed /BIND_ONLY to /ACTIONS=BIND
1899 Changed /LINK_ONLY to /ACTIONS=LINK
1901 2001-12-11 Ed Schonberg <schonber@gnat.com>
1903 * sem_ch8.adb (Find_Selected_Component): improved search for a
1904 candidate package in case of error.
1906 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
1907 chain back on scope stack before reinstalling use clauses.
1909 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
1910 is enabled, do not kill the code for the condition, to preserve
1913 2001-12-11 Robert Dewar <dewar@gnat.com>
1915 * checks.adb (Insert_Valid_Check): Apply validity check to expression
1916 of conversion, not to result of conversion.
1918 2001-12-11 Ed Schonberg <schonber@gnat.com>
1920 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
1921 before freezing parent. If the declarations are mutually recursive,
1922 an access to the current record type may be frozen before the
1923 derivation is complete.
1925 2001-12-05 Vincent Celier <celier@gnat.com>
1927 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
1928 -c /COMPILE_ONLY, -l /LINK_ONLY
1931 (Bind_Only): New Flag
1932 (Link_Only): New flag
1934 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
1937 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
1940 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
1941 (Gnatmake): Set the step flags. Only perform a step if the
1942 corresponding step flag is True.
1943 (Scan_Make_Arg): Reset the bind and link step flags when -u
1944 or -gnatc has been specified.
1946 2001-12-05 Ed Schonberg <schonber@gnat.com>
1948 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
1949 get bounds from right operand.
1951 * sem_eval.adb: Minor reformatting
1953 * exp_util.adb (Make_Literal_Range): use bound of literal rather
1954 than Index'First, its lower bound may be different from 1.
1956 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
1959 2001-12-05 Vincent Celier <celier@gnat.com>
1961 * prj-nmsc.adb Minor reformatting
1963 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
1964 set and libraries are not supported.
1966 2001-12-05 Ed Schonberg <schonber@gnat.com>
1968 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
1969 private view explicitly, so the back-end can treat as a global
1972 2001-12-05 Ed Schonberg <schonber@gnat.com>
1974 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
1975 unit, always replace instance node with new body, for ASIS use.
1977 2001-12-05 Vincent Celier <celier@gnat.com>
1979 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
1980 libraries are not supported and both attributes Library_Name and
1981 Library_Dir are specified.
1983 * prj-proc.adb (Expression): Set location of Result to location of
1986 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
1987 (prj-nmsc is now importing MLib.Tgt)
1989 * prj-proc.adb: Put the change indicated above that was forgotten.
1991 2001-12-05 Robert Dewar <dewar@gnat.com>
1993 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
1995 2001-12-05 Ed Schonberg <schonber@gnat.com>
1997 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
1998 constraint, introduce explicit subtype declaration and derive from it.
2000 * sem_ch3.adb: Minor reformatting
2002 2001-12-05 Robert Dewar <dewar@gnat.com>
2004 * checks.adb (Determine_Range): Increase cache size for checks.
2007 * exp_ch6.adb: Minor reformatting
2008 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
2009 a parameter whose root type is System.Address, since treating such
2010 subprograms as pure in the code generator is almost surely a mistake
2011 that will lead to unexpected results.
2013 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
2014 change handling of conversions.
2016 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
2018 2001-12-05 Ed Schonberg <schonber@gnat.com>
2020 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
2021 aggregate with static wrong size, attach generated Raise node to
2024 2001-12-05 Robert Dewar <dewar@gnat.com>
2026 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
2027 Fixes compilation abandoned bomb in B24009B.
2029 2001-12-05 Ed Schonberg <schonber@gnat.com>
2032 Document use of Associated_Node on Selected_Components.
2033 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
2034 to clarify use of untyped descendant fields.
2036 2001-12-05 Robert Dewar <dewar@gnat.com>
2038 * prj-dect.ads: Add ??? comment
2039 Add 2001 to copyright notice (was not done in after all)
2041 * prj-part.adb: Minor reformatting. Reword one awkward error message.
2043 * prj.ads: Minor reformatting throughout, and add some ??? comments
2045 * snames.ads: Minor reformatting
2047 2001-12-05 Geert Bosch <bosch@gnat.com>
2049 * snames.adb: Autoupdate
2051 2001-12-05 Vincent Celier <celier@gnat.com>
2053 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
2055 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
2057 * prj-env.adb: Minor comment changes (modifying -> extends).
2059 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
2061 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
2064 * prj.adb (Initialize): Change Modifying to Extends.
2066 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
2068 * prj.ads: Minor comment change (Modifying -> extending).
2070 * snames.ads: Change modifying to extends.
2072 2001-12-05 Robert Dewar <dewar@gnat.com>
2074 * sem_warn.adb: Remove stuff for conditionals, we are not going to
2077 * sem_warn.ads: Remove stuff for conditionals, we are not going to
2078 do this after all. Add 2001 to copyright notice
2080 2001-12-04 Geert Bosch <bosch@gnat.com>
2082 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
2084 2001-12-04 Robert Dewar <dewar@gnat.com>
2086 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
2087 location if we already have errors. Stops some cases of cascaded
2090 * errout.adb: Improve comment.
2092 2001-12-04 Robert Dewar <dewar@gnat.com>
2095 (Analyze_Formal_Type_Definition): Defend against Error.
2096 (Analyze_Formal_Subprogram): Defend against Error.
2098 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
2099 remove following semicolon if present. Removes cascaded error.
2101 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
2104 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
2105 exceptions equals 0.
2106 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
2107 Fixes PIWG E tests (which have to be run with -gnatL).
2109 2001-12-04 Robert Dewar <dewar@gnat.com>
2111 * einfo.ads: Minor reformatting
2113 2001-12-04 Ed Schonberg <schonber@gnat.com>
2115 * einfo.ads: Block_Node points to the identifier of the block, not to
2116 the block node itself, to preserve the link when the block is
2117 rewritten, e.g. within an if-statement with a static condition.
2119 * inline.adb (Cleanup_Scopes): recover block statement from block
2120 entity using new meaning of Block_Node.
2122 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
2123 identifier of block node, rather than to node itself.
2125 2001-12-04 Gary Dismukes <dismukes@gnat.com>
2128 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
2129 (Discrimify): Go back to setting the Etypes of the selected component
2130 because the Vname component does not exist at this point and will
2131 fail name resolution. Also set Analyzed.
2132 Remove with and use of Sem_Res.
2134 2001-12-04 Arnaud Charlet <charlet@gnat.com>
2136 * Makefile.in: (HIE_SOURCES): add s-fat*.
2138 2001-12-04 Robert Dewar <dewar@gnat.com>
2141 (Compile_Time_Known_Attribute): New procedure.
2142 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
2145 2001-12-04 Ed Schonberg <schonber@gnat.com>
2147 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
2148 processing discriminants to diagnose illegal default values.
2150 2001-12-04 Ed Schonberg <schonber@gnat.com>
2152 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
2153 access discriminant within a type extension that constrains its
2154 parent discriminants.
2156 2001-12-04 Ed Schonberg <schonber@gnat.com>
2158 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
2159 is malformed, use instance of Any_Id to allow analysis to proceed.
2161 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
2162 type definition is illegal.
2163 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
2166 2001-12-04 Ed Schonberg <schonber@gnat.com>
2168 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
2171 2001-12-04 Robert Dewar <dewar@gnat.com>
2173 * errout.adb: Minor reformatting
2175 2001-12-04 Robert Dewar <dewar@gnat.com>
2177 * exp_util.adb: Minor reformatting from last change
2179 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
2180 which is a rewriting of an expression, traverse the original
2181 expression to remove warnings that may have been posted on it.
2183 2001-12-04 Ed Schonberg <schonber@gnat.com>
2185 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
2186 record that has other packed components.
2188 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
2190 * adaint.c: Minor cleanups.
2192 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
2194 * adaint.c: Do not use utime.h on vxworks.
2196 2001-12-04 Arnaud Charlet <charlet@gnat.com>
2198 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
2199 more confusion than it solves.
2201 2001-12-04 Geert bosch <bosch@gnat.com>
2203 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
2205 2001-12-04 Geert Bosch <bosch@gnat.com>
2207 * Makefile.in (update-sources): New target.
2208 For use by gcc_release script.
2210 2001-12-04 Ed Schonberg <schonber@gnat.com>
2212 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
2213 a configuration pragma, it is now legal wherever a pragma can appear.
2215 2001-12-04 Zack Weinberg <zack@codesourcery.com>
2217 * Makefile.in: Don't set ALL. Delete @cross_defines@,
2218 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
2219 is now @CROSS@ -DIN_GCC; update comment.
2221 2001-12-04 Robert Dewar <dewar@gnat.com>
2223 * einfo.adb (Has_Pragma_Pure_Function): New flag.
2224 Fix problem that stopped ceinfo from working
2226 * einfo.ads (Has_Pragma_Pure_Function): New flag.
2228 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
2230 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
2233 (File_Time_Stamp): New procedure.
2234 (Preserve_Mode): New boolean.
2235 (Write_Unit): Pass time stamp.
2236 Implement -p switch (preserve time stamps).
2238 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
2240 * gnatchop.adb: Do usage info for -p switch
2242 * adaint.h (__gnat_set_file_time_name): New function
2244 * adaint.c (__gnat_set_file_time_name): Implement
2246 * adaint.h: Fix typo
2248 2001-12-03 Robert Dewar <dewar@gnat.com>
2250 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
2251 have Associated_Node.
2253 2001-12-03 Robert Dewar <dewar@gnat.com>
2255 * prj-proc.adb: Minor reformatting
2257 * make.adb: Minor reformatting
2259 2001-12-03 Geert Bosch <bosch@gnat.com>
2261 * make.adb: Minor reformatting.
2263 2001-12-03 Robert Dewar <dewar@gnat.com>
2265 * sem_ch12.adb: Minor reformatting
2267 2001-12-03 Ed Schonberg <schonber@gnat.com>
2269 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
2270 push Standard on the stack before analyzing the instance body,
2271 in order to have a clean visibility environment.
2273 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
2275 2001-12-03 Ed Schonberg <schonber@gnat.com>
2277 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
2278 instantiation of a body that contains an inlined body.
2280 2001-12-03 Ed Schonberg <schonber@gnat.com>
2283 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
2284 to prevent freezing within formal packages.
2285 (Freeze_Subprogram_Body): If body comes from another instance that
2286 appeared before its own body, place freeze node at end of current
2287 declarative part, to prevent a back-end crash.
2288 (Inline_Instance_Body): Handle properly a package instance within
2289 a subprogram instance that is a child unit.
2291 2001-12-01 Graham Stott <grahams@redhat.com>
2293 * Makefile.in (misc.o): Add missing $(srcdir) prefix
2294 and add optabs.h dependency.
2296 * misc.c: Include optabs.h
2297 (gnat_tree_code_type): Make static and const.
2298 (gnat_tree_code_length): Likewise.
2299 (gnat_tree_code_name): Likewise.
2300 (update_setjmp_buf): Obtain operands mode from insn_data.
2302 2001-11-29 Richard Henderson <rth@redhat.com>
2304 * init.c: Remove obsolete dwarf2 frame.h section.
2306 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
2308 * Make-lang.in (ada.generated-manpages): New dummy target.
2310 2001-11-29 Ed Schonberg <schonber@gnat.com>
2312 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
2313 into Command, an array conversion is illegal here. Uncovered by
2316 2001/11/28 Geert Bosch <bosch@gnat.com>
2318 * init.c: Minor whitespace changes.
2320 2001-11-28 Doug Rupp <rupp@gnat.com>
2322 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
2325 2001-11-28 Zack Weinberg <zack@codesourcery.com>
2327 * misc.c (gnat_expand_constant): Move declaration above
2328 definition of lang_hooks.
2329 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
2330 (gnat_init): lang_expand_constant no longer exists.
2332 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
2333 always have vprintf.
2334 (gnat_init): Always call set_internal_error_function.
2336 2001-11-27 Andreas Jaeger <aj@suse.de>
2338 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
2340 2001-11-27 Laurent Guerby <guerby@acm.org>
2342 * Makefile.in: Regenerate Ada dependencies.
2344 2001-11-26 Richard Henderson <rth@redhat.com>
2346 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
2347 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
2348 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
2350 2001-11-25 Laurent Guerby <guerby@acm.org>
2352 * sysdep.c (rts_get_*): Fix style.
2354 2001-11-19 Laurent Guerby <guerby@acm.org>
2356 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
2357 since it is of no apparent use and cause warnings.
2359 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
2361 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
2363 (gnat_init): Don't return NULL.
2364 (finish_parse): Remove.
2366 2001-11-17 Laurent Guerby <guerby@acm.org>
2368 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
2369 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
2370 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
2371 * lang-spec.h: Add missing struct field to silence warnings.
2372 * sysdep.c (rts_get_*): Provide K&R prototype.
2373 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
2374 * traceback.c (Unlock_Task, Lock_Task): Likewise.
2375 * tracebak.c (__gnat_backtrace): Remove unused variable.
2376 * utils.c (end_subprog_body): Move to K&R style.
2378 Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2380 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
2382 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
2384 * misc.c (gnat_init): Change prototype. Include the
2385 functionality of the old init_parse and init_decl_processing.
2386 (gnat_init_decl_processing): New prototype.
2387 (init_parse): Remove.
2388 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
2390 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
2392 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
2393 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
2394 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
2395 set_yydebug): Remove.
2397 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
2399 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
2400 (struct lang_hooks): Constify.
2401 (language_string, lang_identify): Remove.
2402 * utils.c (init_decl_processing): Update.
2404 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2406 * misc.c: Include langhooks-def.h.
2407 * Makefile.in: Update.
2409 2001-10-30 Robert Dewar <dewar@gnat.com>
2412 (Check_Identifier): Rewrite circuit to be compatible with use of letters
2413 in the upper half of ASCII.
2414 (Check_Identifier): Minor reformatting
2416 2001-10-30 Geert Bosch <bosch@gnat.com>
2418 * (Associated_Node, Set_Associated_Node): Do not check for
2421 2001-10-30 Robert Dewar <dewar@gnat.com>
2423 * a-reatim.ads: Minor reformatting
2425 2001-10-30 Robert Dewar <dewar@gnat.com>
2427 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
2428 undocumented declarations.
2430 2001-10-30 Pascal Obry <obry@gnat.com>
2432 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
2433 to the binder and linker.
2436 * mdll.ads: Fix layout. Update copyright notice.
2438 * mdll.adb: Fix layout. Update copyright notice.
2440 2001-10-30 Robert Dewar <dewar@gnat.com>
2442 * usage.adb: Minor fix to output for -gnaty.
2444 2001-10-30 Ed Schonberg <schonber@gnat.com>
2446 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
2447 to accommodate all its possible values.
2449 * a-reatim.adb (Split): Special-case handling of Time_Span_First
2450 and of small absolute values of T.
2452 2001-10-30 Richard Kenner <kenner@gnat.com>
2454 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
2455 set_mem_attributes since not needed and wrong if RESULT if a REG;
2456 fixes ACATS failures.
2458 2001-10-30 Geert Bosch <bosch@gnat.com>
2460 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
2461 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
2463 2001-10-30 Robert Dewar <dewar@gnat.com>
2465 * bindusg.adb: Undocument -f switch.
2467 * gnatcmd.adb: Remove /FULL_ELABORATION.
2469 * opt.ads (Force_RM_Elaboration_Order): Document that this is
2472 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
2474 * gnatbind.adb: Minor update of warning msg.
2476 2001-10-30 Vincent Celier <celier@gnat.com>
2478 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
2479 for project file switches (-P (/PROJECT_FILE=),
2480 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
2483 2001-10-30 Geert Bosch <bosch@gnat.com>
2485 * decl.c: Minor whitespace fixes.
2487 2001-10-30 Richard Kenner <kenner@gnat.com>
2489 * utils2.c (build_allocator): Test for SIZE overflow in array case too
2491 2001-10-30 Geert Bosch <bosch@gnat.com>
2493 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
2494 Found due to GCC 3.0 warning of using uninitialized value.
2497 (Get_Max_Size): Use variant record for tracking value/expression.
2498 Makes logic clearer and prevents warnings for uninitialized variables.
2499 (Layout_Array_Type): Use variant record for tracking value/expression.
2500 Makes logic clearer and prevents warnings for uninitialized variables.
2502 2001-10-30 Robert Dewar <dewar@gnat.com>
2504 * lib.adb: Minor reformatting
2506 * s-taprop.ads: Minor reformatting
2508 2001-10-29 Laurent Guerby <guerby@acm.org>
2511 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
2513 (_gnat_error_handler): Make MSG const.
2515 2001-10-29 Richard Kenner <kenner@gnat.com>
2517 * sysdep.c: Fix localtime_r problem on LynxOS.
2518 Also remove #elif to avoid warnings.
2520 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
2523 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
2525 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
2527 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
2528 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
2529 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
2530 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
2531 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
2532 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
2533 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
2534 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
2535 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
2536 types.ads, urealp.adb: Fix spelling errors.
2538 2001-10-27 Laurent Guerby <guerby@acm.org>
2540 * trans.c (gigi): Fix non determinism leading to bootstrap
2541 comparison failures for debugging information.
2543 2001-10-26 Florian Weimer <fw@deneb.enyo.de>
2545 * gnat_rm.texi: Use @./@: where appropriate.
2547 2001-10-26 Robert Dewar <dewar@gnat.com>
2549 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
2551 2001-10-26 Richard Kenner <kenner@gnat.com>
2553 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
2555 2001-10-26 Richard Kenner <kenner@gnat.com>
2557 * decl.c (validate_size): Modify message for bad size to avoid
2558 implication that compiler is modifying the size.
2560 2001-10-26 Robert Dewar <dewar@gnat.com>
2562 * prj-util.adb: Minor reformatting. Fix bad header format.
2564 2001-10-26 Robert Dewar <dewar@gnat.com>
2566 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
2568 * sinfo.ads: Clarify use of Associated_Node (documentation only).
2570 * sem_ch12.adb: Change Node4 to Associated_Node. Change
2571 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
2572 much more narrowly in places where needed. These are cleanups.
2574 2001-10-26 Joel Brobecker <brobecke@gnat.com>
2576 * 5zosinte.ads (null_pthread): new constant.
2579 (Initialize_TCB): Initialize thread ID to null, to be able to verify
2580 later that this field has been set.
2581 (Finalize_TCB): ditto.
2582 (Suspend_Task): Verify that the thread ID is not null before using it.
2583 (Resume_Task): ditto.
2586 (Resume_All_Tasks): Lock the tasks list before using it.
2587 (Suspend_All_Tasks): ditto.
2589 2001-10-26 Richard Kenner <kenner@gnat.com>
2591 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
2592 Make constant variant of designated type for Is_Access_Constant.
2593 Call update_pointer_to with main variant.
2595 * trans.c (process_freeze_entity, process_type):
2596 Call update_pointer_to on main variant.
2598 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
2599 If main variant, update all other variants.
2601 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
2604 2001-10-26 Robert Dewar <dewar@gnat.com>
2606 * prj-util.adb: Minor reformatting
2608 2001-10-26 Robert Dewar <dewar@gnat.com>
2610 * prj-util.adb: Minor reformatting
2612 2001-10-26 Robert Dewar <dewar@gnat.com>
2614 * prj-attr.adb: Minor reformatting throughout
2616 2001-10-26 Robert Dewar <dewar@gnat.com>
2618 * prj-attr.ads: Minor reformatting
2619 Add ??? comment (this whole spec has almost no comments)
2621 2001-10-26 Vincent Celier <celier@gnat.com>
2623 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
2624 ("//") that precede the drive letter on Interix.
2626 2001-10-26 Geert Bosch <bosch@gnat.com>
2628 * gnat_rm.texi: Add GNAT Reference Manual.
2630 2001-10-25 Robert Dewar <dewar@gnat.com>
2632 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
2633 is Error. Similar change for other renaming cases.
2635 2001-10-25 Robert Dewar <dewar@gnat.com>
2637 * s-atacco.ads: Add pragma Inline_Always for functions.
2638 Fix header format. Add copyright 2001
2640 2001-10-25 Ed Schonberg <schonber@gnat.com>
2642 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
2643 return Error rather than Empty so that analysis can proceed.
2645 2001-10-25 Ed Schonberg <schonber@gnat.com>
2647 * sem_util.adb (Enter_Name): better handling of cascaded error
2648 messages when a unit appears in its own context.
2650 2001-10-25 Ed Schonberg <schonber@gnat.com>
2652 * sem_util.adb (Defining_Entity): in case of error, attach created
2653 entity to specification, so that semantic analysis can proceed.
2655 2001-10-25 Robert Dewar <dewar@gnat.com>
2658 (Defining_Entity): Deal with Error.
2659 (Process_End_Label): Deal with bad end label for.
2661 2001-10-25 Ed Schonberg <schonber@gnat.com>
2663 * sem_elab.adb (Check_A_Call): refine message when call is in an
2664 instance but callee is not declared in the generic unit.
2666 2001-10-25 Ed Schonberg <schonber@gnat.com>
2668 * sem_elab.adb (Check_A_Call): check for renaming before finding the
2669 enclosing unit, which may already be different from the calling unit.
2671 2001-10-25 Geert Bosch <bosch@gnat.com>
2673 * 4gintnam.ads: fix header format.
2675 2001-10-25 Ed Schonberg <schonber@gnat.com>
2677 * sem_res.adb (Resolve_Call): if the call is actually an indexing
2678 operation on the result of a parameterless call, perform elaboration
2679 check after the node has been properly rewritten.
2681 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
2682 inlined within the generic tree, the defining identifier is not a
2685 2001-10-25 Ed Schonberg <schonber@gnat.com>
2687 * sem_res.adb (Resolve): special-case resolution of Null in an
2688 instance or an inlined body to avoid view conflicts.
2690 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
2691 compatibility by retrieving the access type of the generic copy.
2693 2001-10-25 Robert Dewar <dewar@gnat.com>
2696 (Analyze_Number_Declaration): Handle error expression.
2697 (Signed_Integer_Type_Declaration): Handle error bound.
2698 (Analyze_Subtype_Indication): Handle error range.
2700 * sem_util.adb (Get_Index_Bounds): Check for Error.
2702 2001-10-25 Robert Dewar <dewar@gnat.com>
2704 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
2705 in no run time mode.
2707 2001-10-25 Pascal Obry <obry@gnat.com>
2709 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
2710 mode case for ALLOC case.
2712 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
2713 all platforms. Improvement of last change.
2715 2001-10-25 Robert Dewar <dewar@gnat.com>
2717 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
2719 2001-10-25 Geert Bosch <bosch@gnat.com>
2721 * osint.adb (Is_Relative): Remove duplicate.
2723 2001-10-25 Pascal Obry <obry@gnat.com>
2725 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
2726 pathnames in UNIX and DOS style with drive letter.
2727 (Is_Relative): new routine.
2729 * osint.adb: Minor reformatting
2731 * osint.adb (Is_Relative): implementation using
2732 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
2734 2001-10-25 Pascal Obry <obry@gnat.com>
2736 * g-dirope.adb (Basename): correctly compute offset between the
2737 original Path and the translated one.
2739 * g-dirope.adb: (Base_Name): add some comments.
2741 2001-10-25 Robert Dewar <dewar@gnat.com>
2743 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
2744 in HIE mode, avoids compilation abandoned message
2746 * exp_imgv.adb: Correct typo in previous change
2748 * exp_imgv.adb: Correct typo in previous change (not my day!)
2750 2001-10-25 Robert Dewar <dewar@gnat.com>
2752 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
2754 2001-10-25 Pascal Obry <obry@gnat.com>
2756 * g-awk.ads: Move all pragma inlines next to the routine
2757 declarations. This is more uniform with other GNAT spec.
2759 2001-10-22 Geert Bosch <bosch@gnat.com>
2761 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
2763 2001-10-19 Geert Bosch <bosch@gnat.com>
2765 * Makefile.in (tools, gnattools): Remove gnatmem.
2767 2001-10-17 Richard Henderson <rth@redhat.com>
2769 * Makefile.in (misc.o): Depend on langhooks.h.
2770 * misc.c: Include it.
2771 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
2772 (LANG_HOOKS_DECODE_OPTION): New.
2773 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
2775 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
2777 * trans.c (tree_transform): Adjust to recent change in
2778 expand_asm_operands to implement named asm operands.
2780 2001-10-11 Ed Schonberg <schonber@gnat.com>
2782 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
2783 renaming of discriminant for mutable record type.
2785 2001-10-11 Robert Dewar <dewar@gnat.com>
2787 * validsw.adb: Properly save -gnatVn status.
2789 2001-10-11 Robert Dewar <dewar@gnat.com>
2791 * usage.adb: Add lines for V switch.
2793 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
2794 (/VALIDITY_CHECKING).
2796 2001-10-11 Ed Schonberg <schonber@gnat.com>
2798 * sem_type.adb (Add_One_Interp): an operator for a type declared in
2799 an extension of System is known to be visible.
2801 2001-10-11 Ed Schonberg <schonber@gnat.com>
2803 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
2804 properly. Fixes regression on ACATS C34005G.
2806 2001-10-11 Robert Dewar <dewar@gnat.com>
2808 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
2809 loop in generic instance, since this is likely not very useful.
2811 2001-10-11 Robert Dewar <dewar@gnat.com>
2813 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
2814 the error message for high integrity mode.
2816 * rtsfind.adb (RTE): Give message if we try to find an entity that
2817 is not available in high integrity mode.
2820 (OK_To_Use_In_HIE_Mode): New array.
2821 (RTE): May return Empty in high integrity mode.
2823 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
2824 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
2826 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
2827 unit if not inlined always and in no runtime mode. Fixes problem
2828 caused by new Rtsfind changes.
2830 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
2833 * rtsfind.adb (RTE): Make sure we do not try to load unit after
2834 giving message for entity not available in high integrity mode.
2836 2001-10-11 Pascal Obry <obry@gnat.com>
2838 * impunit.adb: Add GNAT.CRC32.
2840 2001-10-11 Ed Schonberg <schonber@gnat.com>
2842 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
2843 properly the case where one universal operand in a non-static
2844 exponentiation of a real literal.
2846 2001-10-11 Ed Schonberg <schonber@gnat.com>
2848 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
2849 clause, return the gobal finalization list, for lack of anthing else.
2851 2001-10-11 Ed Schonberg <schonber@gnat.com>
2853 * exp_ch7.adb (Make_Transient_Block): if statement is within
2854 exception handler, always use new transient scope to place Clean
2857 2001-10-11 Pascal Obry <obry@gnat.com>
2860 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
2861 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
2862 (GNATLS_RTL_OBJS): add g-crc32.o
2863 (GNATMAKE_RTL_OBJS): add g-crc32.o
2866 (CRC_Match): new function.
2867 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
2868 instead of the previous simple checksum algorithm.
2869 (Time_Stamp_Mismatch): use CRC_Match for comparison.
2870 (Set_Source_Table): idem.
2873 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
2874 instead of simple checksum.
2875 (CRC_Match): new function.
2876 (CRC_Error): new constant.
2878 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
2879 a CRC now and not a simple checksum. A CRC uses lower-case hex
2880 letters, fixes ambiguity in parsing.
2882 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
2883 is what this variable will store.
2885 * bcheck.adb: Change reference to chechsum in comments by CRC.
2886 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
2887 rename All_Checksum_Match to All_CRC_Match. Change due to API
2888 renaming since now GNAT does not use a simple checksum but a
2889 CRC using GNAT.CRC32.
2891 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
2892 now and not anymore a simple checksum.
2894 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
2897 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
2900 (Restore_Scan_State): rename Checksum to CRC.
2901 (Save_Scan_State): idem.
2905 (Checksum): rename to CRC.
2906 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
2908 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
2909 GNAT.CRC32). Update copyright notice.
2911 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
2912 GNAT.CRC32). Update copyright notice.
2915 (Accumulate_Checksum): removed.
2916 (Update): new procedure. Add a wide-character into the CRC.
2919 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
2920 (Load_File): fix initialization of S (change Source_Checksum to
2923 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
2924 Source_CRC in S initialization.
2926 * sinput.adb (Source_Checksum): renamed to Source_CRC.
2928 * sinput.ads (Source_Checksum): renamed to Source_CRC.
2929 Update comments for the CRC.
2931 * types.adb (Hex): Use lowercase for the letter part.
2933 * types.ads (Get_Hex_String): Returns the hexadecimal representation
2934 for a word. This is currently used only for CRC. In previous version,
2935 the checksum was using a representation with all letter being
2936 upper-case. With the new implementation (using CRC) we do not remove
2937 the 32th bit of the CRC, so we can have an upper-case starting letter
2938 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
2939 It is ambigous since the CRC was optional and could be followed by
2940 options like EB, EE. So now this routines uses lower-case letter for
2941 the hexadecimal representation. Strange enough only lower case letters
2942 where checked in Scan_ALI (even if this was not a possible case).
2944 * gnatvsn.ads (Library_Version): changed to 3.15a.
2946 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
2949 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
2952 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
2953 Add 2001 to copyright notice
2954 (Accumulate_Checksum): Modify to use System.CRC32.
2956 * ali-util.ads: Redo changes of previous revision to continue to use
2957 the word Checksum. Add 2001 to copyright notice.
2959 * ali.adb: Undo some of previous changes, not needed.
2960 Keep the change for lower case letters in the checksum.
2962 * ali.ads: Undo previous change not needed.
2964 * bcheck.adb: Undo most of previous change, not needed.
2965 But do use Checksums_Match for checksum comparison.
2967 * gnatls.adb: Undo most of previous change, not needed.
2968 But do use Checksums_Match for comparing checksums.
2970 * lib-load.adb: Undo previous change, not needed.
2972 * lib-writ.adb: Undo previous change, not needed.
2974 * lib-writ.ads: Document that checksums use lower case,
2975 not upper case letters.
2977 * scans.adb: Undo previous change, not needed
2979 * scans.ads: Undo previous change, not needed.
2981 * scn-nlit.adb: Undo previous changes, not needed.
2983 * scn-slit.adb: Undo previous change, not needed. Fix header format.
2986 (Accumulate_Checksum): Use System.CRC32.
2987 (Initialize_Checksum): New procedure.
2988 Remove other changes of previous revision.
2990 * sinput-p.adb: Undo previous change, not needed.
2992 * sinput.adb: Undo previous change, not needed.
2994 * sinput-l.adb: Undo previous change, not needed.
2996 * sinput.ads: Undo previous change, not needed. Keep only comment
2997 on new checksum algorithm
2999 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
3000 Also remove a-tags and a-stream from GNAT sources.
3002 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
3004 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
3006 2001-10-11 Geert Bosch <bosch@gnat.com>
3008 * einfo.h: Regenerate.
3010 * nmake.ads: Regenerate.
3012 * nmake.adb: Regenerate.
3014 * sinfo.h: Regenerate.
3016 * treeprs.adb: Regenerate.
3018 2001-10-10 Geert Bosch <bosch@gnat.com>
3020 * gnat-style.texi: New file describing coding guidelines for Ada.
3022 2001-10-10 Ed Schonberg <schonber@gnat.com>
3024 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
3027 2001-10-10 Geert Bosch <bosch@gnat.com>
3029 * snames.ads: Add new names for project facility.
3031 * snames.adb: Update to reflect snames.ads changes.
3033 * snames.h: Update to reflect snames.ads changes.
3035 2001-10-10 Vincent Celier <celier@gnat.com>
3038 (Add_Switches): reflect the changes for the switches attributes
3039 Default_Switches indexed by the programming language,
3040 Switches indexed by the file name.
3041 (Collect_Arguments_And_Compile): Idem.
3042 Reflect the attribute name changes.
3045 (Initialisation_Data): Change the names of some packages and
3047 (Initialize): process case insensitive associative arrays.
3050 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
3053 (Parse_Attribute_Declaration): For case insensitive associative
3054 arrays, set the index string to lower case.
3057 Reflect the changes of the project attributes.
3060 Replace Check_Naming_Scheme by Ada_Check and
3061 Language_Independent_Check.
3064 Replaced Check_Naming_Scheme by 2 procedures:
3065 Ada_Check and Language_Independent_Check.
3068 (Process_Declarative_Items): For case-insensitive associative
3069 arrays, set the index string to lower case.
3070 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
3071 Prj.Nmsc.Check_Naming_Scheme.
3074 (Case_Insensitive): New function
3075 (Set_Case_Insensitive): New procedure
3078 (Case_Insensitive): New function
3079 (Set_Case_Insensitive): New procedure
3080 (Project_Node_Record): New flag Case_Insensitive.
3083 (Value_Of): new function to get the string value of a single
3084 string variable or attribute.
3087 (Value_Of): new function to get the string value of a single
3088 string variable or attribute.
3091 (Ada_Default_Spec_Suffix): New function
3092 (Ada_Default_Impl_Suffix): New function
3093 Change definitions of several constants to reflect
3094 new components of record types.
3097 (Naming_Data): Change several components to reflect new
3098 elements of naming schemes.
3099 (Project_Data): New flags Sources_Present and
3100 Language_Independent_Checked.
3101 (Ada_Default_Spec_Suffix): New function.
3102 (Ada_Default_Impl_Suffix): New function.
3105 Modification of predefined names for project manager: added
3106 Implementation, Specification_Exceptions, Implementation_Exceptions,
3107 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
3108 Default_Switches, _Languages, Builder, Cross_Reference,
3109 Finder. Removed Body_Part, Specification_Append, Body_Append,
3110 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
3113 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
3116 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
3117 not that it is Nil_Variable_Value.
3119 * prj.ads: Add ??? for uncommented declarations
3121 2001-10-10 Ed Schonberg <schonber@gnat.com>
3123 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
3124 constant, do not indicate possible modification, so that gigi can
3125 treat it as a bona fide constant.
3127 2001-10-10 Robert Dewar <dewar@gnat.com>
3129 * sem_prag.adb: Add processing for pragma External.
3131 * snames.ads: Add entry for pragma External.
3133 * par-prag.adb: Add pragma External.
3135 * snames.adb: Updated to match snames.ads.
3137 2001-10-10 Ed Schonberg <schonber@gnat.com>
3139 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
3140 a dynamic task if the allocator appears in an indexed assignment
3141 or selected component assignment.
3143 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
3144 For a dynamic task in an assignment statement, use target of
3145 assignment to generate meaningful name.
3147 2001-10-10 Ed Schonberg <schonber@gnat.com>
3149 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
3152 * einfo.ads: Body_Entity is also defined for generic package.
3153 Documentation change only
3155 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
3156 others_choice for a discriminated component initialization,
3157 convert discriminant references into the corresponding discriminals.
3159 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
3160 only if original type is private and expression has to be wrapped
3164 (Apply_Constraint_Check): Do not perform length check
3165 if expression is an aggregate with only an others_choice.
3166 (Length_N_Cond): two references to the same in_parameter
3167 (typically the discriminal in an init_proc) denote the same value.
3168 Two useful optimization uncovered by bugfixes above.
3170 2001-10-10 Robert Dewar <dewar@gnat.com>
3172 * xeinfo.adb: Change int to char in translation of enumeration types.
3173 This fixes a problem in the C representation of component alignment.
3174 Add 2001 to copyright notice
3176 2001-10-10 Richard Kenner <kenner@gnat.com>
3178 * decl.c: (validate_size): Do check size of object of integral type
3179 if it is a packed array type.
3181 2001-10-10 Richard Kenner <kenner@gnat.com>
3183 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
3184 VAR_DECL for constant if not Is_Public but -O0.
3186 2001-10-10 Richard Kenner <kenner@gnat.com>
3188 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
3190 2001-10-10 Geert Bosch <bosch@gnat.com>
3192 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
3193 use '/' as switch character, allowing for absolute file names.
3195 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
3197 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
3200 2001-10-08 Geert Bosch <bosch@gnat.com>
3202 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
3203 Automatically build utilities when files need to be regenerated.
3205 2001-10-08 Geert Bosch <bosch@gnat.com>
3207 * xsnames.adb: New utility for updating snames.ads and snames.adb
3209 2001-10-08 Zack Weinberg <zack@codesourcery.com>
3211 * Make-lang.in (ADAFLAGS): Add -W -Wall.
3212 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
3213 (gnat1): Also depend on attribs.o.
3214 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
3215 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
3216 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
3217 (ADAFLAGS): Add -W -Wall.
3218 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
3221 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
3222 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
3223 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
3224 Use $(ADAC), not $(CC), as compilation command.
3226 (gnattools): Depend directly on tools to build, don't use
3228 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
3230 * einfo.h, sinfo.h: New files (autogenerated).
3232 2001-10-08 Richard Henderson <rth@redhat.com>
3234 * comperr.adb (Abort_In_Progress): New.
3235 (Compiler_Abort): Use it to prevent recursion.
3237 2001-10-08 Robert Dewar <dewar@gnat.com>
3239 * atree.adb: Set Error_Posted in Error node, helps error recovery.
3241 * par-endh.adb (Output_End_Expected): We should also not test
3242 Error_Posted on the Error node, since now it is always set.
3244 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
3245 to help error recovery. Part of general work on 9407-004.
3247 * par.adb: Add ??? for misuse of error
3250 (Resolve): Defend against Error, fixes 9407-003.
3251 (Resolve_Discrete_Subtype_Indication): Defend against Error.
3253 * sinfo.ads (N_Error): Now has Etype field (which will be set
3254 to Any_Type to help error recovery).
3256 2001-10-08 Richard Kenner (kenner@gnat.com)
3258 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
3259 Consistently set MEM attributes from expression; fixes
3260 bootstrap failure on x86.
3262 2001-10-08 Geert Bosch (bosch@gnat.com)
3264 * 5oosinte.adb: Add 2001 to copyright notice.
3266 2001-10-08 Geert Bosch (bosch@gnat.com)
3268 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
3270 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
3272 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
3274 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
3276 2001-10-05 Geert Bosch (bosch@gnat.com)
3278 * adaint.h: Small formatting fix.
3280 2001-10-04 Geert Bosch <bosch@gnat.com>
3282 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
3283 Arg is int, not FILE *, in dummy version of functions.
3285 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
3286 Arg is int, not FILE *.
3288 2001-10-04 Geert Bosch <bosch@gnat.com>
3290 * 3lsoccon.ads: Added file, missed with initial check ins.
3292 * 4lintnam.ads: Fix header format.
3293 Change Linux to GNU/Linux.
3295 * 5iosinte.adb: Change Linux to GNU/Linux.
3297 * 5iosinte.ads: Change Linux to GNU/Linux.
3299 * 5itaprop.adb: Change Linux to GNU/Linux.
3301 * 5itaspri.ads: Change Linux to GNU/Linux.
3302 Update copyright notice.
3304 * 5lintman.adb: Change Linux to GNU/Linux.
3306 * 5lml-tgt.adb: Change Linux to GNU/Linux.
3308 * 5losinte.ads: Change Linux to GNU/Linux.
3310 * 5lsystem.ads: Change Linux to GNU/Linux.
3312 * 5qosinte.adb: Change Linux to GNU/Linux.
3314 * 5qosinte.ads: Change Linux to GNU/Linux.
3316 * 5qparame.ads: Change Linux to GNU/Linux.
3318 * 5qtaprop.adb: Change Linux to GNU/Linux.
3320 * 5qtaspri.ads: Change Linux to GNU/Linux.
3321 Add 2001 to copyright notice.
3323 * 5vintman.ads: Change Linux to GNU/Linux.
3324 Fix header format. Add 2001 to copyright notice.
3326 * g-soccon.ads: Change Linux to GNU/Linux.
3328 * g-trasym.ads: Change Linux to GNU/Linux.
3329 Add 2001 to copyright notice.
3331 * memtrack.adb: Change Linux to GNU/Linux.
3333 * s-intman.ads: Change Linux to GNU/Linux.
3334 Add 2001 to copyright notice. Fix header format.
3336 * s-stache.adb: Change Linux to GNU/Linux.
3338 * adaint.c: Change Linux to GNU/Linux.
3340 * cio.c: Change Linux to GNU/Linux.
3342 * cstreams.c: Change Linux to GNU/Linux.
3344 * init.c: Change Linux to GNU/Linux.
3346 * gmem.c: Change Linux to GNU/Linux.
3348 * tracebak.c: Change Linux to GNU/Linux.
3351 2001-10-02 Geert Bosch <bosch@gnat.com>
3353 * misc.c (insert_default_attributes): Add dummy version.