]>
Commit | Line | Data |
---|---|---|
948ed277 AC |
1 | 2015-01-06 Ed Schonberg <schonberg@adacore.com> |
2 | ||
3 | * sem_ch6.adb (New_Overloaded_Entity): In GNATprove mode, a | |
4 | function wrapper may be a homonym of another local declaration. | |
5 | * sem_ch8.adb (Analyze_Subprogram_Renaming): In GNATprove mode, | |
6 | build function and operator wrappers after the actual subprogram | |
7 | has been resolved, and replace the standard renaming declaration | |
8 | with the declaration of wrapper. | |
9 | * sem_ch12.ads (Build_Function_Wrapper, Build_Operator_Wraooer): | |
10 | make public for use elsewhere. | |
11 | * sem_ch12.adb (Build_Function_Wrapper, Build_Operator_Wraooer): | |
12 | rewrite, now that actual is fully resolved when wrapper is | |
13 | constructed. | |
14 | ||
15 | 2015-01-06 Javier Miranda <miranda@adacore.com> | |
16 | ||
17 | * exp_disp.adb: Revert previous change. | |
18 | ||
a921e83c AC |
19 | 2015-01-06 Robert Dewar <dewar@adacore.com> |
20 | ||
21 | * exp_util.adb: Change name Name_Table_Boolean to | |
22 | Name_Table_Boolean1. | |
23 | * namet.adb: Change name Name_Table_Boolean to Name_Table_Boolean1 | |
24 | Introduce Name_Table_Boolean2/3. | |
25 | * namet.ads: Change name Name_Table_Boolean to Name_Table_Boolean1 | |
26 | Introduce Name_Table_Boolean2/3. | |
27 | * par-ch13.adb: Change name Name_Table_Boolean to | |
28 | Name_Table_Boolean1. | |
29 | ||
30 | 2015-01-06 Bob Duff <duff@adacore.com> | |
31 | ||
32 | * gnat_rm.texi: Improve documentation regarding No_Task_Termination. | |
33 | ||
34 | 2015-01-06 Ed Schonberg <schonberg@adacore.com> | |
35 | ||
36 | * sem_aggr.adb (Resolve_Record_Aggregte, Get_Value): For an | |
37 | others choice that covers multiple components, analyze each | |
38 | copy with the type of the component even in compile-only mode, | |
39 | to detect potential accessibility errors. | |
40 | ||
41 | 2015-01-06 Hristian Kirtchev <kirtchev@adacore.com> | |
42 | ||
43 | * sem_res.adb (Is_Assignment_Or_Object_Expression): New routine. | |
44 | (Resolve_Actuals): An effectively volatile out | |
45 | parameter cannot act as an in or in out actual in a call. | |
46 | (Resolve_Entity_Name): An effectively volatile out parameter | |
47 | cannot be read. | |
48 | ||
49 | 2015-01-06 Ed Schonberg <schonberg@adacore.com> | |
50 | ||
51 | * sem_ch6.adb (Analyze_Subprogram_Body_Helper): If the body is | |
52 | the expansion of an expression function it may be pre-analyzed | |
53 | if a 'access attribute is applied to the function, in which case | |
54 | last_entity may have been assigned already. | |
55 | ||
56 | 2015-01-06 Ed Schonberg <schonberg@adacore.com> | |
57 | ||
58 | * sem_ch4.adb (Analyze_One_Call): If formal has an incomplete | |
59 | type and actual has the corresponding full view, there is no | |
60 | error, but a case of use of incomplete type in a predicate or | |
61 | invariant expression. | |
62 | ||
63 | 2015-01-06 Vincent Celier <celier@adacore.com> | |
64 | ||
65 | * makeutl.adb (Insert_No_Roots): Make sure that the same source | |
66 | in two different project tree is checked in both trees, if they | |
67 | are sources of two different projects, extended or not. | |
68 | ||
69 | 2015-01-06 Arnaud Charlet <charlet@adacore.com> | |
70 | ||
71 | * gnat1drv.adb: Minor code clean up. | |
72 | (Adjust_Global_Switches): Ignore gnatprove_mode in codepeer_mode. | |
73 | ||
74 | 2015-01-06 Bob Duff <duff@adacore.com> | |
75 | ||
76 | * osint.adb (Read_Source_File): Don't print out | |
77 | file name unless T = Source. | |
78 | ||
79 | 2015-01-06 Ed Schonberg <schonberg@adacore.com> | |
80 | ||
81 | * sem_util.adb (Is_Variable, Is_OK_Variable_For_Out_Formal): | |
82 | recognize improper uses of constant_reference types as actuals | |
83 | for in-out parameters. | |
84 | (Check_Function_Call): Do not collect identifiers if function | |
85 | name is missing because of previous error. | |
86 | ||
ac16e74c RD |
87 | 2015-01-06 Robert Dewar <dewar@adacore.com> |
88 | ||
89 | * ali-util.adb, sem_prag.adb, rtsfind.adb, sem_util.adb, sem_res.adb, | |
90 | ali.adb, binde.adb, namet.adb, namet.ads, gnatls.adb, bcheck.adb: | |
91 | Minor change of name Name_Table_Info => Name_Table_Int. | |
92 | ||
4b6f99f5 RD |
93 | 2015-01-06 Robert Dewar <dewar@adacore.com> |
94 | ||
95 | * exp_strm.adb (Build_Elementary_Input_Call): Clarify comments | |
96 | in previous checkin. | |
97 | * freeze.adb (Freeze_Fixed_Point_Type): Add warning for shaving | |
98 | of bounds. | |
99 | * sem_prag.adb, sem_ch10.adb, sem_ch6.adb: Minor reformatting. | |
100 | ||
21f30884 AC |
101 | 2015-01-06 Vincent Celier <celier@adacore.com> |
102 | ||
103 | * a-strsup.adb (Times (Natural;String;Positive)): Raise | |
104 | Length_Error, not Index_Error, when the result is too long. | |
105 | ||
106 | 2015-01-06 Thomas Quinot <quinot@adacore.com> | |
107 | ||
108 | * a-direct.adb (Create_Path): Minor error handling and | |
109 | performance improvement. | |
110 | ||
111 | 2015-01-06 Robert Dewar <dewar@adacore.com> | |
112 | ||
113 | * checks.ads, sem_ch12.adb: Minor reformatting. | |
114 | * exp_ch4.adb (Expand_N_Op_Divide): Generate explicit divide by | |
115 | zero check for fixed-point case if Backend_Divide_Checks_On_Target | |
116 | is False. | |
117 | ||
118 | 2015-01-06 Robert Dewar <dewar@adacore.com> | |
119 | ||
120 | * sem_prag.adb (Analyze_Pragma, case No_Elaboration_Code_All): | |
121 | Do not set restriction No_Elaboration_Code unless the pragma | |
122 | appears in the main unit). | |
123 | ||
124 | 2015-01-06 Ed Schonberg <schonberg@adacore.com> | |
125 | ||
126 | * sem_ch10.adb (Is_Regular_With_Clause): Add guard to verify | |
127 | that with clause has already been analyzed before checking kind | |
128 | of with_clause. | |
129 | ||
130 | 2015-01-06 Robert Dewar <dewar@adacore.com> | |
131 | ||
132 | * exp_strm.adb (Build_Elementary_Input_Call): Return base type | |
133 | (as required by RM). | |
134 | ||
91afcbfd AC |
135 | 2015-01-06 Arnaud Charlet <charlet@adacore.com> |
136 | ||
137 | * a-reatim.adb ("/"): Add explicit pragma Unsuppress (Division_Check). | |
138 | ||
139 | 2015-01-06 Robert Dewar <dewar@adacore.com> | |
140 | ||
141 | * sem_prag.adb (Process_Suppress_Unsuppress): Add extra warning | |
142 | for ignoring pragma Suppress (Elaboration_Check) in SPARK mode. | |
143 | ||
144 | 2015-01-06 Javier Miranda <miranda@adacore.com> | |
145 | ||
146 | * exp_disp.adb (Expand_Interface_Conversion): No displacement | |
147 | of the pointer to the object needed when the type of the operand | |
148 | is not an interface type and the interface is one of its parent | |
149 | types (since they share the primary dispatch table). | |
150 | ||
966fc9c5 AC |
151 | 2015-01-06 Vincent Celier <celier@adacore.com> |
152 | ||
153 | * prj-env.adb: Minor comment update. | |
154 | ||
155 | 2015-01-06 Javier Miranda <miranda@adacore.com> | |
156 | ||
157 | * sem_res.adb (Valid_Conversion): Restrict the checks on anonymous | |
158 | access types whose target type is an interface type to operands | |
159 | that are access types; required to report an error when the | |
160 | operand is not an access type. | |
161 | ||
4528ead5 AC |
162 | 2015-01-06 Bob Duff <duff@adacore.com> |
163 | ||
164 | * a-cfinve.adb (Copy): Set the discriminant to the Length when | |
165 | Capacity = 0. | |
166 | * a-cofove.ads (Capacity): Add a postcondition. | |
167 | * a-cfinve.ads (Capacity): Add a postcondition. | |
168 | (Reserve_Capacity): Correct the postcondition in the case where | |
169 | Capacity = 0; that means "Capacity => Length (Container)". | |
170 | * a-cofove.adb (Elems[c]): Add a comment | |
171 | explaining the dangers and how to avoid them. | |
172 | ||
173 | 2015-01-06 Ed Schonberg <schonberg@adacore.com> | |
174 | ||
175 | * sem_ch12.adb: Code clean up. | |
966fc9c5 | 176 | |
6260b90c AC |
177 | 2015-01-06 Arnaud Charlet <charlet@adacore.com> |
178 | ||
179 | * gnatvsn.ads: Bump copyright year. | |
180 | ||
de4ac038 AC |
181 | 2015-01-06 Robert Dewar <dewar@adacore.com> |
182 | ||
183 | * s-taskin.ads, s-traces.ads: Minor reformatting. | |
184 | * exp_util.adb: Minor typo fix. | |
185 | ||
186 | 2015-01-06 Vincent Celier <celier@adacore.com> | |
187 | ||
188 | * gnatls.adb (Search_RTS): Invoke Initialize_Default_Project_Path | |
189 | with the runtime name. | |
190 | * prj-env.adb (Initialize_Default_Project_Path): When both | |
191 | Target_Name and Runtime_Name are not empty string, add to the | |
192 | project path the two directories .../lib/gnat and .../share/gpr | |
193 | related to the runtime. | |
194 | * prj-env.ads (Initialize_Default_Project_Path): New String | |
195 | parameter Runtime_Name, defaulted to the empty string. | |
196 | ||
197 | 2015-01-06 Hristian Kirtchev <kirtchev@adacore.com> | |
198 | ||
199 | * frontend.adb: Guard against the case where a configuration | |
200 | pragma may be split into multiple pragmas and the original | |
201 | rewritten as a null statement. | |
202 | * sem_prag.adb (Analyze_Pragma): Insert a brand new Check_Policy | |
203 | pragma using Insert_Before rather than Insert_Action. This | |
204 | takes care of the configuration pragma case where Insert_Action | |
205 | would fail. | |
206 | ||
207 | 2015-01-06 Bob Duff <duff@adacore.com> | |
208 | ||
209 | * a-coboho.ads (Element_Access): Add "pragma | |
210 | No_Strict_Aliasing (Element_Access);". This is needed because | |
211 | we are unchecked-converting from Address to Element_Access. | |
212 | * a-cofove.ads, a-cofove.adb (Elems,Elemsc): Fix bounds of the | |
213 | result to be 1. | |
214 | ||
215 | 2015-01-06 Hristian Kirtchev <kirtchev@adacore.com> | |
216 | ||
217 | * sem_res.adb (Resolve_Actuals): Remove the | |
218 | restriction which prohibits volatile actual parameters with | |
219 | enabled external propery Async_Writers to act appear in procedure | |
220 | calls where the corresponding formal is of mode OUT. | |
221 | ||
b67cd4e3 JJ |
222 | 2015-01-05 Jakub Jelinek <jakub@redhat.com> |
223 | ||
224 | * gnat_ugn.texi: Bump @copying's copyright year. | |
225 | ||
ef3a7cca EB |
226 | 2015-01-05 Eric Botcazou <ebotcazou@adacore.com> |
227 | ||
228 | PR ada/64492 | |
229 | * gcc-interface/Makefile.in (../stamp-tools): Reinstate dropped code. | |
230 | ||
1a78ef4c UB |
231 | 2015-01-04 Uros Bizjak <ubizjak@gmail.com> |
232 | ||
233 | * gcc-interface/misc.c (internal_error_function): Use xasprintf instead | |
234 | of unchecked asprintf. | |
235 | ||
ad41bd84 | 236 | \f |
b67cd4e3 | 237 | Copyright (C) 2015 Free Software Foundation, Inc. |
ad41bd84 JM |
238 | |
239 | Copying and distribution of this file, with or without modification, | |
240 | are permitted in any medium without royalty provided the copyright | |
241 | notice and this notice are preserved. |