1 2011-03-23 Eric Botcazou <ebotcazou@adacore.com>
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.
10 2011-03-23 Eric Botcazou <ebotcazou@adacore.com>
12 * gcc-interface/decl.c (validate_size): Improve comments and tweak
14 (set_rm_size): Likewise.
16 2011-03-23 Eric Botcazou <ebotcazou@adacore.com>
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.
22 2011-03-21 Eric Botcazou <ebotcazou@adacore.com>
25 * gcc-interface/decl.c (elaborate_expression_1): Localize GNU_DECL.
27 2011-03-21 Eric Botcazou <ebotcazou@adacore.com>
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.
36 2011-03-21 Eric Botcazou <ebotcazou@adacore.com>
38 * gcc-interface/decl.c (elaborate_expression_1): When optimization is
39 disabled, use the variable for bounds of loop iteration scheme.
41 2011-03-21 Kai Tietz <ktietz@redhat.com>
44 * gcc-interface/utils.c (gnat_internal_attribute_table): Add new column
46 2011-03-17 Eric Botcazou <ebotcazou@adacore.com>
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.
52 2011-03-17 Eric Botcazou <ebotcazou@adacore.com>
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.
59 2011-02-14 Eric Botcazou <ebotcazou@adacore.com>
61 * gcc-interface/misc.c (gnat_init_options): Do not concatenate -I and
62 its argument, except for the special -I- switch.
64 2011-02-12 Gerald Pfeifer <gerald@pfeifer.com>
66 * gnat_ugn.texi (Compiling Different Versions of Ada): Update
69 2011-02-08 Eric Botcazou <ebotcazou@adacore.com>
71 * gcc-interface/Makefile.in (x86-64 darwin): Handle multilibs.
73 2011-02-03 Eric Botcazou <ebotcazou@adacore.com>
75 * gcc-interface/gigi.h (fill_vms_descriptor): Take GNU_TYPE instead of
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.
87 2011-01-26 Eric Botcazou <ebotcazou@adacore.com>
90 * targext.c: Include target files if IN_RTS is defined.
92 2011-01-26 Richard Guenther <rguenther@suse.de>
95 * targext.c: Include config.h.
96 * gcc-interface/Make-lang.in (ada/targext.o): Add $(CONFIG_H)
99 2011-01-04 Pascal Obry <obry@adacore.com>
100 Eric Botcazou <ebotcazou@adacore.com>
102 * gcc-interface/decl.c: Disable Stdcall convention handling for 64-bit.
104 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
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.
109 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
111 * gcc-interface/trans.c (Subprogram_Body_to_gnu): Evaluate the
112 expressions of the parameter cache within the statement group of
115 2011-01-04 Olivier Hainque <hainque@adacore.com>
116 Eric Botcazou <ebotcazou@adacore.com>
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.
127 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
130 * gcc-interface/trans.c (Identifier_to_gnu): In SJLJ mode, do not make
131 variables that are referenced in exception handlers volatile.
135 Copyright (C) 2011 Free Software Foundation, Inc.
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.