1 2010-04-07 Eric Botcazou <ebotcazou@adacore.com>
3 * exp_pakd.adb (Create_Packed_Array_Type): Always use a modular type
4 if the size is small enough. Propagate the alignment if there is an
5 alignment clause on the original array type.
6 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Subtype>
7 Deal with under-aligned packed array types. Copy the size onto the
8 justified modular type and don't lay it out again. Likewise for the
9 padding type built for other under-aligned subtypes.
10 * gcc-interface/utils.c (finish_record_type): Do not set a default mode
13 2010-04-07 Eric Botcazou <ebotcazou@adacore.com>
15 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Procedure>: Set default
16 alignment on the RETURN type built for the Copy-In Copy-Out mechanism.
18 2010-04-07 Eric Botcazou <ebotcazou@adacore.com>
20 * gcc-interface/trans.c (call_to_gnu): In the return-by-target-ptr case
21 do not set the result type if there is a specified target and do not
22 convert the result in any cases.
23 (protect_multiple_eval): Make direct SAVE_EXPR for CALL_EXPR.
24 (maybe_stabilize_reference) <COMPOUND_EXPR>: Merge with CALL_EXPR.
26 2010-03-10 Eric Botcazou <ebotcazou@adacore.com>
28 * gcc-interface/Makefile.in (SPARC/Solaris): Use sparcv8plus.
30 2010-02-27 Eric Botcazou <ebotcazou@adacore.com>
33 * gcc-interface/utils2.c (build_binary_op) <EQ_EXPR>: Assert that fat
34 pointer base types are variant of each other. Apply special treatment
35 for null to fat pointer types in all cases.
37 2010-01-28 Pascal Obry <obry@adacore.com>
39 * s-win32.ads: Add some missing constants.
41 2010-01-28 Vincent Celier <celier@adacore.com>
43 * prj-attr-pm.adb (Add_Attribute): Do nothing if To_Package is
46 2010-01-28 Robert Dewar <dewar@adacore.com>
48 * gnat_rm.texi: Minor correction
50 2010-01-27 Pascal Obry <obry@adacore.com>
52 * g-awk.adb: ensure that an AWK session is reusable.
54 2010-01-27 Vasiliy Fofanov <fofanov@adacore.com>
56 * g-regist.adb (For_Every_Key): Fix previous change.
59 2010-01-27 Thomas Quinot <quinot@adacore.com>
61 * lib-writ.ads: Current version of spec for new N (note) ALI lines
63 2010-01-27 Yannick Moy <moy@adacore.com>
65 * a-cdlili.adb (Insert): Correct exception message when cursor
66 designates wrong list.
68 2010-01-27 Vincent Celier <celier@adacore.com>
70 * gnatcmd.adb: When there is only one main specified, the package
71 support Switches (<main>) and attribute Switches is specified for the
72 main, use these switches, instead of Default_Switches ("Ada").
74 2010-01-27 Robert Dewar <dewar@adacore.com>
76 * sem_prag.adb, par-prag.adb, snames.ads-tmpl: pragma Dimension initial
78 * exp_disp.adb: Minor reformatting
80 2010-01-27 Tristan Gingold <gingold@adacore.com>
82 * seh_init.c: Use __ImageBase instead of _ImageBase.
84 2010-01-27 Javier Miranda <miranda@adacore.com>
86 * exp_disp.ads, exp_disp.adb (Expand_Interface_Thunk): Modify the
87 profile of interface thunks. The type of the controlling formal is now
88 the covered interface type (instead of the target tagged type).
90 2010-01-27 Sergey Rybin <rybin@adacore.com>
92 * gnat_rm.texi, gnat_ugn.texi: Update gnatcheck doc.
94 2010-01-27 Robert Dewar <dewar@adacore.com>
96 * sinput.ads, sinput.adb (Sloc_Range): Applies to all nodes, formal
97 changed from Expr to N.
99 2010-01-26 Thomas Quinot <quinot@adacore.com>
101 * gnat_ugn.texi: Adjust documentation of -gnatz switches.
102 * usage.adb: Replace line for -gnatz with two lines for -gnatzc and
105 2010-01-26 Vincent Celier <celier@adacore.com>
107 * prj-attr.adb: Add new attribute Library_Install_Name_Option
108 Replace attribute Run_Path_Origin_Supported with Run_Path_Origin
109 * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process
110 attributes Run_Path_Option and Library_Install_Name_Option.
111 * prj.ads (Project_Configuration): Replace component
112 Run_Path_Origin_Supported with component Run_Path_Origin. Add new
113 component Library_Install_Name_Option.
114 * snames.ads-tmpl: Add new standard name Library_Install_Name_Option
115 Replace Run_Path_Origin_Supported with Run_Path_Origin
117 2010-01-26 Ed Schonberg <schonberg@adacore.com>
119 * sem_ch8.adb (Use_One_Package): Within an instance, an actual package
120 is not hidden by a homograph declared in another actual package.
122 2010-01-26 Robert Dewar <dewar@adacore.com>
124 * par_sco.adb (Traverse_Declarations_Or_Statements): Only generate
125 decisions for pragmas Assert, Check, Precondition, Postcondition if
127 * scos.ads: Update comments.
128 * get_scos.adb, put_scos.adb: Minor fix to code reading statement SCOs.
129 Also remove obsolete code for CT (exit point) SCOs.
131 2010-01-26 Thomas Quinot <quinot@adacore.com>
133 * switch-c.adb: Fix handling of -gnatz*
135 2010-01-26 Robert Dewar <dewar@adacore.com>
137 * par_sco.adb (Traverse_Declarations_Or_Statements): Separate F/W
138 qualifiers for FOR/WHILE loops
139 * scos.ads: Use separate type letters F/W for for/while loops
141 2010-01-26 Robert Dewar <dewar@adacore.com>
143 * get_scos.adb (Get_SCOs): Implement new form of CS entries (multiple
144 entries per line, one for each statement in the sequence).
145 * par_sco.adb (Traverse_Declarations_Or_Statements): Increase array
146 size from 100 to 10_000 for SC_Array to avoid any real possibility of
147 overflow. Output decisions in for loops.
148 Exclude labels from CS lines.
149 * scos.ads: Clarify that label is not included in the entry point
151 2010-01-26 Robert Dewar <dewar@adacore.com>
153 * par_sco.adb (Traverse_Declarations_Or_Statments): Implement new
154 format of statement sequence SCO entries (one location/statement).
155 * put_scos.adb (Put_SCOs): Implement new format of CS lines
156 * scos.ads: Update comments.
157 * sem_eval.adb: Minor reformatting.
159 2010-01-26 Robert Dewar <dewar@adacore.com>
161 * par_sco.ads, par_sco.adb (Set_Statement_Entry): New handling of exits
162 (Extend_Statement_Sequence): New procedures
163 (Traverse_Declarations_Or_Statements): New handling for exits.
165 2010-01-26 Robert Dewar <dewar@adacore.com>
167 * par_sco.adb (Traverse_Declarations_Or_Statements): Add processing for
170 2010-01-26 Robert Dewar <dewar@adacore.com>
172 * par_sco.adb (Is_Logical_Operator): Exclude AND/OR/XOR
173 * scos.ads: Clarify handling of logical operators
175 2010-01-26 Arnaud Charlet <charlet@adacore.com>
177 * s-tpoben.adb: Update comments.
179 2010-01-26 Robert Dewar <dewar@adacore.com>
181 * freeze.adb (Set_Small_Size): Don't set size if alignment clause
184 2010-01-26 Robert Dewar <dewar@adacore.com>
186 * scos.ads: Clean up documentation, remove obsolete XOR references
187 2010-01-26 Vincent Celier <celier@adacore.com>
189 * gnat_ugn.texi: Complete documentation on the restrictions for
190 combined options in -gnatxxx switches.
193 2010-01-26 Arnaud Charlet <charlet@adacore.com>
195 * s-tpoben.adb (Initialize_Protection_Entries): If a PO is created from
196 a controlled operation, abort is already deferred at this point, so we
197 need to use Defer_Abort_Nestable.
199 2010-01-26 Vincent Celier <celier@adacore.com>
201 * prj-conf.adb (Get_Config_Switches): Check for a default language for
202 a project extending a project with no languages.
204 2010-01-26 Vincent Celier <celier@adacore.com>
206 * switch-c.adb (Scan_Front_End_Switches): Take into account options
208 Allow -gnateG to be followed by other options.
210 2010-01-26 Robert Dewar <dewar@adacore.com>
212 * s-commun.ads, s-osprim-mingw.adb, s-stchop-vxworks.adb, sem_aggr.adb,
213 s-vxwext.adb, sem_ch10.adb, sem_eval.adb, sem_prag.adb: Minor
216 2010-01-26 Vasiliy Fofanov <fofanov@adacore.com>
218 * g-regist.adb, g-regist.ads (For_Every_Key): New generic procedure
219 that allows to iterate over all subkeys of a key.
221 2010-01-26 Ed Falis <falis@adacore.com>
223 * sysdep.c: enable NFS for VxWorks MILS
224 * env.c: enable __gnat_environ for VxWorks MILS
225 * gcc-interface/Makefile.in: Add VxWorks MILS target pairs.
227 2010-01-25 Bob Duff <duff@adacore.com>
229 * sem_aggr.adb (Resolve_Array_Aggregate): Check for the case where this
230 is an internally-generated positional aggregate, and the bounds are
231 already correctly set. We don't want to overwrite those bounds with
232 bounds determined by context.
234 2010-01-25 Robert Dewar <dewar@adacore.com>
236 * g-sercom.ads, gnatcmd.adb, gnatlink.adb, a-ststio.adb, exp_ch6.adb,
237 exp_ch9.adb, g-sechas.ads: Minor reformatting.
239 2010-01-25 Thomas Quinot <quinot@adacore.com>
241 * s-commun.adb (Last_Index): Count must be converted to SEO (a signed
242 integer type) before subtracting 1, otherwise the computation may wrap
243 (because size_t is modular) and cause the conversion to fail.
245 2010-01-25 Ed Falis <falis@adacore.com>
247 * sysdep.c, init.c: Adapt to support full run-time on VxWorks MILS.
249 2010-01-25 Vincent Celier <celier@adacore.com>
251 * prj-attr.adb: New attribute Run_Path_Origin_Required
252 * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process new
253 attribute Run_Path_Origin_Required.
254 * prj.ads (Project_Configuration): New component
255 Run_Path_Origin_Supported.
256 * snames.ads-tmpl: New standard name Run_Path_Origin_Required
258 2010-01-25 Ed Schonberg <schonberg@adacore.com>
260 * sem_aggr.adb (Resolve_Array_Aggregate): If the bounds in a choice
261 have errors, do not continue resolution of the aggregate.
262 * sem_eval.adb (Eval_Indexed_Component): Do not attempt to evaluate if
263 the array type indicates an error.
265 2010-01-25 Bob Duff <duff@adacore.com>
267 * sinfo.ads: Minor comment fixes.
269 2010-01-25 Bob Duff <duff@adacore.com>
271 * exp_ch4.adb, exp_aggr.adb: Minor comment fixes and code clean up.
273 2010-01-25 Arnaud Charlet <charlet@adacore.com>
275 * gnatvsn.ads (Current_Year): Update.
277 2010-01-25 Florian Villoing <villoing@adacore.com>
279 * gnat_ugn.texi: Fix typo.
281 2010-01-25 Thomas Quinot <quinot@adacore.com>
283 * scos.ads: Update specification.
285 2010-01-25 Ed Schonberg <schonberg@adacore.com>
287 * sem_ch6.adb (Process_PPCs): If a postcondition is present and the
288 enclosing subprogram has no previous spec, attach postcondition
289 procedure to the defining entity for the body.
291 2010-01-25 Ed Schonberg <schonberg@adacore.com>
293 * exp_aggr.adb (Build_Record_Aggr_Code); Do not generate call to
294 initialization procedure of the ancestor part of an extension aggregate
295 if it is an interface type.
297 2010-01-25 Vincent Celier <celier@adacore.com>
299 * gnatlink.adb (Process_Binder_File): The directory for the shared
300 version of libgcc in the run path options is found in the subdirectory
301 indicated by __gnat_default_libgcc_subdir.
302 * link.c: Declare new const char * __gnat_default_libgcc_subdir for
305 2010-01-25 Ed Schonberg <schonberg@adacore.com>
307 * sem_prag.adb: More flexible pragma Annotate.
309 2010-01-22 Eric Botcazou <ebotcazou@adacore.com>
311 * system-linux-armel.ads (Stack_Check_Probes): Set to True.
312 * system-linux-armeb.ads (Stack_Check_Probes): Likewise.
314 2010-01-18 Eric Botcazou <ebotcazou@adacore.com>
316 * gcc-interface/utils.c (create_var_decl_1): Fix formatting nits.
318 2010-01-18 Jan Hubicka <jh@suse.cz>
321 * gcc-interface/utils.c (create_var_decl_1): Do not set COMMON flag for
322 unit local variables.
324 2010-01-17 Laurent GUERBY <laurent@guerby.net>
326 * gcc-interface/Makefile.in: Fix typo in arm*-*-linux-gnueabi.
328 2010-01-11 Mikael Pettersson <mikpe@it.uu.se>
330 * gcc-interface/Makefile.in: Add arm*-*-linux-gnueabi.
331 * system-linux-armeb.ads, system-linux-armel.ads: New files.
333 2010-01-09 Simon Wright <simon@pushface.org>
336 * gcc-interface/Makefile.in (gnatlib-shared-darwin): Add missing
341 Copyright (C) 2010 Free Software Foundation, Inc.
343 Copying and distribution of this file, with or without modification,
344 are permitted in any medium without royalty provided the copyright
345 notice and this notice are preserved.