]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/go/ChangeLog
dcf420e364cb281aa856a59e572168c606dc8a5e
[thirdparty/gcc.git] / gcc / go / ChangeLog
1 2011-08-02 Roberto Lublinerman <rluble@gmail.com>
2
3 * Make-lang.in (GO_OBJS): Add go/ast-dump.o.
4 (go/ast-dump.o): New target.
5 (go/expressions.o): Depend on go/gofrontend/ast-dump.h.
6 (go/statements.o): Likewise.
7
8 2011-07-06 Richard Guenther <rguenther@suse.de>
9
10 * go-lang.c (go_langhook_init):
11 Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
12
13 2011-06-14 Joseph Myers <joseph@codesourcery.com>
14
15 * Make-lang.in (go/go-lang.o, go/go-backend.o): Update
16 dependencies.
17 * go-backend.c: Include common/common-target.h.
18 (go_write_export_data): Use targetm_common.have_named_sections.
19 * go-lang.c: Include common/common-target.h.
20 (go_langhook_init_options_struct): Use
21 targetm_common.supports_split_stack.
22
23 2011-06-13 Ian Lance Taylor <iant@google.com>
24
25 * Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H).
26
27 2011-06-10 Ian Lance Taylor <iant@google.com>
28
29 * go-gcc.cc: Include "toplev.h".
30 (Gcc_backend::immutable_struct): New function.
31 (Gcc_backend::immutable_struct_set_init): New function.
32 (Gcc_backend::immutable_struct_reference): New function.
33 * Make-lang.in (go/go-gcc.o): Depend on toplev.h.
34
35 2011-06-09 Ian Lance Taylor <iant@google.com>
36
37 * go-gcc.cc (Gcc_backend::zero_expression): New function.
38
39 2011-06-07 Richard Guenther <rguenther@suse.de>
40
41 * go-lang.c (go_langhook_init): Do not set
42 size_type_node or call set_sizetype.
43
44 2011-05-27 Ian Lance Taylor <iant@google.com>
45
46 * go-backend.c: Include "output.h".
47 (go_write_export_data): New function.
48 * go-c.h (go_write_export_data): Declare.
49 * Make-lang.in (go/go-backend.o): Depend on output.h.
50 (go/export.o): Depend on $(GO_C_H). Do not depend on
51 $(MACHMODE_H), output.h, or $(TARGET_H).
52
53 2011-05-24 Joseph Myers <joseph@codesourcery.com>
54
55 * Make-lang.in (GCCGO_OBJS): Remove prefix.o.
56 (gccgo$(exeext)): Use libcommon-target.a.
57
58 2011-05-20 Joseph Myers <joseph@codesourcery.com>
59
60 * Make-lang.in (GCCGO_OBJS): Remove intl.o and version.o.
61
62 2011-05-13 Ian Lance Taylor <iant@google.com>
63
64 * go-gcc.cc (Gcc_backend::function_type): When building a struct
65 for multiple results, check that all fields types have a size.
66 (Gcc_backend::placeholder_pointer_type): Permit name to be empty.
67
68 2011-05-12 Ian Lance Taylor <iant@google.com>
69
70 * go-gcc.cc (Gcc_backend::local_variable): Add is_address_taken
71 parameter.
72 (Gcc_backend::parameter_variable): Likewise.
73
74 2011-05-07 Eric Botcazou <ebotcazou@adacore.com>
75
76 * go-lang.c (global_bindings_p): Return bool and simplify.
77
78 2011-05-05 Nathan Froyd <froydnj@codesourcery.com>
79
80 * go-gcc.cc (Gcc_backend::switch_statement): Call build_case_label.
81
82 2011-05-04 Ian Lance Taylor <iant@google.com>
83
84 * go-gcc.cc (Gcc_backend::struct_type): Call fill_in_struct.
85 (Gcc_backend::fill_in_struct): New function.
86 (Gcc_backend::array_type): Implement.
87 (Gcc_backend::fill_in_array): New function.
88 (Gcc_backend::placeholder_pointer_type): New function.
89 (Gcc_backend::set_placeholder_pointer_type): New function.
90 (Gcc_backend::set_placeholder_function_type): New function.
91 (Gcc_backend::placeholder_struct_type): New function.
92 (Gcc_backend::set_placeholder_struct_type): New function.
93 (Gcc_backend::placeholder_array_type): New function.
94 (Gcc_backend::set_placeholder_array_type): New function.
95 (Gcc_backend::named_type): New function.
96 (Gcc_backend::circular_pointer_type): New function.
97 (Gcc_backend::is_circular_pointer_type): New function.
98
99 2011-04-26 Ian Lance Taylor <iant@google.com>
100
101 * go-gcc.cc (Gcc_backend::struct_type): Implement.
102
103 2011-04-25 Ian Lance Taylor <iant@google.com>
104
105 * go-gcc.cc (Gcc_backend::error_type): Implement.
106 (Gcc_backend::string_type): Remove.
107 (Gcc_backend::function_type): Change signature and implement.
108 (Gcc_backend::struct_type): Change signature.
109 (Gcc_backend::slice_type, Gcc_backend::map_type): Remove.
110 (Gcc_backend::channel_type, Gcc_backend::interface_type): Remove.
111 (Gcc_backend::pointer_type): Check for error.
112 * Make-lang.in (go/types.o): Depend on go/gofrontend/backend.h.
113
114 2011-04-25 Evan Shaw <edsrzf@gmail.com>
115
116 * go-gcc.c (class Gcc_tree): Make get_tree const.
117 (Gcc_backend::void_type): Implement.
118 (Gcc_backend::bool_type): Implement.
119 (Gcc_backend::integer_type): Implement.
120 (Gcc_backend::float_type): Implement.
121 (Gcc_backend::complex_type): New function.
122 (Gcc_backend::pointer_type): New function.
123 (Gcc_backend::make_type): New function.
124 (type_to_tree): New function.
125
126 2011-04-21 Ian Lance Taylor <iant@google.com>
127
128 * go-system.h (go_assert, go_unreachable): Define.
129
130 2011-04-19 Ian Lance Taylor <iant@google.com>
131
132 * go-system.h: Include "intl.h".
133 * Make-lang.in (GO_SYSTEM_H): Add intl.h.
134 (go/statements.o): Remove dependencies on intl.h $(TREE_H)
135 $(GIMPLE_H) convert.h tree-iterator.h $(TREE_FLOW_H) $(REAL_H).
136
137 2011-04-19 Ian Lance Taylor <iant@google.com>
138
139 * go-gcc.cc (Gcc_backend::temporary_variable): New function.
140
141 2011-04-19 Ian Lance Taylor <iant@google.com>
142
143 * go-gcc.cc (class Bblock): Define.
144 (Gcc_backend::if_statement): Change then_block and else_block to
145 Bblock*.
146 (Gcc_backend::block): New function.
147 (Gcc_backend::block_add_statements): New function.
148 (Gcc_backend::block_statement): New function.
149 (tree_to_block, block_to_tree): New functions.
150
151 2011-04-18 Ian Lance Taylor <iant@google.com>
152
153 * go-gcc.cc: Include "go-c.h".
154 (class Bvariable): Define.
155 (Gcc_backend::init_statement): New function.
156 (Gcc_backend::global_variable): New function.
157 (Gcc_backend::global_variable_set_init): New function.
158 (Gcc_backend::local_variable): New function.
159 (Gcc_backend::parameter_variable): New function.
160 (tree_to_type, var_to_tree): New functions.
161 * Make-lang.in (go/go-gcc.o): Depend on $(GO_C_H).
162 * (go/gogo-tree.o): Depend on go/gofrontend/backend.h.
163
164 2011-04-15 Ian Lance Taylor <iant@google.com>
165
166 * go-gcc.cc (Gcc_backend::compound_statement): New function.
167 (Gcc_backend::assignment_statement): Use error_statement.
168 (Gcc_backend::return_statement): Likewise.
169 (Gcc_backend::if_statement): Likewise.
170 (Gcc_backend::switch_statement): Likewise.
171 (Gcc_backend::statement_list): Likewise.
172
173 2011-04-14 Ian Lance Taylor <iant@google.com>
174
175 * go-gcc.cc (Backend::error_statement): New function.
176
177 2011-04-13 Ian Lance Taylor <iant@google.com>
178
179 * Make-lang.in (go/gogo-tree.o): depend on $(GO_RUNTIME_H).
180
181 2011-04-13 Ian Lance Taylor <iant@google.com>
182
183 * Make-lang.in (GO_OBJS): Add go/runtime.o.
184 (GO_RUNTIME_H): New variable.
185 (go/runtime.o): New target.
186 (go/gogo.o): Depend on $(GO_RUNTIME_H).
187 (go/statements.o): Likewise.
188
189 2011-04-12 Nathan Froyd <froydnj@codesourcery.com>
190
191 * go-lang.c (union lang_tree_node): Check for TS_COMMON before
192 calling TREE_CHAIN.
193
194 2011-04-06 Ian Lance Taylor <iant@google.com>
195
196 * go-gcc.cc (if_statement): Use build3_loc.
197 (Gcc_backend::switch_statement): New function.
198 (Gcc_backend::statement_list): New function.
199
200 2011-04-06 Ian Lance Taylor <iant@google.com>
201
202 * go-gcc.cc (Gcc_backend::if_statement): New function.
203 (tree_to_stat): New function.
204 (expr_to_tree): Renamed from expression_to_tree.
205 (stat_to_tree): Renamed from statement_to_tree.
206
207 2011-04-06 Ian Lance Taylor <iant@google.com>
208
209 * go-gcc.cc (Gcc_backend::expression_statement): New function.
210
211 2011-04-04 Ian Lance Taylor <iant@google.com>
212
213 * go-gcc.c (class Blabel): Define.
214 (Gcc_backend::make_expression): New function.
215 (get_identifier_from_string): New function.
216 (Gcc_backend::label): New function.
217 (Gcc_backend::label_definition_statement): New function.
218 (Gcc_backend::goto_statement): New function.
219 (Gcc_backend::label_address): New function.
220 (expression_to_tree): New function.
221 * Make-lang.in (go/expressions.o): Depend on
222 go/gofrontend/backend.h.
223 (go/gogo.o): Likewise.
224
225 2011-04-04 Ian Lance Taylor <iant@google.com>
226
227 * go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h".
228 (class Bfunction): Define.
229 (Gcc_backend::assignment_statement): Rename from assignment.
230 Check for errors.
231 (Gcc_backend::return_statement): New function.
232 (tree_to_function): New function.
233 * Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h,
234 $(GIMPLE_H), and $(GO_GOGO_H).
235
236 2011-04-03 Ian Lance Taylor <iant@google.com>
237
238 * go-gcc.cc: New file.
239 * Make-lang.in (GO_OBJS): Add go/go-gcc.o.
240 (go/go-gcc.o): New target.
241 (go/go.o): Depend on go/gofrontend/backend.h.
242 (go/statements.o): Likewise.
243
244 2011-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
245
246 * gccgo.texi (Top, Import and Export): Fix a typo and a markup nit.
247
248 2011-02-08 Ian Lance Taylor <iant@google.com>
249
250 * go-lang.c (go_langhook_init_options_struct): Set
251 frontend_set_flag_errno_math. Don't set x_flag_trapping_math.
252
253 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
254
255 * gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
256 LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
257
258 2011-01-21 Ian Lance Taylor <iant@google.com>
259
260 * go-lang.c (go_langhook_init): Omit float_type_size when calling
261 go_create_gogo.
262 * go-c.h: Update declaration of go_create_gogo.
263
264 2011-01-13 Ian Lance Taylor <iant@google.com>
265
266 * go-backend.c: Include "rtl.h" and "target.h".
267 (go_imported_unsafe): New function.
268 * go-c.h (go_imported_unsafe): Declare.
269 * Make-lang.in (go/go-backend.o): Depend on $(RTL_H).
270 (go/gogo-tree.o): Remove dependency on $(RTL_H).
271 (go/unsafe.o): Depend on $(GO_C_H).
272
273 2010-12-31 Joern Rennecke <amylaar@spamcop.net>
274
275 PR go/47113
276 * go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
277 variable ‘field’ .
278
279 2010-12-21 Ian Lance Taylor <iant@google.com>
280
281 * Make-lang.in (check-go): Remove.
282 (lang_checks_parallelized): Add check-go.
283 (check_go_parallelize): Set.
284
285 2010-12-13 Ian Lance Taylor <iant@google.com>
286
287 * gospec.c (lang_specific_driver): Add a -o option if not linking
288 and there is no -o option already.
289
290 2010-12-07 Ian Lance Taylor <iant@google.com>
291
292 PR tree-optimization/46805
293 PR tree-optimization/46833
294 * go-lang.c (go_langhook_type_for_mode): Handle vector modes.
295
296 2010-12-06 Ian Lance Taylor <iant@google.com>
297
298 PR other/46789
299 PR bootstrap/46812
300 * go-lang.c (go_char_p): Define type and vectors.
301 (go_search_dirs): New static variable.
302 (go_langhook_handle_option): Use version and version/machine
303 directories for -L.
304 (go_langhook_post_options): Add non-specific -L paths.
305 * Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and
306 DEFAULT_TARGET_MACHINE when compiling.
307 * gccgo.texi (Invoking gccgo): Only document -L for linking.
308 (Import and Export): Don't mention -L for finding import files.
309
310 2010-12-03 Ian Lance Taylor <iant@google.com>
311
312 PR bootstrap/46776
313 * go-backend.c: New file.
314 * go-c.h (go_type_alignment): Declare.
315 (go_field_alignment, go_trampoline_info): Declare.
316 * Make-lang.in (GO_OBJS): Add go/go-backend.o.
317 (go/go-backend.o): New target.
318 (go/go-lang.o): Make dependencies match source file.
319 (go/expressions.o): Don't depend on $(TM_H) $(TM_P_H).
320 (go/gogo-tree.o): Don't depend on $(TM_H).
321
322 2010-12-03 Ian Lance Taylor <iant@google.com>
323
324 * config-lang.in (build_by_default): Set to no.
325
326 2010-12-02 Ian Lance Taylor <iant@google.com>
327
328 Go frontend added to gcc repository.