OSDN Git Service

f433549851058205c6d454cbacdd88e3793aa9a6
[pf3gnuchains/gcc-fork.git] / gcc / ada / ChangeLog
1 2012-01-23  Robert Dewar  <dewar@adacore.com>
2
3         * sprint.ads, sprint.adb (Sprint_Node_List): Add New_Lines parameter
4         (pg,po,ps): Make sure each entry starts on new line.
5
6 2012-01-23  Hristian Kirtchev  <kirtchev@adacore.com>
7
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
10         comment.
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
19         to localtime_tzoff.
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.
26
27 2012-01-23  Robert Dewar  <dewar@adacore.com>
28
29         * a-calend.adb: Minor reformatting.
30
31 2012-01-23  Ed Schonberg  <schonberg@adacore.com>
32
33         * exp_ch9.adb, sem_ch9.adb: Handle array of access to synchronized
34         interface in requeue statement.
35
36 2012-01-23  Cyrille Comar  <comar@adacore.com>
37
38         * projects.texi: Remove references to main units and replace
39         with references to main programs to be coherent with the
40         documentation.
41
42 2012-01-23  Robert Dewar  <dewar@adacore.com>
43
44         * s-utf_32.adb: Minor reformatting.
45
46 2012-01-23  Vincent Celier  <celier@adacore.com>
47
48         * snames.ads-tmpl: Minor comment addition Indicate that
49         Name_Library_Encapsulated_Options is only used in gprbuild.
50
51 2012-01-23  Robert Dewar  <dewar@adacore.com>
52
53         * sem_ch10.adb (Analyze_Subunit): Properly save/restore cunit
54         restrictions.
55
56 2012-01-23  Ed Schonberg  <schonberg@adacore.com>
57
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
65         synchronization mode.
66
67 2012-01-23  Robert Dewar  <dewar@adacore.com>
68
69         * sem_ch10.adb, errout.adb: Minor reformatting.
70
71 2012-01-23  Ed Schonberg  <schonberg@adacore.com>
72
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
75         dependence.
76
77 2012-01-23  Gary Dismukes  <dismukes@adacore.com>
78
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.
83
84 2012-01-23  Thomas Quinot  <quinot@adacore.com>
85
86         * errout.adb (Set_Msg_Node): For an N_Expanded_Name, output
87         the complete expanded name, rather than just its Selector_Name.
88
89 2012-01-23  Thomas Quinot  <quinot@adacore.com>
90
91         * a-textio.adb (Put): Rewrite one-parameter Character version to
92         just call the two-parameter one with Current_Out.
93
94 2012-01-23  Hristian Kirtchev  <kirtchev@adacore.com>
95
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
101         checks.
102         (Is_Aliased_View_Of_Type): New routine.
103
104 2012-01-23  Thomas Quinot  <quinot@adacore.com>
105
106         * errout.ads, freeze.adb: Minor reformatting.
107
108 2012-01-23  Thomas Quinot  <quinot@adacore.com>
109
110         * sem_ch10.adb, sem_prag.adb: Remove redundant apostrophes in error
111         messages.
112
113 2012-01-23  Olivier Hainque  <hainque@adacore.com>
114
115         * adadecode.c (__gnat_decode): Deal with empty input early,
116         preventing potential erroneous memory access later on.
117
118 2012-01-21  Eric Botcazou  <ebotcazou@adacore.com>
119
120         PR ada/46192
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.
123
124 2012-01-14  Andreas Schwab  <schwab@linux-m68k.org>
125
126         * gcc-interface/Makefile.in (OSCONS_EXTRACT): Add
127         $(GNATLIBCFLAGS).
128
129 2012-01-10  Pascal Obry  <obry@adacore.com>
130
131         * prj-nmsc.adb (Check_Library_Attributes):
132         Kill check for object/source directories for aggregate libraries.
133
134 2012-01-10  Matthew Heaney  <heaney@adacore.com>
135
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.
146         Code clean ups.
147
148 2012-01-10  Bob Duff  <duff@adacore.com>
149
150         * s-os_lib.ads: Improve comment.
151
152 2012-01-10  Geert Bosch  <bosch@adacore.com>
153
154         * s-gearop.adb (Forward_Eliminate): Avoid improper aliasing
155         for complex Scalar.
156
157 2012-01-10  Bob Duff  <duff@adacore.com>
158
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
163         not detected.
164         * gnat_rm.texi: Improve documentation of shift
165         and rotate intrinsics.
166
167 2012-01-10  Pascal Obry  <obry@adacore.com>
168
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.
177
178 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
179
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.
184
185 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
186
187         * gcc-interface/trans.c (addressable_p) <COMPONENT_REF>: Fix thinko.
188
189 2012-01-06  Robert Dewar  <dewar@adacore.com>
190
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
194         that this is Pure).
195
196 2012-01-06  Bob Duff  <duff@adacore.com>
197
198         * s-rpc.ads (Read, Write): Add overriding indicators.
199
200 2012-01-06  Robert Dewar  <dewar@adacore.com>
201
202         * gnat_rm.texi: Add documentation for conventions
203         Ada_Pass_By_Copy and Ada_Pass_By_Reference.
204
205 2012-01-06  Gary Dismukes  <dismukes@adacore.com>
206
207         * a-tienio.adb (Put): Add exception message on
208         raise statements. Remove unneeded blocks and object declarations.
209
210 2012-01-06  Robert Dewar  <dewar@adacore.com>
211
212         * sem_prag.adb: Minor reformatting.
213
214 2012-01-06  Ed Schonberg  <schonberg@adacore.com>
215
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
223         of the type.
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.
227
228 2012-01-02  Eric Botcazou  <ebotcazou@adacore.com>
229
230         * gnatvsn.ads (Current_Year): Bump to 2012.
231 \f
232 Copyright (C) 2012 Free Software Foundation, Inc.
233
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.