Make-lang.in (gospec.o): Remove.
[gcc.git] / gcc / go / ChangeLog
1 2013-09-25 Tom Tromey <tromey@redhat.com>
2
3 * Make-lang.in (gospec.o): Remove.
4 (CFLAGS-go/gospec.o): New variable.
5 (GCCGO_OBJS): Update to use go/gospec.o.
6 (go_OBJS): Define.
7 (GO_SYSTEM_H, GO_C_H, GO_LINEMAP_H, GO_LEX_H, GO_PARSE_H)
8 (GO_GOGO_H, GO_TYPES_H, GO_STATEMENTS_H, GO_EXPRESSIONS_H)
9 (GO_EXPORT_H, GO_IMPORT_H, GO_RUNTIME_H, GO_AST_DUMP_H)
10 (go/go-backend.o, go/go-lang.o, go/go-gcc.o, go/go-linemap.o)
11 (go/ast-dump.o, go/dataflow.o, go/export.o, go/expressions.o)
12 (go/go.o, go/go-dump.o, go/go-optimize.o, go/gogo-tree.o)
13 (go/gogo.o, go/import.o, go/import-archive.o, go/lex.o)
14 (go/parse.o, go/runtime.o, go/statements.o, go/types.o)
15 (go/unsafe.o): Remove.
16 (CFLAGS-go/go-gcc.o, CFLAGS-go/go-linemap.o): New variables.
17 (go/%.o: go/gofrontend/%.cc): Use COMPILE and POSTCOMPILE.
18
19 2013-09-25 Tom Tromey <tromey@redhat.com>
20
21 * Make-lang.in (gospec.o): Don't use subshell.
22
23 2013-08-28 Ian Lance Taylor <iant@google.com>
24
25 * go-gcc.cc (Gcc_backend::immutable_struct): Set TREE_PUBLIC if
26 the struct is not hidden.
27 (Gcc_backend::immutable_struct_set_init): Don't set TREE_PUBLIC.
28
29 2013-08-06 Ian Lance Taylor <iant@google.com>
30
31 * go-gcc.cc (Gcc_backend::immutable_struct_set_init): Use
32 compute_reloc_for_constant.
33
34 2013-08-02 Ian Lance Taylor <iant@google.com>
35
36 * go-gcc.cc (immutable_struct_set_init): Always call
37 resolve_unique_section.
38
39 2013-07-24 Ian Lance Taylor <iant@google.com>
40
41 * go-gcc.cc (Gcc_backend::non_zero_size_type): If a struct has a
42 fields, recreate those fields with the first one with a non-zero
43 size.
44
45 2013-07-23 Ian Lance Taylor <iant@google.com>
46
47 * go-backend.c: Don't #include "rtl.h".
48 (go_imported_unsafe): Don't call init_varasm_once.
49 * Make-lang.in (go/go-backend.o): Don't depend on $(RTL_H).
50
51 2013-07-23 Ian Lance Taylor <iant@google.com>
52
53 * go-lang.c: Don't #include "except.h".
54 * Make-lang.in (go/go-lang.o): Don't depend on $(EXCEPT_H).
55
56 2013-06-18 Ian Lance Taylor <iant@google.com>
57
58 * go-gcc.cc (Gcc_backend::immutable_struct): Add is_hidden
59 parameter.
60 (Gcc_backend::immutable_struct_set_init): Likewise.
61
62 2013-05-16 Jason Merrill <jason@redhat.com>
63
64 * Make-lang.in (go1$(exeext)): Use link mutex.
65
66 2013-01-16 Shenghou Ma <minux.ma@gmail.com>
67
68 * gospec.c: pass -u pthread_create to linker when static linking.
69
70 2012-12-21 Ian Lance Taylor <iant@google.com>
71
72 PR bootstrap/54659
73 * go-system.h: Don't include <cstdio>.
74
75 2012-12-18 Ian Lance Taylor <iant@google.com>
76
77 PR go/55201
78 * gospec.c: Revert last patch.
79
80 2012-12-18 Andreas Schwab <schwab@linux-m68k.org>
81
82 PR go/55201
83 * gospec.c (LIBATOMIC): Define.
84 (LIBATOMIC_PROFILE): Define.
85 (lang_specific_driver): Add LIBATOMIC[_PROFILE] option.
86
87 2012-11-29 Ian Lance Taylor <iant@google.com>
88
89 * go-gcc.cc: Include "output.h".
90 (global_variable): Add is_unique_section parameter.
91 (global_variable_set_init): Adjust unique section if necessary.
92 * Make-lang.in (go/go-gcc.o): Add dependency on output.h.
93
94 2012-11-17 Diego Novillo <dnovillo@google.com>
95
96 Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)
97
98 * go-lang.c: Use new vec API in vec.h.
99
100 2012-11-16 Ian Lance Taylor <iant@google.com>
101
102 * Make-lang.in (gccgo$(exeext)): Add + at start of command.
103 (go1$(exeext)): Likewise.
104
105 2012-10-30 Ian Lance Taylor <iant@google.com>
106
107 * lang.opt (-fgo-relative-import-path): New option.
108 * go-lang.c (go_relative_import_path): New static variable.
109 (go_langhook_init): Pass go_relative_import_path to
110 go_create_gogo.
111 (go_langhook_handle_option): Handle -fgo-relative-import-path.
112 * go-c.h (go_create_gogo): Update declaration.
113 * gccgo.texi (Invoking gccgo): Document
114 -fgo-relative-import-path.
115
116 2012-09-17 Ian Lance Taylor <iant@google.com>
117
118 * config-lang.in (target_libs): Add target-libbacktrace.
119
120 2012-09-16 Ian Lance Taylor <iant@google.com>
121
122 * Make-lang.in (go/gogo.o): Depend on filenames.h.
123
124 2012-08-14 Diego Novillo <dnovillo@google.com>
125
126 Merge from cxx-conversion branch. Configury.
127
128 * go-c.h: Remove all handlers of ENABLE_BUILD_WITH_CXX.
129 * go-gcc.cc: Likewise.
130 * go-system.h: Likewise.
131
132 2012-07-24 Uros Bizjak <ubizjak@gmail.com>
133
134 * go-lang.c (lang_decl): Add variable_size GTY option.
135
136 2012-05-09 Ian Lance Taylor <iant@google.com>
137
138 * lang.opt: Add -fgo-pkgpath.
139 * go-lang.c (go_pkgpath): New static variable.
140 (go_prefix): New static variable.
141 (go_langhook_init): Pass go_pkgpath and go_prefix to
142 go_create_gogo.
143 (go_langhook_handle_option): Handle -fgo-pkgpath. Change
144 -fgo-prefix handling to just set go_prefix.
145 * go-c.h (go_set_prefix): Don't declare.
146 (go_create_gogo): Add pkgpath and prefix to declaration.
147 * go-gcc.cc (Gcc_backend::global_variable): Change unique_prefix
148 to pkgpath. Don't include the package name in the asm name.
149 * gccgo.texi (Invoking gccgo): Document -fgo-pkgpath. Update the
150 docs for -fgo-prefix.
151
152 2012-04-23 Ian Lance Taylor <iant@google.com>
153
154 * go-lang.c (go_langhook_init): Set MPFR precision to 256.
155
156 2012-04-20 Ian Lance Taylor <iant@google.com>
157
158 * lang.opt: Add -fgo-check-divide-zero and
159 -fgo-check-divide-overflow.
160 * gccgo.texi (Invoking gccgo): Document new options.
161
162 2012-04-18 Steven Bosscher <steven@gcc.gnu.org>
163
164 * go-gcc.cc (Gcc_backend::switch_statement): Build SWITCH_EXPR
165 with NULL_TREE type instead of void_type_node.
166
167 2012-03-09 Ian Lance Taylor <iant@google.com>
168
169 * go-gcc.cc (Gcc_backend::assignment_statement): Convert the rhs
170 to the lhs type if necessary.
171
172 2012-03-08 Ian Lance Taylor <iant@google.com>
173
174 * go-gcc.cc (Gcc_backend::init_statement): Don't initialize a
175 zero-sized variable.
176 (go_non_zero_struct): New global variable.
177 (Gcc_backend::non_zero_size_type): New function.
178 (Gcc_backend::global_variable): Don't build an assignment for a
179 zero-sized value.
180 * go-c.h (go_non_zero_struct): Declare.
181 * config-lang.in (gtfiles): Add go-c.h.
182
183 2012-02-29 Ian Lance Taylor <iant@google.com>
184
185 * go-gcc.cc (class Gcc_tree): Add set_tree method.
186 (set_placeholder_pointer_type): When setting to a pointer to
187 error, set to error_mark_node.
188
189 2012-02-23 Richard Guenther <rguenther@suse.de>
190
191 * go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use
192 build_distinct_type_copy.
193
194 2012-02-17 Ian Lance Taylor <iant@google.com>
195
196 * Make-lang.in (go/import.o): Add dependency on $(GO_LEX_H).
197
198 2012-02-17 Ian Lance Taylor <iant@google.com>
199
200 * gospec.c (lang_specific_driver): If linking, and no -o option
201 was used, add one.
202
203 2012-02-14 Ian Lance Taylor <iant@google.com>
204
205 PR go/48411
206 * Make-lang.in (gccgo-cross$(exeext)): New target.
207 (go.all.cross): Depend on gccgo-cross$(exeext) instead of
208 gccgo$(exeext).
209 (go.install-common): Only install GCCGO_TARGET_INSTALL_NAME if
210 gccgo-cross$(exeext) does not exist.
211
212 2012-02-07 Ian Lance Taylor <iant@google.com>
213
214 * gccgo.texi (Function Names): Document //extern instead of
215 __asm__.
216
217 2012-02-01 Jakub Jelinek <jakub@redhat.com>
218
219 PR target/52079
220 * go-lang.c (go_langhook_type_for_mode): For TImode and 64-bit HWI
221 return build_nonstandard_integer_type result if possible.
222
223 2012-01-21 Ian Lance Taylor <iant@google.com>
224
225 * go-gcc.cc (Gcc_backend::type_size): Check for error_mark_node.
226 (Gcc_backend::type_alignment): Likewise.
227 (Gcc_backend::type_field_alignment): Likewise.
228 (Gcc_backend::type_field_offset): Likewise.
229
230 2012-01-20 Ian Lance Taylor <iant@google.com>
231
232 * go-gcc.cc (Gcc_backend::placeholder_struct_type): Permit name to
233 be empty.
234 (Gcc_backend::set_placeholder_struct_type): Likewise.
235
236 2012-01-17 Ian Lance Taylor <iant@google.com>
237
238 * gospec.c (lang_specific_driver): If we see -S without -o, add -o
239 BASE.s rather than -o BASE.o.
240
241 2012-01-11 Ian Lance Taylor <iant@google.com>
242
243 * go-lang.c (go_langhook_init): Initialize void_list_node before
244 calling go_create_gogo.
245
246 2012-01-10 Ian Lance Taylor <iant@google.com>
247
248 * go-gcc.cc (Gcc_backend::type_size): New function.
249 (Gcc_backend::type_alignment): New function.
250 (Gcc_backend::type_field_alignment): New function.
251 (Gcc_backend::type_field_offset): New function.
252 * go-backend.c (go_type_alignment): Remove.
253 * go-c.h (go_type_alignment): Don't declare.
254
255 2011-12-27 Ian Lance Taylor <iant@google.com>
256
257 * go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Use
258 build_distinct_type_copy rather than build_variant_type_copy.
259 (Gcc_backend::set_placeholder_array_type): Likewise.
260 (Gcc_backend::named_type): Add special handling for builtin
261 basic types.
262
263 2011-12-22 Ian Lance Taylor <iant@google.com>
264
265 * go-gcc.cc (Gcc_backend::set_placeholder_pointer_type): Arrange
266 for the type name to have a DECL_ORIGINAL_TYPE as gcc expects.
267 (Gcc_backend::set_placeholder_struct_type): Likewise.
268 (Gcc_backend::set_placeholder_array_type): Likewise.
269 (Gcc_backend::named_type): Set DECL_ORIGINAL_TYPE.
270
271 2011-12-13 Ian Lance Taylor <iant@google.com>
272
273 * go-backend.c: #include "simple-object.h" and "intl.h".
274 (GO_EXPORT_SEGMENT_NAME): Define if not defined.
275 (GO_EXPORT_SECTION_NAME): Likewise.
276 (go_write_export_data): Use GO_EXPORT_SECTION_NAME.
277 (go_read_export_data): New function.
278 * go-c.h (go_read_export_data): Declare.
279
280 2011-11-29 Sanjoy Das <thedigitalangel@gmail.com>
281 Ian Lance Taylor <iant@google.com>
282
283 * go-location.h: New file.
284 * go-linemap.cc: New file.
285 * go-gcc.cc: Change all uses of source_location to Location.
286 * Make-lang.in (GO_OBJS): Add go/go-linemap.o.
287 (GO_LINEMAP_H): New variable.
288 (GO_LEX_H): Use $(GO_LINEMAP_H).
289 (GO_GOGO_H, GO_TYPES_H, GO_IMPORT_H): Likewise.
290 (go/go-linemap.o): New target.
291
292 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
293
294 * Make-lang.in (gospec.o): Pass SHLIB instead of SHLIB_LINK.
295
296 2011-08-24 Roberto Lublinerman <rluble@gmail.com>
297
298 * lang.opt: Add fgo-optimize-.
299 * go-lang.c (go_langhook_handle_option): Handle OPT_fgo_optimize.
300 * go-c.h (go_enable_optimize): Declare.
301 * Make-lang.in (GO_OBJS): Add go/go-optimize.o.
302 (GO_EXPORT_H): Define.
303 (GO_IMPORT_H): Add $(GO_EXPORT_H).
304 (GO_AST_DUMP_H): Define.
305 (go/ast-dump.o, go/statements.o): Use GO_AST_DUMP_H.
306 (go/export.o, go/gogo.o, go/import.o): Use GO_EXPORT_H.
307 (go/types.o): Likewise.
308 (go/expressions.o): Use GO_AST_DUMP_H and GO_EXPORT_H.
309 (go/go-optimize.o): New target.
310
311 2011-08-24 Joseph Myers <joseph@codesourcery.com>
312
313 * Make-lang.in (CFLAGS-go/go-lang.o): New.
314 (go/go-lang.o): Remove explicit compilation rule.
315
316 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
317
318 * Make-lang.in (gccgo$(exeext)): Add $(EXTRA_GCC_LIBS).
319
320 2011-08-02 Roberto Lublinerman <rluble@gmail.com>
321
322 * Make-lang.in (GO_OBJS): Add go/ast-dump.o.
323 (go/ast-dump.o): New target.
324 (go/expressions.o): Depend on go/gofrontend/ast-dump.h.
325 (go/statements.o): Likewise.
326
327 2011-07-06 Richard Guenther <rguenther@suse.de>
328
329 * go-lang.c (go_langhook_init):
330 Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
331
332 2011-06-14 Joseph Myers <joseph@codesourcery.com>
333
334 * Make-lang.in (go/go-lang.o, go/go-backend.o): Update
335 dependencies.
336 * go-backend.c: Include common/common-target.h.
337 (go_write_export_data): Use targetm_common.have_named_sections.
338 * go-lang.c: Include common/common-target.h.
339 (go_langhook_init_options_struct): Use
340 targetm_common.supports_split_stack.
341
342 2011-06-13 Ian Lance Taylor <iant@google.com>
343
344 * Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H).
345
346 2011-06-10 Ian Lance Taylor <iant@google.com>
347
348 * go-gcc.cc: Include "toplev.h".
349 (Gcc_backend::immutable_struct): New function.
350 (Gcc_backend::immutable_struct_set_init): New function.
351 (Gcc_backend::immutable_struct_reference): New function.
352 * Make-lang.in (go/go-gcc.o): Depend on toplev.h.
353
354 2011-06-09 Ian Lance Taylor <iant@google.com>
355
356 * go-gcc.cc (Gcc_backend::zero_expression): New function.
357
358 2011-06-07 Richard Guenther <rguenther@suse.de>
359
360 * go-lang.c (go_langhook_init): Do not set
361 size_type_node or call set_sizetype.
362
363 2011-05-27 Ian Lance Taylor <iant@google.com>
364
365 * go-backend.c: Include "output.h".
366 (go_write_export_data): New function.
367 * go-c.h (go_write_export_data): Declare.
368 * Make-lang.in (go/go-backend.o): Depend on output.h.
369 (go/export.o): Depend on $(GO_C_H). Do not depend on
370 $(MACHMODE_H), output.h, or $(TARGET_H).
371
372 2011-05-24 Joseph Myers <joseph@codesourcery.com>
373
374 * Make-lang.in (GCCGO_OBJS): Remove prefix.o.
375 (gccgo$(exeext)): Use libcommon-target.a.
376
377 2011-05-20 Joseph Myers <joseph@codesourcery.com>
378
379 * Make-lang.in (GCCGO_OBJS): Remove intl.o and version.o.
380
381 2011-05-13 Ian Lance Taylor <iant@google.com>
382
383 * go-gcc.cc (Gcc_backend::function_type): When building a struct
384 for multiple results, check that all fields types have a size.
385 (Gcc_backend::placeholder_pointer_type): Permit name to be empty.
386
387 2011-05-12 Ian Lance Taylor <iant@google.com>
388
389 * go-gcc.cc (Gcc_backend::local_variable): Add is_address_taken
390 parameter.
391 (Gcc_backend::parameter_variable): Likewise.
392
393 2011-05-07 Eric Botcazou <ebotcazou@adacore.com>
394
395 * go-lang.c (global_bindings_p): Return bool and simplify.
396
397 2011-05-05 Nathan Froyd <froydnj@codesourcery.com>
398
399 * go-gcc.cc (Gcc_backend::switch_statement): Call build_case_label.
400
401 2011-05-04 Ian Lance Taylor <iant@google.com>
402
403 * go-gcc.cc (Gcc_backend::struct_type): Call fill_in_struct.
404 (Gcc_backend::fill_in_struct): New function.
405 (Gcc_backend::array_type): Implement.
406 (Gcc_backend::fill_in_array): New function.
407 (Gcc_backend::placeholder_pointer_type): New function.
408 (Gcc_backend::set_placeholder_pointer_type): New function.
409 (Gcc_backend::set_placeholder_function_type): New function.
410 (Gcc_backend::placeholder_struct_type): New function.
411 (Gcc_backend::set_placeholder_struct_type): New function.
412 (Gcc_backend::placeholder_array_type): New function.
413 (Gcc_backend::set_placeholder_array_type): New function.
414 (Gcc_backend::named_type): New function.
415 (Gcc_backend::circular_pointer_type): New function.
416 (Gcc_backend::is_circular_pointer_type): New function.
417
418 2011-04-26 Ian Lance Taylor <iant@google.com>
419
420 * go-gcc.cc (Gcc_backend::struct_type): Implement.
421
422 2011-04-25 Ian Lance Taylor <iant@google.com>
423
424 * go-gcc.cc (Gcc_backend::error_type): Implement.
425 (Gcc_backend::string_type): Remove.
426 (Gcc_backend::function_type): Change signature and implement.
427 (Gcc_backend::struct_type): Change signature.
428 (Gcc_backend::slice_type, Gcc_backend::map_type): Remove.
429 (Gcc_backend::channel_type, Gcc_backend::interface_type): Remove.
430 (Gcc_backend::pointer_type): Check for error.
431 * Make-lang.in (go/types.o): Depend on go/gofrontend/backend.h.
432
433 2011-04-25 Evan Shaw <edsrzf@gmail.com>
434
435 * go-gcc.c (class Gcc_tree): Make get_tree const.
436 (Gcc_backend::void_type): Implement.
437 (Gcc_backend::bool_type): Implement.
438 (Gcc_backend::integer_type): Implement.
439 (Gcc_backend::float_type): Implement.
440 (Gcc_backend::complex_type): New function.
441 (Gcc_backend::pointer_type): New function.
442 (Gcc_backend::make_type): New function.
443 (type_to_tree): New function.
444
445 2011-04-21 Ian Lance Taylor <iant@google.com>
446
447 * go-system.h (go_assert, go_unreachable): Define.
448
449 2011-04-19 Ian Lance Taylor <iant@google.com>
450
451 * go-system.h: Include "intl.h".
452 * Make-lang.in (GO_SYSTEM_H): Add intl.h.
453 (go/statements.o): Remove dependencies on intl.h $(TREE_H)
454 $(GIMPLE_H) convert.h tree-iterator.h $(TREE_FLOW_H) $(REAL_H).
455
456 2011-04-19 Ian Lance Taylor <iant@google.com>
457
458 * go-gcc.cc (Gcc_backend::temporary_variable): New function.
459
460 2011-04-19 Ian Lance Taylor <iant@google.com>
461
462 * go-gcc.cc (class Bblock): Define.
463 (Gcc_backend::if_statement): Change then_block and else_block to
464 Bblock*.
465 (Gcc_backend::block): New function.
466 (Gcc_backend::block_add_statements): New function.
467 (Gcc_backend::block_statement): New function.
468 (tree_to_block, block_to_tree): New functions.
469
470 2011-04-18 Ian Lance Taylor <iant@google.com>
471
472 * go-gcc.cc: Include "go-c.h".
473 (class Bvariable): Define.
474 (Gcc_backend::init_statement): New function.
475 (Gcc_backend::global_variable): New function.
476 (Gcc_backend::global_variable_set_init): New function.
477 (Gcc_backend::local_variable): New function.
478 (Gcc_backend::parameter_variable): New function.
479 (tree_to_type, var_to_tree): New functions.
480 * Make-lang.in (go/go-gcc.o): Depend on $(GO_C_H).
481 * (go/gogo-tree.o): Depend on go/gofrontend/backend.h.
482
483 2011-04-15 Ian Lance Taylor <iant@google.com>
484
485 * go-gcc.cc (Gcc_backend::compound_statement): New function.
486 (Gcc_backend::assignment_statement): Use error_statement.
487 (Gcc_backend::return_statement): Likewise.
488 (Gcc_backend::if_statement): Likewise.
489 (Gcc_backend::switch_statement): Likewise.
490 (Gcc_backend::statement_list): Likewise.
491
492 2011-04-14 Ian Lance Taylor <iant@google.com>
493
494 * go-gcc.cc (Backend::error_statement): New function.
495
496 2011-04-13 Ian Lance Taylor <iant@google.com>
497
498 * Make-lang.in (go/gogo-tree.o): depend on $(GO_RUNTIME_H).
499
500 2011-04-13 Ian Lance Taylor <iant@google.com>
501
502 * Make-lang.in (GO_OBJS): Add go/runtime.o.
503 (GO_RUNTIME_H): New variable.
504 (go/runtime.o): New target.
505 (go/gogo.o): Depend on $(GO_RUNTIME_H).
506 (go/statements.o): Likewise.
507
508 2011-04-12 Nathan Froyd <froydnj@codesourcery.com>
509
510 * go-lang.c (union lang_tree_node): Check for TS_COMMON before
511 calling TREE_CHAIN.
512
513 2011-04-06 Ian Lance Taylor <iant@google.com>
514
515 * go-gcc.cc (if_statement): Use build3_loc.
516 (Gcc_backend::switch_statement): New function.
517 (Gcc_backend::statement_list): New function.
518
519 2011-04-06 Ian Lance Taylor <iant@google.com>
520
521 * go-gcc.cc (Gcc_backend::if_statement): New function.
522 (tree_to_stat): New function.
523 (expr_to_tree): Renamed from expression_to_tree.
524 (stat_to_tree): Renamed from statement_to_tree.
525
526 2011-04-06 Ian Lance Taylor <iant@google.com>
527
528 * go-gcc.cc (Gcc_backend::expression_statement): New function.
529
530 2011-04-04 Ian Lance Taylor <iant@google.com>
531
532 * go-gcc.c (class Blabel): Define.
533 (Gcc_backend::make_expression): New function.
534 (get_identifier_from_string): New function.
535 (Gcc_backend::label): New function.
536 (Gcc_backend::label_definition_statement): New function.
537 (Gcc_backend::goto_statement): New function.
538 (Gcc_backend::label_address): New function.
539 (expression_to_tree): New function.
540 * Make-lang.in (go/expressions.o): Depend on
541 go/gofrontend/backend.h.
542 (go/gogo.o): Likewise.
543
544 2011-04-04 Ian Lance Taylor <iant@google.com>
545
546 * go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h".
547 (class Bfunction): Define.
548 (Gcc_backend::assignment_statement): Rename from assignment.
549 Check for errors.
550 (Gcc_backend::return_statement): New function.
551 (tree_to_function): New function.
552 * Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h,
553 $(GIMPLE_H), and $(GO_GOGO_H).
554
555 2011-04-03 Ian Lance Taylor <iant@google.com>
556
557 * go-gcc.cc: New file.
558 * Make-lang.in (GO_OBJS): Add go/go-gcc.o.
559 (go/go-gcc.o): New target.
560 (go/go.o): Depend on go/gofrontend/backend.h.
561 (go/statements.o): Likewise.
562
563 2011-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
564
565 * gccgo.texi (Top, Import and Export): Fix a typo and a markup nit.
566
567 2011-02-08 Ian Lance Taylor <iant@google.com>
568
569 * go-lang.c (go_langhook_init_options_struct): Set
570 frontend_set_flag_errno_math. Don't set x_flag_trapping_math.
571
572 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
573
574 * gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
575 LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
576
577 2011-01-21 Ian Lance Taylor <iant@google.com>
578
579 * go-lang.c (go_langhook_init): Omit float_type_size when calling
580 go_create_gogo.
581 * go-c.h: Update declaration of go_create_gogo.
582
583 2011-01-13 Ian Lance Taylor <iant@google.com>
584
585 * go-backend.c: Include "rtl.h" and "target.h".
586 (go_imported_unsafe): New function.
587 * go-c.h (go_imported_unsafe): Declare.
588 * Make-lang.in (go/go-backend.o): Depend on $(RTL_H).
589 (go/gogo-tree.o): Remove dependency on $(RTL_H).
590 (go/unsafe.o): Depend on $(GO_C_H).
591
592 2010-12-31 Joern Rennecke <amylaar@spamcop.net>
593
594 PR go/47113
595 * go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
596 variable ‘field’ .
597
598 2010-12-21 Ian Lance Taylor <iant@google.com>
599
600 * Make-lang.in (check-go): Remove.
601 (lang_checks_parallelized): Add check-go.
602 (check_go_parallelize): Set.
603
604 2010-12-13 Ian Lance Taylor <iant@google.com>
605
606 * gospec.c (lang_specific_driver): Add a -o option if not linking
607 and there is no -o option already.
608
609 2010-12-07 Ian Lance Taylor <iant@google.com>
610
611 PR tree-optimization/46805
612 PR tree-optimization/46833
613 * go-lang.c (go_langhook_type_for_mode): Handle vector modes.
614
615 2010-12-06 Ian Lance Taylor <iant@google.com>
616
617 PR other/46789
618 PR bootstrap/46812
619 * go-lang.c (go_char_p): Define type and vectors.
620 (go_search_dirs): New static variable.
621 (go_langhook_handle_option): Use version and version/machine
622 directories for -L.
623 (go_langhook_post_options): Add non-specific -L paths.
624 * Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and
625 DEFAULT_TARGET_MACHINE when compiling.
626 * gccgo.texi (Invoking gccgo): Only document -L for linking.
627 (Import and Export): Don't mention -L for finding import files.
628
629 2010-12-03 Ian Lance Taylor <iant@google.com>
630
631 PR bootstrap/46776
632 * go-backend.c: New file.
633 * go-c.h (go_type_alignment): Declare.
634 (go_field_alignment, go_trampoline_info): Declare.
635 * Make-lang.in (GO_OBJS): Add go/go-backend.o.
636 (go/go-backend.o): New target.
637 (go/go-lang.o): Make dependencies match source file.
638 (go/expressions.o): Don't depend on $(TM_H) $(TM_P_H).
639 (go/gogo-tree.o): Don't depend on $(TM_H).
640
641 2010-12-03 Ian Lance Taylor <iant@google.com>
642
643 * config-lang.in (build_by_default): Set to no.
644
645 2010-12-02 Ian Lance Taylor <iant@google.com>
646
647 Go frontend added to gcc repository.