trans.c (create_temporary): New function taken from...
[gcc.git] / gcc / ada / ChangeLog
1 2011-03-23 Eric Botcazou <ebotcazou@adacore.com>
2
3 * gcc-interface/trans.c (create_temporary): New function taken from...
4 (create_init_temporary): ...here. Call it.
5 (call_to_gnu): Create the temporary for the return value early, if any.
6 Create it for a function with copy-in/copy-out parameters if there is
7 no target; in other cases of copy-in/copy-out, use another temporary.
8 Push the new binding level lazily. Add and rename local variables.
9
10 2011-03-23 Eric Botcazou <ebotcazou@adacore.com>
11
12 * gcc-interface/decl.c (validate_size): Improve comments and tweak
13 error message.
14 (set_rm_size): Likewise.
15
16 2011-03-23 Eric Botcazou <ebotcazou@adacore.com>
17
18 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Create TYPE_DECL
19 for the padded type built in order to support a specified alignment.
20 Fix incorrect formatting.
21
22 2011-03-21 Eric Botcazou <ebotcazou@adacore.com>
23
24 PR bootstrap/48216
25 * gcc-interface/decl.c (elaborate_expression_1): Localize GNU_DECL.
26
27 2011-03-21 Eric Botcazou <ebotcazou@adacore.com>
28
29 * gcc-interface/decl.c (components_to_record): Add REORDER parameter,
30 rename DEBUG_INFO_P into DEBUG_INFO and move P_GNU_REP_LIST parameter
31 to the end of the list. Adjust recursive call. Rename local variable.
32 If REORDER is true, reorder components of the record type.
33 (gnat_to_gnu_entity): Pass OK_To_Reorder_Components flag as argument to
34 components_to_record and adjust the parameter list.
35
36 2011-03-21 Eric Botcazou <ebotcazou@adacore.com>
37
38 * gcc-interface/decl.c (elaborate_expression_1): When optimization is
39 disabled, use the variable for bounds of loop iteration scheme.
40
41 2011-03-21 Kai Tietz <ktietz@redhat.com>
42
43 PR target/12171
44 * gcc-interface/utils.c (gnat_internal_attribute_table): Add new column
45
46 2011-03-17 Eric Botcazou <ebotcazou@adacore.com>
47
48 * gcc-interface/decl.c (elaborate_expression_1): Try harder to find
49 out whether the expression is read-only. Short-circuit placeholder
50 case and rename a couple of local variables.
51
52 2011-03-17 Eric Botcazou <ebotcazou@adacore.com>
53
54 * gcc-interface/gigi.h (smaller_form_type_p): Declare.
55 * gcc-interface/trans.c (smaller_form_type_p): Make global and move...
56 * gcc-interface/utils.c (smaller_form_type_p): ...to here.
57 (convert): Deal with conversions from a smaller form type specially.
58
59 2011-02-14 Eric Botcazou <ebotcazou@adacore.com>
60
61 * gcc-interface/misc.c (gnat_init_options): Do not concatenate -I and
62 its argument, except for the special -I- switch.
63
64 2011-02-12 Gerald Pfeifer <gerald@pfeifer.com>
65
66 * gnat_ugn.texi (Compiling Different Versions of Ada): Update
67 link to "Ada Issues".
68
69 2011-02-08 Eric Botcazou <ebotcazou@adacore.com>
70
71 * gcc-interface/Makefile.in (x86-64 darwin): Handle multilibs.
72
73 2011-02-03 Eric Botcazou <ebotcazou@adacore.com>
74
75 * gcc-interface/gigi.h (fill_vms_descriptor): Take GNU_TYPE instead of
76 GNAT_FORMAL.
77 * gcc-interface/utils2.c (fill_vms_descriptor): Move from here to...
78 * gcc-interface/utils.c (fill_vms_descriptor): ...here. Take GNU_TYPE
79 instead of GNAT_FORMAL. Protect the expression against multiple uses.
80 Do not generate the check directly, instead instantiate the template
81 check present in the descriptor.
82 (make_descriptor_field): Move around.
83 (build_vms_descriptor32): Build a template check in the POINTER field.
84 (build_vms_descriptor): Remove useless suffixes.
85 * gcc-interface/trans.c (call_to_gnu): Adjust fill_vms_descriptor call.
86
87 2011-01-26 Eric Botcazou <ebotcazou@adacore.com>
88
89 PR bootstrap/47467
90 * targext.c: Include target files if IN_RTS is defined.
91
92 2011-01-26 Richard Guenther <rguenther@suse.de>
93
94 PR bootstrap/47467
95 * targext.c: Include config.h.
96 * gcc-interface/Make-lang.in (ada/targext.o): Add $(CONFIG_H)
97 dependency.
98
99 2011-01-04 Pascal Obry <obry@adacore.com>
100 Eric Botcazou <ebotcazou@adacore.com>
101
102 * gcc-interface/decl.c: Disable Stdcall convention handling for 64-bit.
103
104 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
105
106 * gcc-interface/trans.c (Case_Statement_to_gnu): Put the SLOC of the
107 end-of-case on the end label and its associated gotos, if any.
108
109 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
110
111 * gcc-interface/trans.c (Subprogram_Body_to_gnu): Evaluate the
112 expressions of the parameter cache within the statement group of
113 the CICO mechanism.
114
115 2011-01-04 Olivier Hainque <hainque@adacore.com>
116 Eric Botcazou <ebotcazou@adacore.com>
117
118 * gcc-interface/trans.c (BLOCK_SOURCE_END_LOCATION): Provide default.
119 (set_end_locus_from_node): New function.
120 (Subprogram_Body_to_gnu): Use it to mark both the inner BIND_EXPR we
121 make and the function end_locus.
122 (Compilation_Unit_to_gnu): Call it instead of a straight Sloc_to_locus
123 for the elaboration subprogram.
124 (set_gnu_expr_location_from_node) <default case>: Use it to attempt to
125 set the end_locus of the expression as well.
126
127 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
128
129 PR ada/47131
130 * gcc-interface/trans.c (Identifier_to_gnu): In SJLJ mode, do not make
131 variables that are referenced in exception handlers volatile.
132
133
134 \f
135 Copyright (C) 2011 Free Software Foundation, Inc.
136
137 Copying and distribution of this file, with or without modification,
138 are permitted in any medium without royalty provided the copyright
139 notice and this notice are preserved.