Update ChangeLog and version files for release
[official-gcc.git] / gcc / go / ChangeLog
blobecc73a4ce1264e173defca718f59267af3345c84
1 2017-07-04  Release Manager
3         * GCC 6.4.0 released.
5 2017-05-11  Ian Lance Taylor  <iant@google.com>
7         PR go/64238
8         * go-gcc.cc (Gcc_backend::implicit_variable_reference): Set
9         DECL_EXTERNAL, clear TREE_STATIC.
11 2016-12-21  Release Manager
13         * GCC 6.3.0 released.
15 2016-08-22  Release Manager
17         * GCC 6.2.0 released.
19 2016-04-27  Release Manager
21         * GCC 6.1.0 released.
23 2016-02-12  Jakub Jelinek  <jakub@redhat.com>
25         * gofrontend/lex.cc: Spelling fixes - behaviour -> behavior and
26         neighbour -> neighbor.
27         * gccgo.texi: Likewise.
29 2016-01-27  Ian Lance Taylor  <iant@google.com>
31         * go-lang.c (go_langhook_init_options_struct): Default to
32         -fkeep-gc-roots-live.
34 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
36         Update copyright years.
38         * gccgo.texi: Bump @copyrights-go year.
40 2015-12-21  Ian Lance Taylor  <iant@google.com>
42         * go-gcc.cc (class Bvariable): Remove Gcc_tree parent class.  Add
43         t_ and orig_type_ fields.  Add new two parameter constructor.  Add
44         get_tree and get_decl methods.
45         (Gcc_backend::var_expression): Pass location to var get_tree.
46         (Gcc_backend::global_variable): Don't add VIEW_CONVERT_EXPR.  Use
47         two parameter constructor for Bvariable.
48         (Gcc_backend::global_variable_set_init): Don't remove
49         VIEW_CONVERT_EXPR.  Use var get_decl, not get_tree.
50         (Gcc_backend::write_global_definitions): Likewise.
51         (Gcc_backend::init_statement): Call var get_decl, not get_tree.
52         (Gcc_backend::block): Likewise.
53         (Gcc_backend::implicit_variable_set_init): Likewise.
54         (Gcc_backend::immutable_struct_set_init): Likewise.
55         (Gcc_backend::function_set_parameters): Likewise.
57 2015-12-21  Ian Lance Taylor  <iant@google.com>
59         * go-gcc.cc (Gcc_backend::global_variable): If type is zero-sized,
60         add a VIEW_CONVERT_EXPR to the tree.
61         (Gcc_backend::global_variable_set_init): Remove any
62         VIEW_CONVERT_EXPR.
63         (Gcc_backend::write_global_definitions): Likewise.
65 2015-11-30  Ian Lance Taylor  <iant@google.com>
67         PR go/68477
68         * go-gcc.cc (Gcc_backend::string_constant_expression): Don't set
69         TYPE_STRING_FLAG on a variant type.
71 2015-11-11  Andrew MacLeod  <amacleod@redhat.com>
73         * go-backend.c: Remove unused header files.
74         * go-gcc.cc: Likewise.
75         * go-lang.c: Likewise.
76         * gospec.c: Likewise.
78 2015-10-29  Andrew MacLeod  <amacleod@redhat.com>
80         * go-backend.c: Reorder #include's and remove duplicates.
81         * go-lang.c: Likewise.
83 2015-10-20  Alan Modra  <amodra@gmail.com>
85         PR go/66870
86         * gospec.c (saw_opt_m32): Rename to..
87         (is_m64): ..this, initialised by TARGET_CAN_SPLIT_STACK_64BIT.
88         Update uses.
89         (lang_specific_driver): Set is_m64 if OPT_m64, clear if OPT_m32.
91 2015-10-01  Ian Lance Taylor  <iant@google.com>
93         PR go/66870
94         * gospec.c (lang_specific_driver): Only look for OPT_m32 if
95         TARGET_CAN_SPLIT_STACK_64BIT is defined.
97 2015-10-01  Lynn Boger  <laboger@linux.vnet.ibm.com>
99         PR target/66870
100         * gospec.c (lang_specific_driver): Set appropriate split stack
101         options for 64 bit compiles based on TARGET_CAN_SPLIT_STACK_64BIT.
103 2015-09-10  Chris Manghane  <cmang@google.com>
105         * go-gcc.cc (Gcc_backend::type_size): Return -1 for
106         unrepresentable size.
108 2015-08-24  Marek Polacek  <polacek@redhat.com>
110         PR tree-optimization/67284
111         * go-gcc.cc (Gcc_backend::define_builtin): Add NORETURN_P parameter.
112         Set TREE_THIS_VOLATILE.
113         (Gcc_backend::Gcc_backend): Mark __builtin_trap as a noreturn call.
114         Pass false to the rest of define_builtin calls.
116 2015-07-31  Andreas Schwab  <schwab@linux-m68k.org>
118         * go-lang.c (go_langhook_init_options_struct): Don't set
119         x_flag_split_stack.
120         (go_langhook_post_options): Set it here instead.
122 2015-07-12  Aldy Hernandez  <aldyh@redhat.com>
124         * gofrontend/backend.h: Fix double word typos.
125         * gofrontend/expressions.cc: Same.
126         * gospec.c: Same.
128 2015-07-07  Andrew MacLeod  <amacleod@redhat.com>
130         * go-backend.c: Adjust includes.
131         * go-gcc.cc: Likewise.
132         * go-lang.c: Likewise.
134 2015-06-25  Andrew MacLeod  <amacleod@redhat.com>
136         * go-gcc.cc: Remove ipa-ref.h and plugin-api.h from include list.
138 2015-06-17  Andrew MacLeod  <amacleod@redhat.com>
140         * go-backend.c: Do not include input.h, line-map.h or is-a.h.
141         * go-gcc.cc: Likewise.
142         * go-lang.c: Likewise.
143         * go-system.h: Likewise.
145 2015-06-08  Andrew MacLeod  <amacleod@redhat.com>
147         * go-backend.c : Adjust include files.
148         * go-gcc.cc : Likewise.
149         * go-lang.c : Likewise.
151 2015-06-05  Aldy Hernandez  <aldyh@redhat.com>
153         * go-gcc.cc (write_global_definitions): Remove call to
154         finalize_compilation_unit.
155         Remove Go specific debug generation.
156         * go-lang.c (go_langhook_parse_file): Call go_write_globals.
157         (go_langhook_write_globals): Remove.
158         Remove LANG_HOOKS_WRITE_GLOBALS everywhere.
160 2015-06-04  Andrew MacLeod  <amacleod@redhat.com>
162         * go-backend.c: Adjust includes for restructured coretypes.h.
163         * go-c.h: Likewise.
164         * go-gcc.cc: Likewise.
165         * go-lang.c: Likewise.
167 2015-04-30  Chris Manghane  <cmang@google.com>
169         * go-gcc.cc (Gcc_backend::stack_allocation_expression): New
170         method.
172 2015-04-27  Jim Wilson  <jim.wilson@linaro.org>
174         * Make-lang.in (go.mostlyclean): Remove gccgo, gccgo-cross, and go1.
176 2015-04-17  Chris Manghane  <cmang@google.com>
178         * Make-lang.in (GO_OBJS): Add go/escape.o.
180 2015-02-02  Ian Lance Taylor  <iant@google.com>
182         PR go/64836
183         PR go/64838
184         * go-gcc.cc (Gcc_backend::type_size): Change return type to
185         int64_t.
186         (Gcc_backend::type_alignment): Likewise.
187         (Gcc_backend::type_field_alignment): Likewise.
188         (Gcc_backend::type_field_offset): Likewise.
189         (Gcc_backend::implicit_variable): Change alignment parameter type
190         to int64_t.
192 2015-01-23  Ian Lance Taylor  <iant@google.com>
194         PR go/63565
195         * gccgo.texi (Invoking gccgo): Mention that Go programs should not
196         be stripped.
198         * gccgo.texi (C Interoperability): Mention that people should use
199         cgo.
201 2015-01-23  Ian Lance Taylor  <iant@google.com>
203         PR go/64595
204         * go-lang.c (go_langhook_init_options_struct): Set default
205         debug_info_level.
206         (go_langhook_post_options): If debug_info_level is still the
207         default, make sure write_symbols is set.
208         * gccgo.texi (Invoking gccgo): Document that -g1 is the default.
210 2015-01-16  Richard Henderson  <rth@redhat.com>
212         * go-gcc.cc (Gcc_backend::call_expression): Add chain_expr argument.
213         (Gcc_backend::static_chain_variable): New method.
215 2015-01-09  Ian Lance Taylor  <iant@google.com>
217         * config-lang.in (lang_dirs): Define.
219 2015-01-09  Michael Collison  <michael.collison@linaro.org>
221         * go-gcc.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
222         input.h, alias.h, symtab.h, options.h, fold-const.h,
223         wide-int.h, and inchash.h due to flattening of tree.h.
224         * go-lang.c: Ditto.
225         * go-backend.c: Ditto.
227 2015-01-07  Chris Manghane  <cmang@google.com>
229         PR go/61204
230         * go-gcc.cc (Gcc_backend::temporary_variable): Don't initialize
231         zero-sized variable.
233 2015-01-06  Chris Manghane  <cmang@google.com>
235         * go-gcc.cc (Gcc_backend::constructor_expression): Don't
236         initialize zero-sized fields, just evaluate the values for side
237         effects.
239 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
241         Update copyright years.
243         * gccgo.texi: Bump @copyrights-go year.
245 2014-12-19  Chris Manghane  <cmang@google.com>
247         * go-gcc.cc (Gcc_backend::array_constructor_expression): Don't
248         construct arrays of zero-sized values.
250 2014-10-29  Richard Sandiford  <richard.sandiford@arm.com>
252         * go-lang.c: Remove redundant enum from machine_mode.
254 2014-10-28  Andrew MacLeod  <amacleod@redhat.com>
256         * go-gcc.cc: Adjust include files.
258 2014-10-27  Andrew MacLeod  <amacleod@redhat.com>
260         * go-gcc.cc: Adjust include files.
261         * go-lang.c: Ditto.
263 2014-10-23  Ian Lance Taylor  <iant@google.com>
265         * go-gcc.cc (Gcc_backend::complex_constant_expression): Take one
266         mpc_t parameter instead of two mpfr_t parameters.
268 2014-09-15  Jakub Jelinek  <jakub@redhat.com>
270         * Make-lang.in (check_go_parallelize): Change to just an upper bound
271         number.
273 2014-09-03  Chris Manghane  <cmang@google.com>
275         * go-gcc.cc (Gcc_backend::implicit_variable): Remove init
276         parameter.  Add is_hidden parameter.
277         (Gcc_backend::implicit_variable_set_init): New method.
278         (Gcc_backend::implicit_variable_reference): New method.
280 2014-08-08  Ian Lance Taylor  <iant@google.com>
282         * go-gcc.cc (Gcc_backend::compound_statement): Don't return
283         NULL_TREE.
285 2014-07-24  Uros Bizjak  <ubizjak@gmail.com>
287         * go-gcc.cc (Gcc_backend::global_variable_set_init): Rename
288         symtab_get_node to symtab_node::get.
290 2014-06-13  Ian Lance Taylor  <iant@google.com>
292         PR go/61496
293         * gospec.c (lang_specific_driver): On Solaris, when not using GNU
294         ld, add -t option to avoid warning about common symbol changing
295         size.
297 2014-06-10  Jan Hubicka  <hubicka@ucw.cz>
299         * go-gcc.cc (Gcc_backend::global_variable_set_init): Use
300         symtab_get_node(var_decl)->implicit_section.
302 2014-06-07  Jan Hubicka  <hubicka@ucw.cz>
304         * go-gcc.cc (global_variable_set_init): Use
305         set_decl_section_name.
307 2014-06-04  Ian Lance Taylor  <iant@google.com>
309         * go-gcc.cc (Gcc_backend::implicit_variable): Add is_common and
310         alignment parameters.  Permit init parameter to be NULL.
312 2014-06-02  Andrew MacLeod  <amacleod@redhat.com>
314         * go-gcc.cc: Include builtins.h.
316 2014-05-17  Trevor Saunders  <tsaunders@mozilla.com>
318         * go-lang.c (struct GTY): Don't use variable_size gty attribute.
320 2014-05-06  Chris Manghane  <cmang@google.com>
322         * go-gcc.cc (Gcc_backend::nil_pointer_expression): New method.
323         (Gcc_backend::boolean_constant_expression): New method.
324         (Gcc_backend::zero_expression): Use this->make_expression rather
325         than tree_to_expr.
326         (Gcc_backend::var_expression): Likewise.
327         (Gcc_backend::integer_constant_expression): Likewise.
328         (Gcc_backend::float_constant_expression): Likewise.
329         (Gcc_backend::complex_constant_expression): Likewise.
330         (Gcc_backend::struct_field_expression): Likewise.
331         (tree_to_type, tree_to_expr, tree_to_stat): Remove functions.
332         (tree_to_function, tree_to_block): Remove functions.
333         (type_to_tree, expr_to_tree, stat_to_tree): Remove functions.
334         (block_to_tree, var_to_tree, function_to_tree): Remove functions.
336 2014-05-06  Kenneth Zadeck  <zadeck@naturalbridge.com>
337             Mike Stump  <mikestump@comcast.net>
338             Richard Sandiford  <rdsandiford@googlemail.com>
340         * go-gcc.cc (Gcc_backend::type_size): Use tree_fits_uhwi_p.
342 2014-05-06  Chris Manghane  <cmang@google.com>
344         * go-c.h (go_create_gogo): Update declaration to add
345         check_divide_zero and check_divide_overflow parameters.
346         * go-lang.c (go_langhook_init): Pass new arguments to
347         go_create_gogo.
349 2014-05-05  Chris Manghane  <cmang@google.com>
351         * go-gcc.cc (Gcc_backend::implicit_variable): Rename from
352         gc_root_variable.  Add name and is_constant parameters.
354 2014-05-05  Chris Manghane  <cmang@google.com>
356         * go-gcc.cc (Gcc_backend::indirect_expression): Add btype
357         parameter.
358         (Gcc_backend::temporary_variable): Check for erroneous function.
360 2014-04-30  Chris Manghane  <cmang@google.com>
362         * go-backend.c: #include "diagnostics.h".
363         (saw_errors): New function.
364         * go-c.h (saw_errors): Declare.
365         * Make-lang.in (GO_OBJS): Remove go/gogo-tree.o.
367 2014-04-30  Chris Manghane  <cmang@google.com>
369         * go-lang.c (go_langhook_type_for_size): Do it here, rather than
370         calling into Go frontend.
371         (go_langhook_type_for_mode): Likewise.
372         * go-c.h (go_type_for_size, go_type_for_mode): Don't declare.
374 2014-04-30  Chris Manghane  <cmang@google.com>
376         * go-gcc.cc: #include "langhooks.h".
377         (Gcc_backend::Gcc_backend): Add constructor.
378         (Gcc_backend::lookup_function): New function.
379         (Gcc_backend::define_builtin): New private function.
380         (Gcc_backend::gcc_backend): Remove.
381         (go_get_backend): Use new to create new Gcc_backend.
383 2014-04-25  Chris Manghane  <cmang@google.com>
385         * go-gcc.cc: Include "cgraph.h" and "gimplify.h".
386         (Gcc_backend::return_statement): Push and pop function.
387         (Gcc_backend::label): Likewise.
388         (Gcc_backend::function_defer_statement): Likewise.
389         (Gcc_backend::switch_statement): Add function parameter.
390         (Gcc_backend::block): Don't permit function to be NULL.
391         (Gcc_backend::temporary_variable): Change go_assert to
392         gcc_assert.
393         (Gcc_backend::gc_root_variable): New function.
394         (Gcc_backend::write_global_definitions): New function.
396 2014-04-22  Chris Manghane  <cmang@google.com>
398         * go-gcc.cc (Gcc_backend::temporary_variable): Push cfun around
399         call to create_tmp_var.  Require that function be non-NULL.
401 2014-04-17  Chris Manghane  <cmang@google.com>
403         * go-gcc.cc (Gcc_backend::named_constant_expression): New
404         function.
406 2014-04-14  Chris Manghane  <cmang@google.com>
408         * go-gcc.cc: Include "convert.h".
409         (Gcc_backend::string_constant_expression): New function.
410         (Gcc_backend::real_part_expression): Likewise.
411         (Gcc_backend::imag_part_expression): Likewise.
412         (Gcc_backend::complex_expression): Likewise.
413         (Gcc_backend::constructor_expression): Likewise.
414         (Gcc_backend::array_constructor_expression): Likewise.
415         (Gcc_backend::pointer_offset_expression): Likewise.
416         (Gcc_backend::array_index_expression): Likewise.
417         (Gcc_backend::call_expression): Likewise.
418         (Gcc_backend::exception_handler_statement): Likewise.
419         (Gcc_backend::function_defer_statement): Likewise.
420         (Gcc_backend::function_set_parameters): Likewise.
421         (Gcc_backend::function_set_body): Likewise.
422         (Gcc_backend::convert_expression): Handle various type
423         conversions.
425 2014-03-03  Ian Lance Taylor  <iant@google.com>
427         * go-gcc.cc (Gcc_backend::immutable_struct): If IS_COMMON, set
428         DECL_WEAK.
429         (GCC_backend::immutable_struct_set_init): If IS_COMMON, clear
430         DECL_WEAK.
432 2014-01-24  Chris Manghane  <cmang@google.com>
434         * go-gcc.cc (Gcc_backend::unary_expression): New function.
436 2014-01-16  Chris Manghane  <cmang@google.com>
438         * go-gcc.cc (Gcc_backend::conditional_expression): Add btype
439         parameter.
440         (operator_to_tree_code): New static function.
441         (Gcc_backend::binary_expression): New function.
443 2014-01-14  Chris Manghane  <cmang@google.com>
445         * go-gcc.cc (Gcc_backend::compound_expression): New function.
446         (Gcc_backend::conditional_expression): New function.
448 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
450         Update copyright years
452 2014-01-02  Tobias Burnus  <burnus@net-b.de>
454         * gccgo.texi: Bump @copying's copyright year.
456 2013-12-16  Chris Manghane  <cmang@google.com>
458         * go-gcc.cc (Gcc_backend::struct_field_expression): New function.
460 2013-12-11  Ian Lance Taylor  <iant@google.com>
462         * go-lang.c (go_langhook_post_options): Disable sibling calls by
463         default.
465 2013-12-10  Ian Lance Taylor  <iant@google.com>
467         * Make-lang.in (check_go_parallelize): Test go-test.exp r* tests
468         separately.
470 2013-12-05  Ian Lance Taylor  <iant@google.com>
472         Revert this change; no longer required.
473         2013-11-06  Ian Lance Taylor  <iant@google.com>
475         * go-lang.c (go_langhook_post_options): If
476         -fisolate-erroneous-paths was turned on by an optimization option,
477         turn it off.
479 2013-11-23  Ian Lance Taylor  <iant@google.com>
481         * go-gcc.cc (Gcc_backend::function_type): Add result_struct
482         parameter.
484 2013-11-22  Andrew MacLeod  <amacleod@redhat.com>
486         * go-gcc.cc: Add required include files from gimple.h.
487         * go-lang.c: Likewise
489 2013-11-18  Richard Sandiford  <rdsandiford@googlemail.com>
491         * gofrontend/expressions.cc: Replace tree_low_cst (..., 0) with
492         tree_to_shwi throughout.
494 2013-11-18  Richard Sandiford  <rdsandiford@googlemail.com>
496         * gofrontend/expressions.cc: Replace host_integerp (..., 0) with
497         tree_fits_shwi_p throughout.
499 2013-11-14  Andrew MacLeod  <amacleod@redhat.com>
501         * go-lang.c: Include only gimplify.h and gimple.h as needed.
503 2013-11-14  Diego Novillo  <dnovillo@google.com>
505         * go-backend.c: Include stor-layout.h.
506         * go-gcc.cc: Include stringpool.h.
507         Include stor-layout.h.
508         Include varasm.h.
509         * go-lang.c: Include stor-layout.h.
511 2013-11-12  Andrew MacLeod  <amacleod@redhat.com>
513         * go-lang.c: Include gimplify.h.
515 2013-11-06  Ian Lance Taylor  <iant@google.com>
517         * go-lang.c (go_langhook_post_options): If
518         -fisolate-erroneous-paths was turned on by an optimization option,
519         turn it off.
521 2013-10-14  Chris Manghane  <cmang@google.com>
523         * go-gcc.cc (Gcc_backend::address_expression): New function.
525 2013-10-11  Chris Manghane  <cmang@google.com>
527         * go-gcc.cc (Gcc_backend::function_code_expression): New
528         function.
530 2013-10-10  Chris Manghane  <cmang@google.com>
532         * go-gcc.cc (Gcc_backend::error_function): New function.
533         (Gcc_backend::function): New function.
534         (Gcc_backend::make_function): New function.
535         (function_to_tree): New function.
537 2013-10-04  Chris Manghane  <cmang@google.com>
539         * go-gcc.cc (Gcc_backend::convert_expression): New function.
541 2013-10-02  Chris Manghane  <cmang@google.com>
543         * go-gcc.cc: Include "real.h" and "realmpfr.h".
544         (Gcc_backend::integer_constant_expression): New function.
545         (Gcc_backend::float_constant_expression): New function.
546         (Gcc_backend::complex_constant_expression): New function.
548 2013-09-30  Chris Manghane  <cmang@google.com>
550         * go-gcc.cc (Gcc_backend::error_expression): New function.
551         (Gcc_backend::var_expression): New function.
552         (Gcc_backend::indirect_expression): New function.
554 2013-09-25  Tom Tromey  <tromey@redhat.com>
556         * Make-lang.in (gospec.o): Remove.
557         (CFLAGS-go/gospec.o): New variable.
558         (GCCGO_OBJS): Update to use go/gospec.o.
559         (go_OBJS): Define.
560         (GO_SYSTEM_H, GO_C_H, GO_LINEMAP_H, GO_LEX_H, GO_PARSE_H)
561         (GO_GOGO_H, GO_TYPES_H, GO_STATEMENTS_H, GO_EXPRESSIONS_H)
562         (GO_EXPORT_H, GO_IMPORT_H, GO_RUNTIME_H, GO_AST_DUMP_H)
563         (go/go-backend.o, go/go-lang.o, go/go-gcc.o, go/go-linemap.o)
564         (go/ast-dump.o, go/dataflow.o, go/export.o, go/expressions.o)
565         (go/go.o, go/go-dump.o, go/go-optimize.o, go/gogo-tree.o)
566         (go/gogo.o, go/import.o, go/import-archive.o, go/lex.o)
567         (go/parse.o, go/runtime.o, go/statements.o, go/types.o)
568         (go/unsafe.o): Remove.
569         (CFLAGS-go/go-gcc.o, CFLAGS-go/go-linemap.o): New variables.
570         (go/%.o: go/gofrontend/%.cc): Use COMPILE and POSTCOMPILE.
572 2013-09-25  Tom Tromey  <tromey@redhat.com>
574         * Make-lang.in (gospec.o): Don't use subshell.
576 2013-08-28  Ian Lance Taylor  <iant@google.com>
578         * go-gcc.cc (Gcc_backend::immutable_struct): Set TREE_PUBLIC if
579         the struct is not hidden.
580         (Gcc_backend::immutable_struct_set_init): Don't set TREE_PUBLIC.
582 2013-08-06  Ian Lance Taylor  <iant@google.com>
584         * go-gcc.cc (Gcc_backend::immutable_struct_set_init): Use
585         compute_reloc_for_constant.
587 2013-08-02  Ian Lance Taylor  <iant@google.com>
589         * go-gcc.cc (immutable_struct_set_init): Always call
590         resolve_unique_section.
592 2013-07-24  Ian Lance Taylor  <iant@google.com>
594         * go-gcc.cc (Gcc_backend::non_zero_size_type): If a struct has a
595         fields, recreate those fields with the first one with a non-zero
596         size.
598 2013-07-23  Ian Lance Taylor  <iant@google.com>
600         * go-backend.c: Don't #include "rtl.h".
601         (go_imported_unsafe): Don't call init_varasm_once.
602         * Make-lang.in (go/go-backend.o): Don't depend on $(RTL_H).
604 2013-07-23  Ian Lance Taylor  <iant@google.com>
606         * go-lang.c: Don't #include "except.h".
607         * Make-lang.in (go/go-lang.o): Don't depend on $(EXCEPT_H).
609 2013-06-18  Ian Lance Taylor  <iant@google.com>
611         * go-gcc.cc (Gcc_backend::immutable_struct): Add is_hidden
612         parameter.
613         (Gcc_backend::immutable_struct_set_init): Likewise.
615 2013-05-16  Jason Merrill  <jason@redhat.com>
617         * Make-lang.in (go1$(exeext)): Use link mutex.
619 2013-01-16  Shenghou Ma  <minux.ma@gmail.com>
621         * gospec.c: pass -u pthread_create to linker when static linking.
623 2012-12-21  Ian Lance Taylor  <iant@google.com>
625         PR bootstrap/54659
626         * go-system.h: Don't include <cstdio>.
628 2012-12-18  Ian Lance Taylor  <iant@google.com>
630         PR go/55201
631         * gospec.c: Revert last patch.
633 2012-12-18  Andreas Schwab  <schwab@linux-m68k.org>
635         PR go/55201
636         * gospec.c (LIBATOMIC): Define.
637         (LIBATOMIC_PROFILE): Define.
638         (lang_specific_driver): Add LIBATOMIC[_PROFILE] option.
640 2012-11-29  Ian Lance Taylor  <iant@google.com>
642         * go-gcc.cc: Include "output.h".
643         (global_variable): Add is_unique_section parameter.
644         (global_variable_set_init): Adjust unique section if necessary.
645         * Make-lang.in (go/go-gcc.o): Add dependency on output.h.
647 2012-11-17  Diego Novillo  <dnovillo@google.com>
649         Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)
651         * go-lang.c: Use new vec API in vec.h.
653 2012-11-16  Ian Lance Taylor  <iant@google.com>
655         * Make-lang.in (gccgo$(exeext)): Add + at start of command.
656         (go1$(exeext)): Likewise.
658 2012-10-30  Ian Lance Taylor  <iant@google.com>
660         * lang.opt (-fgo-relative-import-path): New option.
661         * go-lang.c (go_relative_import_path): New static variable.
662         (go_langhook_init): Pass go_relative_import_path to
663         go_create_gogo.
664         (go_langhook_handle_option): Handle -fgo-relative-import-path.
665         * go-c.h (go_create_gogo): Update declaration.
666         * gccgo.texi (Invoking gccgo): Document
667         -fgo-relative-import-path.
669 2012-09-17  Ian Lance Taylor  <iant@google.com>
671         * config-lang.in (target_libs): Add target-libbacktrace.
673 2012-09-16  Ian Lance Taylor  <iant@google.com>
675         * Make-lang.in (go/gogo.o): Depend on filenames.h.
677 2012-08-14   Diego Novillo  <dnovillo@google.com>
679         Merge from cxx-conversion branch.  Configury.
681         * go-c.h: Remove all handlers of ENABLE_BUILD_WITH_CXX.
682         * go-gcc.cc: Likewise.
683         * go-system.h: Likewise.
685 2012-07-24  Uros Bizjak  <ubizjak@gmail.com>
687         * go-lang.c (lang_decl): Add variable_size GTY option.
689 2012-05-09  Ian Lance Taylor  <iant@google.com>
691         * lang.opt: Add -fgo-pkgpath.
692         * go-lang.c (go_pkgpath): New static variable.
693         (go_prefix): New static variable.
694         (go_langhook_init): Pass go_pkgpath and go_prefix to
695         go_create_gogo.
696         (go_langhook_handle_option): Handle -fgo-pkgpath.  Change
697         -fgo-prefix handling to just set go_prefix.
698         * go-c.h (go_set_prefix): Don't declare.
699         (go_create_gogo): Add pkgpath and prefix to declaration.
700         * go-gcc.cc (Gcc_backend::global_variable): Change unique_prefix
701         to pkgpath.  Don't include the package name in the asm name.
702         * gccgo.texi (Invoking gccgo): Document -fgo-pkgpath.  Update the
703         docs for -fgo-prefix.
705 2012-04-23  Ian Lance Taylor  <iant@google.com>
707         * go-lang.c (go_langhook_init): Set MPFR precision to 256.
709 2012-04-20  Ian Lance Taylor  <iant@google.com>
711         * lang.opt: Add -fgo-check-divide-zero and
712         -fgo-check-divide-overflow.
713         * gccgo.texi (Invoking gccgo): Document new options.
715 2012-04-18  Steven Bosscher  <steven@gcc.gnu.org>
717         * go-gcc.cc (Gcc_backend::switch_statement): Build SWITCH_EXPR
718         with NULL_TREE type instead of void_type_node.
720 2012-03-09  Ian Lance Taylor  <iant@google.com>
722         * go-gcc.cc (Gcc_backend::assignment_statement): Convert the rhs
723         to the lhs type if necessary.
725 2012-03-08  Ian Lance Taylor  <iant@google.com>
727         * go-gcc.cc (Gcc_backend::init_statement): Don't initialize a
728         zero-sized variable.
729         (go_non_zero_struct): New global variable.
730         (Gcc_backend::non_zero_size_type): New function.
731         (Gcc_backend::global_variable): Don't build an assignment for a
732         zero-sized value.
733         * go-c.h (go_non_zero_struct): Declare.
734         * config-lang.in (gtfiles): Add go-c.h.
736 2012-02-29  Ian Lance Taylor  <iant@google.com>
738         * go-gcc.cc (class Gcc_tree): Add set_tree method.
739         (set_placeholder_pointer_type): When setting to a pointer to
740         error, set to error_mark_node.
742 2012-02-23  Richard Guenther  <rguenther@suse.de>
744         * go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use
745         build_distinct_type_copy.
747 2012-02-17  Ian Lance Taylor  <iant@google.com>
749         * Make-lang.in (go/import.o): Add dependency on $(GO_LEX_H).
751 2012-02-17  Ian Lance Taylor  <iant@google.com>
753         * gospec.c (lang_specific_driver): If linking, and no -o option
754         was used, add one.
756 2012-02-14  Ian Lance Taylor  <iant@google.com>
758         PR go/48411
759         * Make-lang.in (gccgo-cross$(exeext)): New target.
760         (go.all.cross): Depend on gccgo-cross$(exeext) instead of
761         gccgo$(exeext).
762         (go.install-common): Only install GCCGO_TARGET_INSTALL_NAME if
763         gccgo-cross$(exeext) does not exist.
765 2012-02-07  Ian Lance Taylor  <iant@google.com>
767         * gccgo.texi (Function Names): Document //extern instead of
768         __asm__.
770 2012-02-01  Jakub Jelinek  <jakub@redhat.com>
772         PR target/52079
773         * go-lang.c (go_langhook_type_for_mode): For TImode and 64-bit HWI
774         return build_nonstandard_integer_type result if possible.
776 2012-01-21  Ian Lance Taylor  <iant@google.com>
778         * go-gcc.cc (Gcc_backend::type_size): Check for error_mark_node.
779         (Gcc_backend::type_alignment): Likewise.
780         (Gcc_backend::type_field_alignment): Likewise.
781         (Gcc_backend::type_field_offset): Likewise.
783 2012-01-20  Ian Lance Taylor  <iant@google.com>
785         * go-gcc.cc (Gcc_backend::placeholder_struct_type): Permit name to
786         be empty.
787         (Gcc_backend::set_placeholder_struct_type): Likewise.
789 2012-01-17  Ian Lance Taylor  <iant@google.com>
791         * gospec.c (lang_specific_driver): If we see -S without -o, add -o
792         BASE.s rather than -o BASE.o.
794 2012-01-11  Ian Lance Taylor  <iant@google.com>
796         * go-lang.c (go_langhook_init): Initialize void_list_node before
797         calling go_create_gogo.
799 2012-01-10  Ian Lance Taylor  <iant@google.com>
801         * go-gcc.cc (Gcc_backend::type_size): New function.
802         (Gcc_backend::type_alignment): New function.
803         (Gcc_backend::type_field_alignment): New function.
804         (Gcc_backend::type_field_offset): New function.
805         * go-backend.c (go_type_alignment): Remove.
806         * go-c.h (go_type_alignment): Don't declare.
808 2011-12-27  Ian Lance Taylor  <iant@google.com>
810         * go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Use
811         build_distinct_type_copy rather than build_variant_type_copy.
812         (Gcc_backend::set_placeholder_array_type): Likewise.
813         (Gcc_backend::named_type): Add special handling for builtin
814         basic types.
816 2011-12-22  Ian Lance Taylor  <iant@google.com>
818         * go-gcc.cc (Gcc_backend::set_placeholder_pointer_type): Arrange
819         for the type name to have a DECL_ORIGINAL_TYPE as gcc expects.
820         (Gcc_backend::set_placeholder_struct_type): Likewise.
821         (Gcc_backend::set_placeholder_array_type): Likewise.
822         (Gcc_backend::named_type): Set DECL_ORIGINAL_TYPE.
824 2011-12-13  Ian Lance Taylor  <iant@google.com>
826         * go-backend.c: #include "simple-object.h" and "intl.h".
827         (GO_EXPORT_SEGMENT_NAME): Define if not defined.
828         (GO_EXPORT_SECTION_NAME): Likewise.
829         (go_write_export_data): Use GO_EXPORT_SECTION_NAME.
830         (go_read_export_data): New function.
831         * go-c.h (go_read_export_data): Declare.
833 2011-11-29  Sanjoy Das  <thedigitalangel@gmail.com>
834             Ian Lance Taylor  <iant@google.com>
836         * go-location.h: New file.
837         * go-linemap.cc: New file.
838         * go-gcc.cc: Change all uses of source_location to Location.
839         * Make-lang.in (GO_OBJS): Add go/go-linemap.o.
840         (GO_LINEMAP_H): New variable.
841         (GO_LEX_H): Use $(GO_LINEMAP_H).
842         (GO_GOGO_H, GO_TYPES_H, GO_IMPORT_H): Likewise.
843         (go/go-linemap.o): New target.
845 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
847         * Make-lang.in (gospec.o): Pass SHLIB instead of SHLIB_LINK.
849 2011-08-24  Roberto Lublinerman  <rluble@gmail.com>
851         * lang.opt: Add fgo-optimize-.
852         * go-lang.c (go_langhook_handle_option): Handle OPT_fgo_optimize.
853         * go-c.h (go_enable_optimize): Declare.
854         * Make-lang.in (GO_OBJS): Add go/go-optimize.o.
855         (GO_EXPORT_H): Define.
856         (GO_IMPORT_H): Add $(GO_EXPORT_H).
857         (GO_AST_DUMP_H): Define.
858         (go/ast-dump.o, go/statements.o): Use GO_AST_DUMP_H.
859         (go/export.o, go/gogo.o, go/import.o): Use GO_EXPORT_H.
860         (go/types.o): Likewise.
861         (go/expressions.o): Use GO_AST_DUMP_H and GO_EXPORT_H.
862         (go/go-optimize.o): New target.
864 2011-08-24  Joseph Myers  <joseph@codesourcery.com>
866         * Make-lang.in (CFLAGS-go/go-lang.o): New.
867         (go/go-lang.o): Remove explicit compilation rule.
869 2011-08-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
871         * Make-lang.in (gccgo$(exeext)): Add $(EXTRA_GCC_LIBS).
873 2011-08-02  Roberto Lublinerman  <rluble@gmail.com>
875         * Make-lang.in (GO_OBJS): Add go/ast-dump.o.
876         (go/ast-dump.o): New target.
877         (go/expressions.o): Depend on go/gofrontend/ast-dump.h.
878         (go/statements.o): Likewise.
880 2011-07-06  Richard Guenther  <rguenther@suse.de>
882         * go-lang.c (go_langhook_init):
883         Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
885 2011-06-14  Joseph Myers  <joseph@codesourcery.com>
887         * Make-lang.in (go/go-lang.o, go/go-backend.o): Update
888         dependencies.
889         * go-backend.c: Include common/common-target.h.
890         (go_write_export_data): Use targetm_common.have_named_sections.
891         * go-lang.c: Include common/common-target.h.
892         (go_langhook_init_options_struct): Use
893         targetm_common.supports_split_stack.
895 2011-06-13  Ian Lance Taylor  <iant@google.com>
897         * Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H).
899 2011-06-10  Ian Lance Taylor  <iant@google.com>
901         * go-gcc.cc: Include "toplev.h".
902         (Gcc_backend::immutable_struct): New function.
903         (Gcc_backend::immutable_struct_set_init): New function.
904         (Gcc_backend::immutable_struct_reference): New function.
905         * Make-lang.in (go/go-gcc.o): Depend on toplev.h.
907 2011-06-09  Ian Lance Taylor  <iant@google.com>
909         * go-gcc.cc (Gcc_backend::zero_expression): New function.
911 2011-06-07  Richard Guenther  <rguenther@suse.de>
913         * go-lang.c (go_langhook_init): Do not set
914         size_type_node or call set_sizetype.
916 2011-05-27  Ian Lance Taylor  <iant@google.com>
918         * go-backend.c: Include "output.h".
919         (go_write_export_data): New function.
920         * go-c.h (go_write_export_data): Declare.
921         * Make-lang.in (go/go-backend.o): Depend on output.h.
922         (go/export.o): Depend on $(GO_C_H).  Do not depend on
923         $(MACHMODE_H), output.h, or $(TARGET_H).
925 2011-05-24  Joseph Myers  <joseph@codesourcery.com>
927         * Make-lang.in (GCCGO_OBJS): Remove prefix.o.
928         (gccgo$(exeext)): Use libcommon-target.a.
930 2011-05-20  Joseph Myers  <joseph@codesourcery.com>
932         * Make-lang.in (GCCGO_OBJS): Remove intl.o and version.o.
934 2011-05-13  Ian Lance Taylor  <iant@google.com>
936         * go-gcc.cc (Gcc_backend::function_type): When building a struct
937         for multiple results, check that all fields types have a size.
938         (Gcc_backend::placeholder_pointer_type): Permit name to be empty.
940 2011-05-12  Ian Lance Taylor  <iant@google.com>
942         * go-gcc.cc (Gcc_backend::local_variable): Add is_address_taken
943         parameter.
944         (Gcc_backend::parameter_variable): Likewise.
946 2011-05-07  Eric Botcazou  <ebotcazou@adacore.com>
948         * go-lang.c (global_bindings_p): Return bool and simplify.
950 2011-05-05  Nathan Froyd  <froydnj@codesourcery.com>
952         * go-gcc.cc (Gcc_backend::switch_statement): Call build_case_label.
954 2011-05-04  Ian Lance Taylor  <iant@google.com>
956         * go-gcc.cc (Gcc_backend::struct_type): Call fill_in_struct.
957         (Gcc_backend::fill_in_struct): New function.
958         (Gcc_backend::array_type): Implement.
959         (Gcc_backend::fill_in_array): New function.
960         (Gcc_backend::placeholder_pointer_type): New function.
961         (Gcc_backend::set_placeholder_pointer_type): New function.
962         (Gcc_backend::set_placeholder_function_type): New function.
963         (Gcc_backend::placeholder_struct_type): New function.
964         (Gcc_backend::set_placeholder_struct_type): New function.
965         (Gcc_backend::placeholder_array_type): New function.
966         (Gcc_backend::set_placeholder_array_type): New function.
967         (Gcc_backend::named_type): New function.
968         (Gcc_backend::circular_pointer_type): New function.
969         (Gcc_backend::is_circular_pointer_type): New function.
971 2011-04-26  Ian Lance Taylor  <iant@google.com>
973         * go-gcc.cc (Gcc_backend::struct_type): Implement.
975 2011-04-25  Ian Lance Taylor  <iant@google.com>
977         * go-gcc.cc (Gcc_backend::error_type): Implement.
978         (Gcc_backend::string_type): Remove.
979         (Gcc_backend::function_type): Change signature and implement.
980         (Gcc_backend::struct_type): Change signature.
981         (Gcc_backend::slice_type, Gcc_backend::map_type): Remove.
982         (Gcc_backend::channel_type, Gcc_backend::interface_type): Remove.
983         (Gcc_backend::pointer_type): Check for error.
984         * Make-lang.in (go/types.o): Depend on go/gofrontend/backend.h.
986 2011-04-25  Evan Shaw  <edsrzf@gmail.com>
988         * go-gcc.c (class Gcc_tree): Make get_tree const.
989         (Gcc_backend::void_type): Implement.
990         (Gcc_backend::bool_type): Implement.
991         (Gcc_backend::integer_type): Implement.
992         (Gcc_backend::float_type): Implement.
993         (Gcc_backend::complex_type): New function.
994         (Gcc_backend::pointer_type): New function.
995         (Gcc_backend::make_type): New function.
996         (type_to_tree): New function.
998 2011-04-21  Ian Lance Taylor  <iant@google.com>
1000         * go-system.h (go_assert, go_unreachable): Define.
1002 2011-04-19  Ian Lance Taylor  <iant@google.com>
1004         * go-system.h: Include "intl.h".
1005         * Make-lang.in (GO_SYSTEM_H): Add intl.h.
1006         (go/statements.o): Remove dependencies on intl.h $(TREE_H)
1007         $(GIMPLE_H) convert.h tree-iterator.h $(TREE_FLOW_H) $(REAL_H).
1009 2011-04-19  Ian Lance Taylor  <iant@google.com>
1011         * go-gcc.cc (Gcc_backend::temporary_variable): New function.
1013 2011-04-19  Ian Lance Taylor  <iant@google.com>
1015         * go-gcc.cc (class Bblock): Define.
1016         (Gcc_backend::if_statement): Change then_block and else_block to
1017         Bblock*.
1018         (Gcc_backend::block): New function.
1019         (Gcc_backend::block_add_statements): New function.
1020         (Gcc_backend::block_statement): New function.
1021         (tree_to_block, block_to_tree): New functions.
1023 2011-04-18  Ian Lance Taylor  <iant@google.com>
1025         * go-gcc.cc: Include "go-c.h".
1026         (class Bvariable): Define.
1027         (Gcc_backend::init_statement): New function.
1028         (Gcc_backend::global_variable): New function.
1029         (Gcc_backend::global_variable_set_init): New function.
1030         (Gcc_backend::local_variable): New function.
1031         (Gcc_backend::parameter_variable): New function.
1032         (tree_to_type, var_to_tree): New functions.
1033         * Make-lang.in (go/go-gcc.o): Depend on $(GO_C_H).
1034         * (go/gogo-tree.o): Depend on go/gofrontend/backend.h.
1036 2011-04-15  Ian Lance Taylor  <iant@google.com>
1038         * go-gcc.cc (Gcc_backend::compound_statement): New function.
1039         (Gcc_backend::assignment_statement): Use error_statement.
1040         (Gcc_backend::return_statement): Likewise.
1041         (Gcc_backend::if_statement): Likewise.
1042         (Gcc_backend::switch_statement): Likewise.
1043         (Gcc_backend::statement_list): Likewise.
1045 2011-04-14  Ian Lance Taylor  <iant@google.com>
1047         * go-gcc.cc (Gcc_backend::error_statement): New function.
1049 2011-04-13  Ian Lance Taylor  <iant@google.com>
1051         * Make-lang.in (go/gogo-tree.o): depend on $(GO_RUNTIME_H).
1053 2011-04-13  Ian Lance Taylor  <iant@google.com>
1055         * Make-lang.in (GO_OBJS): Add go/runtime.o.
1056         (GO_RUNTIME_H): New variable.
1057         (go/runtime.o): New target.
1058         (go/gogo.o): Depend on $(GO_RUNTIME_H).
1059         (go/statements.o): Likewise.
1061 2011-04-12  Nathan Froyd  <froydnj@codesourcery.com>
1063         * go-lang.c (union lang_tree_node): Check for TS_COMMON before
1064         calling TREE_CHAIN.
1066 2011-04-06  Ian Lance Taylor  <iant@google.com>
1068         * go-gcc.cc (if_statement): Use build3_loc.
1069         (Gcc_backend::switch_statement): New function.
1070         (Gcc_backend::statement_list): New function.
1072 2011-04-06  Ian Lance Taylor  <iant@google.com>
1074         * go-gcc.cc (Gcc_backend::if_statement): New function.
1075         (tree_to_stat): New function.
1076         (expr_to_tree): Renamed from expression_to_tree.
1077         (stat_to_tree): Renamed from statement_to_tree.
1079 2011-04-06  Ian Lance Taylor  <iant@google.com>
1081         * go-gcc.cc (Gcc_backend::expression_statement): New function.
1083 2011-04-04  Ian Lance Taylor  <iant@google.com>
1085         * go-gcc.c (class Blabel): Define.
1086         (Gcc_backend::make_expression): New function.
1087         (get_identifier_from_string): New function.
1088         (Gcc_backend::label): New function.
1089         (Gcc_backend::label_definition_statement): New function.
1090         (Gcc_backend::goto_statement): New function.
1091         (Gcc_backend::label_address): New function.
1092         (expression_to_tree): New function.
1093         * Make-lang.in (go/expressions.o): Depend on
1094         go/gofrontend/backend.h.
1095         (go/gogo.o): Likewise.
1097 2011-04-04  Ian Lance Taylor  <iant@google.com>
1099         * go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h".
1100         (class Bfunction): Define.
1101         (Gcc_backend::assignment_statement): Rename from assignment.
1102         Check for errors.
1103         (Gcc_backend::return_statement): New function.
1104         (tree_to_function): New function.
1105         * Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h,
1106         $(GIMPLE_H), and $(GO_GOGO_H).
1108 2011-04-03  Ian Lance Taylor  <iant@google.com>
1110         * go-gcc.cc: New file.
1111         * Make-lang.in (GO_OBJS): Add go/go-gcc.o.
1112         (go/go-gcc.o): New target.
1113         (go/go.o): Depend on go/gofrontend/backend.h.
1114         (go/statements.o): Likewise.
1116 2011-02-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1118         * gccgo.texi (Top, Import and Export): Fix a typo and a markup nit.
1120 2011-02-08  Ian Lance Taylor  <iant@google.com>
1122         * go-lang.c (go_langhook_init_options_struct): Set
1123         frontend_set_flag_errno_math.  Don't set x_flag_trapping_math.
1125 2011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1127         * gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
1128         LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
1130 2011-01-21  Ian Lance Taylor  <iant@google.com>
1132         * go-lang.c (go_langhook_init): Omit float_type_size when calling
1133         go_create_gogo.
1134         * go-c.h: Update declaration of go_create_gogo.
1136 2011-01-13  Ian Lance Taylor  <iant@google.com>
1138         * go-backend.c: Include "rtl.h" and "target.h".
1139         (go_imported_unsafe): New function.
1140         * go-c.h (go_imported_unsafe): Declare.
1141         * Make-lang.in (go/go-backend.o): Depend on $(RTL_H).
1142         (go/gogo-tree.o): Remove dependency on $(RTL_H).
1143         (go/unsafe.o): Depend on $(GO_C_H).
1145 2010-12-31  Joern Rennecke  <amylaar@spamcop.net>
1147         PR go/47113
1148         * go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
1149         variable ‘field’ .
1151 2010-12-21  Ian Lance Taylor  <iant@google.com>
1153         * Make-lang.in (check-go): Remove.
1154         (lang_checks_parallelized): Add check-go.
1155         (check_go_parallelize): Set.
1157 2010-12-13  Ian Lance Taylor  <iant@google.com>
1159         * gospec.c (lang_specific_driver): Add a -o option if not linking
1160         and there is no -o option already.
1162 2010-12-07  Ian Lance Taylor  <iant@google.com>
1164         PR tree-optimization/46805
1165         PR tree-optimization/46833
1166         * go-lang.c (go_langhook_type_for_mode): Handle vector modes.
1168 2010-12-06  Ian Lance Taylor  <iant@google.com>
1170         PR other/46789
1171         PR bootstrap/46812
1172         * go-lang.c (go_char_p): Define type and vectors.
1173         (go_search_dirs): New static variable.
1174         (go_langhook_handle_option): Use version and version/machine
1175         directories for -L.
1176         (go_langhook_post_options): Add non-specific -L paths.
1177         * Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and
1178         DEFAULT_TARGET_MACHINE when compiling.
1179         * gccgo.texi (Invoking gccgo): Only document -L for linking.
1180         (Import and Export): Don't mention -L for finding import files.
1182 2010-12-03  Ian Lance Taylor  <iant@google.com>
1184         PR bootstrap/46776
1185         * go-backend.c: New file.
1186         * go-c.h (go_type_alignment): Declare.
1187         (go_field_alignment, go_trampoline_info): Declare.
1188         * Make-lang.in (GO_OBJS): Add go/go-backend.o.
1189         (go/go-backend.o): New target.
1190         (go/go-lang.o): Make dependencies match source file.
1191         (go/expressions.o): Don't depend on $(TM_H) $(TM_P_H).
1192         (go/gogo-tree.o): Don't depend on $(TM_H).
1194 2010-12-03  Ian Lance Taylor  <iant@google.com>
1196         * config-lang.in (build_by_default): Set to no.
1198 2010-12-02  Ian Lance Taylor  <iant@google.com>
1200         Go frontend added to gcc repository.
1202 Copyright (C) 2010-2016 Free Software Foundation, Inc.
1204 Copying and distribution of this file, with or without modification,
1205 are permitted in any medium without royalty provided the copyright
1206 notice and this notice are preserved.