]>
Commit | Line | Data |
---|---|---|
d7ca95c0 | 1 | 2019-04-07 Eric Botcazou <ebotcazou@adacore.com> |
2 | ||
3 | * libgnat/i-cexten.ads (CFloat_128): New type. | |
4 | ||
26b21081 | 5 | 2019-03-22 Dmitriy Anisimkov <anisimko@adacore.com> |
6 | ||
7 | PR ada/89583 | |
8 | * libgnat/g-socket.adb (Bind_Socket, Connect_Socket, | |
9 | Send_Socket): Fix the computation of structure lengths passed to | |
10 | low level routines. | |
11 | (Is_IPv6_Address): Fix the number of expected colons. | |
12 | ||
2f6d557f | 13 | 2019-03-11 Martin Liska <mliska@suse.cz> |
14 | ||
d325ee67 | 15 | * gcc-interface/misc.c (gnat_post_options): Wrap option name in string |
16 | format message and fix GNU coding style. | |
2f6d557f | 17 | |
c1ad6672 | 18 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
19 | ||
20 | * gcc-interface/trans.c (gnat_to_gnu) <N_Aggregate>: Minor tweak. | |
21 | * gcc-interface/utils.c (convert): Do not pad when doing an unchecked | |
22 | conversion here. Use TREE_CONSTANT throughout the function. | |
23 | (unchecked_convert): Also pad if the source is a CONSTRUCTOR and the | |
24 | destination is a more aligned array type or a larger aggregate type, | |
25 | but not between original and packable versions of a type. | |
26 | ||
62a6ebbd | 27 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
28 | ||
29 | * gcc-interface/utils.c (max_size) <tcc_unary>: Be prepared for an | |
30 | operand with VOID_TYPE. | |
31 | ||
da383d19 | 32 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
33 | ||
34 | * gcc-interface/trans.c (elaborate_all_entities): Do not elaborate the | |
35 | entities of a package renaming another one. | |
36 | ||
09c123a0 | 37 | 2019-02-08 Eric Botcazou <ebotcazou@adacore.com> |
38 | ||
39 | * gcc-interface/trans.c (Regular_Loop_to_gnu): Replace tests on | |
40 | individual flag_unswitch_loops and flag_tree_loop_vectorize switches | |
41 | with test on global optimize switch. | |
42 | (Raise_Error_to_gnu): Likewise. | |
43 | ||
a9dd7273 | 44 | 2019-02-07 Eric Botcazou <ebotcazou@adacore.com> |
45 | ||
46 | * libgnarl/s-linux__sparc.ads (ETIMEDOUT): Set to correct value. | |
47 | ||
4836c4f1 | 48 | 2019-02-06 Arnaud Charlet <charlet@adacore.com> |
49 | ||
50 | * libgnarl/s-linux__x32.ads: Resync list of signals with s-linux.ads | |
51 | ||
6b56937c | 52 | 2019-01-27 Eric Botcazou <ebotcazou@adacore.com> |
53 | ||
54 | * repinfo.adb (List_Component_Layout): Remove superfluous space for | |
55 | zero-sized field. | |
56 | * gcc-interface/ada-tree.h (TYPE_IS_EXTRA_SUBTYPE_P): New macro. | |
57 | * gcc-interface/gigi.h (create_extra_subtype): Declare. | |
58 | * gcc-interface/decl.c (TYPE_ARRAY_SIZE_LIMIT): Likewise. | |
59 | (update_n_elem): New function. | |
60 | (gnat_to_gnu_entity): Use create_extra_subtype to create extra subtypes | |
61 | instead of doing it manually. | |
62 | <E_Array_Type>: Use update_n_elem to compute the maximum size. Use the | |
63 | index type instead of base type for the bounds. Set TYPE_ARRAY_MAX_SIZE | |
64 | of the array to the maximum size. | |
65 | <E_Array_Subtype>: Create an extra subtype using the index type of the | |
66 | base array type for self-referential bounds. Use update_n_elem to | |
67 | compute the maximum size. Set TYPE_ARRAY_MAX_SIZE of the array to the | |
68 | maximum size. | |
69 | (gnat_to_gnu_field): Clear DECL_NONADDRESSABLE_P on discriminants. | |
70 | * gcc-interface/misc.c (gnat_get_alias_set): Return the alias set of | |
71 | the base type for an extra subtype. | |
72 | (gnat_type_max_size): Remove obsolete code. | |
73 | * gcc-interface/trans.c (Attribute_to_gnu): Minor tweak. | |
74 | (can_be_lower_p): Deal with pathological types. | |
75 | * gcc-interface/utils.c (create_extra_subtype): New function. | |
76 | (create_field_decl): Minor tweak. | |
77 | (max_size) <tcc_reference>: Compute a better value by using the extra | |
78 | subtypes on the self-referential bounds. | |
79 | <tcc_binary>: Rewrite. Deal with "negative value" in unsigned types. | |
80 | <tcc_expression>: Likewise. | |
81 | * gcc-interface/utils2.c (compare_arrays): Retrieve the original bounds | |
82 | of the arrays upfront. Swap only if the second length is not constant. | |
83 | Use comparisons on the original bounds consistently for the null tests. | |
84 | (build_binary_op): Use TYPE_IS_EXTRA_SUBTYPE_P macro. | |
85 | (build_allocator): Minor tweak. | |
86 | ||
ecb2c722 | 87 | 2019-01-27 Eric Botcazou <ebotcazou@adacore.com> |
88 | ||
89 | * gcc-interface/decl.c (array_type_has_nonaliased_component): Return | |
90 | the same value for every dimension of a multidimensional array type. | |
91 | ||
10f25579 | 92 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
93 | ||
94 | * gcc-interface/trans.c (Regular_Loop_to_gnu): Use the SLOC of the | |
95 | iteration scheme, if present, throughout the translation. | |
96 | ||
aced6683 | 97 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
98 | ||
99 | * gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>: Use | |
100 | DECL_SIZE_UNIT instead of TYPE_SIZE_UNIT for the size to be assigned | |
101 | by a call to memset if the LHS is a DECL. | |
102 | ||
18b4b30e | 103 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
104 | ||
105 | * gcc-interface/trans.c (struct loop_info_d): Remove artificial field. | |
106 | (Loop_Statement_to_gnu): Do not set it. | |
107 | ||
6dce35b7 | 108 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
109 | ||
110 | * gcc-interface/trans.c (Iterate_Acc_Clause_Arg): Fix formatting. | |
111 | (Acc_gnat_to_gnu): Likewise. | |
112 | (Acc_Data_to_gnu): Likewise. | |
113 | (Acc_Var_to_gnu): Likewise. | |
114 | (Acc_Reduc_to_gnu): Likewise. | |
115 | (Acc_Size_List_to_gnu): Likewise. | |
116 | (Pragma_to_gnu) <Pragma_Acc_Loop>: Likewise. | |
117 | <Pragma_Acc_Data>): Likewise. | |
118 | (find_loop_for): Remove default value for parameters. | |
119 | * gcc-interface/trans.c (gnat_to_gnu) <N_Op_And>: Merge into... | |
120 | <N_Op_Eq>): ...this. | |
121 | ||
f8cd11ee | 122 | 2019-01-26 Eric Botcazou <ebotcazou@adacore.com> |
123 | ||
124 | * gcc-interface/decl.c (annotate_value) <INTEGER_CST>: Use test on | |
125 | the sign bit instead of on the sign of the value. | |
126 | <PLUS_EXPR>: Turn addition of negative constant into subtraction. | |
127 | <MULT_EXPR>: Add test for degenerate case. | |
128 | <BIT_AND_EXPR>: Simplify. | |
129 | ||
9a3c51d9 | 130 | 2019-01-18 Sebastian Huber <sebastian.huber@embedded-brains.de> |
131 | ||
132 | * s-oscons-tmplt.c (AF_INET6): Do not undefine for RTEMS. | |
133 | ||
07c11f2b | 134 | 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
135 | ||
136 | PR other/16615 | |
07c11f2b | 137 | * exp_ch11.adb: Change "can not" to "cannot". |
138 | * sem_ch4.adb: Likewise. | |
139 | ||
f4d3c071 | 140 | 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
141 | ||
142 | PR other/16615 | |
f4d3c071 | 143 | * exp_ch9.adb: Mechanically replace "can not" with "cannot". |
144 | * libgnat/s-regpat.ads: Likewise. | |
145 | * par-ch4.adb: Likewise. | |
146 | * set_targ.adb: Likewise. | |
147 | * types.ads: Likewise. | |
148 | ||
902071d1 | 149 | 2019-01-08 Justin Squirek <squirek@adacore.com> |
150 | ||
151 | Revert: | |
902071d1 | 152 | 2018-07-31 Justin Squirek <squirek@adacore.com> |
153 | ||
76fb0465 | 154 | * lib-writ.adb (Write_With_Lines): Modfiy the generation |
155 | of dependencies within ali files so that source unit | |
156 | bodies are properly listed even if said bodies are | |
157 | missing. Perform legacy behavior in GNATprove mode. | |
158 | * lib-writ.ads: Modify documentation to reflect current | |
159 | behavior. | |
902071d1 | 160 | |
161 | and: | |
902071d1 | 162 | 2018-09-26 Justin Squirek <squirek@adacore.com> |
163 | ||
76fb0465 | 164 | * lib-writ.adb, lib-writ.ads (Write_With_Lines): Add |
165 | documentation and an extra conditional check for RCI | |
166 | units so that generated ali files will list the spec | |
167 | only instead of a body when a body is not found. | |
902071d1 | 168 | |
65a33d4a | 169 | 2019-01-04 Eric Botcazou <ebotcazou@adacore.com> |
170 | ||
171 | * gnatvsn.ads: Bump copyright year. | |
172 | ||
3d8932fd | 173 | 2019-01-01 Jakub Jelinek <jakub@redhat.com> |
8e8f6434 | 174 | |
fbd26352 | 175 | Update copyright years. |
176 | ||
277184bc | 177 | * gnat_ugn.texi: Bump @copying's copyright year. |
178 | * gnat_rm.texi: Likewise. | |
7dfbd804 | 179 | \f |
3d8932fd | 180 | Copyright (C) 2019 Free Software Foundation, Inc. |
7dfbd804 | 181 | |
182 | Copying and distribution of this file, with or without modification, | |
183 | are permitted in any medium without royalty provided the copyright | |
184 | notice and this notice are preserved. |