]>
Commit | Line | Data |
---|---|---|
5fe09a56 | 1 | 2019-06-24 Martin Sebor <msebor@redhat.com> |
2 | ||
3 | * gcc-interface/utils.c (handle_nonnull_attribute): Quote attribute | |
4 | name. | |
5 | ||
bd9331d6 | 6 | 2019-06-18 Arnaud Charlet <charlet@adacore.com> |
7 | ||
8 | PR ada/80590 | |
9 | ||
10 | * sem_ch5.adb (Analyze_Loop_Statement): Avoid exception propagation | |
11 | during normal processing. | |
12 | ||
8a5a7d1c | 13 | 2019-06-17 Arnaud Charlet <charlet@adacore.com> |
14 | ||
15 | PR ada/80590 | |
16 | ||
17 | * exp_ch9.adb (Expand_N_Delay_Relative_Statement): Swap the two | |
18 | conditions to avoid a unnecessary exception propagation in the default | |
19 | case. | |
20 | ||
580934f6 | 21 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
22 | ||
23 | * gcc-interface/utils.c (handle_stack_protect_attribute): Move around. | |
24 | ||
c8956236 | 25 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
26 | ||
27 | * doc/gnat_rm/implementation_defined_pragmas.rst (Machine_Attribute): | |
28 | Document additional optional parameters. | |
29 | * sem_prag.adb (Analyze_Pragma) <Pragma_Machine_Attribute>: Accept | |
30 | more than one optional parameter. | |
31 | * gcc-interface/decl.c (prepend_one_attribute_pragma): Alphabetize | |
32 | the list of supported pragmas. Simplify the handling of parameters | |
33 | and add support for more than one optional parameter. | |
34 | * gcc-interface/utils.c (attr_cold_hot_exclusions): New constant. | |
35 | (gnat_internal_attribute_table): Add entry for no_icf, noipa, flatten, | |
36 | used, cold, hot, target and target_clones. | |
37 | (begin_subprog_body): Do not create the RTL for the subprogram here. | |
38 | (handle_noicf_attribute): New static function. | |
39 | (handle_noipa_attribute): Likewise. | |
40 | (handle_flatten_attribute): Likewise. | |
41 | (handle_used_attribute): Likewise. | |
42 | (handle_cold_attribute): Likewise. | |
43 | (handle_hot_attribute): Likewise. | |
44 | (handle_target_attribute): Likewise. | |
45 | (handle_target_clones_attribute): Likewise. | |
46 | ||
62b762c2 | 47 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
48 | ||
49 | * gcc-interface/trans.c (lvalue_required_for_attribute_p): Return 0 | |
50 | for 'Size too. | |
51 | (Identifier_to_gnu): Use the actual subtype for a reference to a | |
52 | packed array in a return statement. | |
53 | (Attribute_to_gnu) <Attr_Size>: Do not strip VIEW_CONVERT_EXPRs from | |
54 | the prefix in every case. | |
55 | ||
336a61a3 | 56 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
57 | ||
58 | * gcc-interface/trans.c (gnat_to_gnu): Remove superfluous tests on | |
59 | Backend_Overflow_Checks_On_Target and rework comments. | |
60 | ||
983c5b5e | 61 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
62 | ||
63 | * gcc-interface/trans.c (walk_nesting_tree): New static function. | |
64 | (finalize_nrv): Use it to walk the entire nesting tree. | |
65 | ||
96b4b84e | 66 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
67 | ||
68 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Remove | |
69 | obsolete test on Is_For_Access_Subtype. | |
70 | ||
0b74284e | 71 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
72 | ||
73 | * gcc-interface/decl.c (components_to_record): Set a name on the type | |
74 | created for the REP part, if any. | |
75 | * gcc-interface/utils.c (finish_record_type): Only take the maximum | |
76 | when merging sizes for a variant part at offset 0. | |
77 | (merge_sizes): Rename has_rep parameter into max. | |
78 | ||
689dab9d | 79 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
80 | ||
81 | * gcc-interface/utils.c (gnat_internal_attribute_table): Add support | |
82 | for stack_protect attribute. | |
83 | (handle_stack_protect_attribute): New static function. | |
84 | ||
804f7d39 | 85 | 2019-05-28 Eric Botcazou <ebotcazou@adacore.com> |
86 | ||
87 | * gcc-interface/decl.c (intrin_arglists_compatible_p): Do not return | |
88 | false if the internal builtin uses a variable list. | |
89 | ||
f07f94cc | 90 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
91 | ||
92 | * gcc-interface/trans.c (Call_to_gnu): Do not initialize the temporary | |
93 | created out of addressability concerns if it's for the _Init parameter | |
94 | of an initialization procedure. | |
95 | ||
abfd658b | 96 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
97 | ||
98 | * gcc-interface/ada-builtin-types.def: New file. | |
99 | * gcc-interface/ada-builtins.def: Likewise. | |
100 | * gcc-interface/ada-tree.h (BUILT_IN_LIKELY): New macro. | |
101 | (BUILT_IN_UNLIKELY): Likewise. | |
102 | * gcc-interface/trans.c (independent_iterations_p): Initialize the | |
103 | auto-vector to 16 elements. | |
104 | (Call_to_gnu): Remove local variable and change the vector of actual | |
105 | parameters to an auto-vector. Do not convert actual parameters to | |
106 | the argument type for front-end built-in functions. Add support for | |
107 | front-end built-in functions. | |
108 | (build_noreturn_cond): Use internal instead of built-in function. | |
109 | * gcc-interface/utils.c (c_builtin_type): Include ada-builtin-types.def | |
110 | (install_builtin_function_types): Likewise. | |
111 | (install_builtin_functions): Include ada-builtins.def first. | |
112 | ||
caab73a2 | 113 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
114 | ||
115 | * gcc-interface/utils.c (maybe_pad_type): Issue the warning for the | |
116 | specific case of component types preferably. | |
117 | ||
f1ca2388 | 118 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
119 | ||
120 | * gcc-interface/trans.c (Identifier_to_gnu): Minor tweaks. | |
121 | (gnat_to_gnu): Do not convert the result if it is a reference to an | |
122 | unconstrained array used as the prefix of an attribute reference that | |
123 | requires an lvalue. | |
124 | ||
e3f3573c | 125 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
126 | ||
127 | * gcc-interface/trans.c (Gigi_Types_Compatible): New predicate. | |
128 | (Identifier_to_gnu): Use it to assert that the type of the identifier | |
129 | and that of its entity are compatible for gigi. Rename a couple of | |
130 | local variables and separate the processing of the result type. | |
131 | ||
2306cd17 | 132 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
133 | ||
134 | * gcc-interface/trans.c (Call_to_gnu): Use the unpadded type when | |
135 | putting back an intermediate conversion the type of the actuals. | |
136 | ||
6e4e9378 | 137 | 2019-05-27 Eric Botcazou <ebotcazou@adacore.com> |
138 | ||
139 | * gcc-interface/trans.c (gnat_to_gnu) <Shift operations>: Convert the | |
140 | count to the unsigned version of its base type before proceeding. | |
141 | ||
85b9be9b | 142 | 2019-05-16 Martin Sebor <msebor@redhat.com> |
143 | ||
3d6be0d5 | 144 | * gcc-interface/trans.c (check_inlining_for_nested_subprog): Quote |
145 | reserved names. | |
85b9be9b | 146 | |
65d973ca | 147 | 2019-05-08 Arnaud Charlet <charlet@adacore.com> |
148 | ||
149 | * standard.ads.h: New file. | |
150 | ||
ff628b99 | 151 | 2019-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
152 | ||
153 | * gcc-interface/Makefile.in (install-gcc-specs): Use foreach. | |
154 | Honor DESTDIR. | |
155 | ||
ebd761d4 | 156 | 2019-04-29 Michael K. Darling <darlingm@gmail.com> |
157 | ||
158 | * gnatvsn.ads: Bump Library_Version to 10. | |
159 | ||
5f260823 | 160 | 2019-04-24 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
161 | Bernd Edlinger <bernd.edlinger@hotmail.de> | |
162 | Jakub Jelinek <jakub@redhat.com> | |
163 | ||
164 | PR target/89093 | |
165 | * raise-gcc.c (TARGET_ATTRIBUTE): Define. | |
166 | (continue_unwind, personality_body, PERSONALITY_FUNCTION): Add | |
167 | TARGET_ATTRIBUTE. | |
168 | ||
d7ca95c0 | 169 | 2019-04-07 Eric Botcazou <ebotcazou@adacore.com> |
170 | ||
171 | * libgnat/i-cexten.ads (CFloat_128): New type. | |
172 | ||
26b21081 | 173 | 2019-03-22 Dmitriy Anisimkov <anisimko@adacore.com> |
174 | ||
175 | PR ada/89583 | |
176 | * libgnat/g-socket.adb (Bind_Socket, Connect_Socket, | |
177 | Send_Socket): Fix the computation of structure lengths passed to | |
178 | low level routines. | |
179 | (Is_IPv6_Address): Fix the number of expected colons. | |
180 | ||
2f6d557f | 181 | 2019-03-11 Martin Liska <mliska@suse.cz> |
182 | ||
d325ee67 | 183 | * gcc-interface/misc.c (gnat_post_options): Wrap option name in string |
184 | format message and fix GNU coding style. | |
2f6d557f | 185 | |
c1ad6672 | 186 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
187 | ||
188 | * gcc-interface/trans.c (gnat_to_gnu) <N_Aggregate>: Minor tweak. | |
189 | * gcc-interface/utils.c (convert): Do not pad when doing an unchecked | |
190 | conversion here. Use TREE_CONSTANT throughout the function. | |
191 | (unchecked_convert): Also pad if the source is a CONSTRUCTOR and the | |
192 | destination is a more aligned array type or a larger aggregate type, | |
193 | but not between original and packable versions of a type. | |
194 | ||
62a6ebbd | 195 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
196 | ||
197 | * gcc-interface/utils.c (max_size) <tcc_unary>: Be prepared for an | |
198 | operand with VOID_TYPE. | |
199 | ||
da383d19 | 200 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
201 | ||
202 | * gcc-interface/trans.c (elaborate_all_entities): Do not elaborate the | |
203 | entities of a package renaming another one. | |
204 | ||
09c123a0 | 205 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
206 | ||
207 | * gcc-interface/trans.c (Regular_Loop_to_gnu): Replace tests on | |
208 | individual flag_unswitch_loops and flag_tree_loop_vectorize switches | |
209 | with test on global optimize switch. | |
210 | (Raise_Error_to_gnu): Likewise. | |
211 | ||
a9dd7273 | 212 | 2019-02-07 Eric Botcazou <ebotcazou@adacore.com> |
213 | ||
214 | * libgnarl/s-linux__sparc.ads (ETIMEDOUT): Set to correct value. | |
215 | ||
4836c4f1 | 216 | 2019-02-06 Arnaud Charlet <charlet@adacore.com> |
217 | ||
218 | * libgnarl/s-linux__x32.ads: Resync list of signals with s-linux.ads | |
219 | ||
6b56937c | 220 | 2019-01-27 Eric Botcazou <ebotcazou@adacore.com> |
221 | ||
222 | * repinfo.adb (List_Component_Layout): Remove superfluous space for | |
223 | zero-sized field. | |
224 | * gcc-interface/ada-tree.h (TYPE_IS_EXTRA_SUBTYPE_P): New macro. | |
225 | * gcc-interface/gigi.h (create_extra_subtype): Declare. | |
226 | * gcc-interface/decl.c (TYPE_ARRAY_SIZE_LIMIT): Likewise. | |
227 | (update_n_elem): New function. | |
228 | (gnat_to_gnu_entity): Use create_extra_subtype to create extra subtypes | |
229 | instead of doing it manually. | |
230 | <E_Array_Type>: Use update_n_elem to compute the maximum size. Use the | |
231 | index type instead of base type for the bounds. Set TYPE_ARRAY_MAX_SIZE | |
232 | of the array to the maximum size. | |
233 | <E_Array_Subtype>: Create an extra subtype using the index type of the | |
234 | base array type for self-referential bounds. Use update_n_elem to | |
235 | compute the maximum size. Set TYPE_ARRAY_MAX_SIZE of the array to the | |
236 | maximum size. | |
237 | (gnat_to_gnu_field): Clear DECL_NONADDRESSABLE_P on discriminants. | |
238 | * gcc-interface/misc.c (gnat_get_alias_set): Return the alias set of | |
239 | the base type for an extra subtype. | |
240 | (gnat_type_max_size): Remove obsolete code. | |
241 | * gcc-interface/trans.c (Attribute_to_gnu): Minor tweak. | |
242 | (can_be_lower_p): Deal with pathological types. | |
243 | * gcc-interface/utils.c (create_extra_subtype): New function. | |
244 | (create_field_decl): Minor tweak. | |
245 | (max_size) <tcc_reference>: Compute a better value by using the extra | |
246 | subtypes on the self-referential bounds. | |
247 | <tcc_binary>: Rewrite. Deal with "negative value" in unsigned types. | |
248 | <tcc_expression>: Likewise. | |
249 | * gcc-interface/utils2.c (compare_arrays): Retrieve the original bounds | |
250 | of the arrays upfront. Swap only if the second length is not constant. | |
251 | Use comparisons on the original bounds consistently for the null tests. | |
252 | (build_binary_op): Use TYPE_IS_EXTRA_SUBTYPE_P macro. | |
253 | (build_allocator): Minor tweak. | |
254 | ||
ecb2c722 | 255 | 2019-01-27 Eric Botcazou <ebotcazou@adacore.com> |
256 | ||
257 | * gcc-interface/decl.c (array_type_has_nonaliased_component): Return | |
258 | the same value for every dimension of a multidimensional array type. | |
259 | ||
10f25579 | 260 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
261 | ||
262 | * gcc-interface/trans.c (Regular_Loop_to_gnu): Use the SLOC of the | |
263 | iteration scheme, if present, throughout the translation. | |
264 | ||
aced6683 | 265 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
266 | ||
267 | * gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>: Use | |
268 | DECL_SIZE_UNIT instead of TYPE_SIZE_UNIT for the size to be assigned | |
269 | by a call to memset if the LHS is a DECL. | |
270 | ||
18b4b30e | 271 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
272 | ||
273 | * gcc-interface/trans.c (struct loop_info_d): Remove artificial field. | |
274 | (Loop_Statement_to_gnu): Do not set it. | |
275 | ||
6dce35b7 | 276 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
277 | ||
278 | * gcc-interface/trans.c (Iterate_Acc_Clause_Arg): Fix formatting. | |
279 | (Acc_gnat_to_gnu): Likewise. | |
280 | (Acc_Data_to_gnu): Likewise. | |
281 | (Acc_Var_to_gnu): Likewise. | |
282 | (Acc_Reduc_to_gnu): Likewise. | |
283 | (Acc_Size_List_to_gnu): Likewise. | |
284 | (Pragma_to_gnu) <Pragma_Acc_Loop>: Likewise. | |
285 | <Pragma_Acc_Data>): Likewise. | |
286 | (find_loop_for): Remove default value for parameters. | |
287 | * gcc-interface/trans.c (gnat_to_gnu) <N_Op_And>: Merge into... | |
288 | <N_Op_Eq>): ...this. | |
289 | ||
f8cd11ee | 290 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
291 | ||
292 | * gcc-interface/decl.c (annotate_value) <INTEGER_CST>: Use test on | |
293 | the sign bit instead of on the sign of the value. | |
294 | <PLUS_EXPR>: Turn addition of negative constant into subtraction. | |
295 | <MULT_EXPR>: Add test for degenerate case. | |
296 | <BIT_AND_EXPR>: Simplify. | |
297 | ||
9a3c51d9 | 298 | 2019-01-18 Sebastian Huber <sebastian.huber@embedded-brains.de> |
299 | ||
300 | * s-oscons-tmplt.c (AF_INET6): Do not undefine for RTEMS. | |
301 | ||
07c11f2b | 302 | 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
303 | ||
304 | PR other/16615 | |
07c11f2b | 305 | * exp_ch11.adb: Change "can not" to "cannot". |
306 | * sem_ch4.adb: Likewise. | |
307 | ||
f4d3c071 | 308 | 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
309 | ||
310 | PR other/16615 | |
f4d3c071 | 311 | * exp_ch9.adb: Mechanically replace "can not" with "cannot". |
312 | * libgnat/s-regpat.ads: Likewise. | |
313 | * par-ch4.adb: Likewise. | |
314 | * set_targ.adb: Likewise. | |
315 | * types.ads: Likewise. | |
316 | ||
902071d1 | 317 | 2019-01-08 Justin Squirek <squirek@adacore.com> |
318 | ||
319 | Revert: | |
902071d1 | 320 | 2018-07-31 Justin Squirek <squirek@adacore.com> |
321 | ||
76fb0465 | 322 | * lib-writ.adb (Write_With_Lines): Modfiy the generation |
323 | of dependencies within ali files so that source unit | |
324 | bodies are properly listed even if said bodies are | |
325 | missing. Perform legacy behavior in GNATprove mode. | |
326 | * lib-writ.ads: Modify documentation to reflect current | |
327 | behavior. | |
902071d1 | 328 | |
329 | and: | |
902071d1 | 330 | 2018-09-26 Justin Squirek <squirek@adacore.com> |
331 | ||
76fb0465 | 332 | * lib-writ.adb, lib-writ.ads (Write_With_Lines): Add |
333 | documentation and an extra conditional check for RCI | |
334 | units so that generated ali files will list the spec | |
335 | only instead of a body when a body is not found. | |
902071d1 | 336 | |
65a33d4a | 337 | 2019-01-04 Eric Botcazou <ebotcazou@adacore.com> |
338 | ||
339 | * gnatvsn.ads: Bump copyright year. | |
340 | ||
3d8932fd | 341 | 2019-01-01 Jakub Jelinek <jakub@redhat.com> |
8e8f6434 | 342 | |
fbd26352 | 343 | Update copyright years. |
344 | ||
277184bc | 345 | * gnat_ugn.texi: Bump @copying's copyright year. |
346 | * gnat_rm.texi: Likewise. | |
7dfbd804 | 347 | \f |
3d8932fd | 348 | Copyright (C) 2019 Free Software Foundation, Inc. |
7dfbd804 | 349 | |
350 | Copying and distribution of this file, with or without modification, | |
351 | are permitted in any medium without royalty provided the copyright | |
352 | notice and this notice are preserved. |