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