]>
Commit | Line | Data |
---|---|---|
2cf822b7 | 1 | 2019-07-01 Bob Duff <duff@adacore.com> |
2 | ||
3 | * gnat1drv.adb (gnat1drv): Call Write_ALI if the main unit is | |
4 | ignored-ghost. | |
5 | ||
0a1ece97 | 6 | 2019-07-01 Yannick Moy <moy@adacore.com> |
7 | ||
8 | * sem_ch4.adb (Operator_Check): Refine error message. | |
9 | ||
ee4279ef | 10 | 2019-07-01 Piotr Trojanek <trojanek@adacore.com> |
11 | ||
12 | * libgnat/a-calend.ads: Revert "Global => null" contracts on | |
13 | non-pure routines. | |
14 | ||
2c6b4ada | 15 | 2019-07-01 Piotr Trojanek <trojanek@adacore.com> |
16 | ||
17 | * exp_attr.adb, libgnat/g-graphs.ads: Fix typos in comments: | |
18 | componant -> component. | |
19 | ||
175c4526 | 20 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
21 | ||
22 | * libgnat/g-graphs.adb: Use type Directed_Graph rather than | |
23 | Instance in various routines. | |
24 | * libgnat/g-graphs.ads: Change type Instance to Directed_Graph. | |
25 | Update various routines that mention the type. | |
26 | ||
a0d15509 | 27 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
28 | ||
29 | * libgnat/g-sets.adb: Use type Membership_Set rathern than | |
30 | Instance in various routines. | |
31 | * libgnat/g-sets.ads: Change type Instance to Membership_Set. | |
32 | Update various routines that mention the type. | |
33 | ||
205a23a3 | 34 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
35 | ||
36 | * libgnat/g-lists.adb: Use type Doubly_Linked_List rather than | |
37 | Instance in various routines. | |
38 | * libgnat/g-lists.ads: Change type Instance to | |
39 | Doubly_Linked_List. Update various routines that mention the | |
40 | type. | |
41 | ||
17fdf8c2 | 42 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
43 | ||
44 | * libgnat/g-dynhta.adb: Use type Dynamic_Hash_Table rather than | |
45 | Instance in various routines. | |
46 | * libgnat/g-dynhta.ads: Change type Instance to | |
47 | Dynamic_Hash_Table. Update various routines that mention the | |
48 | type. | |
49 | ||
216ffc64 | 50 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
51 | ||
52 | * exp_attr.adb, exp_ch7.adb, exp_unst.adb, sem_ch3.adb, | |
53 | sem_util.adb, uintp.adb, uintp.ads: Minor reformatting. | |
54 | ||
5051fe35 | 55 | 2019-07-01 Javier Miranda <miranda@adacore.com> |
56 | ||
57 | * exp_attr.adb (Expand_Min_Max_Attribute): Disable expansion of | |
58 | 'Min/'Max on integer, enumeration, fixed point and floating | |
59 | point types since the CCG backend now provides in file | |
60 | standard.h routines to support it. | |
61 | ||
830a2a71 | 62 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
63 | ||
64 | * impunit.adb: Add GNAT.Graphs to list Non_Imp_File_Names_95. | |
65 | * Makefile.rtl, gcc-interface/Make-lang.in: Register unit | |
66 | GNAT.Graphs. | |
67 | * libgnat/g-dynhta.adb: Various minor cleanups (use Present | |
68 | rather than direct comparisons). | |
69 | (Delete): Reimplement to use Delete_Node. | |
70 | (Delete_Node): New routine. | |
71 | (Destroy_Bucket): Invoke the provided destructor. | |
72 | (Present): New routines. | |
73 | * libgnat/g-dynhta.ads: Add new generic formal Destroy_Value. | |
74 | Use better names for the components of iterators. | |
75 | * libgnat/g-graphs.adb, libgnat/g-graphs.ads: New unit. | |
76 | * libgnat/g-lists.adb: Various minor cleanups (use Present | |
77 | rather than direct comparisons). | |
78 | (Delete_Node): Invoke the provided destructor. | |
79 | (Present): New routine. | |
80 | * libgnat/g-lists.ads: Add new generic formal Destroy_Element. | |
81 | Use better names for the components of iterators. | |
82 | (Present): New routine. | |
83 | * libgnat/g-sets.adb, libgnat/g-sets.ads (Destroy, Preset, | |
84 | Reset): New routines. | |
85 | ||
b0111d94 | 86 | 2019-07-01 Dmitriy Anisimkov <anisimko@adacore.com> |
87 | ||
88 | * libgnat/g-sothco.adb (Get_Address): Fix the case when AF_INET6 | |
89 | is not defined. | |
90 | ||
7362896b | 91 | 2019-07-01 Ed Schonberg <schonberg@adacore.com> |
92 | ||
93 | * exp_attr.adb (Expand_Attribute_Reference, case Invalid_Value): | |
94 | Resolve result of call to Get_Simple_Init_Val, which may be a | |
95 | conversion of a literal. | |
96 | ||
0dae8dc2 | 97 | 2019-07-01 Hristian Kirtchev <kirtchev@adacore.com> |
98 | ||
99 | * freeze.adb (Freeze_Expression): Remove the horrible useless | |
100 | name hiding of N. Insert the freeze nodes generated by the | |
101 | expression prior to the expression when the nearest enclosing | |
102 | scope is transient. | |
103 | ||
487da8ff | 104 | 2019-07-01 Pierre-Marie de Rodat <derodat@adacore.com> |
105 | ||
106 | * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Fix | |
107 | formatting issues in the -gnatR section. | |
108 | * gnat_ugn.texi: Regenerate. | |
109 | ||
1d79fa18 | 110 | 2019-06-30 Iain Sandoe <iain@sandoe.co.uk> |
111 | ||
112 | * gnatlink.adb (Link_Step): Remove duplicate -static-libgcc switches. | |
113 | Push -shared-libgcc explicitly, when it is the target default (unless | |
114 | overidden by the static flag). | |
115 | When the user has put an instance of shared/static-libgcc do not push | |
116 | a duplicate of this. | |
117 | ||
a850edcd | 118 | 2019-06-29 Eric Botcazou <ebotcazou@adacore.com> |
119 | ||
120 | * gcc-interface/decl.c (gnat_to_gnu_entity): Beep up comment on SAVED, | |
121 | and tweak comment on the assertion about the scopes of Itypes. Do not | |
122 | skip the regular processing for Itypes that are E_Record_Subtype with | |
123 | a Cloned_Subtype. Get the Cloned_Subtype for every E_Record_Subtype | |
124 | if the type is dummy and hasn't got its own freeze node. | |
125 | <E_Record_Subtype>: Save again the DECL of the Cloned_Subtype, if any. | |
126 | <E_Access_Subtype>: Save again the DECL of the equivalent type. | |
127 | (Gigi_Equivalent_Type) <E_Access_Subtype>: New case. | |
128 | ||
b1e46fb1 | 129 | 2019-06-29 Eric Botcazou <ebotcazou@adacore.com> |
130 | ||
131 | * gcc-interface/utils.c (unchecked_convert): Tweak comment. Only skip | |
132 | dereferences when padding to have the same size on both sides. Do it | |
133 | for destination types with self-referential size too. | |
134 | ||
07e38949 | 135 | 2019-06-29 Eric Botcazou <ebotcazou@adacore.com> |
136 | ||
137 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: If the | |
138 | type requires strict alignment, then set the RM size to the type size. | |
139 | Rework handling of alignment and sizes of tagged types in ASIS mode. | |
140 | (validate_size): Rename local variable and remove special handling for | |
141 | strict-alignment types. | |
142 | * gcc-interface/utils.c (finish_record_type): Constify local variables | |
143 | and use properly typed constants. | |
144 | ||
f4409741 | 145 | 2019-06-29 Eric Botcazou <ebotcazou@adacore.com> |
146 | ||
147 | * gcc-interface/decl.c (gnat_to_gnu_field): Rework error messages for | |
148 | fields requiring strict alignment, add explicit test on Storage_Unit | |
149 | for position and size, and mention type alignment for position. | |
150 | ||
5882c515 | 151 | 2019-06-29 Eric Botcazou <ebotcazou@adacore.com> |
152 | ||
153 | * gcc-interface/trans.c (mark_visited_r): Set TYPE_SIZES_GIMPLIFIED on | |
154 | the main variant of a type, if any. | |
155 | ||
d0de0a27 | 156 | 2019-06-29 Eric Botcazou <ebotcazou@adacore.com> |
157 | ||
158 | * gcc-interface/decl.c (set_nonaliased_component_on_array_type): Add | |
159 | missing guard for the presence of TYPE_CANONICAL. | |
160 | (set_reverse_storage_order_on_array_type): Likewise. | |
161 | ||
2074c859 | 162 | 2019-06-29 Eric Botcazou <ebotcazou@adacore.com> |
163 | ||
164 | * gcc-interface/gigi.h (make_packable_type): Remove default value. | |
165 | (value_factor_p): Tweak prototype. | |
166 | * gcc-interface/decl.c (gnat_to_gnu_entity): Add comment. | |
167 | (gnat_to_gnu_component_type): Likewise. | |
168 | (gnat_to_gnu_field): Likewise. Fetch the position of the field earlier | |
169 | and simplify the condition under which the type is packed. Declare | |
170 | local variable is_bitfield. Pass 1 as max_align to make_packable_type | |
171 | if it is set to true. | |
172 | (copy_and_substitute_in_layout): Pass 0 to make_packable_type. | |
173 | * gcc-interface/utils.c (make_packable_array_type): New function. | |
174 | (make_packable_type): Use it to rewrite the type of array field. | |
175 | (maybe_pad_type): Pass align parameter to make_packable_type. | |
176 | (create_field_decl): Minor tweaks. | |
177 | (value_factor_p): Assert that FACTOR is a power of 2 and replace the | |
178 | modulo computation by a masking operation. | |
179 | ||
83c6da22 | 180 | 2019-06-25 Eric Botcazou <ebotcazou@adacore.com> |
181 | ||
182 | * gcc-interface/decl.c (gnat_to_gnu_entity): Remove superfluous test | |
183 | in previous change. | |
184 | * gcc-interface/gigi.h (maybe_character_type): Fix formatting. | |
185 | (maybe_character_value): Likewise. | |
186 | ||
aaabc7bc | 187 | 2019-06-24 Jan Hubicka <jh@suse.cz> |
188 | ||
189 | * gcc-interface/decl.c (gnat_to_gnu_entity): Check that | |
190 | type is array or integer prior checking string flag. | |
83c6da22 | 191 | * gcc-interface/gigi.h (maybe_character_type): Likewise. |
192 | (maybe_character_value): Likewise. | |
aaabc7bc | 193 | |
5fe09a56 | 194 | 2019-06-24 Martin Sebor <msebor@redhat.com> |
195 | ||
196 | * gcc-interface/utils.c (handle_nonnull_attribute): Quote attribute | |
197 | name. | |
198 | ||
bd9331d6 | 199 | 2019-06-18 Arnaud Charlet <charlet@adacore.com> |
200 | ||
83c6da22 | 201 | PR ada/80590 |
bd9331d6 | 202 | * sem_ch5.adb (Analyze_Loop_Statement): Avoid exception propagation |
203 | during normal processing. | |
204 | ||
8a5a7d1c | 205 | 2019-06-17 Arnaud Charlet <charlet@adacore.com> |
206 | ||
83c6da22 | 207 | PR ada/80590 |
8a5a7d1c | 208 | * exp_ch9.adb (Expand_N_Delay_Relative_Statement): Swap the two |
209 | conditions to avoid a unnecessary exception propagation in the default | |
210 | case. | |
211 | ||
580934f6 | 212 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
213 | ||
214 | * gcc-interface/utils.c (handle_stack_protect_attribute): Move around. | |
215 | ||
c8956236 | 216 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
217 | ||
218 | * doc/gnat_rm/implementation_defined_pragmas.rst (Machine_Attribute): | |
219 | Document additional optional parameters. | |
220 | * sem_prag.adb (Analyze_Pragma) <Pragma_Machine_Attribute>: Accept | |
221 | more than one optional parameter. | |
222 | * gcc-interface/decl.c (prepend_one_attribute_pragma): Alphabetize | |
223 | the list of supported pragmas. Simplify the handling of parameters | |
224 | and add support for more than one optional parameter. | |
225 | * gcc-interface/utils.c (attr_cold_hot_exclusions): New constant. | |
226 | (gnat_internal_attribute_table): Add entry for no_icf, noipa, flatten, | |
227 | used, cold, hot, target and target_clones. | |
228 | (begin_subprog_body): Do not create the RTL for the subprogram here. | |
229 | (handle_noicf_attribute): New static function. | |
230 | (handle_noipa_attribute): Likewise. | |
231 | (handle_flatten_attribute): Likewise. | |
232 | (handle_used_attribute): Likewise. | |
233 | (handle_cold_attribute): Likewise. | |
234 | (handle_hot_attribute): Likewise. | |
235 | (handle_target_attribute): Likewise. | |
236 | (handle_target_clones_attribute): Likewise. | |
237 | ||
62b762c2 | 238 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
239 | ||
240 | * gcc-interface/trans.c (lvalue_required_for_attribute_p): Return 0 | |
241 | for 'Size too. | |
242 | (Identifier_to_gnu): Use the actual subtype for a reference to a | |
243 | packed array in a return statement. | |
244 | (Attribute_to_gnu) <Attr_Size>: Do not strip VIEW_CONVERT_EXPRs from | |
245 | the prefix in every case. | |
246 | ||
336a61a3 | 247 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
248 | ||
249 | * gcc-interface/trans.c (gnat_to_gnu): Remove superfluous tests on | |
250 | Backend_Overflow_Checks_On_Target and rework comments. | |
251 | ||
983c5b5e | 252 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
253 | ||
254 | * gcc-interface/trans.c (walk_nesting_tree): New static function. | |
255 | (finalize_nrv): Use it to walk the entire nesting tree. | |
256 | ||
96b4b84e | 257 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
258 | ||
259 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Remove | |
260 | obsolete test on Is_For_Access_Subtype. | |
261 | ||
0b74284e | 262 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
263 | ||
264 | * gcc-interface/decl.c (components_to_record): Set a name on the type | |
265 | created for the REP part, if any. | |
266 | * gcc-interface/utils.c (finish_record_type): Only take the maximum | |
267 | when merging sizes for a variant part at offset 0. | |
268 | (merge_sizes): Rename has_rep parameter into max. | |
269 | ||
689dab9d | 270 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
271 | ||
272 | * gcc-interface/utils.c (gnat_internal_attribute_table): Add support | |
273 | for stack_protect attribute. | |
274 | (handle_stack_protect_attribute): New static function. | |
275 | ||
804f7d39 | 276 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
277 | ||
278 | * gcc-interface/decl.c (intrin_arglists_compatible_p): Do not return | |
279 | false if the internal builtin uses a variable list. | |
280 | ||
f07f94cc | 281 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
282 | ||
283 | * gcc-interface/trans.c (Call_to_gnu): Do not initialize the temporary | |
284 | created out of addressability concerns if it's for the _Init parameter | |
285 | of an initialization procedure. | |
286 | ||
abfd658b | 287 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
288 | ||
289 | * gcc-interface/ada-builtin-types.def: New file. | |
290 | * gcc-interface/ada-builtins.def: Likewise. | |
291 | * gcc-interface/ada-tree.h (BUILT_IN_LIKELY): New macro. | |
292 | (BUILT_IN_UNLIKELY): Likewise. | |
293 | * gcc-interface/trans.c (independent_iterations_p): Initialize the | |
294 | auto-vector to 16 elements. | |
295 | (Call_to_gnu): Remove local variable and change the vector of actual | |
296 | parameters to an auto-vector. Do not convert actual parameters to | |
297 | the argument type for front-end built-in functions. Add support for | |
298 | front-end built-in functions. | |
299 | (build_noreturn_cond): Use internal instead of built-in function. | |
300 | * gcc-interface/utils.c (c_builtin_type): Include ada-builtin-types.def | |
301 | (install_builtin_function_types): Likewise. | |
302 | (install_builtin_functions): Include ada-builtins.def first. | |
303 | ||
caab73a2 | 304 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
305 | ||
306 | * gcc-interface/utils.c (maybe_pad_type): Issue the warning for the | |
307 | specific case of component types preferably. | |
308 | ||
f1ca2388 | 309 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
310 | ||
311 | * gcc-interface/trans.c (Identifier_to_gnu): Minor tweaks. | |
312 | (gnat_to_gnu): Do not convert the result if it is a reference to an | |
313 | unconstrained array used as the prefix of an attribute reference that | |
314 | requires an lvalue. | |
315 | ||
e3f3573c | 316 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
317 | ||
318 | * gcc-interface/trans.c (Gigi_Types_Compatible): New predicate. | |
319 | (Identifier_to_gnu): Use it to assert that the type of the identifier | |
320 | and that of its entity are compatible for gigi. Rename a couple of | |
321 | local variables and separate the processing of the result type. | |
322 | ||
2306cd17 | 323 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
324 | ||
325 | * gcc-interface/trans.c (Call_to_gnu): Use the unpadded type when | |
326 | putting back an intermediate conversion the type of the actuals. | |
327 | ||
6e4e9378 | 328 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
329 | ||
330 | * gcc-interface/trans.c (gnat_to_gnu) <Shift operations>: Convert the | |
331 | count to the unsigned version of its base type before proceeding. | |
332 | ||
85b9be9b | 333 | 2019-05-16 Martin Sebor <msebor@redhat.com> |
334 | ||
3d6be0d5 | 335 | * gcc-interface/trans.c (check_inlining_for_nested_subprog): Quote |
336 | reserved names. | |
85b9be9b | 337 | |
65d973ca | 338 | 2019-05-08 Arnaud Charlet <charlet@adacore.com> |
339 | ||
340 | * standard.ads.h: New file. | |
341 | ||
ff628b99 | 342 | 2019-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
343 | ||
344 | * gcc-interface/Makefile.in (install-gcc-specs): Use foreach. | |
345 | Honor DESTDIR. | |
346 | ||
ebd761d4 | 347 | 2019-04-29 Michael K. Darling <darlingm@gmail.com> |
348 | ||
349 | * gnatvsn.ads: Bump Library_Version to 10. | |
350 | ||
5f260823 | 351 | 2019-04-24 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
352 | Bernd Edlinger <bernd.edlinger@hotmail.de> | |
353 | Jakub Jelinek <jakub@redhat.com> | |
354 | ||
355 | PR target/89093 | |
356 | * raise-gcc.c (TARGET_ATTRIBUTE): Define. | |
357 | (continue_unwind, personality_body, PERSONALITY_FUNCTION): Add | |
358 | TARGET_ATTRIBUTE. | |
359 | ||
d7ca95c0 | 360 | 2019-04-07 Eric Botcazou <ebotcazou@adacore.com> |
361 | ||
362 | * libgnat/i-cexten.ads (CFloat_128): New type. | |
363 | ||
26b21081 | 364 | 2019-03-22 Dmitriy Anisimkov <anisimko@adacore.com> |
365 | ||
366 | PR ada/89583 | |
367 | * libgnat/g-socket.adb (Bind_Socket, Connect_Socket, | |
368 | Send_Socket): Fix the computation of structure lengths passed to | |
369 | low level routines. | |
370 | (Is_IPv6_Address): Fix the number of expected colons. | |
371 | ||
2f6d557f | 372 | 2019-03-11 Martin Liska <mliska@suse.cz> |
373 | ||
d325ee67 | 374 | * gcc-interface/misc.c (gnat_post_options): Wrap option name in string |
375 | format message and fix GNU coding style. | |
2f6d557f | 376 | |
c1ad6672 | 377 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
378 | ||
379 | * gcc-interface/trans.c (gnat_to_gnu) <N_Aggregate>: Minor tweak. | |
380 | * gcc-interface/utils.c (convert): Do not pad when doing an unchecked | |
381 | conversion here. Use TREE_CONSTANT throughout the function. | |
382 | (unchecked_convert): Also pad if the source is a CONSTRUCTOR and the | |
383 | destination is a more aligned array type or a larger aggregate type, | |
384 | but not between original and packable versions of a type. | |
385 | ||
62a6ebbd | 386 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
387 | ||
388 | * gcc-interface/utils.c (max_size) <tcc_unary>: Be prepared for an | |
389 | operand with VOID_TYPE. | |
390 | ||
da383d19 | 391 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
392 | ||
393 | * gcc-interface/trans.c (elaborate_all_entities): Do not elaborate the | |
394 | entities of a package renaming another one. | |
395 | ||
09c123a0 | 396 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
397 | ||
398 | * gcc-interface/trans.c (Regular_Loop_to_gnu): Replace tests on | |
399 | individual flag_unswitch_loops and flag_tree_loop_vectorize switches | |
400 | with test on global optimize switch. | |
401 | (Raise_Error_to_gnu): Likewise. | |
402 | ||
a9dd7273 | 403 | 2019-02-07 Eric Botcazou <ebotcazou@adacore.com> |
404 | ||
405 | * libgnarl/s-linux__sparc.ads (ETIMEDOUT): Set to correct value. | |
406 | ||
4836c4f1 | 407 | 2019-02-06 Arnaud Charlet <charlet@adacore.com> |
408 | ||
409 | * libgnarl/s-linux__x32.ads: Resync list of signals with s-linux.ads | |
410 | ||
6b56937c | 411 | 2019-01-27 Eric Botcazou <ebotcazou@adacore.com> |
412 | ||
413 | * repinfo.adb (List_Component_Layout): Remove superfluous space for | |
414 | zero-sized field. | |
415 | * gcc-interface/ada-tree.h (TYPE_IS_EXTRA_SUBTYPE_P): New macro. | |
416 | * gcc-interface/gigi.h (create_extra_subtype): Declare. | |
417 | * gcc-interface/decl.c (TYPE_ARRAY_SIZE_LIMIT): Likewise. | |
418 | (update_n_elem): New function. | |
419 | (gnat_to_gnu_entity): Use create_extra_subtype to create extra subtypes | |
420 | instead of doing it manually. | |
421 | <E_Array_Type>: Use update_n_elem to compute the maximum size. Use the | |
422 | index type instead of base type for the bounds. Set TYPE_ARRAY_MAX_SIZE | |
423 | of the array to the maximum size. | |
424 | <E_Array_Subtype>: Create an extra subtype using the index type of the | |
425 | base array type for self-referential bounds. Use update_n_elem to | |
426 | compute the maximum size. Set TYPE_ARRAY_MAX_SIZE of the array to the | |
427 | maximum size. | |
428 | (gnat_to_gnu_field): Clear DECL_NONADDRESSABLE_P on discriminants. | |
429 | * gcc-interface/misc.c (gnat_get_alias_set): Return the alias set of | |
430 | the base type for an extra subtype. | |
431 | (gnat_type_max_size): Remove obsolete code. | |
432 | * gcc-interface/trans.c (Attribute_to_gnu): Minor tweak. | |
433 | (can_be_lower_p): Deal with pathological types. | |
434 | * gcc-interface/utils.c (create_extra_subtype): New function. | |
435 | (create_field_decl): Minor tweak. | |
436 | (max_size) <tcc_reference>: Compute a better value by using the extra | |
437 | subtypes on the self-referential bounds. | |
438 | <tcc_binary>: Rewrite. Deal with "negative value" in unsigned types. | |
439 | <tcc_expression>: Likewise. | |
440 | * gcc-interface/utils2.c (compare_arrays): Retrieve the original bounds | |
441 | of the arrays upfront. Swap only if the second length is not constant. | |
442 | Use comparisons on the original bounds consistently for the null tests. | |
443 | (build_binary_op): Use TYPE_IS_EXTRA_SUBTYPE_P macro. | |
444 | (build_allocator): Minor tweak. | |
445 | ||
ecb2c722 | 446 | 2019-01-27 Eric Botcazou <ebotcazou@adacore.com> |
447 | ||
448 | * gcc-interface/decl.c (array_type_has_nonaliased_component): Return | |
449 | the same value for every dimension of a multidimensional array type. | |
450 | ||
10f25579 | 451 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
452 | ||
453 | * gcc-interface/trans.c (Regular_Loop_to_gnu): Use the SLOC of the | |
454 | iteration scheme, if present, throughout the translation. | |
455 | ||
aced6683 | 456 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
457 | ||
458 | * gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>: Use | |
459 | DECL_SIZE_UNIT instead of TYPE_SIZE_UNIT for the size to be assigned | |
460 | by a call to memset if the LHS is a DECL. | |
461 | ||
18b4b30e | 462 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
463 | ||
464 | * gcc-interface/trans.c (struct loop_info_d): Remove artificial field. | |
465 | (Loop_Statement_to_gnu): Do not set it. | |
466 | ||
6dce35b7 | 467 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
468 | ||
469 | * gcc-interface/trans.c (Iterate_Acc_Clause_Arg): Fix formatting. | |
470 | (Acc_gnat_to_gnu): Likewise. | |
471 | (Acc_Data_to_gnu): Likewise. | |
472 | (Acc_Var_to_gnu): Likewise. | |
473 | (Acc_Reduc_to_gnu): Likewise. | |
474 | (Acc_Size_List_to_gnu): Likewise. | |
475 | (Pragma_to_gnu) <Pragma_Acc_Loop>: Likewise. | |
476 | <Pragma_Acc_Data>): Likewise. | |
477 | (find_loop_for): Remove default value for parameters. | |
478 | * gcc-interface/trans.c (gnat_to_gnu) <N_Op_And>: Merge into... | |
479 | <N_Op_Eq>): ...this. | |
480 | ||
f8cd11ee | 481 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
482 | ||
483 | * gcc-interface/decl.c (annotate_value) <INTEGER_CST>: Use test on | |
484 | the sign bit instead of on the sign of the value. | |
485 | <PLUS_EXPR>: Turn addition of negative constant into subtraction. | |
486 | <MULT_EXPR>: Add test for degenerate case. | |
487 | <BIT_AND_EXPR>: Simplify. | |
488 | ||
9a3c51d9 | 489 | 2019-01-18 Sebastian Huber <sebastian.huber@embedded-brains.de> |
490 | ||
491 | * s-oscons-tmplt.c (AF_INET6): Do not undefine for RTEMS. | |
492 | ||
07c11f2b | 493 | 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
494 | ||
495 | PR other/16615 | |
07c11f2b | 496 | * exp_ch11.adb: Change "can not" to "cannot". |
497 | * sem_ch4.adb: Likewise. | |
498 | ||
f4d3c071 | 499 | 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
500 | ||
501 | PR other/16615 | |
f4d3c071 | 502 | * exp_ch9.adb: Mechanically replace "can not" with "cannot". |
503 | * libgnat/s-regpat.ads: Likewise. | |
504 | * par-ch4.adb: Likewise. | |
505 | * set_targ.adb: Likewise. | |
506 | * types.ads: Likewise. | |
507 | ||
902071d1 | 508 | 2019-01-08 Justin Squirek <squirek@adacore.com> |
509 | ||
510 | Revert: | |
902071d1 | 511 | 2018-07-31 Justin Squirek <squirek@adacore.com> |
512 | ||
76fb0465 | 513 | * lib-writ.adb (Write_With_Lines): Modfiy the generation |
514 | of dependencies within ali files so that source unit | |
515 | bodies are properly listed even if said bodies are | |
516 | missing. Perform legacy behavior in GNATprove mode. | |
517 | * lib-writ.ads: Modify documentation to reflect current | |
518 | behavior. | |
902071d1 | 519 | |
520 | and: | |
902071d1 | 521 | 2018-09-26 Justin Squirek <squirek@adacore.com> |
522 | ||
76fb0465 | 523 | * lib-writ.adb, lib-writ.ads (Write_With_Lines): Add |
524 | documentation and an extra conditional check for RCI | |
525 | units so that generated ali files will list the spec | |
526 | only instead of a body when a body is not found. | |
902071d1 | 527 | |
65a33d4a | 528 | 2019-01-04 Eric Botcazou <ebotcazou@adacore.com> |
529 | ||
530 | * gnatvsn.ads: Bump copyright year. | |
531 | ||
3d8932fd | 532 | 2019-01-01 Jakub Jelinek <jakub@redhat.com> |
8e8f6434 | 533 | |
fbd26352 | 534 | Update copyright years. |
535 | ||
277184bc | 536 | * gnat_ugn.texi: Bump @copying's copyright year. |
537 | * gnat_rm.texi: Likewise. | |
7dfbd804 | 538 | \f |
3d8932fd | 539 | Copyright (C) 2019 Free Software Foundation, Inc. |
7dfbd804 | 540 | |
541 | Copying and distribution of this file, with or without modification, | |
542 | are permitted in any medium without royalty provided the copyright | |
543 | notice and this notice are preserved. |