1 2012-01-23 Robert Dewar <dewar@adacore.com>
3 * sprint.ads, sprint.adb (Sprint_Node_List): Add New_Lines parameter
4 (pg,po,ps): Make sure each entry starts on new line.
6 2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>
8 * a-calend.ads, a-calend.adb: Define types int and int_Pointer. Update
9 the parameter profile of procedure localtime_tzoff and its associated
11 (Day_Of_Week): Do not treat the input date as historical
12 with respect to time zones.
13 (Split): Do not treat the input
14 date as historical with respect to time zones. (Time_Of): Do
15 not treat the input constituents as forming a historical date
16 with respect to time zones.
17 (UTC_Time_Offset): Add new formal
18 parameter Is_Historic. Add local variable Flag. Update the call
20 * a-catizo.ads, a-catizo.adb (UTC_Time_Offset): New routine.
21 (UTC_Time_Offset (Time)): Update the call to
22 Time_Zone_Operations.UTC_Time_Offset.
23 * sysdep.c (__gnat_localtime_tzoff): Update parameter
24 profile. Split the processing of offsets on Windows into two - one
25 part of historic time stamps and the other for the current time.
27 2012-01-23 Robert Dewar <dewar@adacore.com>
29 * a-calend.adb: Minor reformatting.
31 2012-01-23 Ed Schonberg <schonberg@adacore.com>
33 * exp_ch9.adb, sem_ch9.adb: Handle array of access to synchronized
34 interface in requeue statement.
36 2012-01-23 Cyrille Comar <comar@adacore.com>
38 * projects.texi: Remove references to main units and replace
39 with references to main programs to be coherent with the
42 2012-01-23 Robert Dewar <dewar@adacore.com>
44 * s-utf_32.adb: Minor reformatting.
46 2012-01-23 Vincent Celier <celier@adacore.com>
48 * snames.ads-tmpl: Minor comment addition Indicate that
49 Name_Library_Encapsulated_Options is only used in gprbuild.
51 2012-01-23 Robert Dewar <dewar@adacore.com>
53 * sem_ch10.adb (Analyze_Subunit): Properly save/restore cunit
56 2012-01-23 Ed Schonberg <schonberg@adacore.com>
58 * snames.ads-tmpl: Add Name_Synchronization.
59 * aspects.ads, aspects.adb: Add Aspect_Synchronization to
60 enumeration type and related maps.
61 * sem_ch13.adb (Analyze_Aspect_Specifications): Handle Aspect
62 Synchronization, build corresponding pragma Implemented.
63 * sem_util.adb (Implementation_Kind): Handle both explicit and
64 implicit pragma_argument association to retrieve the given
67 2012-01-23 Robert Dewar <dewar@adacore.com>
69 * sem_ch10.adb, errout.adb: Minor reformatting.
71 2012-01-23 Ed Schonberg <schonberg@adacore.com>
73 * sem_res.adb (Resolve_Actuals): An actual in a call to an
74 Ada 2012 Reference function does not lead to a dangerous order
77 2012-01-23 Gary Dismukes <dismukes@adacore.com>
79 * exp_util.adb (Is_Iterated_Container): Test
80 Is_Entity_Name when searching for calls to the default iterator,
81 to avoid blowing up on indirect calls which have an explicit
82 dereference as the call name.
84 2012-01-23 Thomas Quinot <quinot@adacore.com>
86 * errout.adb (Set_Msg_Node): For an N_Expanded_Name, output
87 the complete expanded name, rather than just its Selector_Name.
89 2012-01-23 Thomas Quinot <quinot@adacore.com>
91 * a-textio.adb (Put): Rewrite one-parameter Character version to
92 just call the two-parameter one with Current_Out.
94 2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>
96 * freeze.adb (Check_Current_Instance): Issue an
97 error when the prefix of 'Unchecked_Access or 'Access does not
98 denote a legal aliased view of a type.
99 (Freeze_Record_Type): Do not halt the processing of record components
100 once the Has_Controlled_Component is set as this bypasses the remaining
102 (Is_Aliased_View_Of_Type): New routine.
104 2012-01-23 Thomas Quinot <quinot@adacore.com>
106 * errout.ads, freeze.adb: Minor reformatting.
108 2012-01-23 Thomas Quinot <quinot@adacore.com>
110 * sem_ch10.adb, sem_prag.adb: Remove redundant apostrophes in error
113 2012-01-23 Olivier Hainque <hainque@adacore.com>
115 * adadecode.c (__gnat_decode): Deal with empty input early,
116 preventing potential erroneous memory access later on.
118 2012-01-21 Eric Botcazou <ebotcazou@adacore.com>
121 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: In the case of a
122 renaming, preserve the volatileness through the indirection, if any.
124 2012-01-14 Andreas Schwab <schwab@linux-m68k.org>
126 * gcc-interface/Makefile.in (OSCONS_EXTRACT): Add
129 2012-01-10 Pascal Obry <obry@adacore.com>
131 * prj-nmsc.adb (Check_Library_Attributes):
132 Kill check for object/source directories for aggregate libraries.
134 2012-01-10 Matthew Heaney <heaney@adacore.com>
136 * a-cdlili.adb, a-cdlili.ads, a-cihama.adb, a-cihama.ads, a-coinve.adb,
137 a-coinve.ads, a-ciorse.adb, a-ciorse.ads, a-coorma.adb, a-coorma.ads,
138 a-cborma.adb, a-cborma.ads, a-cidlli.adb, a-cidlli.ads, a-cimutr.adb,
139 a-cimutr.ads, a-cihase.adb, a-cihase.ads, a-cohama.adb, a-cohama.ads,
140 a-coorse.adb, a-coorse.ads, a-cbhama.adb, a-cbhama.ads, a-cborse.adb,
141 a-cborse.ads, a-comutr.adb, a-comutr.ads, a-ciorma.adb, a-cobove.adb,
142 a-ciorma.ads, a-cobove.ads, a-convec.adb, a-convec.ads, a-cohase.adb,
143 a-cohase.ads, a-cbdlli.adb, a-cbdlli.ads, a-cbmutr.adb, a-cbmutr.ads,
144 a-cbhase.adb, a-cbhase.ads (Reference, Constant_Reference): Declare
145 container parameter as aliased in/in out.
148 2012-01-10 Bob Duff <duff@adacore.com>
150 * s-os_lib.ads: Improve comment.
152 2012-01-10 Geert Bosch <bosch@adacore.com>
154 * s-gearop.adb (Forward_Eliminate): Avoid improper aliasing
157 2012-01-10 Bob Duff <duff@adacore.com>
159 * sem_intr.adb (Check_Shift): Use RM_Size instead of Esize, when
160 checking that the 'Size is correct. If the type is "mod 2**12",
161 for example, it's illegal, but Esize is the 'Object_Size, which
162 will be something like 16 or 32, so the error ('Size = 12) was
164 * gnat_rm.texi: Improve documentation of shift
165 and rotate intrinsics.
167 2012-01-10 Pascal Obry <obry@adacore.com>
169 * prj.adb (For_Every_Project_Imported): Fix
170 implementation to make sure we return each project only once
171 for aggragte libraries. It is fine to return a project twice for
172 aggregate projects, this was the case as a Project_Id is different
173 in each project tree. The new implementation use a table based on
174 the project name to ensure proper detection of duplicate project
175 in aggregate library. A new context is then created to continue
176 retrurning duplicate project for aggregate libraries.
178 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
180 * gcc-interface/trans.c (call_to_gnu): Create the temporary for the
181 return value in the variable-sized return type case if the target is
182 an array with fixed size. However, do not create it if this is the
183 expression of an object declaration.
185 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
187 * gcc-interface/trans.c (addressable_p) <COMPONENT_REF>: Fix thinko.
189 2012-01-06 Robert Dewar <dewar@adacore.com>
191 * a-wichha.ads, a-wichun.ads, a-zchhan.ads, a-zchuni.ads,
192 s-utf_32.ads: Add pragma Pure
193 * s-utf_32.adb: Suppress warnings on non-static constants (now
196 2012-01-06 Bob Duff <duff@adacore.com>
198 * s-rpc.ads (Read, Write): Add overriding indicators.
200 2012-01-06 Robert Dewar <dewar@adacore.com>
202 * gnat_rm.texi: Add documentation for conventions
203 Ada_Pass_By_Copy and Ada_Pass_By_Reference.
205 2012-01-06 Gary Dismukes <dismukes@adacore.com>
207 * a-tienio.adb (Put): Add exception message on
208 raise statements. Remove unneeded blocks and object declarations.
210 2012-01-06 Robert Dewar <dewar@adacore.com>
212 * sem_prag.adb: Minor reformatting.
214 2012-01-06 Ed Schonberg <schonberg@adacore.com>
216 * sinfo.ads, sinfo.adb (Has_Prefixed_Call): New flag to indicate
217 that a selected component within a generic unit has been resolved
218 as a prefixed call with local references.
219 * sem_ch3.adb (Is_Visible_Component): In an instance body a selected
220 component is always visible.
221 * sem_ch4.adb (Analyze_Selected_Component): If the node is a
222 prefixed call in an instance, do not look for visible components
224 * sem_ch12.adb (Reset_Entity): If a selected component has resolved
225 to a prefixed call, mark the node accordingly when prefix and
226 selector are local references.
228 2012-01-02 Eric Botcazou <ebotcazou@adacore.com>
230 * gnatvsn.ads (Current_Year): Bump to 2012.
232 Copyright (C) 2012 Free Software Foundation, Inc.
234 Copying and distribution of this file, with or without modification,
235 are permitted in any medium without royalty provided the copyright
236 notice and this notice are preserved.