]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ada/ChangeLog
* dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing
[thirdparty/gcc.git] / gcc / ada / ChangeLog
CommitLineData
451c8e2f 12011-03-25 Jeff Law <law@redhat.com>
2
3 * ada/gcc-interface/utils.c (def_fn_type): Add missing va_end.
4
4524d1ce 52011-03-24 Eric Botcazou <ebotcazou@adacore.com>
6
7 * einfo.ads (Size_Depends_On_Discriminant): Adjust description.
8 * layout.adb (Compute_Size_Depends_On_Discriminant): New procedure
9 to compute Set_Size_Depends_On_Discriminant.
10 (Layout_Type): Call it on array types in back-end layout mode.
11 * sem_util.adb (Requires_Transient_Scope): Return true for array
12 types only if the size depends on the value of discriminants.
13 * gcc-interface/utils2.c (build_binary_op) <MODIFY_EXPR>: Use the RHS
14 type if the RHS is a call to a function that returns an unconstrained
15 type with default discriminant.
16
3aac0828 172011-03-24 Eric Botcazou <ebotcazou@adacore.com>
18
19 * gcc-interface/trans.c (gnat_to_gnu): Remove obsolete case of
20 non-conversion to the nominal result type at the end.
21
818a5be5 222011-03-23 Eric Botcazou <ebotcazou@adacore.com>
23
24 * gcc-interface/trans.c (create_temporary): New function taken from...
25 (create_init_temporary): ...here. Call it.
26 (call_to_gnu): Create the temporary for the return value early, if any.
27 Create it for a function with copy-in/copy-out parameters if there is
28 no target; in other cases of copy-in/copy-out, use another temporary.
29 Push the new binding level lazily. Add and rename local variables.
30
0789c114 312011-03-23 Eric Botcazou <ebotcazou@adacore.com>
32
33 * gcc-interface/decl.c (validate_size): Improve comments and tweak
34 error message.
35 (set_rm_size): Likewise.
36
c487e598 372011-03-23 Eric Botcazou <ebotcazou@adacore.com>
38
39 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Create TYPE_DECL
40 for the padded type built in order to support a specified alignment.
41 Fix incorrect formatting.
42
4e1ef31c 432011-03-21 Eric Botcazou <ebotcazou@adacore.com>
44
45 PR bootstrap/48216
46 * gcc-interface/decl.c (elaborate_expression_1): Localize GNU_DECL.
47
b8f6cfa7 482011-03-21 Eric Botcazou <ebotcazou@adacore.com>
49
50 * gcc-interface/decl.c (components_to_record): Add REORDER parameter,
51 rename DEBUG_INFO_P into DEBUG_INFO and move P_GNU_REP_LIST parameter
52 to the end of the list. Adjust recursive call. Rename local variable.
53 If REORDER is true, reorder components of the record type.
54 (gnat_to_gnu_entity): Pass OK_To_Reorder_Components flag as argument to
55 components_to_record and adjust the parameter list.
56
255de9f2 572011-03-21 Eric Botcazou <ebotcazou@adacore.com>
58
59 * gcc-interface/decl.c (elaborate_expression_1): When optimization is
60 disabled, use the variable for bounds of loop iteration scheme.
61
ac86af5d 622011-03-21 Kai Tietz <ktietz@redhat.com>
63
64 PR target/12171
255de9f2 65 * gcc-interface/utils.c (gnat_internal_attribute_table): Add new column
ac86af5d 66
84495d63 672011-03-17 Eric Botcazou <ebotcazou@adacore.com>
68
69 * gcc-interface/decl.c (elaborate_expression_1): Try harder to find
70 out whether the expression is read-only. Short-circuit placeholder
71 case and rename a couple of local variables.
72
a88c8608 732011-03-17 Eric Botcazou <ebotcazou@adacore.com>
74
75 * gcc-interface/gigi.h (smaller_form_type_p): Declare.
76 * gcc-interface/trans.c (smaller_form_type_p): Make global and move...
77 * gcc-interface/utils.c (smaller_form_type_p): ...to here.
78 (convert): Deal with conversions from a smaller form type specially.
79
9f5eade0 802011-02-14 Eric Botcazou <ebotcazou@adacore.com>
81
82 * gcc-interface/misc.c (gnat_init_options): Do not concatenate -I and
83 its argument, except for the special -I- switch.
84
5dd6fd77 852011-02-12 Gerald Pfeifer <gerald@pfeifer.com>
86
87 * gnat_ugn.texi (Compiling Different Versions of Ada): Update
88 link to "Ada Issues".
89
1deedd46 902011-02-08 Eric Botcazou <ebotcazou@adacore.com>
91
92 * gcc-interface/Makefile.in (x86-64 darwin): Handle multilibs.
93
ef5c67f9 942011-02-03 Eric Botcazou <ebotcazou@adacore.com>
95
96 * gcc-interface/gigi.h (fill_vms_descriptor): Take GNU_TYPE instead of
97 GNAT_FORMAL.
98 * gcc-interface/utils2.c (fill_vms_descriptor): Move from here to...
99 * gcc-interface/utils.c (fill_vms_descriptor): ...here. Take GNU_TYPE
100 instead of GNAT_FORMAL. Protect the expression against multiple uses.
101 Do not generate the check directly, instead instantiate the template
102 check present in the descriptor.
103 (make_descriptor_field): Move around.
104 (build_vms_descriptor32): Build a template check in the POINTER field.
105 (build_vms_descriptor): Remove useless suffixes.
106 * gcc-interface/trans.c (call_to_gnu): Adjust fill_vms_descriptor call.
107
3542e371 1082011-01-26 Eric Botcazou <ebotcazou@adacore.com>
109
110 PR bootstrap/47467
111 * targext.c: Include target files if IN_RTS is defined.
112
031c6e7d 1132011-01-26 Richard Guenther <rguenther@suse.de>
114
115 PR bootstrap/47467
116 * targext.c: Include config.h.
117 * gcc-interface/Make-lang.in (ada/targext.o): Add $(CONFIG_H)
118 dependency.
119
5882be0f 1202011-01-04 Pascal Obry <obry@adacore.com>
121 Eric Botcazou <ebotcazou@adacore.com>
122
123 * gcc-interface/decl.c: Disable Stdcall convention handling for 64-bit.
124
5c7fc120 1252011-01-04 Eric Botcazou <ebotcazou@adacore.com>
126
127 * gcc-interface/trans.c (Case_Statement_to_gnu): Put the SLOC of the
128 end-of-case on the end label and its associated gotos, if any.
129
6d92deb8 1302011-01-04 Eric Botcazou <ebotcazou@adacore.com>
131
132 * gcc-interface/trans.c (Subprogram_Body_to_gnu): Evaluate the
133 expressions of the parameter cache within the statement group of
134 the CICO mechanism.
135
00828c42 1362011-01-04 Olivier Hainque <hainque@adacore.com>
137 Eric Botcazou <ebotcazou@adacore.com>
138
139 * gcc-interface/trans.c (BLOCK_SOURCE_END_LOCATION): Provide default.
140 (set_end_locus_from_node): New function.
141 (Subprogram_Body_to_gnu): Use it to mark both the inner BIND_EXPR we
142 make and the function end_locus.
143 (Compilation_Unit_to_gnu): Call it instead of a straight Sloc_to_locus
144 for the elaboration subprogram.
145 (set_gnu_expr_location_from_node) <default case>: Use it to attempt to
146 set the end_locus of the expression as well.
147
6dddee39 1482011-01-04 Eric Botcazou <ebotcazou@adacore.com>
149
150 PR ada/47131
151 * gcc-interface/trans.c (Identifier_to_gnu): In SJLJ mode, do not make
152 variables that are referenced in exception handlers volatile.
153
154
7dfbd804 155\f
cd8b0daa 156Copyright (C) 2011 Free Software Foundation, Inc.
7dfbd804 157
158Copying and distribution of this file, with or without modification,
159are permitted in any medium without royalty provided the copyright
160notice and this notice are preserved.