]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ada/ChangeLog
lto-symtab.c (lto_varpool_replace_node): Remove code handling extra name aliases.
[thirdparty/gcc.git] / gcc / ada / ChangeLog
CommitLineData
d5cc9181
JR
12010-06-16 Joern Rennecke <joern.rennecke@embecosm.com>
2
3 PR middle-end/46500
4 * gcc-interface/decl.c (gnat_to_gnu_param): Use pack_cumulative_args.
5
677f3fa8
JM
62011-06-14 Joseph Myers <joseph@codesourcery.com>
7
8 * gcc-interface/Make-lang.in (gnatbind$(exeext)): Use ggc-none.o.
9 (ada/utils.o): Update dependencies.
10 * gcc-interface/Makefile.in (EXTRA_GNATTOOLS_OBJS): Add
11 ../../../libcpp/libcpp.a.
12 * gcc-interface/utils.c: Include common/common-target.h.
13 (process_attributes): Use targetm_common.have_named_sections.
14
009db074
RG
152011-06-07 Richard Guenther <rguenther@suse.de>
16
0bad0e23
EB
17 * gcc-interface/misc.c (gnat_init): Do not set size_type_node or call
18 set_sizetype.
009db074 19
3bfc61cf
EB
202011-06-06 Eric Botcazou <ebotcazou@adacore.com>
21
0bad0e23 22 * gcc-interface/utils2.c (gnat_stabilize_reference): Propagate the
3bfc61cf
EB
23 TREE_THIS_NOTRAP flag.
24
5c4a1c7b
EB
252011-06-06 Eric Botcazou <ebotcazou@adacore.com>
26
27 * gcc-interface/utils2.c (gnat_stabilize_reference) <COMPOUND_EXPR>:
28 Fix thinko.
29
e9f57686
EB
302011-06-06 Eric Botcazou <ebotcazou@adacore.com>
31
32 * gcc-interface/trans.c (Identifier_to_gnu): Also handle deferred
33 constants whose full view has discriminants specially.
34
10e4d056
EB
352011-06-06 Eric Botcazou <ebotcazou@adacore.com>
36
37 * gcc-interface/utils.c: Include diagnostic.h.
38 (gnat_write_global_declarations): Output debug information for all
39 global type declarations before finalizing the compilation unit.
40 * gcc-interface/Make-lang.in (ada/utils.o): Add dependency.
41
0957c029
JJ
422011-05-25 Jakub Jelinek <jakub@redhat.com>
43
44 * gcc-interface/utils.c (def_fn_type): Remove extra va_end.
45
52d0a7ac
KT
462011-05-25 Kai Tietz <ktietz@redhat.com>
47
48 * adaint.c (__gnat_to_canonical_file_list_next): Use array
49 initialization instead of const/none-const pointer assignment.
50
1ed1641d
JM
512011-05-24 Joseph Myers <joseph@codesourcery.com>
52
53 * gcc-interface/Make-lang.in (GNAT1_OBJS): Don't include
54 $(EXTRA_GNAT1_OBJS).
55 (GNATBIND_OBJS): Don't include $(EXTRA_GNATBIND_OBJS).
56 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Remove.
57 (gnat1$(exeext), gnatbind$(exeext)): Use libcommon-target.a.
58 * gcc-interface/Makefile.in (EXTRA_GNATTOOLS_OBJS): Use
59 libcommon-target.a instead of prefix.o.
60
9fe72ebd
JM
612011-05-21 Joseph Myers <joseph@codesourcery.com>
62
63 PR ada/49097
0bad0e23 64 * gcc-interface/Make-lang.in (gnatbind$(exeext)): Depend on $(LIBDEPS).
9fe72ebd 65
2691e6d7
JM
662011-05-20 Joseph Myers <joseph@codesourcery.com>
67
0bad0e23
EB
68 * gcc-interface/Make-lang.in (EXTRA_GNATBIND_OBJS): Remove version.o.
69 * gcc-interface/Makefile.in (EXTRA_GNATTOOLS_OBJS): Use libcommon.a
70 instead of version.o.
2691e6d7 71
bf6490b5
KT
722011-05-18 Kai Tietz <ktietz@redhat.com>
73
74 * gcc-interface/trans.c (Exception_Handler_to_gnu_sjlj): Use
75 boolean_false_node instead of integer_zero_node.
76 (convert_with_check): Likewise.
77 * gcc-interface/decl.c (choices_to_gnu): Likewise.
78
7bf9a5ac
EB
792011-05-12 Eric Botcazou <ebotcazou@adacore.com>
80
81 * gcc-interface/trans.c (call_to_gnu): In the by-reference case, if the
82 type of the parameter is an unconstrained array, convert the actual to
83 the type of the formal in the In Out and Out cases as well.
84
e5b00edf
NF
852011-05-11 Nathan Froyd <froydnj@codesourcery.com>
86
87 * gcc-interface/utils.c (def_fn_type): Don't call build_function_type;
88 call build_function_type_array or build_varargs_function_type_array
89 instead.
90 (create_subprog_type): Don't call build_function_type; call
91 build_function_type_vec instead.
92
51545682
NF
932011-05-11 Nathan Froyd <froydnj@codesourcery.com>
94
95 * gcc-interface/ada-tree.h (TYPE_OBJECT_RECORD_TYPE): Use TYPE_MINVAL.
96 (TYPE_GCC_MIN_VALUE): Use TYPE_MINVAL.
97 (TYPE_GCC_MAX_VALUE): Use TYPE_MAXVAL.
98
c99c0026
EB
992011-05-07 Eric Botcazou <ebotcazou@adacore.com>
100
f620bd21
EB
101 * gcc-interface/decl.c (intrin_arglists_compatible_p): Remove spaces.
102
c99c0026
EB
103 * gcc-interface/gigi.h (global_bindings_p): Adjust prototype.
104 * gcc-interface/utils.c (global_bindings_p): Return bool and simplify.
105
3d528853
NF
1062011-05-05 Nathan Froyd <froydnj@codesourcery.com>
107
c99c0026 108 * gcc-interface/trans.c (Case_Statement_to_gnu): Call build_case_label.
3d528853 109
d7d058c5
NF
1102011-05-05 Nathan Froyd <froydnj@codesourcery.com>
111
112 * gcc-interface/decl.c (intrin_arglists_compatible_p): Use iterators
113 instead of accessing TYPE_ARG_TYPES directly.
114 * gcc-interface/utils.c (handle_nonnull_attribute): Likewise.
115
805e60a0
EB
1162011-05-05 Eric Botcazou <ebotcazou@adacore.com>
117
118 PR ada/48844
119 * gcc-interface/gigi.h (get_variant_part): Declare.
120 * gcc-interface/decl.c (get_variant_part): Make global.
121 * gcc-interface/utils2.c (find_common_type): Do not return T1 if the
122 types have the same constant size, are record types and T1 has a
123 variant part while T2 doesn't.
124
907a08d9
EB
1252011-05-05 Eric Botcazou <ebotcazou@adacore.com>
126
127 * gcc-interface/utils.c (begin_subprog_body): Do not call
128 get_pending_sizes.
129 (end_subprog_body): Likewise.
130
d35936ab
RG
1312011-05-04 Richard Guenther <rguenther@suse.de>
132
133 * gcc-interface/trans.c (gnat_to_gnu): Remove zero notrunc argument to
134 int_const_binop.
135 (pos_to_constructor): Likewise.
136
c1fd8753
NF
1372011-05-03 Nathan Froyd <froydnj@codesourcery.com>
138 Eric Botcazou <ebotcazou@adacore.com>
139
140 * gcc-interface/trans.c (gigi): Call build_function_type_list instead
141 of build_function_type. Adjust calls to...
142 (build_raise_check): ...this. Do not take a void_tree parameter.
143 Call build_function_type_list instead of build_function_type.
144 Fix head comment and swap couple of conditional blocks.
145
4fb87d2b
EB
1462011-04-30 Eric Botcazou <ebotcazou@adacore.com>
147
148 * gnatvsn.ads (Library_Version): Bump to 4.7.
149 (Current_Year): Bump to 2011.
150
fa5e5a76
MM
1512011-04-29 Michael Matz <matz@suse.de>
152
153 * gcc-interface/misc.c (gnat_handle_option): Set
154 warn_maybe_uninitialized.
155
8d6a2f69
GP
1562011-04-23 Gerald Pfeifer <gerald@pfeifer.com>
157
158 * gnat_ugn.texi (Complexity Metrics Control): Update link to
159 the Watson/McCabe paper.
160
770937fd
JM
1612011-04-23 Jim Meyering <meyering@redhat.com>
162
163 * gnat_ugn.texi (Examples of gnatxref Usage): Fix typo: s/it it/it is/
164
eb601ae1
EB
1652011-04-22 Eric Botcazou <ebotcazou@adacore.com>
166
167 * gcc-interface/decl.c (make_packable_type): Copy DECL_PARALLEL_TYPE
168 onto the new type.
169
7d7fcb08
EB
1702011-04-22 Eric Botcazou <ebotcazou@adacore.com>
171
172 * gcc-interface/gigi.h (create_subprog_decl): Add ARTIFICIAL_FLAG
173 parameter.
174 * gcc-interface/utils.c (create_subprog_decl): Likewise. Set
175 DECL_ARTIFICIAL and DECL_NO_INLINE_WARNING_P on the DECL accordingly.
176 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Subprogram_Type>: Add
177 ARTIFICIAL_FLAG local variable and pass it to create_subprog_decl.
178 <all>: Do not set flags on the reused DECL node coming from an alias.
179 Set DECL_IGNORED_P on the DECL node built for subprograms if they
180 don't need debug info here...
181 * gcc-interface/trans.c (Subprogram_Body_to_gnu): ...and not here.
182 (gigi): Adjust calls to create_subprog_decl.
183 (build_raise_check): Likewise.
184 (establish_gnat_vms_condition_handler): Likewise.
185 (Compilation_Unit_to_gnu): Likewise.
186 (gnat_to_gnu): Likewise.
187
e1876cac
EB
1882011-04-21 Eric Botcazou <ebotcazou@adacore.com>
189
190 * gcc-interface/Makefile.in (NO_SIBLING_ADAFLAGS): Always define.
191 (NO_REORDER_ADAFLAGS): New variable.
192 (EXTRA_GNATTOOLS): Always define.
193 (../stamp-gnatlib1-$(RTSDIR): Copy tsystem.h.
194 Clean up and adjust list of files compiled with special options.
195 * gcc-interface/Make-lang.in: Likewise.
196 (ada/decl.o): Cosmetical change.
197 (ada/misc.o): Remove dependency on $(PLUGIN_H).
198
04695783
JM
1992011-04-20 Jim Meyering <meyering@redhat.com>
200
201 * initialize.c (__gnat_initialize): Remove useless if-before-free.
202
23399579
EB
2032011-04-17 Eric Botcazou <ebotcazou@adacore.com>
204
205 * gcc-interface/Make-lang.in (gnatbind): Replace $(ALL_CFLAGS) with
206 $(CFLAGS) on the link line.
207
51c5169c
EB
2082011-04-17 Eric Botcazou <ebotcazou@adacore.com>
209
210 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Function>: Declare the
211 padded type built for the return type if it is unconstrained.
212
61e46a7d
NF
2132011-04-14 Nathan Froyd <froydnj@codesourcery.com>
214
215 * gcc-interface/utils.c (gnat_poplevel): Use block_chainon.
216
81f653d6
NF
2172011-04-12 Nathan Froyd <froydnj@codesourcery.com>
218
b4867846
EB
219 * gcc-interface/ada-tree.h (union lang_tree_node): Check for TS_COMMON
220 before calling TREE_CHAIN.
81f653d6
NF
221 * gcc-interface/misc.c (gnat_init_ts): New function.
222 (LANG_HOOKS_INIT_TS): Define.
223
a358e188
MJ
2242011-04-12 Martin Jambor <mjambor@suse.cz>
225
b4867846
EB
226 * gcc-interface/utils.c (end_subprog_body): Call cgraph_get_create_node
227 instead of cgraph_node.
a358e188 228
29b1c5a4
EB
2292011-04-08 Eric Botcazou <ebotcazou@adacore.com>
230
231 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Procedure>: Set minimum
232 alignment on fields of the RETURN type built for the Copy-In Copy-Out
233 mechanism.
234
88872b00
EB
2352011-04-08 Eric Botcazou <ebotcazou@adacore.com>
236
237 * gcc-interface/trans.c (Identifier_to_gnu): Do not return initializers
238 of aggregate types that contain a placeholder.
239
dcf0c47e
NF
2402011-04-08 Nathan Froyd <froydnj@codesourcery.com>
241
242 * gcc-interface/utils.c (handle_sentinel_attribute): Don't use
b4867846 243 TYPE_ARG_TYPES.
dcf0c47e
NF
244 (handle_type_generic_attribute): Likewise.
245
53e3000c
EB
2462011-04-04 Eric Botcazou <ebotcazou@adacore.com>
247
248 PR ada/47163
249 * s-oscons-tmplt.c (MSG_WAITALL): Fix thinko in previous change.
250
ab380bb4
KT
2512011-04-04 Kai Tietz <ktietz@redhat.com>
252
253 PR ada/47163
0bad0e23
EB
254 * s-oscons-tmplt.c (MSG_WAITALL): Define it for native windows targets
255 to flag value.
ab380bb4 256
8ffac116
EB
2572011-04-02 Eric Botcazou <ebotcazou@adacore.com>
258
259 * gcc-interface/utils2.c (build_allocator): In the unconstrained array
260 type case, do not strip a padding type around the array type.
261
de9528f0
EB
2622011-04-02 Eric Botcazou <ebotcazou@adacore.com>
263
264 * gcc-interface/utils.c (update_pointer_to): Finalize named pointer
265 types.
266
d9d7a26c
EB
2672011-04-02 Eric Botcazou <ebotcazou@adacore.com>
268
269 * gcc-interface/lang.opt (feliminate-unused-debug-types): Delete.
270 * gcc-interface/misc.c (gnat_handle_option): Remove special handling
de9528f0 271 code for -feliminate-unused-debug-types.
d9d7a26c
EB
272 (gnat_post_options): Likewise.
273
4cb12a90
EB
2742011-04-02 Eric Botcazou <ebotcazou@adacore.com>
275
276 * gcc-interface/utils.c (gnat_pushdecl): If this is a non-artificial
277 declaration of a pointer type, then set DECL_ORIGINAL_TYPE to a
278 distinct copy.
279
acccc61c
EB
2802011-04-02 Eric Botcazou <ebotcazou@adacore.com>
281
282 * gcc-interface/decl.c (gnat_to_gnu_entity): Do not force the
283 DECL_ARTIFICIAL flag on enumeration types.
284
583eb0c9
EB
2852011-04-02 Eric Botcazou <ebotcazou@adacore.com>
286
287 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do not make
288 fat pointer types artificial unconditionally.
289 <E_Array_Subtype>: Attach the base array type as a parallel type if it
290 isn't artificial.
291
e3edbd56
EB
2922011-04-02 Eric Botcazou <ebotcazou@adacore.com>
293
294 * gcc-interface/gigi.h (get_dummy_type): Declare.
295 (build_dummy_unc_pointer_types): Likewise.
296 (finish_fat_pointer_type): Likewise.
297 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: If a dummy
298 fat pointer type has been built, complete it in place.
299 <E_Access_Type>: Call build_dummy_unc_pointer_types to build dummy fat
300 and thin pointers. Remove useless variable.
301 (finish_fat_pointer_type): Make global and move to...
302 * gcc-interface/utils.c (finish_fat_pointer_type): ...here.
303 (get_dummy_type): New function.
304 (build_dummy_unc_pointer_types): Likewise.
305 (gnat_pushdecl): Propage the name to the anonymous variants only.
306 (update_pointer_to): Only adjust the pointer types in the unconstrained
307 array case.
308
65444786
EB
3092011-04-02 Eric Botcazou <ebotcazou@adacore.com>
310
311 * gcc-interface/ada-tree.h (DECL_TAFT_TYPE_P): New flag.
312 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Incomplete_Type>: Set it
313 if this is a Taft amendment type and the full declaration is available.
314 * gcc-interface/trans.c (process_type): Likewise.
315 If there is an old type, mark the new one as used if DECL_TAFT_TYPE_P.
316 (process_freeze_entity): Likewise.
317 * gcc-interface/utils.c (dummy_global): New static variable.
318 (gnat_write_global_declarations): If there are types declared as used
319 at the global level, insert them in the global hash table.
320
1aeb40dd
EB
3212011-04-02 Eric Botcazou <ebotcazou@adacore.com>
322
323 * gcc-interface/gigi.h (record_builtin_type): Add ARTIFICIAL_P param.
324 * gcc-interface/utils.c (gnat_pushdecl): If this is a non-artificial
325 declaration of an array type, then set DECL_ORIGINAL_TYPE to a distinct
326 copy.
327 (record_builtin_type): Add ARTIFICIAL_P parameter. Set DECL_ARTIFICIAL
328 flag of the type accordingly.
329 * gcc-interface/trans.c (gigi): Adjust calls to record_builtin_type.
330
80ec8b4c
EB
3312011-04-02 Eric Botcazou <ebotcazou@adacore.com>
332
333 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Defer
334 finalizing types when updating the pointers to the designated type.
335 <all>: Finalize the deferred types even if we didn't defer processing
336 of incomplete types in this invocation.
337
2a9d769a
OH
3382011-04-01 Olivier Hainque <hainque@adacore.com>
339 Nicolas Setton <setton@adacore.com>
340 Eric Botcazou <ebotcazou@adacore.com>
341
342 * gcc-interface/misc.c (gnat_descriptive_type): New function.
343 (LANG_HOOKS_DESCRIPTIVE_TYPE): Redefine to gnat_descriptive_type.
344
2438d7a6
KT
3452011-03-28 Kai Tietz <ktietz@redhat.com>
346
333d8aff 347 * gcc-interface/Makefile.in (SO_LIB): Handle multilib build for native
80ec8b4c
EB
348 Windows targets.
349 (EH_MECHANISM): Use GCC exception mechanism for native Windows targets.
350 * system-mingw.ads (System): Change ZCX_By_Default default to True.
333d8aff 351
80ec8b4c 352 * raise-gcc.c (PERSONALITY_FUNCTION): Add prototype.
2438d7a6 353
8ad150f6
TG
3542011-03-28 Tristan Gingold <gingold@adacore.com>
355
356 PR ada/44431
80ec8b4c
EB
357 * gcc-interface/Make-lang.in (ada/b_gnat1.adb): Replace ada/b_gnat1.c.
358 Use ada output of gnatbind.
8ad150f6
TG
359 (ada/b_gnatb.adb): Ditto.
360 (ada/b_gnat1.o, ada/b_gnatb.o): New rules.
361 (ada.mostlyclean, ada.stage1)
362 (ada.stage2, ada.stage3, ada.stage4, ada.stageprofile)
363 (ada.stagefeedback): Adjust.
80ec8b4c 364 * gcc-interface/Makefile.in (b_gnatl.adb): Replace b_gnatl.c.
8ad150f6
TG
365 Use ada output of gnatbind.
366 (b_gnatm.adb): Ditto.
367 (b_gnatl.o, b_gnatm.o): New rules.
368
51c7954d
EB
3692011-03-26 Eric Botcazou <ebotcazou@adacore.com>
370
371 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Create TYPE_DECL
372 for the padded type built to support a specified size or alignment.
373
6ddf9843
EB
3742011-03-26 Eric Botcazou <ebotcazou@adacore.com>
375
376 * gcc-interface/gigi.h (finalize_from_with_types): Adjust comment.
377 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Defer
378 unconditionally to the end of the unit when the designated type is
379 limited_with'ed.
380 <all>: Rename local variable. Attempt to un-defer types only and do it
381 for limited_with'ed types as well.
382 (finalize_from_with_types): Adjust comment. Rename variable and tidy.
383 * gcc-interface/trans.c (Compilation_Unit_to_gnu): Use GNAT_UNIT
384 consistently and remove redundant call to finalize_from_with_types.
385
5daed84a
EB
3862011-03-26 Eric Botcazou <ebotcazou@adacore.com>
387
388 * inline.adb (Back_End_Cannot_Inline): Lift restriction on calls to
389 subprograms without a previous spec declared in the same unit.
390 * gcc-interface/trans.c (Compilation_Unit_to_gnu): Process inlined
391 subprograms at the end of the unit instead of at the beginning.
392 * gcc-interface/utils.c (create_subprog_decl): Check that the entity
393 isn't public for the special handling of non-inline functions nested
394 inside inline external functions.
395
0edf1bb2
JL
3962011-03-25 Jeff Law <law@redhat.com>
397
5daed84a 398 * gcc-interface/utils.c (def_fn_type): Add missing va_end.
0edf1bb2 399
e3c4580e
EB
4002011-03-24 Eric Botcazou <ebotcazou@adacore.com>
401
402 * einfo.ads (Size_Depends_On_Discriminant): Adjust description.
403 * layout.adb (Compute_Size_Depends_On_Discriminant): New procedure
404 to compute Set_Size_Depends_On_Discriminant.
405 (Layout_Type): Call it on array types in back-end layout mode.
406 * sem_util.adb (Requires_Transient_Scope): Return true for array
407 types only if the size depends on the value of discriminants.
408 * gcc-interface/utils2.c (build_binary_op) <MODIFY_EXPR>: Use the RHS
409 type if the RHS is a call to a function that returns an unconstrained
410 type with default discriminant.
411
abbc8c7b
EB
4122011-03-24 Eric Botcazou <ebotcazou@adacore.com>
413
414 * gcc-interface/trans.c (gnat_to_gnu): Remove obsolete case of
415 non-conversion to the nominal result type at the end.
416
ddb5a105
EB
4172011-03-23 Eric Botcazou <ebotcazou@adacore.com>
418
419 * gcc-interface/trans.c (create_temporary): New function taken from...
420 (create_init_temporary): ...here. Call it.
421 (call_to_gnu): Create the temporary for the return value early, if any.
422 Create it for a function with copy-in/copy-out parameters if there is
423 no target; in other cases of copy-in/copy-out, use another temporary.
424 Push the new binding level lazily. Add and rename local variables.
425
0d853156
EB
4262011-03-23 Eric Botcazou <ebotcazou@adacore.com>
427
428 * gcc-interface/decl.c (validate_size): Improve comments and tweak
429 error message.
430 (set_rm_size): Likewise.
431
4184ef1b
EB
4322011-03-23 Eric Botcazou <ebotcazou@adacore.com>
433
434 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Create TYPE_DECL
435 for the padded type built in order to support a specified alignment.
436 Fix incorrect formatting.
437
bf7eefab
EB
4382011-03-21 Eric Botcazou <ebotcazou@adacore.com>
439
440 PR bootstrap/48216
441 * gcc-interface/decl.c (elaborate_expression_1): Localize GNU_DECL.
442
ef0feeb2
EB
4432011-03-21 Eric Botcazou <ebotcazou@adacore.com>
444
445 * gcc-interface/decl.c (components_to_record): Add REORDER parameter,
446 rename DEBUG_INFO_P into DEBUG_INFO and move P_GNU_REP_LIST parameter
447 to the end of the list. Adjust recursive call. Rename local variable.
448 If REORDER is true, reorder components of the record type.
449 (gnat_to_gnu_entity): Pass OK_To_Reorder_Components flag as argument to
450 components_to_record and adjust the parameter list.
451
646f9414
EB
4522011-03-21 Eric Botcazou <ebotcazou@adacore.com>
453
454 * gcc-interface/decl.c (elaborate_expression_1): When optimization is
455 disabled, use the variable for bounds of loop iteration scheme.
456
62d784f7
KT
4572011-03-21 Kai Tietz <ktietz@redhat.com>
458
459 PR target/12171
0bad0e23 460 * gcc-interface/utils.c (gnat_internal_attribute_table): Add column.
62d784f7 461
f230d759
EB
4622011-03-17 Eric Botcazou <ebotcazou@adacore.com>
463
464 * gcc-interface/decl.c (elaborate_expression_1): Try harder to find
465 out whether the expression is read-only. Short-circuit placeholder
466 case and rename a couple of local variables.
467
bb1f7929
EB
4682011-03-17 Eric Botcazou <ebotcazou@adacore.com>
469
470 * gcc-interface/gigi.h (smaller_form_type_p): Declare.
471 * gcc-interface/trans.c (smaller_form_type_p): Make global and move...
472 * gcc-interface/utils.c (smaller_form_type_p): ...to here.
473 (convert): Deal with conversions from a smaller form type specially.
474
400a2d24
EB
4752011-02-14 Eric Botcazou <ebotcazou@adacore.com>
476
477 * gcc-interface/misc.c (gnat_init_options): Do not concatenate -I and
478 its argument, except for the special -I- switch.
479
c26bc3ad
GP
4802011-02-12 Gerald Pfeifer <gerald@pfeifer.com>
481
0bad0e23
EB
482 * gnat_ugn.texi (Compiling Different Versions of Ada): Update link to
483 "Ada Issues".
c26bc3ad 484
07b8e910
EB
4852011-02-08 Eric Botcazou <ebotcazou@adacore.com>
486
487 * gcc-interface/Makefile.in (x86-64 darwin): Handle multilibs.
488
31a5a547
EB
4892011-02-03 Eric Botcazou <ebotcazou@adacore.com>
490
491 * gcc-interface/gigi.h (fill_vms_descriptor): Take GNU_TYPE instead of
492 GNAT_FORMAL.
493 * gcc-interface/utils2.c (fill_vms_descriptor): Move from here to...
494 * gcc-interface/utils.c (fill_vms_descriptor): ...here. Take GNU_TYPE
495 instead of GNAT_FORMAL. Protect the expression against multiple uses.
496 Do not generate the check directly, instead instantiate the template
497 check present in the descriptor.
498 (make_descriptor_field): Move around.
499 (build_vms_descriptor32): Build a template check in the POINTER field.
500 (build_vms_descriptor): Remove useless suffixes.
501 * gcc-interface/trans.c (call_to_gnu): Adjust fill_vms_descriptor call.
502
dcf25f59
EB
5032011-01-26 Eric Botcazou <ebotcazou@adacore.com>
504
505 PR bootstrap/47467
506 * targext.c: Include target files if IN_RTS is defined.
507
0418e131
RG
5082011-01-26 Richard Guenther <rguenther@suse.de>
509
510 PR bootstrap/47467
511 * targext.c: Include config.h.
512 * gcc-interface/Make-lang.in (ada/targext.o): Add $(CONFIG_H)
513 dependency.
514
c6eecbd8
PO
5152011-01-04 Pascal Obry <obry@adacore.com>
516 Eric Botcazou <ebotcazou@adacore.com>
517
518 * gcc-interface/decl.c: Disable Stdcall convention handling for 64-bit.
519
2d3c7e4f
EB
5202011-01-04 Eric Botcazou <ebotcazou@adacore.com>
521
522 * gcc-interface/trans.c (Case_Statement_to_gnu): Put the SLOC of the
523 end-of-case on the end label and its associated gotos, if any.
524
0394741f
EB
5252011-01-04 Eric Botcazou <ebotcazou@adacore.com>
526
527 * gcc-interface/trans.c (Subprogram_Body_to_gnu): Evaluate the
528 expressions of the parameter cache within the statement group of
529 the CICO mechanism.
530
2a02d090
OH
5312011-01-04 Olivier Hainque <hainque@adacore.com>
532 Eric Botcazou <ebotcazou@adacore.com>
533
534 * gcc-interface/trans.c (BLOCK_SOURCE_END_LOCATION): Provide default.
535 (set_end_locus_from_node): New function.
536 (Subprogram_Body_to_gnu): Use it to mark both the inner BIND_EXPR we
537 make and the function end_locus.
538 (Compilation_Unit_to_gnu): Call it instead of a straight Sloc_to_locus
539 for the elaboration subprogram.
540 (set_gnu_expr_location_from_node) <default case>: Use it to attempt to
541 set the end_locus of the expression as well.
542
89f5e978
EB
5432011-01-04 Eric Botcazou <ebotcazou@adacore.com>
544
545 PR ada/47131
546 * gcc-interface/trans.c (Identifier_to_gnu): In SJLJ mode, do not make
547 variables that are referenced in exception handlers volatile.
548
549
ad41bd84 550\f
797103eb 551Copyright (C) 2011 Free Software Foundation, Inc.
ad41bd84
JM
552
553Copying and distribution of this file, with or without modification,
554are permitted in any medium without royalty provided the copyright
555notice and this notice are preserved.