]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ada/ChangeLog
common.opt (flag_stack_usage_info): New variable.
[thirdparty/gcc.git] / gcc / ada / ChangeLog
CommitLineData
1ed1641d
JM
12011-05-24 Joseph Myers <joseph@codesourcery.com>
2
3 * gcc-interface/Make-lang.in (GNAT1_OBJS): Don't include
4 $(EXTRA_GNAT1_OBJS).
5 (GNATBIND_OBJS): Don't include $(EXTRA_GNATBIND_OBJS).
6 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Remove.
7 (gnat1$(exeext), gnatbind$(exeext)): Use libcommon-target.a.
8 * gcc-interface/Makefile.in (EXTRA_GNATTOOLS_OBJS): Use
9 libcommon-target.a instead of prefix.o.
10
9fe72ebd
JM
112011-05-21 Joseph Myers <joseph@codesourcery.com>
12
13 PR ada/49097
14 * gcc-interface/Make-lang.in (gnatbind$(exeext)): Depend on
15 $(LIBDEPS).
16
2691e6d7
JM
172011-05-20 Joseph Myers <joseph@codesourcery.com>
18
19 * gcc-interface/Make-lang.in (EXTRA_GNATBIND_OBJS): Remove
20 version.o.
21 * gcc-interface/Makefile.in (EXTRA_GNATTOOLS_OBJS): Use
22 libcommon.a instead of version.o.
23
bf6490b5
KT
242011-05-18 Kai Tietz <ktietz@redhat.com>
25
26 * gcc-interface/trans.c (Exception_Handler_to_gnu_sjlj): Use
27 boolean_false_node instead of integer_zero_node.
28 (convert_with_check): Likewise.
29 * gcc-interface/decl.c (choices_to_gnu): Likewise.
30
7bf9a5ac
EB
312011-05-12 Eric Botcazou <ebotcazou@adacore.com>
32
33 * gcc-interface/trans.c (call_to_gnu): In the by-reference case, if the
34 type of the parameter is an unconstrained array, convert the actual to
35 the type of the formal in the In Out and Out cases as well.
36
e5b00edf
NF
372011-05-11 Nathan Froyd <froydnj@codesourcery.com>
38
39 * gcc-interface/utils.c (def_fn_type): Don't call build_function_type;
40 call build_function_type_array or build_varargs_function_type_array
41 instead.
42 (create_subprog_type): Don't call build_function_type; call
43 build_function_type_vec instead.
44
51545682
NF
452011-05-11 Nathan Froyd <froydnj@codesourcery.com>
46
47 * gcc-interface/ada-tree.h (TYPE_OBJECT_RECORD_TYPE): Use TYPE_MINVAL.
48 (TYPE_GCC_MIN_VALUE): Use TYPE_MINVAL.
49 (TYPE_GCC_MAX_VALUE): Use TYPE_MAXVAL.
50
c99c0026
EB
512011-05-07 Eric Botcazou <ebotcazou@adacore.com>
52
f620bd21
EB
53 * gcc-interface/decl.c (intrin_arglists_compatible_p): Remove spaces.
54
c99c0026
EB
55 * gcc-interface/gigi.h (global_bindings_p): Adjust prototype.
56 * gcc-interface/utils.c (global_bindings_p): Return bool and simplify.
57
3d528853
NF
582011-05-05 Nathan Froyd <froydnj@codesourcery.com>
59
c99c0026 60 * gcc-interface/trans.c (Case_Statement_to_gnu): Call build_case_label.
3d528853 61
d7d058c5
NF
622011-05-05 Nathan Froyd <froydnj@codesourcery.com>
63
64 * gcc-interface/decl.c (intrin_arglists_compatible_p): Use iterators
65 instead of accessing TYPE_ARG_TYPES directly.
66 * gcc-interface/utils.c (handle_nonnull_attribute): Likewise.
67
805e60a0
EB
682011-05-05 Eric Botcazou <ebotcazou@adacore.com>
69
70 PR ada/48844
71 * gcc-interface/gigi.h (get_variant_part): Declare.
72 * gcc-interface/decl.c (get_variant_part): Make global.
73 * gcc-interface/utils2.c (find_common_type): Do not return T1 if the
74 types have the same constant size, are record types and T1 has a
75 variant part while T2 doesn't.
76
907a08d9
EB
772011-05-05 Eric Botcazou <ebotcazou@adacore.com>
78
79 * gcc-interface/utils.c (begin_subprog_body): Do not call
80 get_pending_sizes.
81 (end_subprog_body): Likewise.
82
d35936ab
RG
832011-05-04 Richard Guenther <rguenther@suse.de>
84
85 * gcc-interface/trans.c (gnat_to_gnu): Remove zero notrunc argument to
86 int_const_binop.
87 (pos_to_constructor): Likewise.
88
c1fd8753
NF
892011-05-03 Nathan Froyd <froydnj@codesourcery.com>
90 Eric Botcazou <ebotcazou@adacore.com>
91
92 * gcc-interface/trans.c (gigi): Call build_function_type_list instead
93 of build_function_type. Adjust calls to...
94 (build_raise_check): ...this. Do not take a void_tree parameter.
95 Call build_function_type_list instead of build_function_type.
96 Fix head comment and swap couple of conditional blocks.
97
4fb87d2b
EB
982011-04-30 Eric Botcazou <ebotcazou@adacore.com>
99
100 * gnatvsn.ads (Library_Version): Bump to 4.7.
101 (Current_Year): Bump to 2011.
102
fa5e5a76
MM
1032011-04-29 Michael Matz <matz@suse.de>
104
105 * gcc-interface/misc.c (gnat_handle_option): Set
106 warn_maybe_uninitialized.
107
8d6a2f69
GP
1082011-04-23 Gerald Pfeifer <gerald@pfeifer.com>
109
110 * gnat_ugn.texi (Complexity Metrics Control): Update link to
111 the Watson/McCabe paper.
112
770937fd
JM
1132011-04-23 Jim Meyering <meyering@redhat.com>
114
115 * gnat_ugn.texi (Examples of gnatxref Usage): Fix typo: s/it it/it is/
116
eb601ae1
EB
1172011-04-22 Eric Botcazou <ebotcazou@adacore.com>
118
119 * gcc-interface/decl.c (make_packable_type): Copy DECL_PARALLEL_TYPE
120 onto the new type.
121
7d7fcb08
EB
1222011-04-22 Eric Botcazou <ebotcazou@adacore.com>
123
124 * gcc-interface/gigi.h (create_subprog_decl): Add ARTIFICIAL_FLAG
125 parameter.
126 * gcc-interface/utils.c (create_subprog_decl): Likewise. Set
127 DECL_ARTIFICIAL and DECL_NO_INLINE_WARNING_P on the DECL accordingly.
128 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Subprogram_Type>: Add
129 ARTIFICIAL_FLAG local variable and pass it to create_subprog_decl.
130 <all>: Do not set flags on the reused DECL node coming from an alias.
131 Set DECL_IGNORED_P on the DECL node built for subprograms if they
132 don't need debug info here...
133 * gcc-interface/trans.c (Subprogram_Body_to_gnu): ...and not here.
134 (gigi): Adjust calls to create_subprog_decl.
135 (build_raise_check): Likewise.
136 (establish_gnat_vms_condition_handler): Likewise.
137 (Compilation_Unit_to_gnu): Likewise.
138 (gnat_to_gnu): Likewise.
139
e1876cac
EB
1402011-04-21 Eric Botcazou <ebotcazou@adacore.com>
141
142 * gcc-interface/Makefile.in (NO_SIBLING_ADAFLAGS): Always define.
143 (NO_REORDER_ADAFLAGS): New variable.
144 (EXTRA_GNATTOOLS): Always define.
145 (../stamp-gnatlib1-$(RTSDIR): Copy tsystem.h.
146 Clean up and adjust list of files compiled with special options.
147 * gcc-interface/Make-lang.in: Likewise.
148 (ada/decl.o): Cosmetical change.
149 (ada/misc.o): Remove dependency on $(PLUGIN_H).
150
04695783
JM
1512011-04-20 Jim Meyering <meyering@redhat.com>
152
153 * initialize.c (__gnat_initialize): Remove useless if-before-free.
154
23399579
EB
1552011-04-17 Eric Botcazou <ebotcazou@adacore.com>
156
157 * gcc-interface/Make-lang.in (gnatbind): Replace $(ALL_CFLAGS) with
158 $(CFLAGS) on the link line.
159
51c5169c
EB
1602011-04-17 Eric Botcazou <ebotcazou@adacore.com>
161
162 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Function>: Declare the
163 padded type built for the return type if it is unconstrained.
164
61e46a7d
NF
1652011-04-14 Nathan Froyd <froydnj@codesourcery.com>
166
167 * gcc-interface/utils.c (gnat_poplevel): Use block_chainon.
168
81f653d6
NF
1692011-04-12 Nathan Froyd <froydnj@codesourcery.com>
170
b4867846
EB
171 * gcc-interface/ada-tree.h (union lang_tree_node): Check for TS_COMMON
172 before calling TREE_CHAIN.
81f653d6
NF
173 * gcc-interface/misc.c (gnat_init_ts): New function.
174 (LANG_HOOKS_INIT_TS): Define.
175
a358e188
MJ
1762011-04-12 Martin Jambor <mjambor@suse.cz>
177
b4867846
EB
178 * gcc-interface/utils.c (end_subprog_body): Call cgraph_get_create_node
179 instead of cgraph_node.
a358e188 180
29b1c5a4
EB
1812011-04-08 Eric Botcazou <ebotcazou@adacore.com>
182
183 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Procedure>: Set minimum
184 alignment on fields of the RETURN type built for the Copy-In Copy-Out
185 mechanism.
186
88872b00
EB
1872011-04-08 Eric Botcazou <ebotcazou@adacore.com>
188
189 * gcc-interface/trans.c (Identifier_to_gnu): Do not return initializers
190 of aggregate types that contain a placeholder.
191
dcf0c47e
NF
1922011-04-08 Nathan Froyd <froydnj@codesourcery.com>
193
194 * gcc-interface/utils.c (handle_sentinel_attribute): Don't use
b4867846 195 TYPE_ARG_TYPES.
dcf0c47e
NF
196 (handle_type_generic_attribute): Likewise.
197
53e3000c
EB
1982011-04-04 Eric Botcazou <ebotcazou@adacore.com>
199
200 PR ada/47163
201 * s-oscons-tmplt.c (MSG_WAITALL): Fix thinko in previous change.
202
ab380bb4
KT
2032011-04-04 Kai Tietz <ktietz@redhat.com>
204
205 PR ada/47163
206 * s-oscons-tmplt.c (MSG_WAITALL): Define it for native windows
207 targets to flag value.
208
8ffac116
EB
2092011-04-02 Eric Botcazou <ebotcazou@adacore.com>
210
211 * gcc-interface/utils2.c (build_allocator): In the unconstrained array
212 type case, do not strip a padding type around the array type.
213
de9528f0
EB
2142011-04-02 Eric Botcazou <ebotcazou@adacore.com>
215
216 * gcc-interface/utils.c (update_pointer_to): Finalize named pointer
217 types.
218
d9d7a26c
EB
2192011-04-02 Eric Botcazou <ebotcazou@adacore.com>
220
221 * gcc-interface/lang.opt (feliminate-unused-debug-types): Delete.
222 * gcc-interface/misc.c (gnat_handle_option): Remove special handling
de9528f0 223 code for -feliminate-unused-debug-types.
d9d7a26c
EB
224 (gnat_post_options): Likewise.
225
4cb12a90
EB
2262011-04-02 Eric Botcazou <ebotcazou@adacore.com>
227
228 * gcc-interface/utils.c (gnat_pushdecl): If this is a non-artificial
229 declaration of a pointer type, then set DECL_ORIGINAL_TYPE to a
230 distinct copy.
231
acccc61c
EB
2322011-04-02 Eric Botcazou <ebotcazou@adacore.com>
233
234 * gcc-interface/decl.c (gnat_to_gnu_entity): Do not force the
235 DECL_ARTIFICIAL flag on enumeration types.
236
583eb0c9
EB
2372011-04-02 Eric Botcazou <ebotcazou@adacore.com>
238
239 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do not make
240 fat pointer types artificial unconditionally.
241 <E_Array_Subtype>: Attach the base array type as a parallel type if it
242 isn't artificial.
243
e3edbd56
EB
2442011-04-02 Eric Botcazou <ebotcazou@adacore.com>
245
246 * gcc-interface/gigi.h (get_dummy_type): Declare.
247 (build_dummy_unc_pointer_types): Likewise.
248 (finish_fat_pointer_type): Likewise.
249 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: If a dummy
250 fat pointer type has been built, complete it in place.
251 <E_Access_Type>: Call build_dummy_unc_pointer_types to build dummy fat
252 and thin pointers. Remove useless variable.
253 (finish_fat_pointer_type): Make global and move to...
254 * gcc-interface/utils.c (finish_fat_pointer_type): ...here.
255 (get_dummy_type): New function.
256 (build_dummy_unc_pointer_types): Likewise.
257 (gnat_pushdecl): Propage the name to the anonymous variants only.
258 (update_pointer_to): Only adjust the pointer types in the unconstrained
259 array case.
260
65444786
EB
2612011-04-02 Eric Botcazou <ebotcazou@adacore.com>
262
263 * gcc-interface/ada-tree.h (DECL_TAFT_TYPE_P): New flag.
264 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Incomplete_Type>: Set it
265 if this is a Taft amendment type and the full declaration is available.
266 * gcc-interface/trans.c (process_type): Likewise.
267 If there is an old type, mark the new one as used if DECL_TAFT_TYPE_P.
268 (process_freeze_entity): Likewise.
269 * gcc-interface/utils.c (dummy_global): New static variable.
270 (gnat_write_global_declarations): If there are types declared as used
271 at the global level, insert them in the global hash table.
272
1aeb40dd
EB
2732011-04-02 Eric Botcazou <ebotcazou@adacore.com>
274
275 * gcc-interface/gigi.h (record_builtin_type): Add ARTIFICIAL_P param.
276 * gcc-interface/utils.c (gnat_pushdecl): If this is a non-artificial
277 declaration of an array type, then set DECL_ORIGINAL_TYPE to a distinct
278 copy.
279 (record_builtin_type): Add ARTIFICIAL_P parameter. Set DECL_ARTIFICIAL
280 flag of the type accordingly.
281 * gcc-interface/trans.c (gigi): Adjust calls to record_builtin_type.
282
80ec8b4c
EB
2832011-04-02 Eric Botcazou <ebotcazou@adacore.com>
284
285 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Defer
286 finalizing types when updating the pointers to the designated type.
287 <all>: Finalize the deferred types even if we didn't defer processing
288 of incomplete types in this invocation.
289
2a9d769a
OH
2902011-04-01 Olivier Hainque <hainque@adacore.com>
291 Nicolas Setton <setton@adacore.com>
292 Eric Botcazou <ebotcazou@adacore.com>
293
294 * gcc-interface/misc.c (gnat_descriptive_type): New function.
295 (LANG_HOOKS_DESCRIPTIVE_TYPE): Redefine to gnat_descriptive_type.
296
2438d7a6
KT
2972011-03-28 Kai Tietz <ktietz@redhat.com>
298
333d8aff 299 * gcc-interface/Makefile.in (SO_LIB): Handle multilib build for native
80ec8b4c
EB
300 Windows targets.
301 (EH_MECHANISM): Use GCC exception mechanism for native Windows targets.
302 * system-mingw.ads (System): Change ZCX_By_Default default to True.
333d8aff 303
80ec8b4c 304 * raise-gcc.c (PERSONALITY_FUNCTION): Add prototype.
2438d7a6 305
8ad150f6
TG
3062011-03-28 Tristan Gingold <gingold@adacore.com>
307
308 PR ada/44431
80ec8b4c
EB
309 * gcc-interface/Make-lang.in (ada/b_gnat1.adb): Replace ada/b_gnat1.c.
310 Use ada output of gnatbind.
8ad150f6
TG
311 (ada/b_gnatb.adb): Ditto.
312 (ada/b_gnat1.o, ada/b_gnatb.o): New rules.
313 (ada.mostlyclean, ada.stage1)
314 (ada.stage2, ada.stage3, ada.stage4, ada.stageprofile)
315 (ada.stagefeedback): Adjust.
80ec8b4c 316 * gcc-interface/Makefile.in (b_gnatl.adb): Replace b_gnatl.c.
8ad150f6
TG
317 Use ada output of gnatbind.
318 (b_gnatm.adb): Ditto.
319 (b_gnatl.o, b_gnatm.o): New rules.
320
51c7954d
EB
3212011-03-26 Eric Botcazou <ebotcazou@adacore.com>
322
323 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Create TYPE_DECL
324 for the padded type built to support a specified size or alignment.
325
6ddf9843
EB
3262011-03-26 Eric Botcazou <ebotcazou@adacore.com>
327
328 * gcc-interface/gigi.h (finalize_from_with_types): Adjust comment.
329 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Defer
330 unconditionally to the end of the unit when the designated type is
331 limited_with'ed.
332 <all>: Rename local variable. Attempt to un-defer types only and do it
333 for limited_with'ed types as well.
334 (finalize_from_with_types): Adjust comment. Rename variable and tidy.
335 * gcc-interface/trans.c (Compilation_Unit_to_gnu): Use GNAT_UNIT
336 consistently and remove redundant call to finalize_from_with_types.
337
5daed84a
EB
3382011-03-26 Eric Botcazou <ebotcazou@adacore.com>
339
340 * inline.adb (Back_End_Cannot_Inline): Lift restriction on calls to
341 subprograms without a previous spec declared in the same unit.
342 * gcc-interface/trans.c (Compilation_Unit_to_gnu): Process inlined
343 subprograms at the end of the unit instead of at the beginning.
344 * gcc-interface/utils.c (create_subprog_decl): Check that the entity
345 isn't public for the special handling of non-inline functions nested
346 inside inline external functions.
347
0edf1bb2
JL
3482011-03-25 Jeff Law <law@redhat.com>
349
5daed84a 350 * gcc-interface/utils.c (def_fn_type): Add missing va_end.
0edf1bb2 351
e3c4580e
EB
3522011-03-24 Eric Botcazou <ebotcazou@adacore.com>
353
354 * einfo.ads (Size_Depends_On_Discriminant): Adjust description.
355 * layout.adb (Compute_Size_Depends_On_Discriminant): New procedure
356 to compute Set_Size_Depends_On_Discriminant.
357 (Layout_Type): Call it on array types in back-end layout mode.
358 * sem_util.adb (Requires_Transient_Scope): Return true for array
359 types only if the size depends on the value of discriminants.
360 * gcc-interface/utils2.c (build_binary_op) <MODIFY_EXPR>: Use the RHS
361 type if the RHS is a call to a function that returns an unconstrained
362 type with default discriminant.
363
abbc8c7b
EB
3642011-03-24 Eric Botcazou <ebotcazou@adacore.com>
365
366 * gcc-interface/trans.c (gnat_to_gnu): Remove obsolete case of
367 non-conversion to the nominal result type at the end.
368
ddb5a105
EB
3692011-03-23 Eric Botcazou <ebotcazou@adacore.com>
370
371 * gcc-interface/trans.c (create_temporary): New function taken from...
372 (create_init_temporary): ...here. Call it.
373 (call_to_gnu): Create the temporary for the return value early, if any.
374 Create it for a function with copy-in/copy-out parameters if there is
375 no target; in other cases of copy-in/copy-out, use another temporary.
376 Push the new binding level lazily. Add and rename local variables.
377
0d853156
EB
3782011-03-23 Eric Botcazou <ebotcazou@adacore.com>
379
380 * gcc-interface/decl.c (validate_size): Improve comments and tweak
381 error message.
382 (set_rm_size): Likewise.
383
4184ef1b
EB
3842011-03-23 Eric Botcazou <ebotcazou@adacore.com>
385
386 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Create TYPE_DECL
387 for the padded type built in order to support a specified alignment.
388 Fix incorrect formatting.
389
bf7eefab
EB
3902011-03-21 Eric Botcazou <ebotcazou@adacore.com>
391
392 PR bootstrap/48216
393 * gcc-interface/decl.c (elaborate_expression_1): Localize GNU_DECL.
394
ef0feeb2
EB
3952011-03-21 Eric Botcazou <ebotcazou@adacore.com>
396
397 * gcc-interface/decl.c (components_to_record): Add REORDER parameter,
398 rename DEBUG_INFO_P into DEBUG_INFO and move P_GNU_REP_LIST parameter
399 to the end of the list. Adjust recursive call. Rename local variable.
400 If REORDER is true, reorder components of the record type.
401 (gnat_to_gnu_entity): Pass OK_To_Reorder_Components flag as argument to
402 components_to_record and adjust the parameter list.
403
646f9414
EB
4042011-03-21 Eric Botcazou <ebotcazou@adacore.com>
405
406 * gcc-interface/decl.c (elaborate_expression_1): When optimization is
407 disabled, use the variable for bounds of loop iteration scheme.
408
62d784f7
KT
4092011-03-21 Kai Tietz <ktietz@redhat.com>
410
411 PR target/12171
646f9414 412 * gcc-interface/utils.c (gnat_internal_attribute_table): Add new column
62d784f7 413
f230d759
EB
4142011-03-17 Eric Botcazou <ebotcazou@adacore.com>
415
416 * gcc-interface/decl.c (elaborate_expression_1): Try harder to find
417 out whether the expression is read-only. Short-circuit placeholder
418 case and rename a couple of local variables.
419
bb1f7929
EB
4202011-03-17 Eric Botcazou <ebotcazou@adacore.com>
421
422 * gcc-interface/gigi.h (smaller_form_type_p): Declare.
423 * gcc-interface/trans.c (smaller_form_type_p): Make global and move...
424 * gcc-interface/utils.c (smaller_form_type_p): ...to here.
425 (convert): Deal with conversions from a smaller form type specially.
426
400a2d24
EB
4272011-02-14 Eric Botcazou <ebotcazou@adacore.com>
428
429 * gcc-interface/misc.c (gnat_init_options): Do not concatenate -I and
430 its argument, except for the special -I- switch.
431
c26bc3ad
GP
4322011-02-12 Gerald Pfeifer <gerald@pfeifer.com>
433
434 * gnat_ugn.texi (Compiling Different Versions of Ada): Update
435 link to "Ada Issues".
436
07b8e910
EB
4372011-02-08 Eric Botcazou <ebotcazou@adacore.com>
438
439 * gcc-interface/Makefile.in (x86-64 darwin): Handle multilibs.
440
31a5a547
EB
4412011-02-03 Eric Botcazou <ebotcazou@adacore.com>
442
443 * gcc-interface/gigi.h (fill_vms_descriptor): Take GNU_TYPE instead of
444 GNAT_FORMAL.
445 * gcc-interface/utils2.c (fill_vms_descriptor): Move from here to...
446 * gcc-interface/utils.c (fill_vms_descriptor): ...here. Take GNU_TYPE
447 instead of GNAT_FORMAL. Protect the expression against multiple uses.
448 Do not generate the check directly, instead instantiate the template
449 check present in the descriptor.
450 (make_descriptor_field): Move around.
451 (build_vms_descriptor32): Build a template check in the POINTER field.
452 (build_vms_descriptor): Remove useless suffixes.
453 * gcc-interface/trans.c (call_to_gnu): Adjust fill_vms_descriptor call.
454
dcf25f59
EB
4552011-01-26 Eric Botcazou <ebotcazou@adacore.com>
456
457 PR bootstrap/47467
458 * targext.c: Include target files if IN_RTS is defined.
459
0418e131
RG
4602011-01-26 Richard Guenther <rguenther@suse.de>
461
462 PR bootstrap/47467
463 * targext.c: Include config.h.
464 * gcc-interface/Make-lang.in (ada/targext.o): Add $(CONFIG_H)
465 dependency.
466
c6eecbd8
PO
4672011-01-04 Pascal Obry <obry@adacore.com>
468 Eric Botcazou <ebotcazou@adacore.com>
469
470 * gcc-interface/decl.c: Disable Stdcall convention handling for 64-bit.
471
2d3c7e4f
EB
4722011-01-04 Eric Botcazou <ebotcazou@adacore.com>
473
474 * gcc-interface/trans.c (Case_Statement_to_gnu): Put the SLOC of the
475 end-of-case on the end label and its associated gotos, if any.
476
0394741f
EB
4772011-01-04 Eric Botcazou <ebotcazou@adacore.com>
478
479 * gcc-interface/trans.c (Subprogram_Body_to_gnu): Evaluate the
480 expressions of the parameter cache within the statement group of
481 the CICO mechanism.
482
2a02d090
OH
4832011-01-04 Olivier Hainque <hainque@adacore.com>
484 Eric Botcazou <ebotcazou@adacore.com>
485
486 * gcc-interface/trans.c (BLOCK_SOURCE_END_LOCATION): Provide default.
487 (set_end_locus_from_node): New function.
488 (Subprogram_Body_to_gnu): Use it to mark both the inner BIND_EXPR we
489 make and the function end_locus.
490 (Compilation_Unit_to_gnu): Call it instead of a straight Sloc_to_locus
491 for the elaboration subprogram.
492 (set_gnu_expr_location_from_node) <default case>: Use it to attempt to
493 set the end_locus of the expression as well.
494
89f5e978
EB
4952011-01-04 Eric Botcazou <ebotcazou@adacore.com>
496
497 PR ada/47131
498 * gcc-interface/trans.c (Identifier_to_gnu): In SJLJ mode, do not make
499 variables that are referenced in exception handlers volatile.
500
501
ad41bd84 502\f
797103eb 503Copyright (C) 2011 Free Software Foundation, Inc.
ad41bd84
JM
504
505Copying and distribution of this file, with or without modification,
506are permitted in any medium without royalty provided the copyright
507notice and this notice are preserved.