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