]>
Commit | Line | Data |
---|---|---|
17b5260d | 1 | 2019-07-03 Bob Duff <duff@adacore.com> |
2 | ||
3 | * doc/gnat_ugn/gnat_utility_programs.rst: Document default | |
4 | new-line behavior. | |
5 | ||
5f71d12c | 6 | 2019-07-03 Hristian Kirtchev <kirtchev@adacore.com> |
7 | ||
8 | * ali.adb: Add with and use clauses for GNAT, | |
9 | GNAT.Dynamic_HTables, and Snames. Add a map from invocation | |
10 | signature records to invocation signature ids. Add various | |
11 | encodings of invocation-related attributes. Sort and update | |
12 | table Known_ALI_Lines. | |
13 | (Add_Invocation_Construct, Add_Invocation_Relation, | |
14 | Body_Placement_Kind_To_Code, Code_To_Body_Placement_Kind, | |
15 | Code_To_Invocation_Construct_Kind, Code_To_Invocation_Kind, | |
16 | Code_To_Invocation_Graph_Line_Kind, Destroy, Hash): New | |
17 | routines. | |
18 | (Initialize_ALI): Sort the initialization sequence. Add | |
19 | initialization for all invocation-related tables. | |
20 | (Invocation_Construct_Kind_To_Code, | |
21 | Invocation_Graph_Line_Kind_To_Code, Invocation_Kind_To_Code, | |
22 | Invocation_Signature_Of, Present): New routines. | |
23 | (Scan_ALI): Add the default values for invocation-related ids. | |
24 | Scan invocation graph lines. | |
25 | (Scan_Invocation_Graph_Line): New routine. | |
26 | * ali.ads: Add with clause for GNAT.Dynamic_Tables. Add types | |
27 | for invocation constructs, relations, and signatures. Add | |
28 | tables for invocation constructs, relations, and signatures. | |
29 | Update Unit_Record to capture invocation-related ids. Relocate | |
30 | table Unit_Id_Tables and subtypes Unit_Id_Table, Unit_Id_Array | |
31 | from Binde. | |
32 | (Add_Invocation_Construct, Add_Invocation_Relation, | |
33 | Body_Placement_Kind_To_Code, Code_To_Body_Placement_Kind, | |
34 | Code_To_Invocation_Construct_Kind, Code_To_Invocation_Kind, | |
35 | Code_To_Invocation_Graph_Line_Kind, | |
36 | Invocation_Construct_Kind_To_Code, | |
37 | Invocation_Graph_Line_Kind_To_Code, Invocation_Kind_To_Code, | |
38 | Invocation_Signature_Of, Present): New routines. | |
39 | * binde.adb: Add with and use clause for Types. Add use clause | |
40 | for ALI.Unit_Id_Tables; | |
41 | * binde.ads: Relocate table Unit_Id_Tables and subtypes | |
42 | Unit_Id_Table, Unit_Id_Array to ALI. | |
43 | * bindgen.adb: Remove with and use clause for ALI. | |
44 | * bindgen.ads: Remove with and use clause for Binde. Add with | |
45 | and use clause for ALI. | |
46 | * bindo.adb, bindo.ads, bindo-augmentors.adb, | |
47 | bindo-augmentors.ads, bindo-builders.adb, bindo-builders.ads, | |
48 | bindo-diagnostics.adb, bindo-diagnostics.ads, | |
49 | bindo-elaborators.adb, bindo-elaborators.ads, bindo-graphs.adb, | |
50 | bindo-graphs.ads, bindo-units.adb, bindo-units.ads, | |
51 | bindo-validators.adb, bindo-validators.ads, bindo-writers.adb, | |
52 | bindo-writers.ads: New units. | |
53 | * debug.adb: Use and describe GNAT debug switches -gnatd_F and | |
54 | -gnatd_G. Add GNATbind debug switches in the ranges dA .. dZ, | |
55 | d.a .. d.z, d.A .. d.Z, d.1 .. d.9, d_a .. d_z, d_A .. d_Z, and | |
56 | d_1 .. d_9. Use and describe GNATbind debug switches -d_A, | |
57 | -d_I, -d_L, -d_N, -d_O, -d_T, and -d_V. | |
58 | * exp_util.adb, exp_util.ads (Exceptions_OK): Relocate to | |
59 | Sem_Util. | |
60 | * gnatbind.adb: Add with and use clause for Bindo. Use the new | |
61 | Bindo elaboration order only when -d_N is in effect. | |
62 | * lib-writ.adb | |
63 | (Column, Extra, Invoker, Kind, Line, Locations, Name, Placement, | |
64 | Scope, Signature, Target): New routines. | |
65 | (Write_ALI): Output all invocation-related data. | |
66 | (Write_Invocation_Graph): New routine. | |
67 | * lib-writ.ads: Document the invocation graph ALI line. | |
68 | * namet.adb, namet.ads (Present): New routines. | |
69 | * sem_ch8.adb (Find_Direct_Name): Capture the status of | |
70 | elaboration checks and warnings of an identifier. | |
71 | (Find_Expanded_Name): Capture the status of elaboration checks | |
72 | and warnings of an expanded name. | |
73 | * sem_ch12.adb (Analyze_Generic_Package_Declaration): Ensure | |
74 | that invocation graph-related data within the body of the main | |
75 | unit is encoded in the ALI file. | |
76 | (Analyze_Generic_Subprogram_Declaration): Ensure that invocation | |
77 | graph-related data within the body of the main unit is encoded | |
78 | in the ALI file. | |
79 | (Analyze_Package_Instantiation): Perform minimal decoration of | |
80 | the instance entity. | |
81 | (Analyze_Subprogram_Instantiation): Perform minimal decoration | |
82 | of the instance entity. | |
83 | * sem_elab.adb: Perform heavy refactoring of all code. The unit | |
84 | is now split into "services" which specialize in one area of ABE | |
85 | checks. Add processing in order to capture invocation-graph | |
86 | related attributes of the main unit, and encode them in the ALI | |
87 | file. The Processing phase can now operate in multiple modes, | |
88 | all described by type Processing_Kind. Scenarios and targets | |
89 | are now distinct at the higher level, and carry their own | |
90 | representations. This eliminates the need to constantly | |
91 | recompute their attributes, and offers the various processors a | |
92 | uniform interface. The various initial states of the Processing | |
93 | phase are now encoded using type Processing_In_State, and | |
94 | xxx_State constants. | |
95 | * sem_elab.ads: Update the literals of type | |
96 | Enclosing_Level_Kind. Add Inline pragmas on several routines. | |
97 | * sem_prag.adb (Process_Inline): Ensure that invocation | |
98 | graph-related data within the body of the main unit is encoded | |
99 | in the ALI file. | |
100 | * sem_util.adb (Enclosing_Generic_Body, Enclosing_Generic_Unit): | |
101 | Code clean up. | |
102 | (Exceptions_OK): Relocated from Sem_Util. | |
103 | (Mark_Save_Invocation_Graph_Of_Body): New routine. | |
104 | * sem_util.ads (Exceptions_OK): Relocated from Sem_Util. | |
105 | (Mark_Save_Invocation_Graph_Of_Body): New routine. | |
106 | * sinfo.adb (Is_Elaboration_Checks_OK_Node): Now applicable to | |
107 | N_Variable_Reference_Marker. | |
108 | (Is_Elaboration_Warnings_OK_Node): Now applicable to | |
109 | N_Expanded_Name, N_Identifier, N_Variable_Reference_Marker. | |
110 | (Is_Read): Use Flag4. | |
111 | (Is_SPARK_Mode_On_Node): New applicable to | |
112 | N_Variable_Reference_Marker. | |
113 | (Is_Write): Use Flag5. | |
114 | (Save_Invocation_Graph_Of_Body): New routine. | |
115 | (Set_Is_Elaboration_Checks_OK_Node): Now applicable to | |
116 | N_Variable_Reference_Marker. | |
117 | (Set_Is_Elaboration_Warnings_OK_Node): Now applicable to | |
118 | N_Expanded_Name, N_Identifier, N_Variable_Reference_Marker. | |
119 | (Set_Is_SPARK_Mode_On_Node): New applicable to | |
120 | N_Variable_Reference_Marker. | |
121 | (Set_Save_Invocation_Graph_Of_Body): New routine. | |
122 | * sinfo.ads: Update the documentation of attributes | |
123 | Is_Elaboration_Checks_OK_Node, Is_Elaboration_Warnings_OK_Node, | |
124 | Is_SPARK_Mode_On_Node. Update the flag usage of attributes | |
125 | Is_Read, Is_Write. Add attribute Save_Invocation_Graph_Of_Body | |
126 | and update its occurrence in nodes. | |
127 | (Save_Invocation_Graph_Of_Body): New routine along with pragma | |
128 | Inline. | |
129 | (Set_Save_Invocation_Graph_Of_Body): New routine along with | |
130 | pragma Inline. | |
131 | * switch-b.adb (Scan_Binder_Switches): Refactor the scanning of | |
132 | debug switches. | |
133 | (Scan_Debug_Switches): New routine. | |
134 | * libgnat/g-dynhta.adb, libgnat/g-dynhta.ads (Contains): New routine. | |
135 | * libgnat/g-graphs.adb (Associate_Vertices): Update the use of | |
136 | Component_Vertex_Iterator. | |
137 | (Contains_Component, Contains_Edge, Contains_Vertex, Has_Next): | |
138 | Reimplemented. | |
139 | (Iterate_Component_Vertices): New routine. | |
140 | (Iterate_Vertices): Removed. | |
141 | (Next): Update the parameter profile. | |
142 | (Number_Of_Component_Vertices, Number_Of_Outgoing_Edges): New | |
143 | routines. | |
144 | * libgnat/g-graphs.ads: Update the initialization of | |
145 | No_Component. Add type Component_Vertex_Iterator. Remove type | |
146 | Vertex_Iterator. | |
147 | (Has_Next): Add new versions and remove old ones. | |
148 | (Iterate_Component_Vertices): New routine. | |
149 | (Iterate_Vertices): Removed. | |
150 | (Next): Add new versions and remove old ones. | |
151 | (Number_Of_Component_Vertices, Number_Of_Outgoing_Edges): New | |
152 | routines. | |
153 | * libgnat/g-sets.adb (Contains): Reimplemented. | |
154 | * gcc-interface/Make-lang.in (GNATBIND_OBJS): Add | |
155 | GNAT.Dynamic_HTables, GNAT.Graphs and Bindo units. | |
156 | * rtsfind.ads: Remove extra space. | |
157 | ||
df177848 | 158 | 2019-07-03 Yannick Moy <moy@adacore.com> |
159 | ||
160 | * sem_spark.adb: Add support for locally borrowing and observing | |
161 | a path. | |
162 | (Get_Root_Object): Add parameter Through_Traversal to denote | |
163 | when we are interesting in getting to the traversed parameter. | |
164 | (Is_Prefix_Or_Almost): New function to support detection of | |
165 | illegal access to borrowed or observed paths. | |
166 | (Check_Pragma): Add analysis of assertion pragmas. | |
167 | ||
f3f142ac | 168 | 2019-07-03 Ed Schonberg <schonberg@adacore.com> |
169 | ||
170 | * sem_ch13.adb (Build_Predicate_Functions): In a generic context | |
171 | we do not build the bodies of predicate fuctions, but the | |
172 | expression in a static predicate must be elaborated to allow | |
173 | case coverage checking within the generic unit. | |
174 | (Build_Discrete_Static_Predicate): In a generic context, return | |
175 | without building function body once the | |
176 | Static_Discrete_Predicate expression for the type has been | |
177 | constructed. | |
178 | ||
99d90c85 | 179 | 2019-07-03 Hristian Kirtchev <kirtchev@adacore.com> |
180 | ||
181 | * bindgen.adb, inline.adb, layout.adb, sem_ch12.adb, | |
182 | sem_ch13.adb, sem_ch7.adb, styleg.adb: Minor reformatting. | |
183 | ||
800597f6 | 184 | 2019-07-03 Bob Duff <duff@adacore.com> |
185 | ||
186 | * par-ch3.adb (P_Defining_Identifier): Call | |
187 | Check_Defining_Identifier_Casing. | |
188 | * style.ads, styleg.ads, styleg.adb | |
189 | (Check_Defining_Identifier_Casing): New procedure to check for | |
190 | mixed-case defining identifiers. | |
191 | * stylesw.ads, stylesw.adb (Style_Check_Mixed_Case_Decls): New | |
192 | flag for checking for mixed-case defining identifiers. | |
193 | * doc/gnat_ugn/building_executable_programs_with_gnat.rst: | |
194 | Document new feature. | |
195 | * gnat_ugn.texi: Regenerate. | |
196 | ||
2c75027a | 197 | 2019-07-03 Eric Botcazou <ebotcazou@adacore.com> |
198 | ||
199 | * doc/gnat_ugn/building_executable_programs_with_gnat.rst | |
200 | (Warning message control): Document that -gnatw.z/Z apply to | |
201 | array types. | |
202 | * freeze.adb (Freeze_Entity): Give -gnatw.z warning for array | |
203 | types as well, but not if the specified alignment is the minimum | |
204 | one. | |
205 | * gnat_ugn.texi: Regenerate. | |
206 | ||
08237d0d | 207 | 2019-07-03 Bob Duff <duff@adacore.com> |
208 | ||
209 | * einfo.ads, exp_util.adb, layout.ads, sinfo.ads: Spell "laid" | |
210 | correctly. | |
211 | ||
0396441f | 212 | 2019-07-03 Ed Schonberg <schonberg@adacore.com> |
213 | ||
214 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause): No error | |
215 | message on attribute applied to a renaming when the renamed | |
216 | object is an aggregate (from code reading). | |
217 | (Check_Aspect_At_End_Of_Declarations): In a generic context | |
218 | where freeze nodes are not generated, the original expression | |
219 | for an aspect may need to be analyzed to precent spurious | |
220 | conformance errors when compared with the expression that is | |
221 | anakyzed at the end of the current declarative list. | |
222 | ||
c8406f30 | 223 | 2019-07-03 Eric Botcazou <ebotcazou@adacore.com> |
224 | ||
225 | * layout.adb (Layout_Type): Do not set the component size of an | |
226 | array with a scalar component if the component type is | |
227 | overaligned. | |
228 | ||
c38b32ea | 229 | 2019-07-03 Ed Schonberg <schonberg@adacore.com> |
230 | ||
231 | * inline.adb (Make_Loop_Labels_Unique): New procedure to modify | |
232 | the source code of subprograms that are inlined by the | |
233 | front-end, to prevent accidental duplication between loop labels | |
234 | in the inlined code and the code surrounding the inlined call. | |
235 | ||
6d6f134e | 236 | 2019-07-03 Hristian Kirtchev <kirtchev@adacore.com> |
237 | ||
238 | * doc/gnat_ugn/elaboration_order_handling_in_gnat.rst: Update | |
239 | the section on resolving elaboration circularities to eliminate | |
240 | certain combinations of switches which together do not produce | |
241 | the desired effect and confuse users. | |
242 | * gnat_ugn.texi: Regenerate. | |
243 | ||
f3e16ef4 | 244 | 2019-07-03 Arnaud Charlet <charlet@adacore.com> |
245 | ||
246 | * bindgen.adb (Gen_Main): Disable generation of reference to | |
247 | Ada_Main_Program_Name for CCG. | |
248 | * bindusg.adb (Display): Add -G to the command-line usage for | |
249 | gnatbind. | |
250 | * opt.ads (Generate_C_Code): Update comment. | |
251 | * switch-b.adb (Scan_Binder_Switches): Add handling for -G. | |
252 | ||
f4a31b16 | 253 | 2019-07-03 Arnaud Charlet <charlet@adacore.com> |
254 | ||
255 | * sem_ch7.adb (Has_Referencer): Do not consider inlined | |
256 | subprograms when generating C code, which allows us to generate | |
257 | static inline subprograms. | |
258 | ||
2f65e9f7 | 259 | 2019-07-03 Justin Squirek <squirek@adacore.com> |
260 | ||
261 | * sem_ch6.adb (Check_Conformance): Add expression checking for | |
262 | constant modifiers in anonymous access types (in addition to | |
263 | "non-null" types) so that they are considered "matching" for | |
264 | subsequent conformance tests. | |
265 | ||
c336ed70 | 266 | 2019-07-03 Arnaud Charlet <charlet@adacore.com> |
267 | ||
268 | * doc/gnat_rm/standard_and_implementation_defined_restrictions.rst: | |
269 | Clarify wording on No_Multiple_Elaboration. | |
270 | * gnat_rm.texi: Regenerate. | |
271 | ||
78611c86 | 272 | 2019-07-03 Ed Schonberg <schonberg@adacore.com> |
273 | ||
274 | * sem_ch8.adb (Find_Selected_Component): If the prefix is the | |
275 | current instance of a type or subtype, complete the resolution | |
276 | of the name by finding the component of the type denoted by the | |
277 | selector name. | |
278 | ||
5a87a4d9 | 279 | 2019-07-03 Eric Botcazou <ebotcazou@adacore.com> |
280 | ||
281 | * doc/gnat_rm/interfacing_to_other_languages.rst (Interfacing to C): | |
282 | Document that boolean types with convention C now map to C99 bool. | |
283 | * gnat_rm.texi: Regenerate. | |
284 | ||
371c539c | 285 | 2019-07-03 Javier Miranda <miranda@adacore.com> |
286 | ||
287 | * exp_attr.adb (Expand_Min_Max_Attribute): Code cleanup: | |
288 | removing code that it is now never executed in the CCG compiler | |
289 | (dead code). | |
290 | ||
89d2d652 | 291 | 2019-07-02 Iain Sandoe <iain@sandoe.co.uk> |
292 | ||
293 | * libgnat/system-darwin-ppc.ads: Set Stack_Check_Probes True for | |
294 | PPC Darwin. | |
295 | ||
d21e66fb | 296 | 2019-07-01 Ed Schonberg <schonberg@adacore.com> |
297 | ||
298 | * sem_ch12.adb (Is_Defaulted): New predicate in | |
299 | Check_Formal_Package_Intance, to skip the conformance of checks | |
300 | on parameters of a formal package that are defaulted, | |
301 | ||
7a42b778 | 302 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
303 | ||
304 | * checks.adb, exp_ch9.adb, exp_unst.adb, sem_ch4.adb, | |
305 | sem_prag.adb, sem_spark.adb: Minor reformatting. | |
306 | ||
fc8ae496 | 307 | 2019-07-01 Ed Schonberg <schonberg@adacore.com> |
308 | ||
309 | * sem_attr.adb (Analyze_Attribute, case Enum_Rep): Allow prefix | |
310 | of attribute to be an attribute reference of a discrete type. | |
311 | ||
9d27ea41 | 312 | 2019-07-01 Eric Botcazou <ebotcazou@adacore.com> |
313 | ||
314 | * sem_ch12.adb (Analyze_Subprogram_Instantiation): Move up | |
315 | handling of Has_Pragma_Inline_Always and deal with | |
316 | Has_Pragma_No_Inline. | |
317 | ||
bcb8dcf3 | 318 | 2019-07-01 Ed Schonberg <schonberg@adacore.com> |
319 | ||
320 | * sem_ch3.adb (Build_Derived_Record_Type): If the parent type is | |
321 | declared as a subtype of a private type with an inherited | |
322 | discriminant constraint, its generated full base appears as a | |
323 | record subtype, so we need to retrieve its oen base type so that | |
324 | the inherited constraint can be applied to it. | |
325 | ||
d087b9ca | 326 | 2019-07-01 Yannick Moy <moy@adacore.com> |
327 | ||
328 | * sem_spark.adb: Completely rework the algorithm for ownership | |
329 | checking, as the rules in SPARK RM have changed a lot. | |
330 | * sem_spark.ads: Update comments. | |
331 | ||
fe48ee0a | 332 | 2019-07-01 Dmitriy Anisimkov <anisimko@adacore.com> |
333 | ||
334 | * gsocket.h (Has_Sockaddr_Len): Use the offset of sin_family offset in | |
335 | the sockaddr_in structure to determine the existence of length field | |
336 | before the sin_family. | |
337 | ||
b20f7e2c | 338 | 2019-07-01 Ed Schonberg <schonberg@adacore.com> |
339 | ||
340 | * sem_prag.adb (Analyze_Pragma, case Weak_External): Pragma only | |
341 | applies to entities with run-time addresses, not to types. | |
342 | ||
374fdf94 | 343 | 2019-07-01 Piotr Trojanek <trojanek@adacore.com> |
344 | ||
345 | * einfo.adb, sem_ch7.adb, sem_prag.adb, sem_util.adb: Update | |
346 | references to the SPARK RM after the removal of Rule 7.1.4(5). | |
347 | ||
bf13a79d | 348 | 2019-07-01 Piotr Trojanek <trojanek@adacore.com> |
349 | ||
350 | * sysdep.c: Cleanup references to LynuxWorks in docs and | |
351 | comments. | |
352 | ||
866fa2d0 | 353 | 2019-07-01 Ed Schonberg <schonberg@adacore.com> |
354 | ||
355 | * checks.adb (Insert_Valid_Check): Do not apply validity check | |
356 | to variable declared within a protected object that uses the | |
357 | Lock_Free implementation, to prevent unwarranted constant | |
358 | folding, because entities within such an object msut be treated | |
359 | as volatile. | |
360 | ||
bcb5ab83 | 361 | 2019-07-01 Eric Botcazou <ebotcazou@adacore.com> |
362 | ||
363 | * exp_ch9.adb (Check_Inlining): Deal with Has_Pragma_No_Inline. | |
364 | ||
2db33bd6 | 365 | 2019-07-01 Ed Schonberg <schonberg@adacore.com> |
366 | ||
367 | * exp_unst.adb (Visit_Node, Check_Static_Type): Improve the | |
368 | handling of private and incomplete types whose full view is an | |
369 | access type, to detect additional uplevel references in dynamic | |
370 | bounds. This is relevant to N_Free_Statement among others that | |
371 | manipulate types whose full viww may be an access type. | |
372 | ||
6b4f0b7d | 373 | 2019-07-01 Pat Rogers <rogers@adacore.com> |
374 | ||
375 | * doc/gnat_rm/representation_clauses_and_pragmas.rst: Correct | |
376 | size indicated for R as a component of an array. | |
377 | * gnat_rm.texi: Regenerate. | |
378 | ||
cdee70d7 | 379 | 2019-07-01 Justin Squirek <squirek@adacore.com> |
380 | ||
381 | * libgnat/s-win32.ads: Add definition for ULONG, modify | |
382 | OVERLAPPED type, and add appropriate pragmas. | |
383 | ||
2cf822b7 | 384 | 2019-07-01 Bob Duff <duff@adacore.com> |
385 | ||
386 | * gnat1drv.adb (gnat1drv): Call Write_ALI if the main unit is | |
387 | ignored-ghost. | |
388 | ||
0a1ece97 | 389 | 2019-07-01 Yannick Moy <moy@adacore.com> |
390 | ||
391 | * sem_ch4.adb (Operator_Check): Refine error message. | |
392 | ||
ee4279ef | 393 | 2019-07-01 Piotr Trojanek <trojanek@adacore.com> |
394 | ||
395 | * libgnat/a-calend.ads: Revert "Global => null" contracts on | |
396 | non-pure routines. | |
397 | ||
2c6b4ada | 398 | 2019-07-01 Piotr Trojanek <trojanek@adacore.com> |
399 | ||
400 | * exp_attr.adb, libgnat/g-graphs.ads: Fix typos in comments: | |
401 | componant -> component. | |
402 | ||
175c4526 | 403 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
404 | ||
405 | * libgnat/g-graphs.adb: Use type Directed_Graph rather than | |
406 | Instance in various routines. | |
407 | * libgnat/g-graphs.ads: Change type Instance to Directed_Graph. | |
408 | Update various routines that mention the type. | |
409 | ||
a0d15509 | 410 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
411 | ||
412 | * libgnat/g-sets.adb: Use type Membership_Set rathern than | |
413 | Instance in various routines. | |
414 | * libgnat/g-sets.ads: Change type Instance to Membership_Set. | |
415 | Update various routines that mention the type. | |
416 | ||
205a23a3 | 417 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
418 | ||
419 | * libgnat/g-lists.adb: Use type Doubly_Linked_List rather than | |
420 | Instance in various routines. | |
421 | * libgnat/g-lists.ads: Change type Instance to | |
422 | Doubly_Linked_List. Update various routines that mention the | |
423 | type. | |
424 | ||
17fdf8c2 | 425 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
426 | ||
427 | * libgnat/g-dynhta.adb: Use type Dynamic_Hash_Table rather than | |
428 | Instance in various routines. | |
429 | * libgnat/g-dynhta.ads: Change type Instance to | |
430 | Dynamic_Hash_Table. Update various routines that mention the | |
431 | type. | |
432 | ||
216ffc64 | 433 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
434 | ||
435 | * exp_attr.adb, exp_ch7.adb, exp_unst.adb, sem_ch3.adb, | |
436 | sem_util.adb, uintp.adb, uintp.ads: Minor reformatting. | |
437 | ||
5051fe35 | 438 | 2019-07-01 Javier Miranda <miranda@adacore.com> |
439 | ||
440 | * exp_attr.adb (Expand_Min_Max_Attribute): Disable expansion of | |
441 | 'Min/'Max on integer, enumeration, fixed point and floating | |
442 | point types since the CCG backend now provides in file | |
443 | standard.h routines to support it. | |
444 | ||
830a2a71 | 445 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
446 | ||
447 | * impunit.adb: Add GNAT.Graphs to list Non_Imp_File_Names_95. | |
448 | * Makefile.rtl, gcc-interface/Make-lang.in: Register unit | |
449 | GNAT.Graphs. | |
450 | * libgnat/g-dynhta.adb: Various minor cleanups (use Present | |
451 | rather than direct comparisons). | |
452 | (Delete): Reimplement to use Delete_Node. | |
453 | (Delete_Node): New routine. | |
454 | (Destroy_Bucket): Invoke the provided destructor. | |
455 | (Present): New routines. | |
456 | * libgnat/g-dynhta.ads: Add new generic formal Destroy_Value. | |
457 | Use better names for the components of iterators. | |
458 | * libgnat/g-graphs.adb, libgnat/g-graphs.ads: New unit. | |
459 | * libgnat/g-lists.adb: Various minor cleanups (use Present | |
460 | rather than direct comparisons). | |
461 | (Delete_Node): Invoke the provided destructor. | |
462 | (Present): New routine. | |
463 | * libgnat/g-lists.ads: Add new generic formal Destroy_Element. | |
464 | Use better names for the components of iterators. | |
465 | (Present): New routine. | |
466 | * libgnat/g-sets.adb, libgnat/g-sets.ads (Destroy, Preset, | |
467 | Reset): New routines. | |
468 | ||
b0111d94 | 469 | 2019-07-01 Dmitriy Anisimkov <anisimko@adacore.com> |
470 | ||
471 | * libgnat/g-sothco.adb (Get_Address): Fix the case when AF_INET6 | |
472 | is not defined. | |
473 | ||
7362896b | 474 | 2019-07-01 Ed Schonberg <schonberg@adacore.com> |
475 | ||
476 | * exp_attr.adb (Expand_Attribute_Reference, case Invalid_Value): | |
477 | Resolve result of call to Get_Simple_Init_Val, which may be a | |
478 | conversion of a literal. | |
479 | ||
0dae8dc2 | 480 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
481 | ||
482 | * freeze.adb (Freeze_Expression): Remove the horrible useless | |
483 | name hiding of N. Insert the freeze nodes generated by the | |
484 | expression prior to the expression when the nearest enclosing | |
485 | scope is transient. | |
486 | ||
487da8ff | 487 | 2019-07-01 Pierre-Marie de Rodat <derodat@adacore.com> |
488 | ||
489 | * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Fix | |
490 | formatting issues in the -gnatR section. | |
491 | * gnat_ugn.texi: Regenerate. | |
492 | ||
1d79fa18 | 493 | 2019-06-30 Iain Sandoe <iain@sandoe.co.uk> |
494 | ||
495 | * gnatlink.adb (Link_Step): Remove duplicate -static-libgcc switches. | |
496 | Push -shared-libgcc explicitly, when it is the target default (unless | |
497 | overidden by the static flag). | |
498 | When the user has put an instance of shared/static-libgcc do not push | |
499 | a duplicate of this. | |
500 | ||
a850edcd | 501 | 2019-06-29 Eric Botcazou <ebotcazou@adacore.com> |
502 | ||
503 | * gcc-interface/decl.c (gnat_to_gnu_entity): Beep up comment on SAVED, | |
504 | and tweak comment on the assertion about the scopes of Itypes. Do not | |
505 | skip the regular processing for Itypes that are E_Record_Subtype with | |
506 | a Cloned_Subtype. Get the Cloned_Subtype for every E_Record_Subtype | |
507 | if the type is dummy and hasn't got its own freeze node. | |
508 | <E_Record_Subtype>: Save again the DECL of the Cloned_Subtype, if any. | |
509 | <E_Access_Subtype>: Save again the DECL of the equivalent type. | |
510 | (Gigi_Equivalent_Type) <E_Access_Subtype>: New case. | |
511 | ||
b1e46fb1 | 512 | 2019-06-29 Eric Botcazou <ebotcazou@adacore.com> |
513 | ||
514 | * gcc-interface/utils.c (unchecked_convert): Tweak comment. Only skip | |
515 | dereferences when padding to have the same size on both sides. Do it | |
516 | for destination types with self-referential size too. | |
517 | ||
07e38949 | 518 | 2019-06-29 Eric Botcazou <ebotcazou@adacore.com> |
519 | ||
520 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: If the | |
521 | type requires strict alignment, then set the RM size to the type size. | |
522 | Rework handling of alignment and sizes of tagged types in ASIS mode. | |
523 | (validate_size): Rename local variable and remove special handling for | |
524 | strict-alignment types. | |
525 | * gcc-interface/utils.c (finish_record_type): Constify local variables | |
526 | and use properly typed constants. | |
527 | ||
f4409741 | 528 | 2019-06-29 Eric Botcazou <ebotcazou@adacore.com> |
529 | ||
530 | * gcc-interface/decl.c (gnat_to_gnu_field): Rework error messages for | |
531 | fields requiring strict alignment, add explicit test on Storage_Unit | |
532 | for position and size, and mention type alignment for position. | |
533 | ||
5882c515 | 534 | 2019-06-29 Eric Botcazou <ebotcazou@adacore.com> |
535 | ||
536 | * gcc-interface/trans.c (mark_visited_r): Set TYPE_SIZES_GIMPLIFIED on | |
537 | the main variant of a type, if any. | |
538 | ||
d0de0a27 | 539 | 2019-06-29 Eric Botcazou <ebotcazou@adacore.com> |
540 | ||
541 | * gcc-interface/decl.c (set_nonaliased_component_on_array_type): Add | |
542 | missing guard for the presence of TYPE_CANONICAL. | |
543 | (set_reverse_storage_order_on_array_type): Likewise. | |
544 | ||
2074c859 | 545 | 2019-06-29 Eric Botcazou <ebotcazou@adacore.com> |
546 | ||
547 | * gcc-interface/gigi.h (make_packable_type): Remove default value. | |
548 | (value_factor_p): Tweak prototype. | |
549 | * gcc-interface/decl.c (gnat_to_gnu_entity): Add comment. | |
550 | (gnat_to_gnu_component_type): Likewise. | |
551 | (gnat_to_gnu_field): Likewise. Fetch the position of the field earlier | |
552 | and simplify the condition under which the type is packed. Declare | |
553 | local variable is_bitfield. Pass 1 as max_align to make_packable_type | |
554 | if it is set to true. | |
555 | (copy_and_substitute_in_layout): Pass 0 to make_packable_type. | |
556 | * gcc-interface/utils.c (make_packable_array_type): New function. | |
557 | (make_packable_type): Use it to rewrite the type of array field. | |
558 | (maybe_pad_type): Pass align parameter to make_packable_type. | |
559 | (create_field_decl): Minor tweaks. | |
560 | (value_factor_p): Assert that FACTOR is a power of 2 and replace the | |
561 | modulo computation by a masking operation. | |
562 | ||
83c6da22 | 563 | 2019-06-25 Eric Botcazou <ebotcazou@adacore.com> |
564 | ||
565 | * gcc-interface/decl.c (gnat_to_gnu_entity): Remove superfluous test | |
566 | in previous change. | |
567 | * gcc-interface/gigi.h (maybe_character_type): Fix formatting. | |
568 | (maybe_character_value): Likewise. | |
569 | ||
aaabc7bc | 570 | 2019-06-24 Jan Hubicka <jh@suse.cz> |
571 | ||
572 | * gcc-interface/decl.c (gnat_to_gnu_entity): Check that | |
573 | type is array or integer prior checking string flag. | |
83c6da22 | 574 | * gcc-interface/gigi.h (maybe_character_type): Likewise. |
575 | (maybe_character_value): Likewise. | |
aaabc7bc | 576 | |
5fe09a56 | 577 | 2019-06-24 Martin Sebor <msebor@redhat.com> |
578 | ||
579 | * gcc-interface/utils.c (handle_nonnull_attribute): Quote attribute | |
580 | name. | |
581 | ||
bd9331d6 | 582 | 2019-06-18 Arnaud Charlet <charlet@adacore.com> |
583 | ||
83c6da22 | 584 | PR ada/80590 |
bd9331d6 | 585 | * sem_ch5.adb (Analyze_Loop_Statement): Avoid exception propagation |
586 | during normal processing. | |
587 | ||
8a5a7d1c | 588 | 2019-06-17 Arnaud Charlet <charlet@adacore.com> |
589 | ||
83c6da22 | 590 | PR ada/80590 |
8a5a7d1c | 591 | * exp_ch9.adb (Expand_N_Delay_Relative_Statement): Swap the two |
592 | conditions to avoid a unnecessary exception propagation in the default | |
593 | case. | |
594 | ||
580934f6 | 595 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
596 | ||
597 | * gcc-interface/utils.c (handle_stack_protect_attribute): Move around. | |
598 | ||
c8956236 | 599 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
600 | ||
601 | * doc/gnat_rm/implementation_defined_pragmas.rst (Machine_Attribute): | |
602 | Document additional optional parameters. | |
603 | * sem_prag.adb (Analyze_Pragma) <Pragma_Machine_Attribute>: Accept | |
604 | more than one optional parameter. | |
605 | * gcc-interface/decl.c (prepend_one_attribute_pragma): Alphabetize | |
606 | the list of supported pragmas. Simplify the handling of parameters | |
607 | and add support for more than one optional parameter. | |
608 | * gcc-interface/utils.c (attr_cold_hot_exclusions): New constant. | |
609 | (gnat_internal_attribute_table): Add entry for no_icf, noipa, flatten, | |
610 | used, cold, hot, target and target_clones. | |
611 | (begin_subprog_body): Do not create the RTL for the subprogram here. | |
612 | (handle_noicf_attribute): New static function. | |
613 | (handle_noipa_attribute): Likewise. | |
614 | (handle_flatten_attribute): Likewise. | |
615 | (handle_used_attribute): Likewise. | |
616 | (handle_cold_attribute): Likewise. | |
617 | (handle_hot_attribute): Likewise. | |
618 | (handle_target_attribute): Likewise. | |
619 | (handle_target_clones_attribute): Likewise. | |
620 | ||
62b762c2 | 621 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
622 | ||
623 | * gcc-interface/trans.c (lvalue_required_for_attribute_p): Return 0 | |
624 | for 'Size too. | |
625 | (Identifier_to_gnu): Use the actual subtype for a reference to a | |
626 | packed array in a return statement. | |
627 | (Attribute_to_gnu) <Attr_Size>: Do not strip VIEW_CONVERT_EXPRs from | |
628 | the prefix in every case. | |
629 | ||
336a61a3 | 630 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
631 | ||
632 | * gcc-interface/trans.c (gnat_to_gnu): Remove superfluous tests on | |
633 | Backend_Overflow_Checks_On_Target and rework comments. | |
634 | ||
983c5b5e | 635 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
636 | ||
637 | * gcc-interface/trans.c (walk_nesting_tree): New static function. | |
638 | (finalize_nrv): Use it to walk the entire nesting tree. | |
639 | ||
96b4b84e | 640 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
641 | ||
642 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Remove | |
643 | obsolete test on Is_For_Access_Subtype. | |
644 | ||
0b74284e | 645 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
646 | ||
647 | * gcc-interface/decl.c (components_to_record): Set a name on the type | |
648 | created for the REP part, if any. | |
649 | * gcc-interface/utils.c (finish_record_type): Only take the maximum | |
650 | when merging sizes for a variant part at offset 0. | |
651 | (merge_sizes): Rename has_rep parameter into max. | |
652 | ||
689dab9d | 653 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
654 | ||
655 | * gcc-interface/utils.c (gnat_internal_attribute_table): Add support | |
656 | for stack_protect attribute. | |
657 | (handle_stack_protect_attribute): New static function. | |
658 | ||
804f7d39 | 659 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
660 | ||
661 | * gcc-interface/decl.c (intrin_arglists_compatible_p): Do not return | |
662 | false if the internal builtin uses a variable list. | |
663 | ||
f07f94cc | 664 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
665 | ||
666 | * gcc-interface/trans.c (Call_to_gnu): Do not initialize the temporary | |
667 | created out of addressability concerns if it's for the _Init parameter | |
668 | of an initialization procedure. | |
669 | ||
abfd658b | 670 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
671 | ||
672 | * gcc-interface/ada-builtin-types.def: New file. | |
673 | * gcc-interface/ada-builtins.def: Likewise. | |
674 | * gcc-interface/ada-tree.h (BUILT_IN_LIKELY): New macro. | |
675 | (BUILT_IN_UNLIKELY): Likewise. | |
676 | * gcc-interface/trans.c (independent_iterations_p): Initialize the | |
677 | auto-vector to 16 elements. | |
678 | (Call_to_gnu): Remove local variable and change the vector of actual | |
679 | parameters to an auto-vector. Do not convert actual parameters to | |
680 | the argument type for front-end built-in functions. Add support for | |
681 | front-end built-in functions. | |
682 | (build_noreturn_cond): Use internal instead of built-in function. | |
683 | * gcc-interface/utils.c (c_builtin_type): Include ada-builtin-types.def | |
684 | (install_builtin_function_types): Likewise. | |
685 | (install_builtin_functions): Include ada-builtins.def first. | |
686 | ||
caab73a2 | 687 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
688 | ||
689 | * gcc-interface/utils.c (maybe_pad_type): Issue the warning for the | |
690 | specific case of component types preferably. | |
691 | ||
f1ca2388 | 692 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
693 | ||
694 | * gcc-interface/trans.c (Identifier_to_gnu): Minor tweaks. | |
695 | (gnat_to_gnu): Do not convert the result if it is a reference to an | |
696 | unconstrained array used as the prefix of an attribute reference that | |
697 | requires an lvalue. | |
698 | ||
e3f3573c | 699 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
700 | ||
701 | * gcc-interface/trans.c (Gigi_Types_Compatible): New predicate. | |
702 | (Identifier_to_gnu): Use it to assert that the type of the identifier | |
703 | and that of its entity are compatible for gigi. Rename a couple of | |
704 | local variables and separate the processing of the result type. | |
705 | ||
2306cd17 | 706 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
707 | ||
708 | * gcc-interface/trans.c (Call_to_gnu): Use the unpadded type when | |
709 | putting back an intermediate conversion the type of the actuals. | |
710 | ||
6e4e9378 | 711 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
712 | ||
713 | * gcc-interface/trans.c (gnat_to_gnu) <Shift operations>: Convert the | |
714 | count to the unsigned version of its base type before proceeding. | |
715 | ||
85b9be9b | 716 | 2019-05-16 Martin Sebor <msebor@redhat.com> |
717 | ||
3d6be0d5 | 718 | * gcc-interface/trans.c (check_inlining_for_nested_subprog): Quote |
719 | reserved names. | |
85b9be9b | 720 | |
65d973ca | 721 | 2019-05-08 Arnaud Charlet <charlet@adacore.com> |
722 | ||
723 | * standard.ads.h: New file. | |
724 | ||
ff628b99 | 725 | 2019-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
726 | ||
727 | * gcc-interface/Makefile.in (install-gcc-specs): Use foreach. | |
728 | Honor DESTDIR. | |
729 | ||
ebd761d4 | 730 | 2019-04-29 Michael K. Darling <darlingm@gmail.com> |
731 | ||
732 | * gnatvsn.ads: Bump Library_Version to 10. | |
733 | ||
5f260823 | 734 | 2019-04-24 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
735 | Bernd Edlinger <bernd.edlinger@hotmail.de> | |
736 | Jakub Jelinek <jakub@redhat.com> | |
737 | ||
738 | PR target/89093 | |
739 | * raise-gcc.c (TARGET_ATTRIBUTE): Define. | |
740 | (continue_unwind, personality_body, PERSONALITY_FUNCTION): Add | |
741 | TARGET_ATTRIBUTE. | |
742 | ||
d7ca95c0 | 743 | 2019-04-07 Eric Botcazou <ebotcazou@adacore.com> |
744 | ||
745 | * libgnat/i-cexten.ads (CFloat_128): New type. | |
746 | ||
26b21081 | 747 | 2019-03-22 Dmitriy Anisimkov <anisimko@adacore.com> |
748 | ||
749 | PR ada/89583 | |
750 | * libgnat/g-socket.adb (Bind_Socket, Connect_Socket, | |
751 | Send_Socket): Fix the computation of structure lengths passed to | |
752 | low level routines. | |
753 | (Is_IPv6_Address): Fix the number of expected colons. | |
754 | ||
2f6d557f | 755 | 2019-03-11 Martin Liska <mliska@suse.cz> |
756 | ||
d325ee67 | 757 | * gcc-interface/misc.c (gnat_post_options): Wrap option name in string |
758 | format message and fix GNU coding style. | |
2f6d557f | 759 | |
c1ad6672 | 760 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
761 | ||
762 | * gcc-interface/trans.c (gnat_to_gnu) <N_Aggregate>: Minor tweak. | |
763 | * gcc-interface/utils.c (convert): Do not pad when doing an unchecked | |
764 | conversion here. Use TREE_CONSTANT throughout the function. | |
765 | (unchecked_convert): Also pad if the source is a CONSTRUCTOR and the | |
766 | destination is a more aligned array type or a larger aggregate type, | |
767 | but not between original and packable versions of a type. | |
768 | ||
62a6ebbd | 769 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
770 | ||
771 | * gcc-interface/utils.c (max_size) <tcc_unary>: Be prepared for an | |
772 | operand with VOID_TYPE. | |
773 | ||
da383d19 | 774 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
775 | ||
776 | * gcc-interface/trans.c (elaborate_all_entities): Do not elaborate the | |
777 | entities of a package renaming another one. | |
778 | ||
09c123a0 | 779 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
780 | ||
781 | * gcc-interface/trans.c (Regular_Loop_to_gnu): Replace tests on | |
782 | individual flag_unswitch_loops and flag_tree_loop_vectorize switches | |
783 | with test on global optimize switch. | |
784 | (Raise_Error_to_gnu): Likewise. | |
785 | ||
a9dd7273 | 786 | 2019-02-07 Eric Botcazou <ebotcazou@adacore.com> |
787 | ||
788 | * libgnarl/s-linux__sparc.ads (ETIMEDOUT): Set to correct value. | |
789 | ||
4836c4f1 | 790 | 2019-02-06 Arnaud Charlet <charlet@adacore.com> |
791 | ||
792 | * libgnarl/s-linux__x32.ads: Resync list of signals with s-linux.ads | |
793 | ||
6b56937c | 794 | 2019-01-27 Eric Botcazou <ebotcazou@adacore.com> |
795 | ||
796 | * repinfo.adb (List_Component_Layout): Remove superfluous space for | |
797 | zero-sized field. | |
798 | * gcc-interface/ada-tree.h (TYPE_IS_EXTRA_SUBTYPE_P): New macro. | |
799 | * gcc-interface/gigi.h (create_extra_subtype): Declare. | |
800 | * gcc-interface/decl.c (TYPE_ARRAY_SIZE_LIMIT): Likewise. | |
801 | (update_n_elem): New function. | |
802 | (gnat_to_gnu_entity): Use create_extra_subtype to create extra subtypes | |
803 | instead of doing it manually. | |
804 | <E_Array_Type>: Use update_n_elem to compute the maximum size. Use the | |
805 | index type instead of base type for the bounds. Set TYPE_ARRAY_MAX_SIZE | |
806 | of the array to the maximum size. | |
807 | <E_Array_Subtype>: Create an extra subtype using the index type of the | |
808 | base array type for self-referential bounds. Use update_n_elem to | |
809 | compute the maximum size. Set TYPE_ARRAY_MAX_SIZE of the array to the | |
810 | maximum size. | |
811 | (gnat_to_gnu_field): Clear DECL_NONADDRESSABLE_P on discriminants. | |
812 | * gcc-interface/misc.c (gnat_get_alias_set): Return the alias set of | |
813 | the base type for an extra subtype. | |
814 | (gnat_type_max_size): Remove obsolete code. | |
815 | * gcc-interface/trans.c (Attribute_to_gnu): Minor tweak. | |
816 | (can_be_lower_p): Deal with pathological types. | |
817 | * gcc-interface/utils.c (create_extra_subtype): New function. | |
818 | (create_field_decl): Minor tweak. | |
819 | (max_size) <tcc_reference>: Compute a better value by using the extra | |
820 | subtypes on the self-referential bounds. | |
821 | <tcc_binary>: Rewrite. Deal with "negative value" in unsigned types. | |
822 | <tcc_expression>: Likewise. | |
823 | * gcc-interface/utils2.c (compare_arrays): Retrieve the original bounds | |
824 | of the arrays upfront. Swap only if the second length is not constant. | |
825 | Use comparisons on the original bounds consistently for the null tests. | |
826 | (build_binary_op): Use TYPE_IS_EXTRA_SUBTYPE_P macro. | |
827 | (build_allocator): Minor tweak. | |
828 | ||
ecb2c722 | 829 | 2019-01-27 Eric Botcazou <ebotcazou@adacore.com> |
830 | ||
831 | * gcc-interface/decl.c (array_type_has_nonaliased_component): Return | |
832 | the same value for every dimension of a multidimensional array type. | |
833 | ||
10f25579 | 834 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
835 | ||
836 | * gcc-interface/trans.c (Regular_Loop_to_gnu): Use the SLOC of the | |
837 | iteration scheme, if present, throughout the translation. | |
838 | ||
aced6683 | 839 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
840 | ||
841 | * gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>: Use | |
842 | DECL_SIZE_UNIT instead of TYPE_SIZE_UNIT for the size to be assigned | |
843 | by a call to memset if the LHS is a DECL. | |
844 | ||
18b4b30e | 845 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
846 | ||
847 | * gcc-interface/trans.c (struct loop_info_d): Remove artificial field. | |
848 | (Loop_Statement_to_gnu): Do not set it. | |
849 | ||
6dce35b7 | 850 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
851 | ||
852 | * gcc-interface/trans.c (Iterate_Acc_Clause_Arg): Fix formatting. | |
853 | (Acc_gnat_to_gnu): Likewise. | |
854 | (Acc_Data_to_gnu): Likewise. | |
855 | (Acc_Var_to_gnu): Likewise. | |
856 | (Acc_Reduc_to_gnu): Likewise. | |
857 | (Acc_Size_List_to_gnu): Likewise. | |
858 | (Pragma_to_gnu) <Pragma_Acc_Loop>: Likewise. | |
859 | <Pragma_Acc_Data>): Likewise. | |
860 | (find_loop_for): Remove default value for parameters. | |
861 | * gcc-interface/trans.c (gnat_to_gnu) <N_Op_And>: Merge into... | |
862 | <N_Op_Eq>): ...this. | |
863 | ||
f8cd11ee | 864 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
865 | ||
866 | * gcc-interface/decl.c (annotate_value) <INTEGER_CST>: Use test on | |
867 | the sign bit instead of on the sign of the value. | |
868 | <PLUS_EXPR>: Turn addition of negative constant into subtraction. | |
869 | <MULT_EXPR>: Add test for degenerate case. | |
870 | <BIT_AND_EXPR>: Simplify. | |
871 | ||
9a3c51d9 | 872 | 2019-01-18 Sebastian Huber <sebastian.huber@embedded-brains.de> |
873 | ||
874 | * s-oscons-tmplt.c (AF_INET6): Do not undefine for RTEMS. | |
875 | ||
07c11f2b | 876 | 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
877 | ||
878 | PR other/16615 | |
07c11f2b | 879 | * exp_ch11.adb: Change "can not" to "cannot". |
880 | * sem_ch4.adb: Likewise. | |
881 | ||
f4d3c071 | 882 | 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
883 | ||
884 | PR other/16615 | |
f4d3c071 | 885 | * exp_ch9.adb: Mechanically replace "can not" with "cannot". |
886 | * libgnat/s-regpat.ads: Likewise. | |
887 | * par-ch4.adb: Likewise. | |
888 | * set_targ.adb: Likewise. | |
889 | * types.ads: Likewise. | |
890 | ||
902071d1 | 891 | 2019-01-08 Justin Squirek <squirek@adacore.com> |
892 | ||
893 | Revert: | |
902071d1 | 894 | 2018-07-31 Justin Squirek <squirek@adacore.com> |
895 | ||
76fb0465 | 896 | * lib-writ.adb (Write_With_Lines): Modfiy the generation |
897 | of dependencies within ali files so that source unit | |
898 | bodies are properly listed even if said bodies are | |
899 | missing. Perform legacy behavior in GNATprove mode. | |
900 | * lib-writ.ads: Modify documentation to reflect current | |
901 | behavior. | |
902071d1 | 902 | |
903 | and: | |
902071d1 | 904 | 2018-09-26 Justin Squirek <squirek@adacore.com> |
905 | ||
76fb0465 | 906 | * lib-writ.adb, lib-writ.ads (Write_With_Lines): Add |
907 | documentation and an extra conditional check for RCI | |
908 | units so that generated ali files will list the spec | |
909 | only instead of a body when a body is not found. | |
902071d1 | 910 | |
65a33d4a | 911 | 2019-01-04 Eric Botcazou <ebotcazou@adacore.com> |
912 | ||
913 | * gnatvsn.ads: Bump copyright year. | |
914 | ||
3d8932fd | 915 | 2019-01-01 Jakub Jelinek <jakub@redhat.com> |
8e8f6434 | 916 | |
fbd26352 | 917 | Update copyright years. |
918 | ||
277184bc | 919 | * gnat_ugn.texi: Bump @copying's copyright year. |
920 | * gnat_rm.texi: Likewise. | |
7dfbd804 | 921 | \f |
3d8932fd | 922 | Copyright (C) 2019 Free Software Foundation, Inc. |
7dfbd804 | 923 | |
924 | Copying and distribution of this file, with or without modification, | |
925 | are permitted in any medium without royalty provided the copyright | |
926 | notice and this notice are preserved. |