]>
Commit | Line | Data |
---|---|---|
c9d892a8 NB |
1 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
2 | ||
3 | * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
4 | (gnat_init): Don't set hook. | |
5 | (gnat_expand_expr): Fix prototype. | |
6 | ||
31c816cf NB |
7 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
8 | ||
9 | * misc.c (ggc_p): Remove. | |
10 | ||
ef83161c GB |
11 | 2002-03-27 Geert Bosch <bosch@gnat.com> |
12 | ||
13 | * prj-makr.ads, prj-makr.adb : New files. | |
14 | ||
4f0ade92 NB |
15 | 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk> |
16 | ||
17 | * misc.c (LANG_HOOKS_MARK_TREE): Redefine. | |
18 | (lang_mark_tree): Make static, rename. | |
19 | ||
c88770e9 NB |
20 | 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk> |
21 | ||
22 | * misc.c (maybe_build_cleanup): Remove. | |
23 | ||
05671968 NB |
24 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
25 | ||
26 | * gigi.h (yyparse): Remove. | |
27 | ||
ad42149c FW |
28 | 2002-03-23 Florian Weimer <fw@deneb.enyo.de> |
29 | ||
30 | * gnat_rm.texi: Sync with ACT version. | |
31 | (From Ben Brosgol <brosgol@gnat.com>) | |
32 | ||
7afff7cf NB |
33 | 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk> |
34 | ||
35 | * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine. | |
36 | (gnat_init): Remove old hook. | |
37 | ||
52dabb6c NB |
38 | 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk> |
39 | ||
40 | * misc.c (LANG_HOOKS_PARSE_FILE): Redefine. | |
41 | (yyparse): Rename gnat_parse_file. | |
42 | ||
6cbcc541 GK |
43 | 2002-03-14 Geoffrey Keating <geoffk@redhat.com> |
44 | ||
45 | Delete all lines containing "$Revision:". | |
46 | * xeinfo.adb: Don't look for revision numbers. | |
47 | * xnmake.adb: Likewise. | |
48 | * xsinfo.adb: Likewise. | |
49 | * xsnames.adb: Likewise. | |
50 | * xtreeprs.adb: Likewise. | |
51 | ||
2f9834e8 KG |
52 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
53 | ||
54 | * misc.c (gnat_tree_code_type, gnat_tree_code_length, | |
55 | gnat_tree_code_name): Delete. | |
56 | (tree_code_type, tree_code_length, tree_code_name): Define. | |
57 | (gnat_init): Don't try to copy into the various tree_code | |
58 | arrays. | |
59 | ||
63adb4ff RH |
60 | 2002-03-11 Richard Henderson <rth@redhat.com> |
61 | ||
62 | * Makefile.in (.NOTPARALLEL): Add fake tag. | |
63 | ||
43ff4547 GB |
64 | 2002-03-07 Geert Bosch <bosch@gnat.com> |
65 | ||
66 | * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads, | |
67 | s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads, | |
68 | switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads, | |
69 | switch-m.adb, switch-m.ads : New files. | |
70 | ||
07fc65c4 GB |
71 | 2002-03-07 Geert Bosch <bosch@gnat.com> |
72 | ||
73 | * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads, | |
74 | 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads, | |
75 | 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads, | |
76 | 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads, | |
77 | 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb, | |
78 | 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads, | |
79 | 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, | |
80 | 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, | |
81 | 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb, | |
82 | 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb, | |
83 | 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads, | |
84 | 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb, | |
85 | 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads, | |
86 | 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb, | |
87 | 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb, | |
88 | 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, | |
89 | 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, | |
90 | 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb, | |
91 | 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb, | |
92 | 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb, | |
93 | 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb, | |
94 | Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads, | |
95 | a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb, | |
96 | a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads, | |
97 | a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb, | |
98 | a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb, | |
99 | a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb, | |
100 | a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb, | |
101 | a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h, | |
102 | adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb, | |
103 | atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb, | |
104 | bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb, | |
105 | csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c, | |
106 | einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads, | |
107 | eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb, | |
108 | exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, | |
109 | exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads, | |
110 | exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads, | |
111 | exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb, | |
112 | exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads, | |
113 | expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb, | |
114 | freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb, | |
115 | g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads, | |
116 | g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb, | |
117 | g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb, | |
118 | g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb, | |
119 | g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb, | |
120 | g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c, | |
121 | gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb, | |
122 | gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads, | |
123 | gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb, | |
124 | i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads, | |
125 | impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb, | |
126 | lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb, | |
127 | lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb, | |
128 | memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads, | |
129 | mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb, | |
130 | nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads, | |
131 | output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb, | |
132 | par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb, | |
133 | prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb, | |
134 | prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb, | |
135 | prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads, | |
136 | rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb, | |
137 | s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads, | |
138 | s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb, | |
139 | s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb, | |
140 | s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb, | |
141 | s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb, | |
142 | s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb, | |
143 | s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads, | |
144 | s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads, | |
145 | s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb, | |
146 | s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads, | |
147 | s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads, | |
148 | s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb, | |
149 | s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, | |
150 | s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads, | |
151 | s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb, | |
152 | sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb, | |
153 | sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, | |
154 | sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads, | |
155 | sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb, | |
156 | sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb, | |
157 | sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb, | |
158 | sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb, | |
159 | sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb, | |
160 | sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb, | |
161 | sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads, | |
162 | snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads, | |
163 | stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads, | |
164 | table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb, | |
165 | tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb, | |
166 | treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads, | |
167 | types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb, | |
168 | utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb, | |
169 | xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes. | |
170 | ||
171 | * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads, | |
172 | g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads, | |
173 | mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads, | |
174 | osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files | |
175 | ||
176 | * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb, | |
177 | 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed | |
178 | ||
179 | * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed | |
180 | to mdll-fil.ad[bs] and mdll-util.ad[bs] | |
181 | ||
182 | * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed | |
183 | from mdllfile.ad[bs] and mdlltool.ad[bs] | |
184 | ||
ca7558fc KG |
185 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
186 | ||
187 | * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in | |
188 | lieu of explicit sizeof/sizeof. | |
189 | ||
63e1b1c4 NB |
190 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
191 | ||
192 | * misc.c (copy_lang_decl): Remove. | |
193 | ||
f458d1d5 ZW |
194 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
195 | ||
196 | * misc.c: Delete traditional-mode-related code copied from the | |
197 | C front end but not used, or used only to permit the compiler | |
198 | to link. | |
199 | ||
21e09952 RH |
200 | 2002-02-07 Richard Henderson <rth@redhat.com> |
201 | ||
202 | * adaint.c (__gnat_to_gm_time): First arg is int, not time_t. | |
203 | * adaint.h (__gnat_to_gm_time): Update prototype. | |
204 | ||
ead39bdf | 205 | 2002-01-30 Richard Henderson <rth@redhat.com> |
e803a64b RH |
206 | |
207 | * trans.c (tree_transform) [N_Loop_Statement]: Use | |
208 | expand_exit_loop_top_cond. | |
209 | ||
72ac12bf RH |
210 | 2001-12-23 Richard Henderson <rth@redhat.com> |
211 | ||
212 | * utils.c (end_subprog_body): Push GC context around | |
213 | rest_of_compilation for nested functions. | |
214 | ||
14aacce7 RH |
215 | 2001-12-23 Richard Henderson <rth@redhat.com> |
216 | ||
217 | * 5nosinte.ads: Get definition of "int" from Interfaces.C. | |
218 | ||
b3d45d87 FW |
219 | 2001-12-23 Florian Weimer <fw@deneb.enyo.de> |
220 | ||
ece2d1b8 FW |
221 | * gnat-style.texi (Declarations and Types): Remove ancient style |
222 | rule which was mandated by code generation issues. | |
223 | ||
b3d45d87 FW |
224 | * gnat-style.texi (header): Add @dircategory, @direntry. |
225 | (title page): Remove date. | |
226 | (general) Add @./@: where approriate, and two spaces after the | |
227 | full stop at the end of a sentence. Use @samp markup when | |
228 | referring concrete lexical entities (keywords, attribute names | |
229 | etc.), and @syntax for ARM grammar elements. Use @r for English | |
230 | text in comments. Use @emph for emphasis. Change "if-statements" | |
231 | etc. to "if statements" (without @samp). Break long lines. Make | |
232 | casing of section names consistent. | |
233 | (Identifiers): Use @samp markup for variable names. | |
234 | (Comments): Use @samp markup for comment characters. Line-end | |
235 | comments may follow any Ada code, not just statements. Fix | |
236 | misspelling of "Integer" as "integer". | |
237 | (Loop statements): Do not use variable name "I", use "J". | |
238 | (Subprogram Declarations): Document alignment. | |
239 | (Subprogram Bodies, Block statements): Document empty line before | |
240 | "begin". | |
241 | ||
7a73ad55 FW |
242 | 2001-12-22 Florian Weimer <fw@deneb.enyo.de> |
243 | ||
244 | * make.adb (Add_Switch): Make Generic_Position a procedure. The | |
245 | function approach did not work well because of a side effect (the | |
246 | function call could reallocate the table which was being indexed | |
247 | using its result). Fixes ada/4851. | |
248 | ||
17c5c8a5 GB |
249 | 2001-12-19 Robert Dewar <dewar@gnat.com> |
250 | ||
251 | * bindgen.adb: Minor reformatting | |
252 | ||
253 | * cstand.adb: Minor reformatting | |
254 | ||
255 | * fmap.adb: Minor reformatting | |
256 | Change name from Add for Add_To_File_Map (Add is much too generic) | |
257 | Change Path_Name_Of to Mapped_Path_Name | |
258 | Change File_Name_Of to Mapped_File_Name | |
259 | Fix copyright dates in header | |
260 | ||
261 | * fmap.ads: | |
262 | Change name from Add for Add_To_File_Map (Add is much too generic) | |
263 | Change Path_Name_Of to Mapped_Path_Name | |
264 | Change File_Name_Of to Mapped_File_Name | |
265 | Fix copyright dates in header | |
266 | ||
267 | * fname-uf.adb: Minor reformatting. New names of stuff in Fmap. | |
268 | Add use clause for Fmap. | |
269 | ||
270 | * make.adb: Minor reformatting | |
271 | ||
272 | * osint.adb: Minor reformatting. Change of names in Fmap. | |
273 | Add use clause for Fmap. | |
274 | ||
275 | * prj-env.adb: Minor reformatting | |
276 | ||
277 | * prj-env.ads: Minor reformatting | |
278 | ||
07fc65c4 GB |
279 | * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if |
280 | error found (there were odd exceptions to this general rule in | |
17c5c8a5 GB |
281 | -gnatec/-gnatem processing) |
282 | ||
283 | 2001-12-19 Olivier Hainque <hainque@gnat.com> | |
284 | ||
07fc65c4 GB |
285 | * raise.c (__gnat_eh_personality): Exception handling personality |
286 | routine for Ada. Still in rough state, inspired from the C++ version | |
17c5c8a5 | 287 | and still containing a bunch of debugging artifacts. |
07fc65c4 | 288 | (parse_lsda_header, get_ttype_entry): Local (static) helpers, also |
17c5c8a5 GB |
289 | inspired from the C++ library. |
290 | ||
07fc65c4 | 291 | * raise.c (eh_personality): Add comments. Part of work for the GCC 3 |
17c5c8a5 GB |
292 | exception handling integration. |
293 | ||
294 | 2001-12-19 Arnaud Charlet <charlet@gnat.com> | |
295 | ||
296 | * Makefile.in: Remove use of 5smastop.adb which is obsolete. | |
297 | (HIE_SOURCES): Add s-secsta.ad{s,b}. | |
298 | (HIE_OBJS): Add s-fat*.o | |
07fc65c4 | 299 | (RAVEN_SOURCES): Remove files that are no longer required. Add |
17c5c8a5 GB |
300 | interrupt handling files. |
301 | (RAVEN_MOD): Removed, no longer needed. | |
302 | ||
303 | 2001-12-19 Robert Dewar <dewar@gnat.com> | |
304 | ||
305 | * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always | |
306 | Add 2001 to copyright date | |
307 | ||
07fc65c4 | 308 | * g-regpat.adb: Change pragma Inline_Always to Inline. There is no |
17c5c8a5 GB |
309 | need to force universal inlining for these cases. |
310 | ||
311 | 2001-12-19 Arnaud Charlet <charlet@gnat.com> | |
312 | ||
07fc65c4 | 313 | * s-taprob.adb: Minor clean ups so that this unit can be used in |
17c5c8a5 GB |
314 | Ravenscar HI. |
315 | ||
316 | * exp_ch7.adb: Allow use of secondary stack in HI mode. | |
317 | Disallow it when pragma Restrictions (No_Secondary_Stack) is specified. | |
318 | ||
319 | 2001-12-19 Vincent Celier <celier@gnat.com> | |
320 | ||
07fc65c4 | 321 | * prj-tree.ads (Project_Node_Record): Add comments for components |
17c5c8a5 GB |
322 | Pkg_Id and Case_Insensitive. |
323 | ||
324 | 2001-12-19 Pascal Obry <obry@gnat.com> | |
325 | ||
326 | * g-socket.adb: Minor reformatting. Found while reading code. | |
327 | ||
328 | 2001-12-19 Robert Dewar <dewar@gnat.com> | |
329 | ||
330 | * prj-tree.ads: Minor reformatting | |
331 | ||
38be19f6 JM |
332 | 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk> |
333 | ||
334 | * config-lang.in (diff_excludes): Remove. | |
335 | ||
6510f4c9 GB |
336 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
337 | ||
07fc65c4 GB |
338 | * sem_res.adb (Resolve_Selected_Component): do not generate a |
339 | discriminant check if the selected component is a component of | |
6510f4c9 GB |
340 | the argument of an initialization procedure. |
341 | ||
07fc65c4 GB |
342 | * trans.c (tree_transform, case of arithmetic operators): If result |
343 | type is private, the gnu_type is the base type of the full view, | |
6510f4c9 GB |
344 | given that the full view itself may be a subtype. |
345 | ||
346 | 2001-12-17 Robert Dewar <dewar@gnat.com> | |
347 | ||
348 | * sem_res.adb: Minor reformatting | |
349 | ||
07fc65c4 GB |
350 | * trans.c (tree_transform, case N_Real_Literal): Add missing third |
351 | parameter in call to Machine (unknown horrible effects from this | |
6510f4c9 GB |
352 | omission). |
353 | ||
354 | * urealp.h: Add definition of Round_Even for call to Machine | |
355 | Add third parameter for Machine | |
356 | ||
357 | 2001-12-17 Ed Schonberg <schonber@gnat.com> | |
358 | ||
07fc65c4 | 359 | * sem_warn.adb (Check_One_Unit): Suppress warnings completely on |
6510f4c9 GB |
360 | predefined units in No_Run_Time mode. |
361 | ||
362 | 2001-12-17 Richard Kenner <kenner@gnat.com> | |
363 | ||
364 | * misc.c (insn-codes.h): Now include. | |
365 | ||
366 | 2001-12-17 Olivier Hainque <hainque@gnat.com> | |
367 | ||
07fc65c4 | 368 | * a-except.adb: Preparation work for future integration of the GCC 3 |
6510f4c9 GB |
369 | exception handling mechanism |
370 | (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines | |
371 | to factorize previous code sequences and make them externally callable, | |
372 | e.g. for the Ada personality routine when the GCC 3 mechanism is used. | |
373 | (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler): | |
374 | Use the new notification routines. | |
375 | ||
376 | 2001-12-17 Emmanuel Briot <briot@gnat.com> | |
377 | ||
378 | * prj-tree.ads (First_Choice_Of): Document the when others case | |
379 | ||
380 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> | |
381 | ||
07fc65c4 | 382 | * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in |
6510f4c9 GB |
383 | HI-E mode, in order to support Ravenscar profile properly. |
384 | ||
07fc65c4 | 385 | * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E |
6510f4c9 GB |
386 | mode on 32 bits targets. |
387 | ||
388 | 2001-12-17 Vincent Celier <celier@gnat.com> | |
389 | ||
390 | * fmap.adb: Initial version. | |
391 | ||
392 | * fmap.ads: Initial version. | |
393 | ||
394 | * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped. | |
395 | If search is successfully done, add to mapping. | |
396 | ||
397 | * frontend.adb: Initialize the mapping if a -gnatem switch was used. | |
398 | ||
399 | * make.adb: | |
400 | (Gnatmake): Add new local variable Mapping_File_Name. | |
401 | Create mapping file when using project file(s). | |
402 | Delete mapping file before exiting. | |
403 | ||
404 | * opt.ads (Mapping_File_Name): New variable | |
405 | ||
406 | * osint.adb (Find_File): Use path name found in mapping, if any. | |
407 | ||
408 | * prj-env.adb (Create_Mapping_File): New procedure | |
409 | ||
410 | * prj-env.ads (Create_Mapping_File): New procedure. | |
411 | ||
07fc65c4 | 412 | * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem |
6510f4c9 GB |
413 | (Mapping_File) |
414 | ||
415 | * usage.adb: Add entry for new switch -gnatem. | |
416 | ||
417 | * Makefile.in: Add dependencies for fmap.o. | |
418 | ||
419 | 2001-12-17 Ed Schonberg <schonber@gnat.com> | |
420 | ||
07fc65c4 | 421 | * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit |
6510f4c9 GB |
422 | is a package instantiation rewritten as a package body. |
423 | (Install_Withed_Unit): Undo previous change, now redundant. | |
424 | ||
425 | 2001-12-17 Gary Dismukes <dismukes@gnat.com> | |
426 | ||
427 | * layout.adb: | |
428 | (Compute_Length): Move conversion to Unsigned to callers. | |
429 | (Get_Max_Size): Convert Len expression to Unsigned after calls to | |
430 | Compute_Length and Determine_Range. | |
431 | (Layout_Array_Type): Convert Len expression to Unsigned after calls to | |
432 | Compute_Length and Determine_Range. | |
433 | Above changes fix problem with length computation for supernull arrays | |
07fc65c4 | 434 | where Max (Len, 0) wasn't getting applied due to the Unsigned |
6510f4c9 GB |
435 | conversion used by Compute_Length. |
436 | ||
437 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> | |
438 | ||
439 | * rtsfind.ads: | |
440 | (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and | |
441 | System.Secondary_Stack. | |
442 | (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar | |
443 | in HI-E mode. | |
444 | Remove unused entity RE_Exception_Data. | |
445 | ||
446 | * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode. | |
447 | ||
448 | * rident.ads (No_Secondary_Stack): New restriction. | |
449 | ||
3a77b68d GB |
450 | 2001-12-17 Joel Brobecker <brobecke@gnat.com> |
451 | ||
07fc65c4 | 452 | * gnat_rm.texi: Fix minor typos. Found while reading the section |
3a77b68d GB |
453 | regarding "Bit_Order Clauses" that was sent to a customer. |
454 | Very interesting documentation! | |
455 | ||
456 | 2001-12-17 Robert Dewar <dewar@gnat.com> | |
457 | ||
07fc65c4 GB |
458 | * sem_case.adb (Choice_Image): Avoid creating improper character |
459 | literal names by using the routine Set_Character_Literal_Name. This | |
3a77b68d GB |
460 | fixes bombs in certain error message cases. |
461 | ||
462 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> | |
463 | ||
464 | * a-reatim.adb: Minor reformatting. | |
465 | ||
466 | 2001-12-17 Ed Schonberg <schonber@gnat.com> | |
467 | ||
07fc65c4 GB |
468 | * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the |
469 | case where the formal is an extension of another formal in the current | |
3a77b68d GB |
470 | unit or in a parent generic unit. |
471 | ||
472 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> | |
473 | ||
07fc65c4 | 474 | * s-tposen.adb: Update comments. Minor reformatting. |
3a77b68d GB |
475 | Minor code clean up. |
476 | ||
477 | * s-tarest.adb: Update comments. Minor code reorganization. | |
478 | ||
479 | 2001-12-17 Gary Dismukes <dismukes@gnat.com> | |
480 | ||
07fc65c4 | 481 | * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag |
3a77b68d GB |
482 | when Java_VM. |
483 | ||
484 | 2001-12-17 Robert Dewar <dewar@gnat.com> | |
485 | ||
486 | * exp_attr.adb: Minor reformatting | |
487 | ||
488 | 2001-12-17 Ed Schonberg <schonber@gnat.com> | |
489 | ||
07fc65c4 | 490 | * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle |
3a77b68d GB |
491 | derivations nested within a child unit: verify that the parent |
492 | type is declared in an outer scope. | |
493 | ||
494 | 2001-12-17 Robert Dewar <dewar@gnat.com> | |
495 | ||
496 | * sem_ch12.adb: Minor reformatting | |
497 | ||
498 | 2001-12-17 Ed Schonberg <schonber@gnat.com> | |
499 | ||
07fc65c4 GB |
500 | * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post |
501 | warning if current unit is a predefined one, from which bodies may | |
3a77b68d GB |
502 | have been deleted. |
503 | ||
504 | 2001-12-17 Robert Dewar <dewar@gnat.com> | |
505 | ||
506 | * eval_fat.ads: Add comment that Round_Even is referenced in Ada code | |
507 | Fix header format. Add 2001 to copyright date. | |
508 | ||
07fc65c4 | 509 | * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference, |
3a77b68d GB |
510 | which caused CE during compilation if checks were enabled. |
511 | ||
79503fdd GB |
512 | 2001-12-17 Vincent Celier <celier@gnat.com> |
513 | ||
514 | * make.adb: | |
515 | (Switches_Of): New function | |
516 | (Test_If_Relative_Path): New procedure | |
517 | (Add_Switches): Use new function Switches_Of | |
518 | (Collect_Arguments_And_Compile): Use new function Switches_Of. | |
519 | When using a project file, test if there are any relative | |
520 | search path. Fail if there are any. | |
07fc65c4 GB |
521 | (Gnatmake): Only add switches for the primary directory when not using |
522 | a project file. When using a project file, change directory to the | |
523 | object directory of the main project file. When using a project file, | |
524 | test if there are any relative search path. Fail if there are any. | |
525 | When using a project file, fail if specified executable is relative | |
526 | path with directory information, and prepend executable, if not | |
527 | specified as an absolute path, with the exec directory. Make sure | |
79503fdd GB |
528 | that only one -o switch is transmitted to the linker. |
529 | ||
530 | * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir | |
531 | ||
532 | * prj-nmsc.adb: | |
533 | (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc, | |
534 | when using a non standard naming scheme. | |
535 | (Check_Ada_Naming_Scheme): Make sure that error messages | |
536 | do not raise exceptions. | |
537 | (Is_Illegal_Append): Return True if there is no dot in the suffix. | |
538 | (Language_Independent_Check): Check the exec directory. | |
539 | ||
540 | * prj.adb (Project_Empty): Add new component Exec_Directory | |
541 | ||
542 | * prj.ads: | |
543 | (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults. | |
544 | (Project_Data): Add component Exec_Directory | |
545 | ||
546 | * snames.adb: Updated to match snames.ads revision 1.215 | |
547 | ||
548 | * snames.ads: Added Exec_Dir | |
549 | ||
550 | 2001-12-17 Robert Dewar <dewar@gnat.com> | |
551 | ||
552 | * make.adb: Minor reformatting | |
553 | ||
554 | * prj-nmsc.adb: Minor reformatting | |
555 | ||
556 | * snames.adb: Updated to match snames.ads | |
557 | ||
558 | * snames.ads: Alphebetize entries for project file | |
559 | ||
560 | 2001-12-17 Ed Schonberg <schonber@gnat.com> | |
561 | ||
07fc65c4 | 562 | * trans.c (process_freeze_entity): Do nothing if the entity is a |
79503fdd GB |
563 | subprogram that was already elaborated. |
564 | ||
565 | 2001-12-17 Richard Kenner <kenner@gnat.com> | |
566 | ||
07fc65c4 | 567 | * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment |
79503fdd GB |
568 | and Esize if object is referenced via pointer. |
569 | ||
855ff2e1 GB |
570 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
571 | ||
07fc65c4 | 572 | * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant |
855ff2e1 GB |
573 | is discrete before analyzing choices. |
574 | ||
575 | 2001-12-17 Joel Brobecker <brobecke@gnat.com> | |
576 | ||
07fc65c4 GB |
577 | * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string |
578 | containing the name of the Ada Main Program. This string is mainly | |
855ff2e1 GB |
579 | intended for the debugger. |
580 | (Gen_Output_File_C): Do the equivalent change when generating a C file. | |
581 | ||
582 | 2001-12-17 Robert Dewar <dewar@gnat.com> | |
583 | ||
584 | * ali.adb: Set new Dummy_Entry field in dependency entry | |
585 | ||
586 | * ali.ads: Add Dummy_Entry field to source dependency table | |
587 | ||
588 | * bcheck.adb (Check_Consistency): Ignore dummy D lines | |
589 | ||
590 | * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files | |
591 | ||
592 | * lib-writ.ads: Document dummy D lines for missing files. | |
593 | ||
594 | * types.ads: (Dummy_Time_Stamp): New value for non-existant files | |
595 | ||
c1c22e7a GB |
596 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
597 | ||
598 | * ali.adb: Type reference does not reset current file. | |
599 | ||
600 | * ali.adb: Recognize and scan renaming reference | |
601 | ||
602 | * ali.ads: Add spec for storing renaming references. | |
603 | ||
604 | * lib-xref.ads: Add documentation for handling of renaming references | |
605 | ||
606 | * lib-xref.adb: Implement output of renaming reference. | |
607 | ||
608 | * checks.adb: | |
609 | (Determine_Range): Document local variables | |
610 | (Determine_Range): Make sure Hbound is initialized. It looks as though | |
611 | there could be a real problem here with an uninitialized reference | |
612 | to Hbound, but no actual example of failure has been found. | |
613 | ||
614 | 2001-12-17 Laurent Pautet <pautet@gnat.com> | |
615 | ||
616 | * g-socket.ads: | |
617 | Fix comment of Shutdown_Socket and Close_Socket. These functions | |
618 | should not fail silently because if they are called twice, this | |
619 | probably means that there is a race condition in the user program. | |
620 | Anyway, this behaviour is consistent with the rest of this unit. | |
621 | When an error occurs, an exception is raised with the error message | |
622 | as exception message. | |
623 | ||
7eb7bb07 RD |
624 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
625 | ||
07fc65c4 | 626 | * frontend.adb: Move call to Check_Unused_Withs from Frontend, so |
7eb7bb07 RD |
627 | that it happens before modification of Sloc values for -gnatD. |
628 | ||
07fc65c4 | 629 | * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend, |
7eb7bb07 RD |
630 | so that it happens before modification of Sloc values for -gnatD. |
631 | ||
632 | * switch.adb: Minor reformatting | |
633 | ||
b6434700 RH |
634 | 2001-12-15 Richard Henderson <rth@redhat.com> |
635 | ||
636 | * sem_ch7.adb: Wrap comment. | |
637 | ||
44d6a706 JM |
638 | 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk> |
639 | ||
640 | * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb, | |
641 | 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb, | |
642 | 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb, | |
643 | 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb, | |
644 | 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb, | |
645 | 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in, | |
646 | a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb, | |
647 | a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb, | |
648 | cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb, | |
649 | exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb, | |
650 | exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads, | |
651 | g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb, | |
652 | gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c, | |
653 | make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads, | |
654 | par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb, | |
655 | repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads, | |
656 | s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb, | |
657 | s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads, | |
658 | s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads, | |
659 | s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb, | |
660 | sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb, | |
661 | sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb, | |
662 | sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads, | |
663 | sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix | |
664 | spelling errors. | |
665 | ||
226ada7a GB |
666 | 2001-12-14 Vincent Celier <celier@gnat.com> |
667 | ||
07fc65c4 | 668 | * osint.adb(Create_Debug_File): When an object file is specified, |
226ada7a GB |
669 | put the .dg file in the same directory as the object file. |
670 | ||
671 | 2001-12-14 Robert Dewar <dewar@gnat.com> | |
672 | ||
673 | * osint.adb: Minor reformatting | |
674 | ||
07fc65c4 | 675 | * lib-xref.adb (Output_Instantiation): New procedure to generate |
226ada7a GB |
676 | instantiation references. |
677 | ||
678 | * lib-xref.ads: Add documentation of handling of generic references. | |
679 | ||
07fc65c4 | 680 | * ali.adb (Read_Instantiation_Ref): New procedure to read |
226ada7a GB |
681 | instantiation references |
682 | ||
683 | * ali.ads: Add spec for storing instantiation references | |
684 | ||
685 | * bindusg.adb: Minor reformatting | |
686 | ||
687 | * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) | |
688 | ||
689 | * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) | |
690 | ||
691 | * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) | |
692 | ||
693 | * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) | |
694 | ||
695 | * csets.ads: | |
696 | Fix header format | |
697 | Add 2001 to copyright date | |
698 | Add entry for Latin-5 (Cyrillic ISO-8859-5) | |
699 | ||
700 | 2001-12-14 Matt Gingell <gingell@gnat.com> | |
701 | ||
07fc65c4 | 702 | * adaint.c: mktemp is a macro on Lynx and can not be used as an |
226ada7a GB |
703 | expression. |
704 | ||
705 | 2001-12-14 Richard Kenner <kenner@gnat.com> | |
706 | ||
07fc65c4 | 707 | * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR |
226ada7a GB |
708 | if operand is CONSTRUCTOR. |
709 | ||
710 | 2001-12-14 Ed Schonberg <schonber@gnat.com> | |
711 | ||
07fc65c4 GB |
712 | * trans.c (tree_transform, case N_Assignment_Statement): Set lineno |
713 | before emiting check on right-hand side, so that exception information | |
226ada7a GB |
714 | is correct. |
715 | ||
716 | 2001-12-14 Richard Kenner <kenner@gnat.com> | |
717 | ||
07fc65c4 | 718 | * utils.c (create_var_decl): Throw away initializing expression |
226ada7a GB |
719 | if just annotating types and non-constant. |
720 | ||
721 | 2001-12-14 Vincent Celier <celier@gnat.com> | |
722 | ||
723 | * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to | |
724 | Default_Ada_... | |
725 | ||
07fc65c4 | 726 | * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix): |
226ada7a GB |
727 | Remove functions. |
728 | (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec. | |
729 | ||
07fc65c4 | 730 | * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix): |
226ada7a GB |
731 | Remove functions. |
732 | (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body. | |
733 | ||
9b94bf9e JM |
734 | 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk> |
735 | ||
736 | * ChangeLog: Remove piece of diff output. | |
737 | ||
449d2be3 GB |
738 | 2001-12-14 Geert Bosch <bosch@gnat.com> |
739 | ||
740 | * config-lang.in: Update copyright notice | |
741 | ||
742 | * layout.adb: Remove commented out code. | |
743 | ||
744 | * mdllfile.ads: Update copyright notice. Fix header format. | |
745 | ||
746 | * sem_case.ads: Likewise. | |
747 | ||
748 | * sem_ch3.adb: Minor reformatting. | |
749 | ||
e5bd5cb4 GB |
750 | 2001-12-12 Geert Bosch <bosch@gnat.com> |
751 | ||
752 | * freeze.ads: Update copyright date. | |
753 | ||
754 | * g-comlin.ads: Minor reformatting. | |
755 | ||
756 | * gnat-style.texi: Fix typo. | |
757 | ||
b468d8ec GB |
758 | 2001-12-12 Geert Bosch <bosch@gnat.com> |
759 | ||
760 | * einfo.h: Regenerate. | |
761 | ||
ed7da216 GB |
762 | 2001-12-12 Ed Schonberg <schonber@gnat.com> |
763 | ||
07fc65c4 | 764 | * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names |
ed7da216 GB |
765 | on known node types, rather than untyped fields. Further cleanups. |
766 | ||
767 | 2001-12-12 Robert Dewar <dewar@gnat.com> | |
768 | ||
769 | * sem_ch12.adb: | |
770 | (Save_Entity_Descendant): Minor comment update. | |
771 | (Copy_Generic_Node): Deal with incorrect reference to Associated_Node | |
07fc65c4 | 772 | of an N_Attribute_Reference node. As per note below, this does not |
ed7da216 | 773 | eliminate need for Associated_Node in attribute ref nodes. |
07fc65c4 | 774 | (Associated_Node): Documentation explicitly mentions attribute |
ed7da216 GB |
775 | reference nodes, since this field is used in such nodes. |
776 | ||
777 | * sem_ch12.adb (Associated_Node): Minor documentation cleanup. | |
778 | ||
de76a39c GB |
779 | 2001-12-12 Robert Dewar <dewar@gnat.com> |
780 | ||
781 | * s-stalib.adb: Add more comments on with statements being needed | |
782 | ||
783 | * par-ch12.adb: Minor reformatting | |
784 | ||
785 | * prj-dect.ads: Fix copyright header | |
786 | ||
07fc65c4 | 787 | * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both |
de76a39c GB |
788 | inputs fit in 32 bits, but the result still overflows. |
789 | ||
790 | * s-fatgen.ads: Minor comment improvement | |
791 | ||
792 | 2001-12-12 Ed Schonberg <schonber@gnat.com> | |
793 | ||
07fc65c4 GB |
794 | * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a |
795 | formal derived type, look for an inherited component from the full | |
de76a39c GB |
796 | view of the parent, if any. |
797 | ||
798 | 2001-12-12 Robert Dewar <dewar@gnat.com> | |
799 | ||
800 | * checks.ads (Apply_Alignment_Check): New procedure. | |
801 | ||
07fc65c4 GB |
802 | * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to |
803 | ensure that the alignment of objects with address clauses is | |
de76a39c GB |
804 | appropriate, and raise PE if not. |
805 | ||
07fc65c4 | 806 | * exp_util.ads (Must_Be_Aligned): Removed, replaced by |
de76a39c GB |
807 | Exp_Pakd.Known_Aligned_Enough |
808 | ||
809 | * mdllfile.ads: Minor reformatting | |
810 | ||
811 | * mlib-fil.ads: Minor reformatting | |
812 | ||
813 | 2001-12-12 Ed Schonberg <schonber@gnat.com> | |
814 | ||
07fc65c4 GB |
815 | * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous |
816 | fix to any component reference if enclosing record has non-standard | |
de76a39c GB |
817 | representation. |
818 | ||
819 | 2001-12-12 Vincent Celier <celier@gnat.com> | |
820 | ||
07fc65c4 | 821 | * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package |
de76a39c GB |
822 | Iteration |
823 | ||
824 | 2001-12-12 Ed Schonberg <schonber@gnat.com> | |
825 | ||
07fc65c4 | 826 | * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in |
de76a39c GB |
827 | sem_attr. |
828 | ||
829 | 2001-12-12 Robert Dewar <dewar@gnat.com> | |
830 | ||
831 | * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration | |
832 | ||
833 | 2001-12-12 Emmanuel Briot <briot@gnat.com> | |
834 | ||
835 | * g-regexp.adb: Remove all debug code, since it isn't required anymore, | |
836 | and it adds dependencies to system.io. | |
837 | ||
838 | 2001-12-12 Pascal Obry <obry@gnat.com> | |
839 | ||
07fc65c4 | 840 | * g-dirope.adb (Expand_Path.Var): Correctly detect end of |
de76a39c GB |
841 | variable name. |
842 | ||
0b09835f ES |
843 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
844 | ||
845 | * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance | |
07fc65c4 GB |
846 | that is the parent of other generics, the instance body replaces the |
847 | instance node. Retrieve the instance of the spec, which is the one | |
0b09835f ES |
848 | that is visible in clients and within the body. |
849 | ||
598c3446 GB |
850 | 2001-12-11 Vincent Celier <celier@gnat.com> |
851 | ||
852 | * gnatmain.adb: Initial version. | |
853 | ||
854 | * gnatmain.ads: Initial version. | |
855 | ||
856 | * prj-attr.adb (Initialisation_Data): Add package Gnatstub. | |
857 | ||
858 | * snames.adb: Updated to match snames.ads. | |
859 | ||
860 | * snames.ads: Added Gnatstub. | |
861 | ||
862 | 2001-12-11 Vincent Celier <celier@gnat.com> | |
863 | ||
07fc65c4 | 864 | * prj-attr.adb (Initialization_Data): Change name from |
598c3446 GB |
865 | Initialisation_Data. |
866 | ||
867 | 2001-12-11 Emmanuel Briot <briot@gnat.com> | |
868 | ||
869 | * g-regpat.adb (Parse_Literal): Properly handle simple operators ?, | |
870 | + and * applied to backslashed expressions like \r. | |
871 | ||
872 | 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com> | |
873 | ||
07fc65c4 | 874 | * g-os_lib.ads: String_List type added, Argument_List type is now |
598c3446 GB |
875 | subtype of String_List. |
876 | ||
877 | 2001-12-11 Robert Dewar <dewar@gnat.com> | |
878 | ||
879 | * g-os_lib.ads: Change copyright to FSF | |
880 | Add comments for String_List type | |
881 | ||
882 | 2001-12-11 Vincent Celier <celier@gnat.com> | |
883 | ||
07fc65c4 | 884 | * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a |
598c3446 GB |
885 | string to the buffer). |
886 | ||
7fb754a1 GB |
887 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
888 | ||
889 | * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in | |
890 | sem_attr. | |
891 | ||
892 | * sem_attr.adb: Simplify previous fix for Address. | |
07fc65c4 GB |
893 | (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now, |
894 | to avoid anomalies where the bound of the type appears to raise | |
7fb754a1 GB |
895 | constraint error. |
896 | ||
897 | 2001-12-11 Robert Dewar <dewar@gnat.com> | |
898 | ||
07fc65c4 | 899 | * lib-xref.adb (Output_Refs): Make sure pointers are always properly |
7fb754a1 GB |
900 | handled. |
901 | ||
902 | 2001-12-11 Ed Schonberg <schonber@gnat.com> | |
903 | ||
07fc65c4 | 904 | * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a |
7fb754a1 GB |
905 | renamed unit before checking for recursive instantiations. |
906 | ||
907 | 2001-12-11 Emmanuel Briot <briot@gnat.com> | |
908 | ||
909 | * prj.ads: Add comments for some of the fields. | |
910 | ||
0873bafc GB |
911 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
912 | ||
07fc65c4 | 913 | * lib-xref.adb (Output_Refs): Don't output type references outside |
0873bafc GB |
914 | the main unit if they are not otherwise referenced. |
915 | ||
916 | 2001-12-11 Ed Schonberg <schonber@gnat.com> | |
917 | ||
07fc65c4 | 918 | * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify |
0873bafc GB |
919 | code and diagnose additional illegal uses |
920 | ||
07fc65c4 | 921 | * sem_util.adb (Is_Object_Reference): An indexed component is an |
0873bafc GB |
922 | object only if the prefix is. |
923 | ||
924 | 2001-12-11 Vincent Celier <celier@gnat.com> | |
925 | ||
926 | * g-diopit.adb: Initial version. | |
927 | ||
928 | * g-diopit.ads: Initial version. | |
929 | ||
930 | * g-dirope.adb: | |
931 | (Expand_Path): Avoid use of Unbounded_String | |
932 | (Find, Wildcard_Iterator): Moved to child package Iteration | |
933 | ||
934 | * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS | |
935 | ||
7fb754a1 | 936 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
0873bafc GB |
937 | |
938 | * sem_attr.adb: Minor reformatting | |
939 | ||
d087cd96 GB |
940 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
941 | ||
942 | * sem_ch3.adb: Clarify some ???. | |
943 | ||
944 | 2001-12-11 Robert Dewar <dewar@gnat.com> | |
945 | ||
07fc65c4 | 946 | * exp_util.adb (Must_Be_Aligned): Removed, replaced by |
d087cd96 GB |
947 | Exp_Pakd.Known_Aligned_Enough |
948 | ||
07fc65c4 | 949 | * sem_ch13.adb (Check_Address_Alignment): Removed, extended |
d087cd96 GB |
950 | version is moved to Exp_Ch13. |
951 | ||
952 | 2001-12-11 Robert Dewar <dewar@gnat.com> | |
953 | ||
954 | * einfo.ads: Minor reformatting | |
955 | ||
956 | * exp_ch5.adb: Add comment for previous.change | |
957 | ||
958 | * ali.adb: New interface for extended typeref stuff. | |
959 | ||
960 | * ali.ads: New interface for typeref stuff. | |
961 | ||
962 | * checks.adb (Apply_Alignment_Check): New procedure. | |
963 | ||
964 | * debug.adb: Add -gnatdM for modified ALI output | |
965 | ||
966 | * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough. | |
967 | ||
07fc65c4 GB |
968 | * lib-xref.adb: Extend generation of <..> notation to cover |
969 | subtype/object types. Note that this is a complete rewrite, | |
970 | getting rid of the very nasty quadratic algorithm previously | |
d087cd96 GB |
971 | used for derived type output. |
972 | ||
07fc65c4 GB |
973 | * lib-xref.ads: Extend description of <..> notation to cover |
974 | subtype/object types. Uses {..} for these other cases. | |
d087cd96 GB |
975 | Also use (..) for pointer types. |
976 | ||
977 | * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup. | |
978 | ||
07fc65c4 | 979 | * exp_pakd.adb: Minor reformatting. Note that prevous RH should say: |
d087cd96 GB |
980 | (Known_Aligned_Enough): Replaces Must_Be_Aligned. |
981 | ||
290986ed GB |
982 | 2001-12-11 Vincent Celier <celier@gnat.com> |
983 | ||
984 | * gnatcmd.adb: | |
985 | Changed /COMPILE_ONLY to /ACTIONS=COMPILE | |
986 | Changed /BIND_ONLY to /ACTIONS=BIND | |
987 | Changed /LINK_ONLY to /ACTIONS=LINK | |
988 | ||
989 | 2001-12-11 Ed Schonberg <schonber@gnat.com> | |
990 | ||
991 | * sem_ch8.adb (Find_Selected_Component): improved search for a | |
992 | candidate package in case of error. | |
993 | ||
994 | * sem_ch12.adb (Inline_Instance_Body): place head of use_clause | |
995 | chain back on scope stack before reinstalling use clauses. | |
996 | ||
997 | * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings | |
998 | is enabled, do not kill the code for the condition, to preserve | |
999 | warning. | |
1000 | ||
84157f51 GB |
1001 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
1002 | ||
07fc65c4 | 1003 | * checks.adb (Insert_Valid_Check): Apply validity check to expression |
84157f51 GB |
1004 | of conversion, not to result of conversion. |
1005 | ||
1006 | 2001-12-11 Ed Schonberg <schonber@gnat.com> | |
1007 | ||
07fc65c4 GB |
1008 | * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag |
1009 | before freezing parent. If the declarations are mutually recursive, | |
1010 | an access to the current record type may be frozen before the | |
84157f51 GB |
1011 | derivation is complete. |
1012 | ||
7ffa903f VC |
1013 | 2001-12-05 Vincent Celier <celier@gnat.com> |
1014 | ||
07fc65c4 | 1015 | * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY, |
7ffa903f VC |
1016 | -c /COMPILE_ONLY, -l /LINK_ONLY |
1017 | ||
1018 | * opt.ads: | |
1019 | (Bind_Only): New Flag | |
1020 | (Link_Only): New flag | |
1021 | ||
07fc65c4 | 1022 | * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only) |
7ffa903f VC |
1023 | and -l (Link_Only) |
1024 | ||
1025 | * makeusg.adb: Add new switches -b and -l. Update Copyright notice. | |
1026 | ||
1027 | * make.adb: | |
1028 | (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags. | |
1029 | (Gnatmake): Set the step flags. Only perform a step if the | |
1030 | corresponding step flag is True. | |
1031 | (Scan_Make_Arg): Reset the bind and link step flags when -u | |
1032 | or -gnatc has been specified. | |
1033 | ||
f91b40db GB |
1034 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
1035 | ||
07fc65c4 | 1036 | * sem_eval.adb (Eval_Concatenation): If left operand is a null string, |
f91b40db GB |
1037 | get bounds from right operand. |
1038 | ||
1039 | * sem_eval.adb: Minor reformatting | |
1040 | ||
07fc65c4 | 1041 | * exp_util.adb (Make_Literal_Range): use bound of literal rather |
f91b40db GB |
1042 | than Index'First, its lower bound may be different from 1. |
1043 | ||
07fc65c4 | 1044 | * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B |
f91b40db GB |
1045 | and C48009J |
1046 | ||
1047 | 2001-12-05 Vincent Celier <celier@gnat.com> | |
1048 | ||
1049 | * prj-nmsc.adb Minor reformatting | |
1050 | ||
07fc65c4 | 1051 | * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if |
f91b40db GB |
1052 | set and libraries are not supported. |
1053 | ||
1054 | 2001-12-05 Ed Schonberg <schonber@gnat.com> | |
1055 | ||
07fc65c4 GB |
1056 | * sem_ch3.adb (Build_Derived_Private_Type): set Public status of |
1057 | private view explicitly, so the back-end can treat as a global | |
f91b40db GB |
1058 | when appropriate. |
1059 | ||
45d04cbb GB |
1060 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
1061 | ||
1062 | * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation | |
1063 | unit, always replace instance node with new body, for ASIS use. | |
1064 | ||
1065 | 2001-12-05 Vincent Celier <celier@gnat.com> | |
1066 | ||
07fc65c4 GB |
1067 | * prj-nmsc.adb (Language_Independent_Check): Issue a warning if |
1068 | libraries are not supported and both attributes Library_Name and | |
45d04cbb GB |
1069 | Library_Dir are specified. |
1070 | ||
07fc65c4 | 1071 | * prj-proc.adb (Expression): Set location of Result to location of |
45d04cbb GB |
1072 | first term. |
1073 | ||
1074 | * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS. | |
1075 | (prj-nmsc is now importing MLib.Tgt) | |
1076 | ||
1077 | * prj-proc.adb: Put the change indicated above that was forgotten. | |
1078 | ||
84436014 RD |
1079 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
1080 | ||
1081 | * Makefile.in: Add dependencies for System.IO for GNAT.Regexp | |
1082 | ||
7ae0dcd8 ES |
1083 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
1084 | ||
1085 | * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a | |
1086 | constraint, introduce explicit subtype declaration and derive from it. | |
1087 | ||
1088 | * sem_ch3.adb: Minor reformatting | |
1089 | ||
c9a4817d RD |
1090 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
1091 | ||
07fc65c4 | 1092 | * checks.adb (Determine_Range): Increase cache size for checks. |
c9a4817d RD |
1093 | Minor reformatting |
1094 | ||
1095 | * exp_ch6.adb: Minor reformatting | |
1096 | (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has | |
1097 | a parameter whose root type is System.Address, since treating such | |
1098 | subprograms as pure in the code generator is almost surely a mistake | |
1099 | that will lead to unexpected results. | |
1100 | ||
07fc65c4 | 1101 | * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and |
c9a4817d RD |
1102 | change handling of conversions. |
1103 | ||
1104 | * g-regexp.adb: Use System.IO instead of Ada.Text_IO. | |
1105 | ||
2514b839 ES |
1106 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
1107 | ||
07fc65c4 GB |
1108 | * sem_ch3.adb (Analyze_Object_Declaration): If expression is an |
1109 | aggregate with static wrong size, attach generated Raise node to | |
2514b839 ES |
1110 | declaration. |
1111 | ||
457b6274 RD |
1112 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
1113 | ||
07fc65c4 | 1114 | * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute. |
457b6274 RD |
1115 | Fixes compilation abandoned bomb in B24009B. |
1116 | ||
19349925 ES |
1117 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
1118 | ||
1119 | * sem_ch12.adb: | |
1120 | Document use of Associated_Node on Selected_Components. | |
1121 | (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants, | |
1122 | to clarify use of untyped descendant fields. | |
1123 | ||
6663c393 RD |
1124 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
1125 | ||
1126 | * prj-dect.ads: Add ??? comment | |
1127 | Add 2001 to copyright notice (was not done in after all) | |
1128 | ||
1129 | * prj-part.adb: Minor reformatting. Reword one awkward error message. | |
1130 | ||
1131 | * prj.ads: Minor reformatting throughout, and add some ??? comments | |
1132 | ||
1133 | * snames.ads: Minor reformatting | |
1134 | ||
d7b2a6af GB |
1135 | 2001-12-05 Geert Bosch <bosch@gnat.com> |
1136 | ||
1137 | * snames.adb: Autoupdate | |
1138 | ||
fbc9a404 VC |
1139 | 2001-12-05 Vincent Celier <celier@gnat.com> |
1140 | ||
1141 | * prj-dect.adb (Parse): Rename parameter Modifying to Extends. | |
1142 | ||
1143 | * prj-dect.ads (Parse): Rename parameter Modifying to Extends. | |
1144 | ||
1145 | * prj-env.adb: Minor comment changes (modifying -> extends). | |
1146 | ||
1147 | * prj-nmsc.adb: Minor comment changes (modifying -> extends). | |
1148 | ||
07fc65c4 | 1149 | * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to |
fbc9a404 VC |
1150 | Tok_Extends. |
1151 | ||
1152 | * prj.adb (Initialize): Change Modifying to Extends. | |
1153 | ||
1154 | * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends. | |
1155 | ||
1156 | * prj.ads: Minor comment change (Modifying -> extending). | |
1157 | ||
1158 | * snames.ads: Change modifying to extends. | |
1159 | ||
7cff0b1b RD |
1160 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
1161 | ||
07fc65c4 | 1162 | * sem_warn.adb: Remove stuff for conditionals, we are not going to |
7cff0b1b RD |
1163 | do this after all. |
1164 | ||
07fc65c4 | 1165 | * sem_warn.ads: Remove stuff for conditionals, we are not going to |
7cff0b1b RD |
1166 | do this after all. Add 2001 to copyright notice |
1167 | ||
4f56ebb7 GB |
1168 | 2001-12-04 Geert Bosch <bosch@gnat.com> |
1169 | ||
1170 | * einfo.h, sinfo.h, treeprs.ads: Regenerate. | |
1171 | ||
053defdf RD |
1172 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
1173 | ||
07fc65c4 GB |
1174 | * errout.adb (Error_Msg): Ignore attempt to put error msg at junk |
1175 | location if we already have errors. Stops some cases of cascaded | |
053defdf RD |
1176 | errors. |
1177 | ||
1178 | * errout.adb: Improve comment. | |
1179 | ||
f311e166 RD |
1180 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
1181 | ||
1182 | * sem_ch12.adb: | |
1183 | (Analyze_Formal_Type_Definition): Defend against Error. | |
1184 | (Analyze_Formal_Subprogram): Defend against Error. | |
1185 | ||
07fc65c4 | 1186 | * par-ch12.adb (F_Formal_Type_Declaration): In case of error, |
f311e166 RD |
1187 | remove following semicolon if present. Removes cascaded error. |
1188 | ||
d61bd65a DR |
1189 | 2001-12-04 Douglas B. Rupp <rupp@gnat.com> |
1190 | ||
1191 | * bindgen.adb: | |
1192 | (Gen_Exception_Table_Ada): Write "begin" and then return if Num | |
1193 | exceptions equals 0. | |
1194 | (Gen_Exception_Table_C): Return if Num exceptions equals 0. | |
1195 | Fixes PIWG E tests (which have to be run with -gnatL). | |
1196 | ||
4ba603e2 RD |
1197 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
1198 | ||
1199 | * einfo.ads: Minor reformatting | |
1200 | ||
57568d91 ES |
1201 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
1202 | ||
07fc65c4 GB |
1203 | * einfo.ads: Block_Node points to the identifier of the block, not to |
1204 | the block node itself, to preserve the link when the block is | |
1205 | rewritten, e.g. within an if-statement with a static condition. | |
57568d91 | 1206 | |
07fc65c4 | 1207 | * inline.adb (Cleanup_Scopes): recover block statement from block |
57568d91 ES |
1208 | entity using new meaning of Block_Node. |
1209 | ||
07fc65c4 | 1210 | * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to |
57568d91 ES |
1211 | identifier of block node, rather than to node itself. |
1212 | ||
0815d36a GD |
1213 | 2001-12-04 Gary Dismukes <dismukes@gnat.com> |
1214 | ||
1215 | * layout.adb: | |
1216 | (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size. | |
1217 | (Discrimify): Go back to setting the Etypes of the selected component | |
07fc65c4 | 1218 | because the Vname component does not exist at this point and will |
0815d36a GD |
1219 | fail name resolution. Also set Analyzed. |
1220 | Remove with and use of Sem_Res. | |
1221 | ||
edc0f304 AC |
1222 | 2001-12-04 Arnaud Charlet <charlet@gnat.com> |
1223 | ||
1224 | * Makefile.in: (HIE_SOURCES): add s-fat*. | |
1225 | ||
32213142 RD |
1226 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
1227 | ||
1228 | * sem_attr.adb: | |
1229 | (Compile_Time_Known_Attribute): New procedure. | |
1230 | (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure | |
1231 | proper range check. | |
1232 | ||
c0def2ad ES |
1233 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
1234 | ||
07fc65c4 | 1235 | * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before |
c0def2ad ES |
1236 | processing discriminants to diagnose illegal default values. |
1237 | ||
ee0a48c5 ES |
1238 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
1239 | ||
07fc65c4 GB |
1240 | * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide |
1241 | access discriminant within a type extension that constrains its | |
ee0a48c5 ES |
1242 | parent discriminants. |
1243 | ||
dd5875a6 ES |
1244 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
1245 | ||
07fc65c4 | 1246 | * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication |
dd5875a6 ES |
1247 | is malformed, use instance of Any_Id to allow analysis to proceed. |
1248 | ||
07fc65c4 | 1249 | * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if |
dd5875a6 ES |
1250 | type definition is illegal. |
1251 | (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is | |
1252 | misplaced. | |
1253 | ||
c2a41e57 ES |
1254 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
1255 | ||
07fc65c4 | 1256 | * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to |
c2a41e57 ES |
1257 | constants. |
1258 | ||
0ae84753 RD |
1259 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
1260 | ||
1261 | * errout.adb: Minor reformatting | |
1262 | ||
63db260e RD |
1263 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
1264 | ||
1265 | * exp_util.adb: Minor reformatting from last change | |
1266 | ||
07fc65c4 GB |
1267 | * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node |
1268 | which is a rewriting of an expression, traverse the original | |
63db260e RD |
1269 | expression to remove warnings that may have been posted on it. |
1270 | ||
c6d289f4 ES |
1271 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
1272 | ||
07fc65c4 | 1273 | * exp_util.adb (Must_Be_Aligned): Return false for a component of a |
c6d289f4 ES |
1274 | record that has other packed components. |
1275 | ||
5917e80d DR |
1276 | 2001-12-04 Douglass B. Rupp <rupp@gnat.com> |
1277 | ||
1278 | * adaint.c: Minor cleanups. | |
1279 | ||
2c70f9dd DR |
1280 | 2001-12-04 Douglass B. Rupp <rupp@gnat.com> |
1281 | ||
1282 | * adaint.c: Do not use utime.h on vxworks. | |
1283 | ||
e59b3387 AC |
1284 | 2001-12-04 Arnaud Charlet <charlet@gnat.com> |
1285 | ||
07fc65c4 | 1286 | * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes |
e59b3387 AC |
1287 | more confusion than it solves. |
1288 | ||
e288604a GB |
1289 | 2001-12-04 Geert bosch <bosch@gnat.com> |
1290 | ||
1291 | * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate. | |
1292 | ||
5ac21013 GB |
1293 | 2001-12-04 Geert Bosch <bosch@gnat.com> |
1294 | ||
07fc65c4 | 1295 | * Makefile.in (update-sources): New target. |
5ac21013 GB |
1296 | For use by gcc_release script. |
1297 | ||
7dd5bd5e ES |
1298 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
1299 | ||
07fc65c4 | 1300 | * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as |
7dd5bd5e ES |
1301 | a configuration pragma, it is now legal wherever a pragma can appear. |
1302 | ||
a078a589 ZW |
1303 | 2001-12-04 Zack Weinberg <zack@codesourcery.com> |
1304 | ||
1305 | * Makefile.in: Don't set ALL. Delete @cross_defines@, | |
1306 | @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS | |
1307 | is now @CROSS@ -DIN_GCC; update comment. | |
1308 | ||
0839863c GB |
1309 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
1310 | ||
1311 | * einfo.adb (Has_Pragma_Pure_Function): New flag. | |
1312 | Fix problem that stopped ceinfo from working | |
1313 | ||
1314 | * einfo.ads (Has_Pragma_Pure_Function): New flag. | |
1315 | ||
1316 | * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function. | |
1317 | ||
1318 | 2001-12-04 Douglas B. Rupp <rupp@gnat.com> | |
9678de49 DR |
1319 | |
1320 | * gnatchop.adb: | |
1321 | (File_Time_Stamp): New procedure. | |
1322 | (Preserve_Mode): New boolean. | |
1323 | (Write_Unit): Pass time stamp. | |
1324 | Implement -p switch (preserve time stamps). | |
1325 | ||
1326 | * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE). | |
1327 | ||
1328 | * gnatchop.adb: Do usage info for -p switch | |
1329 | ||
1330 | * adaint.h (__gnat_set_file_time_name): New function | |
1331 | ||
1332 | * adaint.c (__gnat_set_file_time_name): Implement | |
1333 | ||
1334 | * adaint.h: Fix typo | |
1335 | ||
3b9a13c4 RD |
1336 | 2001-12-03 Robert Dewar <dewar@gnat.com> |
1337 | ||
667e5c5d | 1338 | * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not |
3b9a13c4 RD |
1339 | have Associated_Node. |
1340 | ||
767b404e RD |
1341 | 2001-12-03 Robert Dewar <dewar@gnat.com> |
1342 | ||
1343 | * prj-proc.adb: Minor reformatting | |
667e5c5d | 1344 | |
767b404e RD |
1345 | * make.adb: Minor reformatting |
1346 | ||
11ac71ba GB |
1347 | 2001-12-03 Geert Bosch <bosch@gnat.com> |
1348 | ||
667e5c5d | 1349 | * make.adb: Minor reformatting. |
11ac71ba | 1350 | |
ef3d4d6e | 1351 | 2001-12-03 Robert Dewar <dewar@gnat.com> |
b1446533 RD |
1352 | |
1353 | * sem_ch12.adb: Minor reformatting | |
1354 | ||
d6d32b24 ES |
1355 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
1356 | ||
667e5c5d AJ |
1357 | * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and |
1358 | push Standard on the stack before analyzing the instance body, | |
d6d32b24 | 1359 | in order to have a clean visibility environment. |
667e5c5d AJ |
1360 | |
1361 | * sem_ch12.adb (Inline_Instance_Body): Remove redundant code. | |
d6d32b24 | 1362 | |
13f08f03 ES |
1363 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
1364 | ||
667e5c5d | 1365 | * sem_ch12.adb (Instantiate_Package_Body): Protect against double |
13f08f03 ES |
1366 | instantiation of a body that contains an inlined body. |
1367 | ||
3bd6c100 ES |
1368 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
1369 | ||
1370 | * sem_ch12.adb: | |
1371 | (Analyze_generic_subprogram_Declaration): Set outer_generic_scope, | |
1372 | to prevent freezing within formal packages. | |
1373 | (Freeze_Subprogram_Body): If body comes from another instance that | |
1374 | appeared before its own body, place freeze node at end of current | |
1375 | declarative part, to prevent a back-end crash. | |
1376 | (Inline_Instance_Body): Handle properly a package instance within | |
1377 | a subprogram instance that is a child unit. | |
1378 | ||
58d07d8f GS |
1379 | 2001-12-01 Graham Stott <grahams@redhat.com> |
1380 | ||
1381 | * Makefile.in (misc.o): Add missing $(srcdir) prefix | |
1382 | and add optabs.h dependency. | |
1383 | ||
1384 | * misc.c: Include optabs.h | |
1385 | (gnat_tree_code_type): Make static and const. | |
1386 | (gnat_tree_code_length): Likewise. | |
1387 | (gnat_tree_code_name): Likewise. | |
1388 | (update_setjmp_buf): Obtain operands mode from insn_data. | |
1389 | ||
c87222f0 RH |
1390 | 2001-11-29 Richard Henderson <rth@redhat.com> |
1391 | ||
1392 | * init.c: Remove obsolete dwarf2 frame.h section. | |
1393 | ||
d3945f0a JM |
1394 | 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk> |
1395 | ||
1396 | * Make-lang.in (ada.generated-manpages): New dummy target. | |
1397 | ||
9f639397 ES |
1398 | 2001-11-29 Ed Schonberg <schonber@gnat.com> |
1399 | ||
667e5c5d AJ |
1400 | * g-os_lib.adb (Add_To_Command): use explicit loop to move string |
1401 | into Command, an array conversion is illegal here. Uncovered by | |
9f639397 ES |
1402 | ACATS B460005. |
1403 | ||
c835e5c6 GB |
1404 | 2001/11/28 Geert Bosch <bosch@gnat.com> |
1405 | ||
1406 | * init.c: Minor whitespace changes. | |
1407 | ||
49bb4548 DR |
1408 | 2001-11-28 Doug Rupp <rupp@gnat.com> |
1409 | ||
667e5c5d | 1410 | * init.c: (__gnat_install_handler,VMS): Increase size of alternate |
49bb4548 DR |
1411 | signal stack. |
1412 | ||
ea2417e5 ZW |
1413 | 2001-11-28 Zack Weinberg <zack@codesourcery.com> |
1414 | ||
1415 | * misc.c (gnat_expand_constant): Move declaration above | |
1416 | definition of lang_hooks. | |
1417 | (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant. | |
1418 | (gnat_init): lang_expand_constant no longer exists. | |
1419 | ||
1420 | (internal_error_function): Remove #ifdef HAVE_VPRINTF. We | |
1421 | always have vprintf. | |
1422 | (gnat_init): Always call set_internal_error_function. | |
1423 | ||
f8e0aa73 AJ |
1424 | 2001-11-27 Andreas Jaeger <aj@suse.de> |
1425 | ||
1426 | * Makefile.in (stamp-tool_src_dir): Use symbolic link. | |
1427 | ||
d99b0e79 LG |
1428 | 2001-11-27 Laurent Guerby <guerby@acm.org> |
1429 | ||
1430 | * Makefile.in: Regenerate Ada dependencies. | |
1431 | ||
3f0496e5 RH |
1432 | 2001-11-26 Richard Henderson <rth@redhat.com> |
1433 | ||
1434 | * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd, | |
1435 | gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys, | |
1436 | gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o. | |
1437 | ||
92fa4733 LG |
1438 | 2001-11-25 Laurent Guerby <guerby@acm.org> |
1439 | ||
1440 | * sysdep.c (rts_get_*): Fix style. | |
1441 | ||
07626501 LG |
1442 | 2001-11-19 Laurent Guerby <guerby@acm.org> |
1443 | ||
1444 | * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include | |
1445 | since it is of no apparent use and cause warnings. | |
1446 | ||
22703ccc NB |
1447 | 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk> |
1448 | ||
1449 | * misc.c (gnat_decode_option, gnat_init_options): Make definitions | |
1450 | static too. | |
1451 | (gnat_init): Don't return NULL. | |
1452 | (finish_parse): Remove. | |
1453 | ||
b0df4321 LG |
1454 | 2001-11-17 Laurent Guerby <guerby@acm.org> |
1455 | ||
1456 | * Make-lang.in (GNATLIBFLAGS): Add -W -Wall. | |
1457 | * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing. | |
1458 | * io-aux.c: Provide K&R prototypes to all functions, reformat code. | |
1459 | * lang-spec.h: Add missing struct field to silence warnings. | |
1460 | * sysdep.c (rts_get_*): Provide K&R prototype. | |
1461 | * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype. | |
1462 | * traceback.c (Unlock_Task, Lock_Task): Likewise. | |
1463 | * tracebak.c (__gnat_backtrace): Remove unused variable. | |
1464 | * utils.c (end_subprog_body): Move to K&R style. | |
1465 | ||
d215024f RK |
1466 | Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1467 | ||
1468 | * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference. | |
1469 | ||
f5e99456 NB |
1470 | 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk> |
1471 | ||
1472 | * misc.c (gnat_init): Change prototype. Include the | |
1473 | functionality of the old init_parse and init_decl_processing. | |
1474 | (gnat_init_decl_processing): New prototype. | |
1475 | (init_parse): Remove. | |
1476 | * utils.c (init_decl_processing): Rename gnat_init_decl_processing. | |
1477 | ||
5d69f816 NB |
1478 | 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk> |
1479 | ||
1480 | * misc.c (gnat_print_decl, gnat_print_type): Renamed. | |
1481 | (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override. | |
1482 | (print_lang_statistics, lang_print_xnode, print_lang_identifier, | |
1483 | set_yydebug): Remove. | |
1484 | ||
3ac88239 NB |
1485 | 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk> |
1486 | ||
1487 | * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override. | |
1488 | (struct lang_hooks): Constify. | |
1489 | (language_string, lang_identify): Remove. | |
1490 | * utils.c (init_decl_processing): Update. | |
1491 | ||
d23c55c2 NB |
1492 | 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
1493 | ||
1494 | * misc.c: Include langhooks-def.h. | |
1495 | * Makefile.in: Update. | |
1496 | ||
04a1b79c RD |
1497 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
1498 | ||
1499 | * style.adb: | |
1500 | (Check_Identifier): Rewrite circuit to be compatible with use of letters | |
1501 | in the upper half of ASCII. | |
1502 | (Check_Identifier): Minor reformatting | |
1503 | ||
81fa2d39 GB |
1504 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
1505 | ||
f8e0aa73 | 1506 | * (Associated_Node, Set_Associated_Node): Do not check for |
81fa2d39 GB |
1507 | Freeze_Entity. |
1508 | ||
ffc5527f RD |
1509 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
1510 | ||
1511 | * a-reatim.ads: Minor reformatting | |
1512 | ||
865335eb RD |
1513 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
1514 | ||
f8e0aa73 | 1515 | * gnatdll.adb: Minor reformatting throughout. Many ??? added for |
865335eb RD |
1516 | undocumented declarations. |
1517 | ||
5e257178 PO |
1518 | 2001-10-30 Pascal Obry <obry@gnat.com> |
1519 | ||
f8e0aa73 | 1520 | * gnatdll.adb (Parse_Command_Line): handle -g option to be passed |
5e257178 PO |
1521 | to the binder and linker. |
1522 | Minor style fix. | |
f8e0aa73 | 1523 | |
5e257178 PO |
1524 | * mdll.ads: Fix layout. Update copyright notice. |
1525 | ||
1526 | * mdll.adb: Fix layout. Update copyright notice. | |
1527 | ||
1753e0ad RD |
1528 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
1529 | ||
1530 | * usage.adb: Minor fix to output for -gnaty. | |
1531 | ||
84bfdde0 ES |
1532 | 2001-10-30 Ed Schonberg <schonber@gnat.com> |
1533 | ||
f8e0aa73 AJ |
1534 | * a-reatim.ads: Makes Seconds_Count into a 64-bit integer, |
1535 | to accommodate all its possible values. | |
84bfdde0 | 1536 | |
f8e0aa73 | 1537 | * a-reatim.adb (Split): Special-case handling of Time_Span_First |
84bfdde0 ES |
1538 | and of small absolute values of T. |
1539 | ||
c296e5fc RK |
1540 | 2001-10-30 Richard Kenner <kenner@gnat.com> |
1541 | ||
f8e0aa73 AJ |
1542 | * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to |
1543 | set_mem_attributes since not needed and wrong if RESULT if a REG; | |
c296e5fc RK |
1544 | fixes ACATS failures. |
1545 | ||
07c809df GB |
1546 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
1547 | ||
1548 | * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads, | |
1549 | s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice. | |
1550 | ||
54d22416 | 1551 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
f8e0aa73 | 1552 | |
54d22416 | 1553 | * bindusg.adb: Undocument -f switch. |
f8e0aa73 | 1554 | |
54d22416 | 1555 | * gnatcmd.adb: Remove /FULL_ELABORATION. |
f8e0aa73 AJ |
1556 | |
1557 | * opt.ads (Force_RM_Elaboration_Order): Document that this is | |
54d22416 | 1558 | obsolescent. |
f8e0aa73 | 1559 | |
54d22416 | 1560 | * gnatbind.adb: Output new warning for use of obsolescent -f switch. |
f8e0aa73 | 1561 | |
54d22416 RD |
1562 | * gnatbind.adb: Minor update of warning msg. |
1563 | ||
af5cf6f8 VC |
1564 | 2001-10-30 Vincent Celier <celier@gnat.com> |
1565 | ||
f8e0aa73 | 1566 | * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations |
af5cf6f8 | 1567 | for project file switches (-P (/PROJECT_FILE=), |
f8e0aa73 | 1568 | -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT |
af5cf6f8 VC |
1569 | or MEDIUM or HIGH) |
1570 | ||
984bc4c3 GB |
1571 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
1572 | ||
1573 | * decl.c: Minor whitespace fixes. | |
1574 | ||
5dece937 RK |
1575 | 2001-10-30 Richard Kenner <kenner@gnat.com> |
1576 | ||
1577 | * utils2.c (build_allocator): Test for SIZE overflow in array case too | |
1578 | ||
de4bf6cb GB |
1579 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
1580 | ||
f8e0aa73 | 1581 | * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out. |
de4bf6cb | 1582 | Found due to GCC 3.0 warning of using uninitialized value. |
f8e0aa73 | 1583 | |
de4bf6cb GB |
1584 | * layout.adb: |
1585 | (Get_Max_Size): Use variant record for tracking value/expression. | |
1586 | Makes logic clearer and prevents warnings for uninitialized variables. | |
1587 | (Layout_Array_Type): Use variant record for tracking value/expression. | |
1588 | Makes logic clearer and prevents warnings for uninitialized variables. | |
1589 | ||
f5e44987 RD |
1590 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
1591 | ||
1592 | * lib.adb: Minor reformatting | |
1593 | ||
1594 | * s-taprop.ads: Minor reformatting | |
1595 | ||
45659035 | 1596 | 2001-10-29 Laurent Guerby <guerby@acm.org> |
f8e0aa73 | 1597 | |
45659035 GB |
1598 | * init.c: |
1599 | (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg | |
1600 | const. | |
1601 | (_gnat_error_handler): Make MSG const. | |
1602 | ||
1603 | 2001-10-29 Richard Kenner <kenner@gnat.com> | |
1604 | ||
1605 | * sysdep.c: Fix localtime_r problem on LynxOS. | |
1606 | Also remove #elif to avoid warnings. | |
f8e0aa73 AJ |
1607 | |
1608 | * misc.c (yyparse): Don't set up and register jmpbuf; remove decls | |
45659035 | 1609 | used by this. |
f8e0aa73 | 1610 | |
45659035 GB |
1611 | * decl.c (annotate_value): Make SIZE unsigned to avoid warning. |
1612 | ||
638e383e JM |
1613 | 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk> |
1614 | ||
1615 | * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb, | |
1616 | exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb, | |
1617 | g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads, | |
1618 | g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c, | |
1619 | layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads, | |
1620 | s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads, | |
1621 | sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb, | |
1622 | sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb, | |
1623 | sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads, | |
1624 | types.ads, urealp.adb: Fix spelling errors. | |
1625 | ||
97f6baa0 LG |
1626 | 2001-10-27 Laurent Guerby <guerby@acm.org> |
1627 | ||
1628 | * trans.c (gigi): Fix non determinism leading to bootstrap | |
1629 | comparison failures for debugging information. | |
1630 | ||
46b58b8c FW |
1631 | 2001-10-26 Florian Weimer <fw@deneb.enyo.de> |
1632 | ||
1633 | * gnat_rm.texi: Use @./@: where appropriate. | |
1634 | ||
30151c7b RD |
1635 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
1636 | ||
1637 | * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup. | |
1638 | ||
c0b1738d RK |
1639 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
1640 | ||
1641 | * gmem.c (__gnat_gmem_read_next): Properly check for EOF | |
1642 | ||
5b09c153 RK |
1643 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
1644 | ||
f8e0aa73 | 1645 | * decl.c (validate_size): Modify message for bad size to avoid |
5b09c153 RK |
1646 | implication that compiler is modifying the size. |
1647 | ||
4d553668 RD |
1648 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
1649 | ||
1650 | * prj-util.adb: Minor reformatting. Fix bad header format. | |
1651 | ||
3e542a58 RD |
1652 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
1653 | ||
1654 | * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup. | |
f8e0aa73 | 1655 | |
3e542a58 | 1656 | * sinfo.ads: Clarify use of Associated_Node (documentation only). |
f8e0aa73 AJ |
1657 | |
1658 | * sem_ch12.adb: Change Node4 to Associated_Node. Change | |
1659 | Associated_Node to Get_Associated_Node. Put use of Unchecked_Access | |
3e542a58 RD |
1660 | much more narrowly in places where needed. These are cleanups. |
1661 | ||
0bf08bfe JB |
1662 | 2001-10-26 Joel Brobecker <brobecke@gnat.com> |
1663 | ||
1664 | * 5zosinte.ads (null_pthread): new constant. | |
f8e0aa73 | 1665 | |
0bf08bfe JB |
1666 | * 5ztaprop.adb: |
1667 | (Initialize_TCB): Initialize thread ID to null, to be able to verify | |
1668 | later that this field has been set. | |
1669 | (Finalize_TCB): ditto. | |
1670 | (Suspend_Task): Verify that the thread ID is not null before using it. | |
1671 | (Resume_Task): ditto. | |
f8e0aa73 | 1672 | |
0bf08bfe JB |
1673 | * s-tasdeb.adb: |
1674 | (Resume_All_Tasks): Lock the tasks list before using it. | |
1675 | (Suspend_All_Tasks): ditto. | |
1676 | ||
7a3a8c06 RK |
1677 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
1678 | ||
f8e0aa73 | 1679 | * decl.c (gnat_to_gnu_entity, case E_General_Access_Type): |
7a3a8c06 RK |
1680 | Make constant variant of designated type for Is_Access_Constant. |
1681 | Call update_pointer_to with main variant. | |
f8e0aa73 AJ |
1682 | |
1683 | * trans.c (process_freeze_entity, process_type): | |
7a3a8c06 | 1684 | Call update_pointer_to on main variant. |
f8e0aa73 | 1685 | |
7a3a8c06 RK |
1686 | * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE. |
1687 | If main variant, update all other variants. | |
f8e0aa73 AJ |
1688 | |
1689 | * utils2.c (build_unary_op, case INDIRECT_REF): No longer set | |
7a3a8c06 RK |
1690 | TREE_STATIC. |
1691 | ||
a160babb RD |
1692 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
1693 | ||
1694 | * prj-util.adb: Minor reformatting | |
1695 | ||
b403bd17 RD |
1696 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
1697 | ||
1698 | * prj-util.adb: Minor reformatting | |
1699 | ||
5fc3b4c7 RD |
1700 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
1701 | ||
1702 | * prj-attr.adb: Minor reformatting throughout | |
1703 | ||
8c736034 RD |
1704 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
1705 | ||
1706 | * prj-attr.ads: Minor reformatting | |
1707 | Add ??? comment (this whole spec has almost no comments) | |
1708 | ||
47d5b6ed VC |
1709 | 2001-10-26 Vincent Celier <celier@gnat.com> |
1710 | ||
f8e0aa73 | 1711 | * g-os_lib.adb (Normalize_Pathname): Preserve the double slash |
47d5b6ed VC |
1712 | ("//") that precede the drive letter on Interix. |
1713 | ||
41af791f GB |
1714 | 2001-10-26 Geert Bosch <bosch@gnat.com> |
1715 | ||
1716 | * gnat_rm.texi: Add GNAT Reference Manual. | |
1717 | ||
ed4a1468 RD |
1718 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
1719 | ||
f8e0aa73 | 1720 | * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name |
ed4a1468 RD |
1721 | is Error. Similar change for other renaming cases. |
1722 | ||
24377ae4 RD |
1723 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
1724 | ||
1725 | * s-atacco.ads: Add pragma Inline_Always for functions. | |
1726 | Fix header format. Add copyright 2001 | |
1727 | ||
fef3204e ES |
1728 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
1729 | ||
f8e0aa73 | 1730 | * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array |
fef3204e ES |
1731 | return Error rather than Empty so that analysis can proceed. |
1732 | ||
dfc69d80 ES |
1733 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
1734 | ||
f8e0aa73 | 1735 | * sem_util.adb (Enter_Name): better handling of cascaded error |
dfc69d80 ES |
1736 | messages when a unit appears in its own context. |
1737 | ||
5a15af62 ES |
1738 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
1739 | ||
f8e0aa73 | 1740 | * sem_util.adb (Defining_Entity): in case of error, attach created |
5a15af62 ES |
1741 | entity to specification, so that semantic analysis can proceed. |
1742 | ||
2b881d53 RD |
1743 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
1744 | ||
f8e0aa73 | 1745 | * sem_util.adb |
2b881d53 RD |
1746 | (Defining_Entity): Deal with Error. |
1747 | (Process_End_Label): Deal with bad end label for. | |
1748 | ||
578053f2 ES |
1749 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
1750 | ||
f8e0aa73 | 1751 | * sem_elab.adb (Check_A_Call): refine message when call is in an |
578053f2 ES |
1752 | instance but callee is not declared in the generic unit. |
1753 | ||
0597ce0b | 1754 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
f8e0aa73 AJ |
1755 | |
1756 | * sem_elab.adb (Check_A_Call): check for renaming before finding the | |
0597ce0b ES |
1757 | enclosing unit, which may already be different from the calling unit. |
1758 | ||
3de6e6da GB |
1759 | 2001-10-25 Geert Bosch <bosch@gnat.com> |
1760 | ||
1761 | * 4gintnam.ads: fix header format. | |
1762 | ||
6f311316 ES |
1763 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
1764 | ||
f8e0aa73 AJ |
1765 | * sem_res.adb (Resolve_Call): if the call is actually an indexing |
1766 | operation on the result of a parameterless call, perform elaboration | |
6f311316 | 1767 | check after the node has been properly rewritten. |
f8e0aa73 AJ |
1768 | |
1769 | * sem_ch12.adb (Copy_Generic_Node): after the proper body has been | |
1770 | inlined within the generic tree, the defining identifier is not a | |
6f311316 ES |
1771 | compilation_unit. |
1772 | ||
17be0cdf ES |
1773 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
1774 | ||
f8e0aa73 | 1775 | * sem_res.adb (Resolve): special-case resolution of Null in an |
17be0cdf | 1776 | instance or an inlined body to avoid view conflicts. |
f8e0aa73 AJ |
1777 | |
1778 | * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view | |
17be0cdf ES |
1779 | compatibility by retrieving the access type of the generic copy. |
1780 | ||
ce9e9122 RD |
1781 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
1782 | ||
1783 | * sem_ch3.adb: | |
1784 | (Analyze_Number_Declaration): Handle error expression. | |
1785 | (Signed_Integer_Type_Declaration): Handle error bound. | |
1786 | (Analyze_Subtype_Indication): Handle error range. | |
f8e0aa73 | 1787 | |
ce9e9122 RD |
1788 | * sem_util.adb (Get_Index_Bounds): Check for Error. |
1789 | ||
e12fbc9e RD |
1790 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
1791 | ||
f8e0aa73 | 1792 | * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default |
e12fbc9e RD |
1793 | in no run time mode. |
1794 | ||
52b80488 PO |
1795 | 2001-10-25 Pascal Obry <obry@gnat.com> |
1796 | ||
f8e0aa73 | 1797 | * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet |
52b80488 | 1798 | mode case for ALLOC case. |
f8e0aa73 AJ |
1799 | |
1800 | * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on | |
52b80488 PO |
1801 | all platforms. Improvement of last change. |
1802 | ||
316ad9c5 RD |
1803 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
1804 | ||
1805 | * exp_ch4.adb (Expand_N_Allocator): Minor reformatting. | |
1806 | ||
1a7e4df4 GB |
1807 | 2001-10-25 Geert Bosch <bosch@gnat.com> |
1808 | ||
1809 | * osint.adb (Is_Relative): Remove duplicate. | |
1810 | ||
90a9fff2 PO |
1811 | 2001-10-25 Pascal Obry <obry@gnat.com> |
1812 | ||
f8e0aa73 | 1813 | * osint.adb (Read_Default_Search_Dirs): correctly detect relative |
90a9fff2 PO |
1814 | pathnames in UNIX and DOS style with drive letter. |
1815 | (Is_Relative): new routine. | |
f8e0aa73 | 1816 | |
90a9fff2 | 1817 | * osint.adb: Minor reformatting |
f8e0aa73 AJ |
1818 | |
1819 | * osint.adb (Is_Relative): implementation using | |
1a7e4df4 | 1820 | GNAT.OS_Lib.Is_Absolute_Path. Better fix. |
90a9fff2 | 1821 | |
5c1ba4cc PO |
1822 | 2001-10-25 Pascal Obry <obry@gnat.com> |
1823 | ||
f8e0aa73 | 1824 | * g-dirope.adb (Basename): correctly compute offset between the |
5c1ba4cc | 1825 | original Path and the translated one. |
f8e0aa73 | 1826 | |
5c1ba4cc PO |
1827 | * g-dirope.adb: (Base_Name): add some comments. |
1828 | ||
a7fb206d RD |
1829 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
1830 | ||
f8e0aa73 | 1831 | * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use |
a7fb206d | 1832 | in HIE mode, avoids compilation abandoned message |
f8e0aa73 | 1833 | |
a7fb206d | 1834 | * exp_imgv.adb: Correct typo in previous change |
f8e0aa73 | 1835 | |
a7fb206d RD |
1836 | * exp_imgv.adb: Correct typo in previous change (not my day!) |
1837 | ||
e6a7e62e RD |
1838 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
1839 | ||
1840 | * s-tpinop.ads: Add 2001 to copyright notice. Fix header format. | |
1841 | ||
0d2b8e0b | 1842 | 2001-10-25 Pascal Obry <obry@gnat.com> |
75c09e7d | 1843 | |
f8e0aa73 | 1844 | * g-awk.ads: Move all pragma inlines next to the routine |
0d2b8e0b | 1845 | declarations. This is more uniform with other GNAT spec. |
75c09e7d | 1846 | |
0d2b8e0b | 1847 | 2001-10-22 Geert Bosch <bosch@gnat.com> |
d2740a69 GB |
1848 | |
1849 | * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem. | |
1850 | ||
0d2b8e0b | 1851 | 2001-10-19 Geert Bosch <bosch@gnat.com> |
d7ac9bdd GB |
1852 | |
1853 | * Makefile.in (tools, gnattools): Remove gnatmem. | |
1854 | ||
17ed6335 RH |
1855 | 2001-10-17 Richard Henderson <rth@redhat.com> |
1856 | ||
1857 | * Makefile.in (misc.o): Depend on langhooks.h. | |
1858 | * misc.c: Include it. | |
1859 | (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New. | |
1860 | (LANG_HOOKS_DECODE_OPTION): New. | |
1861 | (lang_hooks): Use LANG_HOOKS_INITIALIZER. | |
1862 | ||
f2436274 FW |
1863 | 2001-10-16 Florian Weimer <fw@deneb.enyo.de> |
1864 | ||
1865 | * trans.c (tree_transform): Adjust to recent change in | |
1866 | expand_asm_operands to implement named asm operands. | |
1867 | ||
b14127e6 ES |
1868 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
1869 | ||
f8e0aa73 | 1870 | * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in |
b14127e6 ES |
1871 | renaming of discriminant for mutable record type. |
1872 | ||
e70ee92a RD |
1873 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
1874 | ||
1875 | * validsw.adb: Properly save -gnatVn status. | |
1876 | ||
9a5621d7 | 1877 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
f8e0aa73 | 1878 | |
9a5621d7 RD |
1879 | * usage.adb: Add lines for V switch. |
1880 | ||
f8e0aa73 | 1881 | * gnatcmd.adb (COMPILE): Revise translations for -gnatV |
9a5621d7 RD |
1882 | (/VALIDITY_CHECKING). |
1883 | ||
45667f04 ES |
1884 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
1885 | ||
f8e0aa73 | 1886 | * sem_type.adb (Add_One_Interp): an operator for a type declared in |
45667f04 ES |
1887 | an extension of System is known to be visible. |
1888 | ||
c3de5c4c ES |
1889 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
1890 | ||
f8e0aa73 | 1891 | * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal |
c3de5c4c ES |
1892 | properly. Fixes regression on ACATS C34005G. |
1893 | ||
4fa964a6 RD |
1894 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
1895 | ||
f8e0aa73 | 1896 | * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null |
4fa964a6 RD |
1897 | loop in generic instance, since this is likely not very useful. |
1898 | ||
0868e09c RD |
1899 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
1900 | ||
f8e0aa73 | 1901 | * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize |
0868e09c | 1902 | the error message for high integrity mode. |
f8e0aa73 AJ |
1903 | |
1904 | * rtsfind.adb (RTE): Give message if we try to find an entity that | |
0868e09c | 1905 | is not available in high integrity mode. |
f8e0aa73 | 1906 | |
0868e09c RD |
1907 | * rtsfind.ads: |
1908 | (OK_To_Use_In_HIE_Mode): New array. | |
1909 | (RTE): May return Empty in high integrity mode. | |
f8e0aa73 AJ |
1910 | |
1911 | * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for | |
1912 | OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx. | |
1913 | ||
1914 | * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined | |
1915 | unit if not inlined always and in no runtime mode. Fixes problem | |
0868e09c | 1916 | caused by new Rtsfind changes. |
f8e0aa73 AJ |
1917 | |
1918 | * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if | |
0868e09c | 1919 | body is deleted. |
f8e0aa73 AJ |
1920 | |
1921 | * rtsfind.adb (RTE): Make sure we do not try to load unit after | |
0868e09c RD |
1922 | giving message for entity not available in high integrity mode. |
1923 | ||
934abf9c | 1924 | 2001-10-11 Pascal Obry <obry@gnat.com> |
f8e0aa73 | 1925 | |
934abf9c PO |
1926 | * impunit.adb: Add GNAT.CRC32. |
1927 | ||
3c72bea4 ES |
1928 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
1929 | ||
f8e0aa73 AJ |
1930 | * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle |
1931 | properly the case where one universal operand in a non-static | |
3c72bea4 ES |
1932 | exponentiation of a real literal. |
1933 | ||
44d8d2bb ES |
1934 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
1935 | ||
f8e0aa73 AJ |
1936 | * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type |
1937 | clause, return the gobal finalization list, for lack of anthing else. | |
44d8d2bb | 1938 | |
9e2b9627 ES |
1939 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
1940 | ||
f8e0aa73 AJ |
1941 | * exp_ch7.adb (Make_Transient_Block): if statement is within |
1942 | exception handler, always use new transient scope to place Clean | |
9e2b9627 ES |
1943 | procedure. |
1944 | ||
cfac6e9f PO |
1945 | 2001-10-11 Pascal Obry <obry@gnat.com> |
1946 | ||
1947 | * Makefile.in: | |
1948 | (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o | |
1949 | (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o | |
1950 | (GNATLS_RTL_OBJS): add g-crc32.o | |
1951 | (GNATMAKE_RTL_OBJS): add g-crc32.o | |
f8e0aa73 | 1952 | |
cfac6e9f PO |
1953 | * ali-util.adb: |
1954 | (CRC_Match): new function. | |
f8e0aa73 | 1955 | (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit |
cfac6e9f PO |
1956 | instead of the previous simple checksum algorithm. |
1957 | (Time_Stamp_Mismatch): use CRC_Match for comparison. | |
1958 | (Set_Source_Table): idem. | |
f8e0aa73 | 1959 | |
cfac6e9f | 1960 | * ali-util.ads: |
f8e0aa73 | 1961 | (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC |
cfac6e9f PO |
1962 | instead of simple checksum. |
1963 | (CRC_Match): new function. | |
1964 | (CRC_Error): new constant. | |
f8e0aa73 AJ |
1965 | |
1966 | * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling | |
1967 | a CRC now and not a simple checksum. A CRC uses lower-case hex | |
cfac6e9f | 1968 | letters, fixes ambiguity in parsing. |
f8e0aa73 AJ |
1969 | |
1970 | * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this | |
cfac6e9f | 1971 | is what this variable will store. |
f8e0aa73 | 1972 | |
cfac6e9f | 1973 | * bcheck.adb: Change reference to chechsum in comments by CRC. |
f8e0aa73 AJ |
1974 | (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC. |
1975 | rename All_Checksum_Match to All_CRC_Match. Change due to API | |
1976 | renaming since now GNAT does not use a simple checksum but a | |
cfac6e9f | 1977 | CRC using GNAT.CRC32. |
f8e0aa73 AJ |
1978 | |
1979 | * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC | |
cfac6e9f | 1980 | now and not anymore a simple checksum. |
f8e0aa73 AJ |
1981 | |
1982 | * lib-load.adb: Use Source_CRC instead of Source_Checksum in many | |
cfac6e9f | 1983 | places. |
f8e0aa73 | 1984 | |
cfac6e9f | 1985 | * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum. |
f8e0aa73 | 1986 | |
cfac6e9f PO |
1987 | * scans.adb: |
1988 | (Restore_Scan_State): rename Checksum to CRC. | |
1989 | (Save_Scan_State): idem. | |
f8e0aa73 | 1990 | |
cfac6e9f PO |
1991 | * scans.ads: |
1992 | With GNAT.CRC32. | |
1993 | (Checksum): rename to CRC. | |
1994 | (Saved_Scan_State): Save_Checksum field renamed to Save_CRC | |
f8e0aa73 AJ |
1995 | |
1996 | * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from | |
cfac6e9f | 1997 | GNAT.CRC32). Update copyright notice. |
f8e0aa73 AJ |
1998 | |
1999 | * scn-slit.adb: Rename many Accumulate_Checksum to Update (from | |
cfac6e9f | 2000 | GNAT.CRC32). Update copyright notice. |
f8e0aa73 | 2001 | |
cfac6e9f PO |
2002 | * scn.adb: |
2003 | (Accumulate_Checksum): removed. | |
2004 | (Update): new procedure. Add a wide-character into the CRC. | |
f8e0aa73 | 2005 | |
cfac6e9f PO |
2006 | * sinput-l.adb: |
2007 | (Complete_Source_File_Entry): use CRC32 instead of simple checksum. | |
f8e0aa73 | 2008 | (Load_File): fix initialization of S (change Source_Checksum to |
cfac6e9f | 2009 | Source_CRC) |
f8e0aa73 AJ |
2010 | |
2011 | * sinput-p.adb (Load_Project_File): rename Source_Checksum to | |
cfac6e9f | 2012 | Source_CRC in S initialization. |
f8e0aa73 | 2013 | |
cfac6e9f | 2014 | * sinput.adb (Source_Checksum): renamed to Source_CRC. |
f8e0aa73 | 2015 | |
cfac6e9f PO |
2016 | * sinput.ads (Source_Checksum): renamed to Source_CRC. |
2017 | Update comments for the CRC. | |
f8e0aa73 | 2018 | |
cfac6e9f | 2019 | * types.adb (Hex): Use lowercase for the letter part. |
f8e0aa73 AJ |
2020 | |
2021 | * types.ads (Get_Hex_String): Returns the hexadecimal representation | |
2022 | for a word. This is currently used only for CRC. In previous version, | |
2023 | the checksum was using a representation with all letter being | |
2024 | upper-case. With the new implementation (using CRC) we do not remove | |
2025 | the 32th bit of the CRC, so we can have an upper-case starting letter | |
2026 | in the CRC. This is not possible to parse in Scan_ALI (ali.adb). | |
2027 | It is ambigous since the CRC was optional and could be followed by | |
2028 | options like EB, EE. So now this routines uses lower-case letter for | |
2029 | the hexadecimal representation. Strange enough only lower case letters | |
cfac6e9f | 2030 | where checked in Scan_ALI (even if this was not a possible case). |
f8e0aa73 | 2031 | |
cfac6e9f | 2032 | * gnatvsn.ads (Library_Version): changed to 3.15a. |
f8e0aa73 AJ |
2033 | |
2034 | * s-crc32.ads: Initial version from GNAT.CRC32. This is the version | |
cfac6e9f | 2035 | for the compiler. |
f8e0aa73 AJ |
2036 | |
2037 | * s-crc32.adb: Initial version from GNAT.CRC32. This is the version | |
cfac6e9f | 2038 | for the compiler. |
f8e0aa73 | 2039 | |
cfac6e9f PO |
2040 | * ali-util.adb: Redo previous change to avoid using word CRC everywhere |
2041 | Add 2001 to copyright notice | |
2042 | (Accumulate_Checksum): Modify to use System.CRC32. | |
f8e0aa73 AJ |
2043 | |
2044 | * ali-util.ads: Redo changes of previous revision to continue to use | |
cfac6e9f | 2045 | the word Checksum. Add 2001 to copyright notice. |
f8e0aa73 | 2046 | |
cfac6e9f PO |
2047 | * ali.adb: Undo some of previous changes, not needed. |
2048 | Keep the change for lower case letters in the checksum. | |
f8e0aa73 | 2049 | |
cfac6e9f PO |
2050 | * ali.ads: Undo previous change not needed. |
2051 | ||
2052 | * bcheck.adb: Undo most of previous change, not needed. | |
2053 | But do use Checksums_Match for checksum comparison. | |
f8e0aa73 | 2054 | |
cfac6e9f PO |
2055 | * gnatls.adb: Undo most of previous change, not needed. |
2056 | But do use Checksums_Match for comparing checksums. | |
f8e0aa73 | 2057 | |
cfac6e9f | 2058 | * lib-load.adb: Undo previous change, not needed. |
f8e0aa73 | 2059 | |
cfac6e9f | 2060 | * lib-writ.adb: Undo previous change, not needed. |
f8e0aa73 AJ |
2061 | |
2062 | * lib-writ.ads: Document that checksums use lower case, | |
cfac6e9f | 2063 | not upper case letters. |
f8e0aa73 | 2064 | |
cfac6e9f | 2065 | * scans.adb: Undo previous change, not needed |
f8e0aa73 | 2066 | |
cfac6e9f | 2067 | * scans.ads: Undo previous change, not needed. |
f8e0aa73 | 2068 | |
cfac6e9f | 2069 | * scn-nlit.adb: Undo previous changes, not needed. |
f8e0aa73 | 2070 | |
cfac6e9f | 2071 | * scn-slit.adb: Undo previous change, not needed. Fix header format. |
f8e0aa73 | 2072 | |
cfac6e9f PO |
2073 | * scn.adb: |
2074 | (Accumulate_Checksum): Use System.CRC32. | |
2075 | (Initialize_Checksum): New procedure. | |
2076 | Remove other changes of previous revision. | |
f8e0aa73 | 2077 | |
cfac6e9f | 2078 | * sinput-p.adb: Undo previous change, not needed. |
f8e0aa73 | 2079 | |
cfac6e9f PO |
2080 | * sinput.adb: Undo previous change, not needed. |
2081 | ||
2082 | * sinput-l.adb: Undo previous change, not needed. | |
f8e0aa73 AJ |
2083 | |
2084 | * sinput.ads: Undo previous change, not needed. Keep only comment | |
cfac6e9f | 2085 | on new checksum algorithm |
f8e0aa73 | 2086 | |
cfac6e9f PO |
2087 | * Makefile.in: Add s-crc32 as needed, remove g-crc32. |
2088 | Also remove a-tags and a-stream from GNAT sources. | |
f8e0aa73 | 2089 | |
cfac6e9f | 2090 | * ali.adb (Scan_ALI): fix typo introduce in latest check-in. |
f8e0aa73 | 2091 | |
cfac6e9f PO |
2092 | * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o. |
2093 | ||
4d6d06a5 GB |
2094 | 2001-10-11 Geert Bosch <bosch@gnat.com> |
2095 | ||
2096 | * einfo.h: Regenerate. | |
2097 | ||
2098 | * nmake.ads: Regenerate. | |
2099 | ||
2100 | * nmake.adb: Regenerate. | |
2101 | ||
2102 | * sinfo.h: Regenerate. | |
2103 | ||
2104 | * treeprs.adb: Regenerate. | |
2105 | ||
c97412e2 GB |
2106 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
2107 | ||
2108 | * gnat-style.texi: New file describing coding guidelines for Ada. | |
f8e0aa73 | 2109 | |
b83018ca ES |
2110 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
2111 | ||
f8e0aa73 | 2112 | * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required |
b83018ca ES |
2113 | is Flag174. |
2114 | ||
e834fe1f GB |
2115 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
2116 | ||
2117 | * snames.ads: Add new names for project facility. | |
2118 | ||
2119 | * snames.adb: Update to reflect snames.ads changes. | |
2120 | ||
2121 | * snames.h: Update to reflect snames.ads changes. | |
2122 | ||
b30668b7 VC |
2123 | 2001-10-10 Vincent Celier <celier@gnat.com> |
2124 | ||
2125 | * make.adb: | |
2126 | (Add_Switches): reflect the changes for the switches attributes | |
2127 | Default_Switches indexed by the programming language, | |
2128 | Switches indexed by the file name. | |
2129 | (Collect_Arguments_And_Compile): Idem. | |
2130 | Reflect the attribute name changes. | |
f8e0aa73 | 2131 | |
b30668b7 VC |
2132 | * prj-attr.adb: |
2133 | (Initialisation_Data): Change the names of some packages and | |
2134 | attributes. | |
2135 | (Initialize): process case insensitive associative arrays. | |
f8e0aa73 | 2136 | |
b30668b7 VC |
2137 | * prj-attr.ads: |
2138 | (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array. | |
f8e0aa73 | 2139 | |
b30668b7 VC |
2140 | * prj-dect.adb: |
2141 | (Parse_Attribute_Declaration): For case insensitive associative | |
2142 | arrays, set the index string to lower case. | |
f8e0aa73 | 2143 | |
b30668b7 VC |
2144 | * prj-env.adb: |
2145 | Reflect the changes of the project attributes. | |
f8e0aa73 | 2146 | |
b30668b7 VC |
2147 | * prj-nmsc.adb: |
2148 | Replace Check_Naming_Scheme by Ada_Check and | |
2149 | Language_Independent_Check. | |
f8e0aa73 | 2150 | |
b30668b7 VC |
2151 | * prj-nmsc.ads: |
2152 | Replaced Check_Naming_Scheme by 2 procedures: | |
2153 | Ada_Check and Language_Independent_Check. | |
f8e0aa73 | 2154 | |
b30668b7 VC |
2155 | * prj-proc.adb: |
2156 | (Process_Declarative_Items): For case-insensitive associative | |
2157 | arrays, set the index string to lower case. | |
2158 | (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of | |
2159 | Prj.Nmsc.Check_Naming_Scheme. | |
f8e0aa73 | 2160 | |
b30668b7 VC |
2161 | * prj-tree.adb: |
2162 | (Case_Insensitive): New function | |
2163 | (Set_Case_Insensitive): New procedure | |
f8e0aa73 | 2164 | |
b30668b7 VC |
2165 | * prj-tree.ads: |
2166 | (Case_Insensitive): New function | |
2167 | (Set_Case_Insensitive): New procedure | |
2168 | (Project_Node_Record): New flag Case_Insensitive. | |
f8e0aa73 | 2169 | |
b30668b7 VC |
2170 | * prj-util.adb: |
2171 | (Value_Of): new function to get the string value of a single | |
2172 | string variable or attribute. | |
f8e0aa73 | 2173 | |
b30668b7 VC |
2174 | * prj-util.ads: |
2175 | (Value_Of): new function to get the string value of a single | |
2176 | string variable or attribute. | |
f8e0aa73 | 2177 | |
b30668b7 VC |
2178 | * prj.adb: |
2179 | (Ada_Default_Spec_Suffix): New function | |
2180 | (Ada_Default_Impl_Suffix): New function | |
2181 | Change definitions of several constants to reflect | |
2182 | new components of record types. | |
f8e0aa73 | 2183 | |
b30668b7 VC |
2184 | * prj.ads: |
2185 | (Naming_Data): Change several components to reflect new | |
2186 | elements of naming schemes. | |
2187 | (Project_Data): New flags Sources_Present and | |
2188 | Language_Independent_Checked. | |
2189 | (Ada_Default_Spec_Suffix): New function. | |
2190 | (Ada_Default_Impl_Suffix): New function. | |
f8e0aa73 | 2191 | |
b30668b7 VC |
2192 | * snames.ads: |
2193 | Modification of predefined names for project manager: added | |
2194 | Implementation, Specification_Exceptions, Implementation_Exceptions, | |
2195 | Specification_Suffix, Implementation_Suffix, Separate_Suffix, | |
2196 | Default_Switches, _Languages, Builder, Cross_Reference, | |
2197 | Finder. Removed Body_Part, Specification_Append, Body_Append, | |
2198 | Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind, | |
2199 | Gnatlink. | |
f8e0aa73 | 2200 | |
b30668b7 VC |
2201 | * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix): |
2202 | Add comments. | |
f8e0aa73 | 2203 | |
b30668b7 VC |
2204 | * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted, |
2205 | not that it is Nil_Variable_Value. | |
f8e0aa73 | 2206 | |
b30668b7 VC |
2207 | * prj.ads: Add ??? for uncommented declarations |
2208 | ||
662e57b4 ES |
2209 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
2210 | ||
f8e0aa73 AJ |
2211 | * sem_prag.adb: (Analyze_Pragma, case External): If entity is a |
2212 | constant, do not indicate possible modification, so that gigi can | |
662e57b4 ES |
2213 | treat it as a bona fide constant. |
2214 | ||
72e4357f RD |
2215 | 2001-10-10 Robert Dewar <dewar@gnat.com> |
2216 | ||
2217 | * sem_prag.adb: Add processing for pragma External. | |
f8e0aa73 | 2218 | |
72e4357f | 2219 | * snames.ads: Add entry for pragma External. |
f8e0aa73 | 2220 | |
72e4357f | 2221 | * par-prag.adb: Add pragma External. |
f8e0aa73 | 2222 | |
72e4357f RD |
2223 | * snames.adb: Updated to match snames.ads. |
2224 | ||
7bc1c7df ES |
2225 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
2226 | ||
2227 | * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for | |
2228 | a dynamic task if the allocator appears in an indexed assignment | |
2229 | or selected component assignment. | |
f8e0aa73 AJ |
2230 | |
2231 | * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image): | |
2232 | For a dynamic task in an assignment statement, use target of | |
7bc1c7df ES |
2233 | assignment to generate meaningful name. |
2234 | ||
c84700e7 ES |
2235 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
2236 | ||
f8e0aa73 | 2237 | * einfo.adb (Write_Field19_Name): Body_Entity is also defined for |
c84700e7 ES |
2238 | a generic package. |
2239 | ||
2240 | * einfo.ads: Body_Entity is also defined for generic package. | |
2241 | Documentation change only | |
f8e0aa73 AJ |
2242 | |
2243 | * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an | |
2244 | others_choice for a discriminated component initialization, | |
2245 | convert discriminant references into the corresponding discriminals. | |
2246 | ||
2247 | * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate | |
2248 | only if original type is private and expression has to be wrapped | |
c84700e7 | 2249 | in a conversion. |
f8e0aa73 AJ |
2250 | |
2251 | * checks.adb: | |
2252 | (Apply_Constraint_Check): Do not perform length check | |
c84700e7 | 2253 | if expression is an aggregate with only an others_choice. |
f8e0aa73 | 2254 | (Length_N_Cond): two references to the same in_parameter |
c84700e7 ES |
2255 | (typically the discriminal in an init_proc) denote the same value. |
2256 | Two useful optimization uncovered by bugfixes above. | |
2257 | ||
d8d80dcd RD |
2258 | 2001-10-10 Robert Dewar <dewar@gnat.com> |
2259 | ||
f8e0aa73 | 2260 | * xeinfo.adb: Change int to char in translation of enumeration types. |
d8d80dcd RD |
2261 | This fixes a problem in the C representation of component alignment. |
2262 | Add 2001 to copyright notice | |
2263 | ||
a8fee948 RK |
2264 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
2265 | ||
f8e0aa73 | 2266 | * decl.c: (validate_size): Do check size of object of integral type |
a8fee948 RK |
2267 | if it is a packed array type. |
2268 | ||
c2d7fe59 RK |
2269 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
2270 | ||
f8e0aa73 | 2271 | * decl.c: (gnat_to_gnu_entity, case object): Also materialize |
c2d7fe59 RK |
2272 | VAR_DECL for constant if not Is_Public but -O0. |
2273 | ||
fb75e100 RK |
2274 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
2275 | ||
2276 | * misc.c (struct lang_hooks): Add new initializer to match GCC change. | |
2277 | ||
1724557a GB |
2278 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
2279 | ||
f8e0aa73 | 2280 | * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer |
1724557a GB |
2281 | use '/' as switch character, allowing for absolute file names. |
2282 | ||
9f2f9eb6 JM |
2283 | 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk> |
2284 | ||
2285 | * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update | |
2286 | FSF address. | |
2287 | ||
8fecf41d GB |
2288 | 2001-10-08 Geert Bosch <bosch@gnat.com> |
2289 | ||
2290 | * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): | |
2291 | Automatically build utilities when files need to be regenerated. | |
2292 | ||
589f1edf GB |
2293 | 2001-10-08 Geert Bosch <bosch@gnat.com> |
2294 | ||
2295 | * xsnames.adb: New utility for updating snames.ads and snames.adb | |
2296 | ||
67f28219 ZW |
2297 | 2001-10-08 Zack Weinberg <zack@codesourcery.com> |
2298 | ||
2299 | * Make-lang.in (ADAFLAGS): Add -W -Wall. | |
2300 | (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also. | |
2301 | (gnat1): Also depend on attribs.o. | |
2302 | (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make. | |
2303 | * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New. | |
2304 | (ADAC): Set to @ADAC@ in stage1, $(CC) later. | |
2305 | (ADAFLAGS): Add -W -Wall. | |
2306 | (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS; | |
2307 | take out CFLAGS. | |
2308 | ||
2309 | (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o, | |
2310 | s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o, | |
2311 | s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o): | |
2312 | Use $(ADAC), not $(CC), as compilation command. | |
2313 | ||
2314 | (gnattools): Depend directly on tools to build, don't use | |
2315 | recursive make. | |
2316 | (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make. | |
2317 | ||
2318 | * einfo.h, sinfo.h: New files (autogenerated). | |
2319 | ||
295ef2bb RH |
2320 | 2001-10-08 Richard Henderson <rth@redhat.com> |
2321 | ||
2322 | * comperr.adb (Abort_In_Progress): New. | |
2323 | (Compiler_Abort): Use it to prevent recursion. | |
2324 | ||
5c736541 RD |
2325 | 2001-10-08 Robert Dewar <dewar@gnat.com> |
2326 | ||
2327 | * atree.adb: Set Error_Posted in Error node, helps error recovery. | |
67f28219 ZW |
2328 | |
2329 | * par-endh.adb (Output_End_Expected): We should also not test | |
5c736541 | 2330 | Error_Posted on the Error node, since now it is always set. |
67f28219 ZW |
2331 | |
2332 | * cstand.adb (Create_Standard): Set Etype of Error to Any_Type | |
5c736541 | 2333 | to help error recovery. Part of general work on 9407-004. |
67f28219 | 2334 | |
5c736541 | 2335 | * par.adb: Add ??? for misuse of error |
67f28219 | 2336 | |
5c736541 RD |
2337 | * sem_res.adb: |
2338 | (Resolve): Defend against Error, fixes 9407-003. | |
2339 | (Resolve_Discrete_Subtype_Indication): Defend against Error. | |
67f28219 ZW |
2340 | |
2341 | * sinfo.ads (N_Error): Now has Etype field (which will be set | |
5c736541 RD |
2342 | to Any_Type to help error recovery). |
2343 | ||
a153ae15 RK |
2344 | 2001-10-08 Richard Kenner (kenner@gnat.com) |
2345 | ||
2346 | * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR): | |
2347 | Consistently set MEM attributes from expression; fixes | |
2348 | bootstrap failure on x86. | |
2349 | ||
743f3c7b GB |
2350 | 2001-10-08 Geert Bosch (bosch@gnat.com) |
2351 | ||
2352 | * 5oosinte.adb: Add 2001 to copyright notice. | |
2353 | ||
210c4ef4 GB |
2354 | 2001-10-08 Geert Bosch (bosch@gnat.com) |
2355 | ||
2356 | * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs]. | |
2357 | ||
2358 | * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs]. | |
2359 | ||
cc712abf JM |
2360 | 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk> |
2361 | ||
2362 | * 5oosinte.adb: Fix spelling error of "separate" as "seperate". | |
2363 | ||
4c4abc0f GB |
2364 | 2001-10-05 Geert Bosch (bosch@gnat.com) |
2365 | ||
2366 | * adaint.h: Small formatting fix. | |
2367 | ||
7f50e2e3 GB |
2368 | 2001-10-04 Geert Bosch <bosch@gnat.com> |
2369 | ||
2370 | * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode): | |
2371 | Arg is int, not FILE *, in dummy version of functions. | |
67f28219 | 2372 | |
7f50e2e3 GB |
2373 | * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode): |
2374 | Arg is int, not FILE *. | |
2375 | ||
5d1a9698 GB |
2376 | 2001-10-04 Geert Bosch <bosch@gnat.com> |
2377 | ||
2378 | * 3lsoccon.ads: Added file, missed with initial check ins. | |
67f28219 | 2379 | |
5d1a9698 GB |
2380 | * 4lintnam.ads: Fix header format. |
2381 | Change Linux to GNU/Linux. | |
67f28219 | 2382 | |
5d1a9698 GB |
2383 | * 5iosinte.adb: Change Linux to GNU/Linux. |
2384 | ||
2385 | * 5iosinte.ads: Change Linux to GNU/Linux. | |
67f28219 | 2386 | |
5d1a9698 | 2387 | * 5itaprop.adb: Change Linux to GNU/Linux. |
67f28219 | 2388 | |
5d1a9698 GB |
2389 | * 5itaspri.ads: Change Linux to GNU/Linux. |
2390 | Update copyright notice. | |
67f28219 | 2391 | |
5d1a9698 | 2392 | * 5lintman.adb: Change Linux to GNU/Linux. |
67f28219 | 2393 | |
5d1a9698 | 2394 | * 5lml-tgt.adb: Change Linux to GNU/Linux. |
67f28219 | 2395 | |
5d1a9698 | 2396 | * 5losinte.ads: Change Linux to GNU/Linux. |
67f28219 | 2397 | |
5d1a9698 | 2398 | * 5lsystem.ads: Change Linux to GNU/Linux. |
67f28219 | 2399 | |
5d1a9698 | 2400 | * 5qosinte.adb: Change Linux to GNU/Linux. |
67f28219 | 2401 | |
5d1a9698 | 2402 | * 5qosinte.ads: Change Linux to GNU/Linux. |
67f28219 | 2403 | |
5d1a9698 | 2404 | * 5qparame.ads: Change Linux to GNU/Linux. |
67f28219 | 2405 | |
5d1a9698 | 2406 | * 5qtaprop.adb: Change Linux to GNU/Linux. |
67f28219 | 2407 | |
5d1a9698 GB |
2408 | * 5qtaspri.ads: Change Linux to GNU/Linux. |
2409 | Add 2001 to copyright notice. | |
67f28219 | 2410 | |
5d1a9698 GB |
2411 | * 5vintman.ads: Change Linux to GNU/Linux. |
2412 | Fix header format. Add 2001 to copyright notice. | |
67f28219 | 2413 | |
5d1a9698 | 2414 | * g-soccon.ads: Change Linux to GNU/Linux. |
67f28219 | 2415 | |
5d1a9698 GB |
2416 | * g-trasym.ads: Change Linux to GNU/Linux. |
2417 | Add 2001 to copyright notice. | |
67f28219 | 2418 | |
5d1a9698 | 2419 | * memtrack.adb: Change Linux to GNU/Linux. |
67f28219 | 2420 | |
5d1a9698 GB |
2421 | * s-intman.ads: Change Linux to GNU/Linux. |
2422 | Add 2001 to copyright notice. Fix header format. | |
67f28219 | 2423 | |
5d1a9698 | 2424 | * s-stache.adb: Change Linux to GNU/Linux. |
67f28219 | 2425 | |
5d1a9698 | 2426 | * adaint.c: Change Linux to GNU/Linux. |
67f28219 | 2427 | |
5d1a9698 | 2428 | * cio.c: Change Linux to GNU/Linux. |
67f28219 | 2429 | |
5d1a9698 | 2430 | * cstreams.c: Change Linux to GNU/Linux. |
67f28219 | 2431 | |
5d1a9698 | 2432 | * init.c: Change Linux to GNU/Linux. |
67f28219 | 2433 | |
5d1a9698 | 2434 | * gmem.c: Change Linux to GNU/Linux. |
67f28219 | 2435 | |
5d1a9698 GB |
2436 | * tracebak.c: Change Linux to GNU/Linux. |
2437 | ||
2438 | ||
c25ca2d7 GB |
2439 | 2001-10-02 Geert Bosch <bosch@gnat.com> |
2440 | ||
2441 | * misc.c (insert_default_attributes): Add dummy version. |