1 2012-01-23 Matthew Heaney <heaney@adacore.com>
3 * a-cohase.ads, a-cihase.ads, a-cbhase.ads, a-coorse.ads,
4 a-ciorse.ads, a-cborse.ads, a-cohama.ads, a-cihama.ads, a-cbhama.ads,
5 a-coorma.ads, a-ciorma.ads, a-cborma.ads, a-cdlili.ads, a-cidlli.ads,
6 a-cbdlli.ads, a-convec.ads, a-coinve.ads, a-cobove.ads (Cursor'Read,
7 Cursor'Write): Declare in private part.
8 (Reference_Type'Read, Reference_Type'Write): Ditto.
9 (Constant_Reference_Type'Read, Constant_Reference_Type'Write): Ditto.
11 2012-01-23 Robert Dewar <dewar@adacore.com>
13 * a-catizo.ads, a-calend.adb, a-calend.ads, par-ch13.adb: Minor
16 2012-01-23 Ed Schonberg <schonberg@adacore.com>
18 * sem_ch6.adb (Analyze_Subprogram_Declaration): Do not set the
19 Corresponding_Body on a defaulted null formal subprogram.
20 * sem_ch12.adb (Check_Formal_Package_Instance): No check needed
21 on a defaulted formal subprogram that is a null procedure.
23 2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>
25 * exp_ch9.adb: Update the comments involving pragma Implemented.
26 * sem_ch3.adb (Check_Pragma_Implemented (Entity_Id)): Add local
27 constant Subp_Alias and local variable Impl_Subp. Properly
28 handle aliases of synchronized wrappers. Code cleanup.
29 (Check_Pragma_Implemented (Entity_Id; Entity_Id)): Add
30 Name_Optional as part of the condition.
31 * sem_prag.adb (Analyze_Pragma): Add "Optional" as one of the
32 valid choices of implementation kind.
33 (Check_Arg_Is_One_Of): New routine.
34 * snames.ads-tmlp: Add Name_Optional.
36 2012-01-23 Ed Schonberg <schonberg@adacore.com>
38 * par-ch13.adb: Better error recovery in illegal aspect
41 2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>
43 * a-calend.adb: Add with clause for Interfaces.C. Add constant
45 (Day_Of_Week): Call the internal UTC_Time_Offset.
46 (Split): Call the internal UTC_Time_Offset.
47 (Time_Of): Call the internal UTC_Time_Offset.
48 (Time_Zone_Operations.UTC_Time_Offset): Call internal UTC_Time_Offset.
49 (UTC_Time_Offset): New library-level routine.
50 * a-calend.ads (UTC_Time_Offset): Remove parameter
51 Is_Historic. Update related comment on usage.
52 * a-catizo.adb (UTC_Time_Offset): Removed.
53 (UTC_Time_Offset (Time)): Call Time_Zone_Operations.UTC_Time_Offset.
54 * a-caltizo.ads (UTC_Time_Offset): Removed.
55 (UTC_Time_Offset (Time)): Add back the default expression of parameter
58 2012-01-23 Robert Dewar <dewar@adacore.com>
60 * sprint.ads, sprint.adb (Sprint_Node_List): Add New_Lines parameter
61 (pg,po,ps): Make sure each entry starts on new line.
63 2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>
65 * a-calend.ads, a-calend.adb: Define types int and int_Pointer. Update
66 the parameter profile of procedure localtime_tzoff and its associated
68 (Day_Of_Week): Do not treat the input date as historical
69 with respect to time zones.
70 (Split): Do not treat the input
71 date as historical with respect to time zones. (Time_Of): Do
72 not treat the input constituents as forming a historical date
73 with respect to time zones.
74 (UTC_Time_Offset): Add new formal
75 parameter Is_Historic. Add local variable Flag. Update the call
77 * a-catizo.ads, a-catizo.adb (UTC_Time_Offset): New routine.
78 (UTC_Time_Offset (Time)): Update the call to
79 Time_Zone_Operations.UTC_Time_Offset.
80 * sysdep.c (__gnat_localtime_tzoff): Update parameter
81 profile. Split the processing of offsets on Windows into two - one
82 part of historic time stamps and the other for the current time.
84 2012-01-23 Robert Dewar <dewar@adacore.com>
86 * a-calend.adb: Minor reformatting.
88 2012-01-23 Ed Schonberg <schonberg@adacore.com>
90 * exp_ch9.adb, sem_ch9.adb: Handle array of access to synchronized
91 interface in requeue statement.
93 2012-01-23 Cyrille Comar <comar@adacore.com>
95 * projects.texi: Remove references to main units and replace
96 with references to main programs to be coherent with the
99 2012-01-23 Robert Dewar <dewar@adacore.com>
101 * s-utf_32.adb: Minor reformatting.
103 2012-01-23 Vincent Celier <celier@adacore.com>
105 * snames.ads-tmpl: Minor comment addition Indicate that
106 Name_Library_Encapsulated_Options is only used in gprbuild.
108 2012-01-23 Robert Dewar <dewar@adacore.com>
110 * sem_ch10.adb (Analyze_Subunit): Properly save/restore cunit
113 2012-01-23 Ed Schonberg <schonberg@adacore.com>
115 * snames.ads-tmpl: Add Name_Synchronization.
116 * aspects.ads, aspects.adb: Add Aspect_Synchronization to
117 enumeration type and related maps.
118 * sem_ch13.adb (Analyze_Aspect_Specifications): Handle Aspect
119 Synchronization, build corresponding pragma Implemented.
120 * sem_util.adb (Implementation_Kind): Handle both explicit and
121 implicit pragma_argument association to retrieve the given
122 synchronization mode.
124 2012-01-23 Robert Dewar <dewar@adacore.com>
126 * sem_ch10.adb, errout.adb: Minor reformatting.
128 2012-01-23 Ed Schonberg <schonberg@adacore.com>
130 * sem_res.adb (Resolve_Actuals): An actual in a call to an
131 Ada 2012 Reference function does not lead to a dangerous order
134 2012-01-23 Gary Dismukes <dismukes@adacore.com>
136 * exp_util.adb (Is_Iterated_Container): Test
137 Is_Entity_Name when searching for calls to the default iterator,
138 to avoid blowing up on indirect calls which have an explicit
139 dereference as the call name.
141 2012-01-23 Thomas Quinot <quinot@adacore.com>
143 * errout.adb (Set_Msg_Node): For an N_Expanded_Name, output
144 the complete expanded name, rather than just its Selector_Name.
146 2012-01-23 Thomas Quinot <quinot@adacore.com>
148 * a-textio.adb (Put): Rewrite one-parameter Character version to
149 just call the two-parameter one with Current_Out.
151 2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>
153 * freeze.adb (Check_Current_Instance): Issue an
154 error when the prefix of 'Unchecked_Access or 'Access does not
155 denote a legal aliased view of a type.
156 (Freeze_Record_Type): Do not halt the processing of record components
157 once the Has_Controlled_Component is set as this bypasses the remaining
159 (Is_Aliased_View_Of_Type): New routine.
161 2012-01-23 Thomas Quinot <quinot@adacore.com>
163 * errout.ads, freeze.adb: Minor reformatting.
165 2012-01-23 Thomas Quinot <quinot@adacore.com>
167 * sem_ch10.adb, sem_prag.adb: Remove redundant apostrophes in error
170 2012-01-23 Olivier Hainque <hainque@adacore.com>
172 * adadecode.c (__gnat_decode): Deal with empty input early,
173 preventing potential erroneous memory access later on.
175 2012-01-21 Eric Botcazou <ebotcazou@adacore.com>
178 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: In the case of a
179 renaming, preserve the volatileness through the indirection, if any.
181 2012-01-14 Andreas Schwab <schwab@linux-m68k.org>
183 * gcc-interface/Makefile.in (OSCONS_EXTRACT): Add
186 2012-01-10 Pascal Obry <obry@adacore.com>
188 * prj-nmsc.adb (Check_Library_Attributes):
189 Kill check for object/source directories for aggregate libraries.
191 2012-01-10 Matthew Heaney <heaney@adacore.com>
193 * a-cdlili.adb, a-cdlili.ads, a-cihama.adb, a-cihama.ads, a-coinve.adb,
194 a-coinve.ads, a-ciorse.adb, a-ciorse.ads, a-coorma.adb, a-coorma.ads,
195 a-cborma.adb, a-cborma.ads, a-cidlli.adb, a-cidlli.ads, a-cimutr.adb,
196 a-cimutr.ads, a-cihase.adb, a-cihase.ads, a-cohama.adb, a-cohama.ads,
197 a-coorse.adb, a-coorse.ads, a-cbhama.adb, a-cbhama.ads, a-cborse.adb,
198 a-cborse.ads, a-comutr.adb, a-comutr.ads, a-ciorma.adb, a-cobove.adb,
199 a-ciorma.ads, a-cobove.ads, a-convec.adb, a-convec.ads, a-cohase.adb,
200 a-cohase.ads, a-cbdlli.adb, a-cbdlli.ads, a-cbmutr.adb, a-cbmutr.ads,
201 a-cbhase.adb, a-cbhase.ads (Reference, Constant_Reference): Declare
202 container parameter as aliased in/in out.
205 2012-01-10 Bob Duff <duff@adacore.com>
207 * s-os_lib.ads: Improve comment.
209 2012-01-10 Geert Bosch <bosch@adacore.com>
211 * s-gearop.adb (Forward_Eliminate): Avoid improper aliasing
214 2012-01-10 Bob Duff <duff@adacore.com>
216 * sem_intr.adb (Check_Shift): Use RM_Size instead of Esize, when
217 checking that the 'Size is correct. If the type is "mod 2**12",
218 for example, it's illegal, but Esize is the 'Object_Size, which
219 will be something like 16 or 32, so the error ('Size = 12) was
221 * gnat_rm.texi: Improve documentation of shift
222 and rotate intrinsics.
224 2012-01-10 Pascal Obry <obry@adacore.com>
226 * prj.adb (For_Every_Project_Imported): Fix
227 implementation to make sure we return each project only once
228 for aggragte libraries. It is fine to return a project twice for
229 aggregate projects, this was the case as a Project_Id is different
230 in each project tree. The new implementation use a table based on
231 the project name to ensure proper detection of duplicate project
232 in aggregate library. A new context is then created to continue
233 retrurning duplicate project for aggregate libraries.
235 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
237 * gcc-interface/trans.c (call_to_gnu): Create the temporary for the
238 return value in the variable-sized return type case if the target is
239 an array with fixed size. However, do not create it if this is the
240 expression of an object declaration.
242 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
244 * gcc-interface/trans.c (addressable_p) <COMPONENT_REF>: Fix thinko.
246 2012-01-06 Robert Dewar <dewar@adacore.com>
248 * a-wichha.ads, a-wichun.ads, a-zchhan.ads, a-zchuni.ads,
249 s-utf_32.ads: Add pragma Pure
250 * s-utf_32.adb: Suppress warnings on non-static constants (now
253 2012-01-06 Bob Duff <duff@adacore.com>
255 * s-rpc.ads (Read, Write): Add overriding indicators.
257 2012-01-06 Robert Dewar <dewar@adacore.com>
259 * gnat_rm.texi: Add documentation for conventions
260 Ada_Pass_By_Copy and Ada_Pass_By_Reference.
262 2012-01-06 Gary Dismukes <dismukes@adacore.com>
264 * a-tienio.adb (Put): Add exception message on
265 raise statements. Remove unneeded blocks and object declarations.
267 2012-01-06 Robert Dewar <dewar@adacore.com>
269 * sem_prag.adb: Minor reformatting.
271 2012-01-06 Ed Schonberg <schonberg@adacore.com>
273 * sinfo.ads, sinfo.adb (Has_Prefixed_Call): New flag to indicate
274 that a selected component within a generic unit has been resolved
275 as a prefixed call with local references.
276 * sem_ch3.adb (Is_Visible_Component): In an instance body a selected
277 component is always visible.
278 * sem_ch4.adb (Analyze_Selected_Component): If the node is a
279 prefixed call in an instance, do not look for visible components
281 * sem_ch12.adb (Reset_Entity): If a selected component has resolved
282 to a prefixed call, mark the node accordingly when prefix and
283 selector are local references.
285 2012-01-02 Eric Botcazou <ebotcazou@adacore.com>
287 * gnatvsn.ads (Current_Year): Bump to 2012.
289 Copyright (C) 2012 Free Software Foundation, Inc.
291 Copying and distribution of this file, with or without modification,
292 are permitted in any medium without royalty provided the copyright
293 notice and this notice are preserved.