Don't warn when alignment of global common data exceeds maximum alignment.
[official-gcc.git] / gcc / go / ChangeLog
blob60ebb892d92afcb409c3c4241b225b7fbd4f388c
1 2021-06-29  Ian Lance Taylor  <iant@golang.org>
3         * go-gcc.cc (Gcc_backend::static_chain_variable): Set
4         DECL_NAMELESS on the new decl.
5         (Gcc_backend::temporary_variable): Likewise.
6         (Gcc_backend::function): Set DECL_NAMELESS on the result decl.
8 2021-05-27  Ian Lance Taylor  <iant@golang.org>
10         * gccgo.texi (Function Names): Don't HTML quote ampersand.
12 2021-05-24  Ian Lance Taylor  <iant@golang.org>
14         PR go/100537
15         * go-gcc.cc (class Gcc_backend): Update methods that create
16         variables to take a flags parameter.
18 2021-01-28  Ian Lance Taylor  <iant@golang.org>
20         * gospec.c (lang_specific_driver): Add -g if no debugging options
21         were passed.
23 2021-01-15  Ian Lance Taylor  <iant@golang.org>
25         * Make-lang.in (GO_OBJS): Add go/embed.o.
27 2021-01-05  Jakub Jelinek  <jakub@redhat.com>
29         * lang.opt (fgo-embedcfg=): Add full stop at the end of description.
31 2021-01-05  Ian Lance Taylor  <iant@golang.org>
33         * lang.opt (fgo-embedcfg): New option.
34         * go-c.h (struct go_create_gogo_args): Add embedcfg field.
35         * go-lang.c (go_embedcfg): New static variable.
36         (go_langhook_init): Set go_create_gogo_args embedcfg field.
37         (go_langhook_handle_option): Handle OPT_fgo_embedcfg_.
38         * gccgo.texi (Invoking gccgo): Document -fgo-embedcfg.
40 2021-01-01  Jakub Jelinek  <jakub@redhat.com>
42         * gccgo.texi: Bump @copyrights-go year.
44 2020-12-22  Ian Lance Taylor  <iant@golang.org>
46         PR go/98402
47         * go-lang.c (go_langhook_init): Force MPFR exponent range to be
48         large enough to support Go constants.
50 2020-11-20  Jakub Jelinek  <jakub@redhat.com>
52         PR other/97911
53         * Make-lang.in (go.serial): Change from goal to a variable.
54         (.PHONY): Drop go.serial and go.prev.
55         (go1$(exeext)): Depend on $(go.serial) rather than go.serial.
57 2020-11-18  Jakub Jelinek  <jakub@redhat.com>
59         * Make-lang.in (go.serial): New goal.
60         (.PHONY): Add go.serial go.prev.
61         (go1$(exeext)): Depend on go.prev.  Call LINK_PROGRESS.
63 2020-11-11  Alan Modra  <amodra@gmail.com>
65         * go-gcc.cc (Gcc_backend::global_variable_set_init): Cast NULL to
66         avoid ambiguous overloaded call.
68 2020-11-06  Nathan Sidwell  <nathan@acm.org>
70         * go-gcc.cc (Gcc_backend::call_expression): Rename
71         DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
73 2020-11-04  Ian Lance Taylor  <iant@golang.org>
75         * go-lang.c (go_langhook_post_options): Disable
76         -fipa-icf-functions if it was not explicitly enabled.
78 2020-09-14  Jakub Jelinek  <jakub@redhat.com>
80         * go-gcc.cc (Gcc_backend::function): Adjust
81         cl_optimization_save, cl_optimization_restore and
82         build_optimization_node callers.
84 2020-08-10  Clément Chigot  <chigot.c@gmail.com>
86         * go-c.h (struct go_create_gogo_args): Add need_eqtype field.
87         * go-lang.c (go_langhook_init): Set need_eqtype.
89 2020-04-15  Ian Lance Taylor  <iant@golang.org>
91         PR go/94607
92         * go-gcc.cc (class Gcc_backend): Define builtin_const,
93         builtin_noreturn, builtin_novops.
94         (Gcc_backend::define_builtin): Change const_p and noreturn_p
95         parameters to a single flags parameter.  Change all callers.
96         (Gcc_backend::Gcc_backend): Pass novops for prefetch.
98 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
100         Update copyright years.
102         * gccgo.texi: Bump @copyrights-go year.
104 2019-11-12  Martin Liska  <mliska@suse.cz>
106         * go-lang.c (go_langhook_post_options):
107         Use SET_OPTION_IF_UNSET.
109 2019-09-04  Ian Lance Taylor  <iant@golang.org>
111         PR tree-optimization/91663
112         * go-lang.c (go_langhook_post_options): Clear
113         flag_partial_inlining.
115 2019-08-23  Jakub Jelinek  <jakub@redhat.com>
117         PR middle-end/91283
118         * go-lang.c (go_langhook_post_options): Set flag_excess_precision
119         instead of flag_excess_precision_cmdline.
121 2019-07-02  Cherry Zhang  <cherryyz@google.com>
123         * go-gcc.cc (Gcc_backend::Gcc_backend): Define __builtin_memset.
125 2019-06-21  Cherry Zhang  <cherryyz@google.com>
127         * go-gcc.cc (Gcc_backend::Gcc_backend): Define math/bits
128         builtins.
130 2019-05-30  Jim Wilson  <jimw@sifive.com>
132         * go-gcc.cc (Gcc_backend::Gcc_backend): Add BUILT_IN_ATOMIC_FETCH_AND_1
133         and BUILT_IN_ATOMIC_FETCH_OR_1.
135 2019-05-16  Cherry Zhang  <cherryyz@google.com>
137         * go-gcc.cc (Gcc_backend::Gcc_backend): Define atomic builtins.
139 2019-05-08  Cherry Zhang  <cherryyz@google.com>
141         * go-gcc.cc (Gcc_backend::Gcc_backend): Define memmove builtin.
143 2019-05-07  Cherry Zhang  <cherryyz@google.com>
145         * lang.opt (-fgo-debug-optimization): New option.
146         * go-c.h (struct go_create_gogo_args): Add debug_optimization
147         field.
148         * go-lang.c (go_langhook_init): Set debug_optimization field.
149         * gccgo.texi (Invoking gccgo): Document -fgo-debug-optimization.
151 2019-03-06  Ian Lance Taylor  <iant@golang.org>
153         PR go/89227
154         * go-gcc.cc (Gcc_backend::function): Set TREE_PUBLIC for an
155         only-inline function.
157 2019-02-15  Cherry Zhang  <cherryyz@google.com>
159         * go-gcc.cc (Gcc_backend::Gcc_backend): Define __builtin_dwarf_cfa
160         instead of __builtin_frame_address.
162 2019-02-14  Ian Lance Taylor  <iant@golang.org>
164         * go-backend.c (go_imported_unsafe): Update
165         optimization_default_node.
167 2019-02-13  Ian Lance Taylor  <iant@golang.org>
169         * go-gcc.cc: #include "opts.h".
170         (Gcc_backend::function): Compile thunks with -Os.
172 2019-02-05  Nikhil Benesch  <nikhil.benesch@gmail.com>
174         PR go/89019
175         * go-gcc.cc (Gcc_backend::placeholder_struct_type): Mark
176         placeholder structs as requiring structural equality.
177         (Gcc_backend::set_placeholder_pointer_type): Propagate the
178         canonical type from the desired pointer type to the placeholder
179         pointer type.
181 2019-01-09  Ian Lance Taylor  <iant@golang.org>
183         PR go/86343
184         * go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Go back to
185         build_distinct_type_copy, but copy the fields so that they have
186         the right DECL_CONTEXT.
188 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
190         PR other/16615
192         * go-backend.c: Mechanically replace "can not" with "cannot".
193         * go-gcc.cc: Likewise.
195 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
197         Update copyright years.
199         * gccgo.texi: Bump @copyrights-go year.
201 2018-11-27  Ian Lance Taylor  <iant@golang.org>
203         * go-gcc.cc (Gcc_backend::function): Handle function_only_inline
204         flag.
206 2018-11-13  David Malcolm  <dmalcolm@redhat.com>
208         * go-gcc-diagnostics.cc: Replace "source_location" with "location_t".
209         * go-gcc.cc: Likewise.
210         * go-linemap.cc: Likewise.
211         * go-location.h: Likewise.
212         * gofrontend/README: Likewise.
214 2018-10-31  Ian Lance Taylor  <iant@golang.org>
216         * go-gcc.cc (Gcc_backend::write_global_definitions): Don't call
217         gimplify_function_tree.  Instead call allocate_struct_function if
218         necessary.
220 2018-10-29  Ian Lance Taylor  <iant@golang.org>
222         * go-gcc.cc (Gcc_backend::function): Change to use a single flags
223         parameter.
225 2018-10-29  Ian Lance Taylor  <iant@golang.org>
227         * go-linemap.cc (Gcc_linemap::location_file): New method.
229 2018-10-17  David Malcolm  <dmalcolm@redhat.com>
231         * Make-lang.in (selftest-go): New.
233 2018-09-20  Allan Sandfeld Jensen  <allan.jensen@qt.io>
235         * gospec.c (lang_specific_driver): Handle -r like -nostdlib.
237 2018-08-27  Martin Liska  <mliska@suse.cz>
239         * go-gcc.cc (Gcc_backend::call_expression): Use new function
240         fndecl_built_in_p and remove check for FUNCTION_DECL if
241         possible.
243 2018-07-20  Martin Sebor  <msebor@redhat.com>
245         PR middle-end/82063
246         * go-lang.c (go_langhook_handle_option): Change function argument
247         to HOST_WIDE_INT.
249 2018-06-28  Ian Lance Taylor  <iant@golang.org>
251         PR go/86343
252         * go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Call
253         build_variant_type_copy rather than build_distinct_type_copy.
255 2018-06-08  Cherry Zhang  <cherryyz@google.com>
257         * go-gcc.cc (class Gcc_backend): Remove
258         stack_allocation_expression method.
260 2018-02-03  Ian Lance Taylor  <iant@golang.org>
262         * go-gcc.cc (Gcc_backend::fill_in_struct): Mark struct types as
263         using structural equality.
265 2018-02-02  Ian Lance Taylor  <iant@golang.org>
267         * go-gcc.cc (Gcc_backend::type_size): Return 0 for
268         void_type_node.
269         (Gcc_backend::convert_expression): Don't convert if the type of
270         expr_tree is void_type_node.
271         (Gcc_backend::array_index_expression): Don't index if the type of
272         the array expression is void_type_node.
273         (Gcc_backend::init_statement): Don't initialize if the type of the
274         initializer expression is void_type_node.
275         (Gcc_backend::assignment_statement): Don't assign if the type of
276         either the left or right hand side is void_type_node.
277         (Gcc_backend::temporary_variable): Don't initialize if the type of
278         the initializer expression is void_type_node.
280 2018-02-01  Cherry Zhang  <cherryyz@google.com>
282         * lang.opt (fgo-optimize): Remove RejectNegative.
283         * go-c.h (go_enable_optimize): Update declaration to take value
284         argument.
285         * go-lang.c (go_langhook_handle_option): Pass value to
286         go_enable_optimize.
287         * gccgo.texi (Invoking gccgo): Update -fgo-optimize-allocs doc.
289 2018-01-30  Ian Lance Taylor  <iant@golang.org>
291         * go-gcc.cc (Gcc_backend::convert_tree): New private method.
292         (Gcc_backend::constructor_expression): Call it.
293         (Gcc_backend::assignment_statement): Likewise.
294         (Gcc_backend::temporary_variable): Likewise.
296 2018-01-09  Cherry Zhang  <cherryyz@google.com>
298         * go-gcc.cc (local_variable): Add decl_var parameter.
300 2018-01-09  Cherry Zhang  <cherryyz@google.com>
302         * lang.opt (fgo-debug-escape-hash): New option.
303         * go-c.h (struct go_create_gogo_args): Add debug_escape_hash
304         field.
305         * go-lang.c (go_langhook_init): Set debug_escape_hash field.
306         * gccgo.texi (Invoking gccgo): Document -fgo-debug-escape-hash.
308 2018-01-05  Ian Lance Taylor  <iant@golang.org>
310         * go-gcc.cc (Gcc_backend::Gcc_backend): Correct
311         math_function_type_long to take one argument.
313 2018-01-03  Richard Sandiford  <richard.sandiford@linaro.org>
314             Alan Hayward  <alan.hayward@arm.com>
315             David Sherwood  <david.sherwood@arm.com>
317         * go-lang.c (go_langhook_type_for_mode): Handle MODE_VECTOR_BOOL.
319 2018-01-03  Richard Sandiford  <richard.sandiford@linaro.org>
320             Alan Hayward  <alan.hayward@arm.com>
321             David Sherwood  <david.sherwood@arm.com>
323         * go-lang.c (go_langhook_type_for_mode): Check valid_vector_subparts_p.
325 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
327         Update copyright years.
329         * gccgo.texi: Bump @copyrights-go year.
331 2017-12-12  Tony Reix  <tony.reix@atos.net>
332             Ian Lance Taylor  <iant@golang.org>
334         * go-lang.c (TARGET_AIX): Define if not defined.
335         (go_langhook_init): Set nil_check_size_threshold to -1 on AIX.
337 2017-12-01  Ian Lance Taylor  <iant@golang.org>
339         * go-gcc.cc (Gcc_backend::Gcc_backend): Define
340         __builtin_unreachable.
341         (Gcc_backend::function): Add does_not_return parameter.
343 2017-12-01  Than McIntosh  <thanm@google.com>
345         * go-c.h (go_create_gogo_args): Add nil_check_size_threshold
346         field.
347         * go-lang.c (go_langhook_init): Set nil_check_size_threshold.
349 2017-11-28  Jakub Jelinek  <jakub@redhat.com>
351         * go-gcc.cc (Gcc_backend::switch_statement): Build SWITCH_EXPR using
352         build2_loc instead of build3_loc.
354 2017-11-14  Than McIntosh  <thanm@google.com>
356         * go-gcc.cc (var_expression): Remove Varexpr_context parameter.
358 2017-10-11  Tony Reix  <tony.reix@atos.net>
360         * go-system.h (__STDC_FORMAT_MACROS): Define before including any
361         system header files, as is done in ../system.h.
363 2017-10-05  Ian Lance Taylor  <iant@golang.org>
365         * Make-lang.in (GO_OBJS): Add go/names.o.
367 2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
368             Alan Hayward  <alan.hayward@arm.com>
369             David Sherwood  <david.sherwood@arm.com>
371         * go-lang.c (go_langhook_type_for_mode): Use is_complex_float_mode.
373 2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
374             Alan Hayward  <alan.hayward@arm.com>
375             David Sherwood  <david.sherwood@arm.com>
377         * go-lang.c (go_langhook_type_for_mode): Use is_int_mode.
379 2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
380             Alan Hayward  <alan.hayward@arm.com>
381             David Sherwood  <david.sherwood@arm.com>
383         * go-lang.c (go_langhook_type_for_mode): Use is_float_mode.
385 2017-08-07  Martin Liska  <mliska@suse.cz>
387         * go-gcc.cc (Gcc_backend::function): Look up for no_split_stack
388         and not __no_split_stack__.
390 2017-07-27    Tony Reix  <tony.reix@atos.net>
392         * go-backend.c (go_write_export_data): Use EXCLUDE section for
393         AIX.
395 2017-06-09  Ian Lance Taylor  <iant@golang.org>
397         * go-lang.c (go_langhook_post_options): If -fsplit-stack is turned
398         on, disable implicit -forder-blocks-and-partition.
400 2017-05-12  Than McIntosh  <thanm@google.com>
402         * go-gcc.cc (Gcc_backend::call_expression): Add caller parameter.
404 2017-05-11  Ian Lance Taylor  <iant@google.com>
406         PR go/64238
407         * go-gcc.cc (Gcc_backend::implicit_variable_reference): Set
408         DECL_EXTERNAL, clear TREE_STATIC.
410 2017-05-10  Than McIntosh  <thanm@google.com>
412         * go-backend.c: Include "go-c.h".
413         * go-gcc.cc (Gcc_backend::write_export_data): New method.
415 2017-05-10  Ian Lance Taylor  <iant@google.com>
417         * go-gcc.cc (Gcc_backend::Gcc_backend): Declare
418         __builtin_prefetch.
419         * Make-lang.in (GO_OBJS): Add go/wb.o.
421 2017-03-28  Than McIntosh  <thanm@google.com>
423         PR go/80226
424         * go-gcc.cc (Gcc_backend::return_statement): Check for
425         void_type_node when checking result size.
427 2017-02-20  Ian Lance Taylor  <iant@golang.org>
429         PR go/79642
430         * lang.opt (-fgo-relative-import-path): Change space to tab.
432 2017-02-07  Richard Biener  <rguenther@suse.de>
434         PR tree-optimization/79256
435         PR middle-end/79278
436         * go-backend.c (go_field_alignment): Adjust.
438 2017-01-11  Than McIntosh  <thanm@google.com>
440         * go-gcc.cc (conditional_expression): Add Bfunction parameter.
442 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
444         Update copyright years.
446         * gccgo.texi: Bump @copyrights-go year.
448 2016-12-16  Than McIntosh  <thanm@google.com>
450         * go-gcc.cc (Gcc_backend::expression_statement): Add Bfunction*
451         parameter.
452         (Gcc_backend::init_statement): Likewise.
453         (Gcc_backend::assignment_statement): Likewise.
454         (Gcc_backend::if_statement): Likewise.
456 2016-12-06  Than McIntosh  <thanm@google.com>
458         * go-gcc.cc (Gcc_backend::var_expression): Add Varexpr_context
459         parameter.
461 2016-11-22  Than McIntosh  <thanm@google.com>
463         * go-gcc.cc (char_needs_encoding): Remove.
464         (needs_encoding, fetch_utf8_char, encode_id): Remove.
465         (Gcc_backend::global_variable): Add asm_name parameter.  Don't
466         compute asm_name here.
467         (Gcc_backend::implicit_variable): Likewise.
468         (Gcc_backend::implicit_variable_reference): Likewise.
469         (Gcc_backend::immutable_struct): Likewise.
470         (Gcc_backend::immutable_struct_reference): Likewise.
471         * Make-lang.in (GO_OBJS): Add go/go-encode-id.o.
473 2016-11-22  Ian Lance Taylor  <iant@google.com>
475         * go-gcc.cc (Gcc_backend::Gcc_backend): Add builtin function
476         __builtin_frame_address.
478 2016-10-25  David Malcolm  <dmalcolm@redhat.com>
480         * go-lang.c (go_langhook_type_for_mode): Remove redundant cast
481         from result of GET_MODE_CLASS.  Minor formatting fixes.
483 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
485         * go-backend.c: Include memmodel.h.
487 2016-10-10  Than McIntosh  <thanm@google.com>
489         * go-gcc.h: New file.
490         * go-c.h (struct go_create_gogo_args): Add backend and linemap
491         fields.
492         * go-lang.c: Include "go-gcc.h".
493         (go_langhook_init): Set linemap and backend fields of args.
494         * go-gcc.cc: Include "go-gcc.h".
495         * go-linemap.cc: Include "go-gcc.h".
497 2016-10-10  Than McIntosh  <thanm@google.com>
499         * go-linemap.cc (Gcc_linemap::location_line): New method.
501 2016-10-10  Eric Botcazou  <ebotcazou@adacore.com>
503         * config-lang.in (lang_requires_boot_languages): Delete.
505 2016-10-06  Chris Manghane  <cmang@google.com>
507         * go-gcc.cc (Gcc_backend::stack_allocation_expression): Clear the
508         returned memory.
510 2016-09-27  Than McIntosh  <thanm@google.com>
512         * go-linemap.cc (Gcc_linemap::to_string): New method.
514 2016-09-23  Than McIntosh  <thanm@google.com>
516         * go-gcc-diagnostics.cc: New file.
517         * go-location.h (Location): Remove operator source_location.  Add
518         operator==.
519         * go-system.h: #include <sstream>.
520         * Make-lang.in (GO_OBJS): Add go/go-diagnostics.o and
521         go/go-gcc-diagnostics.o.
522         (CFLAGS-go/go-gcc-diagnostics.o): New variable.
524 2016-09-23  Chris Manghane  <cmang@google.com>
526         PR go/77701
527         * go-gcc.cc (Gcc_backend::Gcc_backend): Fix calls to integer_type
528         to pass arguments in the correct order.
530 2016-09-22  Ian Lance Taylor  <iant@golang.org>
532         * go-gcc.cc (Gcc_backend::Gcc_backend): Declare
533         __builtin_frame_address.
535 2016-09-11  Ian Lance Taylor  <iant@golang.org>
537         * go-gcc.cc (Gcc_backend::Gcc_backend): Add builtin versions of
538         ctz, ctzll, bswap32, bswap64.
540 2016-09-10  Ian Lance Taylor  <iant@golang.org>
542         * go-backend.c (go_trampoline_info): Remove.
543         * go-c.h (go_trampoline_info): Don't declare.
545 2016-09-09  Than McIntosh  <thanm@google.com>
547         * go-sha1.cc: New file.
548         * Make-lang.in (GO_OBJS): Add go/go-sha1.o.
549         (CFLAGS-go/go-sha1.o): New variable.
551 2016-08-29  Ian Lance Taylor  <iant@google.com>
553         * lang.opt (fgo-c-header, fgo-compiling-runtime): New options.
554         * go-c.h (struct go_create_gogo_args): Define.
555         (go_create_gogo): Change declaration to take struct pointer.
556         * go-lang.c (go_c_header): New static variable.
557         (go_langhook_init): Update call to go_create_gogo.
558         * gccgo.texi (Invoking gccgo): Document -fgo-c-header and
559         -fgo-compiling-runtime.
561 2016-08-09  Ian Lance Taylor  <iant@google.com>
563         * gccgo.texi (Invoking gccgo): Document -fgo-optimize-allocs and
564         -fgo-debug-escae.
565         (Compiler Directives): New chapter.
566         (Function Names): Describe using //go:linkname.  Suggest using
567         -fgo-pkgpath rather than -fgo-prefix.
569 2016-08-08  Ian Lance Taylor  <iant@google.com>
571         PR go/72814
572         * go-gcc.cc (Gcc_backend::function_type): If the return type is
573         zero bytes, treat the function as returning void.
574         (return_statement): If the return type is zero bytes, don't
575         actually return any values.
577 2016-08-05  Ian Lance Taylor  <iant@google.com>
579         PR go/72812
580         * go-gcc.cc (char_needs_encoding): New static function.
581         (needs_encoding, fetch_utf8_char): New static functions.
582         (encode_id): New static function.
583         (Gcc_backend::global_variable): Set asm name if the name is not
584         simple ASCII.
585         (Gcc_backend::implicit_variable): Likewise.
586         (Gcc_backend::implicit_variable_reference): Likewise.
587         (Gcc_backend::immutable_struct): Likewise.
588         (Gcc_backend::immutable_struct_reference): Likewise.
589         (Gcc_backend::function): Likewise.
591 2016-08-02  Chris Manghane  <cmang@google.com>
593         * lang.opt: Add -fgo-debug-escape option.
594         * go-c.h (go_create_gogo): Add debug_escape_level parameter.
595         * go-lang.c (go_langhook_init): Pass go_debug_escape_level to
596         go_create_gogo.
598 2016-05-06  Chris Manghane  <cmang@google.com>
600         * Make-lang.in (GO_OBJS): Add go/escape.o (based on an entirely
601         new escape.cc).
603 2016-04-29  Chris Manghane  <cmang@google.com>
605         * Make-lang.in (GO_OBJS): Remove go/dataflow.o, go/escape.o.
607 2016-04-18  Michael Matz  <matz@suse.de>
609         * go-gcc.cc (Gcc_backend::implicit_variable): Use SET_DECL_ALIGN.
611 2016-02-12  Jakub Jelinek  <jakub@redhat.com>
613         * gofrontend/lex.cc: Spelling fixes - behaviour -> behavior and
614         neighbour -> neighbor.
615         * gccgo.texi: Likewise.
617 2016-01-27  Ian Lance Taylor  <iant@google.com>
619         * go-lang.c (go_langhook_init_options_struct): Default to
620         -fkeep-gc-roots-live.
622 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
624         Update copyright years.
626         * gccgo.texi: Bump @copyrights-go year.
628 2015-12-21  Ian Lance Taylor  <iant@google.com>
630         * go-gcc.cc (class Bvariable): Remove Gcc_tree parent class.  Add
631         t_ and orig_type_ fields.  Add new two parameter constructor.  Add
632         get_tree and get_decl methods.
633         (Gcc_backend::var_expression): Pass location to var get_tree.
634         (Gcc_backend::global_variable): Don't add VIEW_CONVERT_EXPR.  Use
635         two parameter constructor for Bvariable.
636         (Gcc_backend::global_variable_set_init): Don't remove
637         VIEW_CONVERT_EXPR.  Use var get_decl, not get_tree.
638         (Gcc_backend::write_global_definitions): Likewise.
639         (Gcc_backend::init_statement): Call var get_decl, not get_tree.
640         (Gcc_backend::block): Likewise.
641         (Gcc_backend::implicit_variable_set_init): Likewise.
642         (Gcc_backend::immutable_struct_set_init): Likewise.
643         (Gcc_backend::function_set_parameters): Likewise.
645 2015-12-21  Ian Lance Taylor  <iant@google.com>
647         * go-gcc.cc (Gcc_backend::global_variable): If type is zero-sized,
648         add a VIEW_CONVERT_EXPR to the tree.
649         (Gcc_backend::global_variable_set_init): Remove any
650         VIEW_CONVERT_EXPR.
651         (Gcc_backend::write_global_definitions): Likewise.
653 2015-11-30  Ian Lance Taylor  <iant@google.com>
655         PR go/68477
656         * go-gcc.cc (Gcc_backend::string_constant_expression): Don't set
657         TYPE_STRING_FLAG on a variant type.
659 2015-11-11  Andrew MacLeod  <amacleod@redhat.com>
661         * go-backend.c: Remove unused header files.
662         * go-gcc.cc: Likewise.
663         * go-lang.c: Likewise.
664         * gospec.c: Likewise.
666 2015-10-29  Andrew MacLeod  <amacleod@redhat.com>
668         * go-backend.c: Reorder #include's and remove duplicates.
669         * go-lang.c: Likewise.
671 2015-10-20  Alan Modra  <amodra@gmail.com>
673         PR go/66870
674         * gospec.c (saw_opt_m32): Rename to..
675         (is_m64): ..this, initialised by TARGET_CAN_SPLIT_STACK_64BIT.
676         Update uses.
677         (lang_specific_driver): Set is_m64 if OPT_m64, clear if OPT_m32.
679 2015-10-01  Ian Lance Taylor  <iant@google.com>
681         PR go/66870
682         * gospec.c (lang_specific_driver): Only look for OPT_m32 if
683         TARGET_CAN_SPLIT_STACK_64BIT is defined.
685 2015-10-01  Lynn Boger  <laboger@linux.vnet.ibm.com>
687         PR target/66870
688         * gospec.c (lang_specific_driver): Set appropriate split stack
689         options for 64 bit compiles based on TARGET_CAN_SPLIT_STACK_64BIT.
691 2015-09-10  Chris Manghane  <cmang@google.com>
693         * go-gcc.cc (Gcc_backend::type_size): Return -1 for
694         unrepresentable size.
696 2015-08-24  Marek Polacek  <polacek@redhat.com>
698         PR tree-optimization/67284
699         * go-gcc.cc (Gcc_backend::define_builtin): Add NORETURN_P parameter.
700         Set TREE_THIS_VOLATILE.
701         (Gcc_backend::Gcc_backend): Mark __builtin_trap as a noreturn call.
702         Pass false to the rest of define_builtin calls.
704 2015-07-31  Andreas Schwab  <schwab@linux-m68k.org>
706         * go-lang.c (go_langhook_init_options_struct): Don't set
707         x_flag_split_stack.
708         (go_langhook_post_options): Set it here instead.
710 2015-07-12  Aldy Hernandez  <aldyh@redhat.com>
712         * gofrontend/backend.h: Fix double word typos.
713         * gofrontend/expressions.cc: Same.
714         * gospec.c: Same.
716 2015-07-07  Andrew MacLeod  <amacleod@redhat.com>
718         * go-backend.c: Adjust includes.
719         * go-gcc.cc: Likewise.
720         * go-lang.c: Likewise.
722 2015-06-25  Andrew MacLeod  <amacleod@redhat.com>
724         * go-gcc.cc: Remove ipa-ref.h and plugin-api.h from include list.
726 2015-06-17  Andrew MacLeod  <amacleod@redhat.com>
728         * go-backend.c: Do not include input.h, line-map.h or is-a.h.
729         * go-gcc.cc: Likewise.
730         * go-lang.c: Likewise.
731         * go-system.h: Likewise.
733 2015-06-08  Andrew MacLeod  <amacleod@redhat.com>
735         * go-backend.c : Adjust include files.
736         * go-gcc.cc : Likewise.
737         * go-lang.c : Likewise.
739 2015-06-05  Aldy Hernandez  <aldyh@redhat.com>
741         * go-gcc.cc (write_global_definitions): Remove call to
742         finalize_compilation_unit.
743         Remove Go specific debug generation.
744         * go-lang.c (go_langhook_parse_file): Call go_write_globals.
745         (go_langhook_write_globals): Remove.
746         Remove LANG_HOOKS_WRITE_GLOBALS everywhere.
748 2015-06-04  Andrew MacLeod  <amacleod@redhat.com>
750         * go-backend.c: Adjust includes for restructured coretypes.h.
751         * go-c.h: Likewise.
752         * go-gcc.cc: Likewise.
753         * go-lang.c: Likewise.
755 2015-04-30  Chris Manghane  <cmang@google.com>
757         * go-gcc.cc (Gcc_backend::stack_allocation_expression): New
758         method.
760 2015-04-27  Jim Wilson  <jim.wilson@linaro.org>
762         * Make-lang.in (go.mostlyclean): Remove gccgo, gccgo-cross, and go1.
764 2015-04-17  Chris Manghane  <cmang@google.com>
766         * Make-lang.in (GO_OBJS): Add go/escape.o.
768 2015-02-02  Ian Lance Taylor  <iant@google.com>
770         PR go/64836
771         PR go/64838
772         * go-gcc.cc (Gcc_backend::type_size): Change return type to
773         int64_t.
774         (Gcc_backend::type_alignment): Likewise.
775         (Gcc_backend::type_field_alignment): Likewise.
776         (Gcc_backend::type_field_offset): Likewise.
777         (Gcc_backend::implicit_variable): Change alignment parameter type
778         to int64_t.
780 2015-01-23  Ian Lance Taylor  <iant@google.com>
782         PR go/63565
783         * gccgo.texi (Invoking gccgo): Mention that Go programs should not
784         be stripped.
786         * gccgo.texi (C Interoperability): Mention that people should use
787         cgo.
789 2015-01-23  Ian Lance Taylor  <iant@google.com>
791         PR go/64595
792         * go-lang.c (go_langhook_init_options_struct): Set default
793         debug_info_level.
794         (go_langhook_post_options): If debug_info_level is still the
795         default, make sure write_symbols is set.
796         * gccgo.texi (Invoking gccgo): Document that -g1 is the default.
798 2015-01-16  Richard Henderson  <rth@redhat.com>
800         * go-gcc.cc (Gcc_backend::call_expression): Add chain_expr argument.
801         (Gcc_backend::static_chain_variable): New method.
803 2015-01-09  Ian Lance Taylor  <iant@google.com>
805         * config-lang.in (lang_dirs): Define.
807 2015-01-09  Michael Collison  <michael.collison@linaro.org>
809         * go-gcc.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
810         input.h, alias.h, symtab.h, options.h, fold-const.h,
811         wide-int.h, and inchash.h due to flattening of tree.h.
812         * go-lang.c: Ditto.
813         * go-backend.c: Ditto.
815 2015-01-07  Chris Manghane  <cmang@google.com>
817         PR go/61204
818         * go-gcc.cc (Gcc_backend::temporary_variable): Don't initialize
819         zero-sized variable.
821 2015-01-06  Chris Manghane  <cmang@google.com>
823         * go-gcc.cc (Gcc_backend::constructor_expression): Don't
824         initialize zero-sized fields, just evaluate the values for side
825         effects.
827 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
829         Update copyright years.
831         * gccgo.texi: Bump @copyrights-go year.
833 2014-12-19  Chris Manghane  <cmang@google.com>
835         * go-gcc.cc (Gcc_backend::array_constructor_expression): Don't
836         construct arrays of zero-sized values.
838 2014-10-29  Richard Sandiford  <richard.sandiford@arm.com>
840         * go-lang.c: Remove redundant enum from machine_mode.
842 2014-10-28  Andrew MacLeod  <amacleod@redhat.com>
844         * go-gcc.cc: Adjust include files.
846 2014-10-27  Andrew MacLeod  <amacleod@redhat.com>
848         * go-gcc.cc: Adjust include files.
849         * go-lang.c: Ditto.
851 2014-10-23  Ian Lance Taylor  <iant@google.com>
853         * go-gcc.cc (Gcc_backend::complex_constant_expression): Take one
854         mpc_t parameter instead of two mpfr_t parameters.
856 2014-09-15  Jakub Jelinek  <jakub@redhat.com>
858         * Make-lang.in (check_go_parallelize): Change to just an upper bound
859         number.
861 2014-09-03  Chris Manghane  <cmang@google.com>
863         * go-gcc.cc (Gcc_backend::implicit_variable): Remove init
864         parameter.  Add is_hidden parameter.
865         (Gcc_backend::implicit_variable_set_init): New method.
866         (Gcc_backend::implicit_variable_reference): New method.
868 2014-08-08  Ian Lance Taylor  <iant@google.com>
870         * go-gcc.cc (Gcc_backend::compound_statement): Don't return
871         NULL_TREE.
873 2014-07-24  Uros Bizjak  <ubizjak@gmail.com>
875         * go-gcc.cc (Gcc_backend::global_variable_set_init): Rename
876         symtab_get_node to symtab_node::get.
878 2014-06-13  Ian Lance Taylor  <iant@google.com>
880         PR go/61496
881         * gospec.c (lang_specific_driver): On Solaris, when not using GNU
882         ld, add -t option to avoid warning about common symbol changing
883         size.
885 2014-06-10  Jan Hubicka  <hubicka@ucw.cz>
887         * go-gcc.cc (Gcc_backend::global_variable_set_init): Use
888         symtab_get_node(var_decl)->implicit_section.
890 2014-06-07  Jan Hubicka  <hubicka@ucw.cz>
892         * go-gcc.cc (global_variable_set_init): Use
893         set_decl_section_name.
895 2014-06-04  Ian Lance Taylor  <iant@google.com>
897         * go-gcc.cc (Gcc_backend::implicit_variable): Add is_common and
898         alignment parameters.  Permit init parameter to be NULL.
900 2014-06-02  Andrew MacLeod  <amacleod@redhat.com>
902         * go-gcc.cc: Include builtins.h.
904 2014-05-17  Trevor Saunders  <tsaunders@mozilla.com>
906         * go-lang.c (struct GTY): Don't use variable_size gty attribute.
908 2014-05-06  Chris Manghane  <cmang@google.com>
910         * go-gcc.cc (Gcc_backend::nil_pointer_expression): New method.
911         (Gcc_backend::boolean_constant_expression): New method.
912         (Gcc_backend::zero_expression): Use this->make_expression rather
913         than tree_to_expr.
914         (Gcc_backend::var_expression): Likewise.
915         (Gcc_backend::integer_constant_expression): Likewise.
916         (Gcc_backend::float_constant_expression): Likewise.
917         (Gcc_backend::complex_constant_expression): Likewise.
918         (Gcc_backend::struct_field_expression): Likewise.
919         (tree_to_type, tree_to_expr, tree_to_stat): Remove functions.
920         (tree_to_function, tree_to_block): Remove functions.
921         (type_to_tree, expr_to_tree, stat_to_tree): Remove functions.
922         (block_to_tree, var_to_tree, function_to_tree): Remove functions.
924 2014-05-06  Kenneth Zadeck  <zadeck@naturalbridge.com>
925             Mike Stump  <mikestump@comcast.net>
926             Richard Sandiford  <rdsandiford@googlemail.com>
928         * go-gcc.cc (Gcc_backend::type_size): Use tree_fits_uhwi_p.
930 2014-05-06  Chris Manghane  <cmang@google.com>
932         * go-c.h (go_create_gogo): Update declaration to add
933         check_divide_zero and check_divide_overflow parameters.
934         * go-lang.c (go_langhook_init): Pass new arguments to
935         go_create_gogo.
937 2014-05-05  Chris Manghane  <cmang@google.com>
939         * go-gcc.cc (Gcc_backend::implicit_variable): Rename from
940         gc_root_variable.  Add name and is_constant parameters.
942 2014-05-05  Chris Manghane  <cmang@google.com>
944         * go-gcc.cc (Gcc_backend::indirect_expression): Add btype
945         parameter.
946         (Gcc_backend::temporary_variable): Check for erroneous function.
948 2014-04-30  Chris Manghane  <cmang@google.com>
950         * go-backend.c: #include "diagnostics.h".
951         (saw_errors): New function.
952         * go-c.h (saw_errors): Declare.
953         * Make-lang.in (GO_OBJS): Remove go/gogo-tree.o.
955 2014-04-30  Chris Manghane  <cmang@google.com>
957         * go-lang.c (go_langhook_type_for_size): Do it here, rather than
958         calling into Go frontend.
959         (go_langhook_type_for_mode): Likewise.
960         * go-c.h (go_type_for_size, go_type_for_mode): Don't declare.
962 2014-04-30  Chris Manghane  <cmang@google.com>
964         * go-gcc.cc: #include "langhooks.h".
965         (Gcc_backend::Gcc_backend): Add constructor.
966         (Gcc_backend::lookup_function): New function.
967         (Gcc_backend::define_builtin): New private function.
968         (Gcc_backend::gcc_backend): Remove.
969         (go_get_backend): Use new to create new Gcc_backend.
971 2014-04-25  Chris Manghane  <cmang@google.com>
973         * go-gcc.cc: Include "cgraph.h" and "gimplify.h".
974         (Gcc_backend::return_statement): Push and pop function.
975         (Gcc_backend::label): Likewise.
976         (Gcc_backend::function_defer_statement): Likewise.
977         (Gcc_backend::switch_statement): Add function parameter.
978         (Gcc_backend::block): Don't permit function to be NULL.
979         (Gcc_backend::temporary_variable): Change go_assert to
980         gcc_assert.
981         (Gcc_backend::gc_root_variable): New function.
982         (Gcc_backend::write_global_definitions): New function.
984 2014-04-22  Chris Manghane  <cmang@google.com>
986         * go-gcc.cc (Gcc_backend::temporary_variable): Push cfun around
987         call to create_tmp_var.  Require that function be non-NULL.
989 2014-04-17  Chris Manghane  <cmang@google.com>
991         * go-gcc.cc (Gcc_backend::named_constant_expression): New
992         function.
994 2014-04-14  Chris Manghane  <cmang@google.com>
996         * go-gcc.cc: Include "convert.h".
997         (Gcc_backend::string_constant_expression): New function.
998         (Gcc_backend::real_part_expression): Likewise.
999         (Gcc_backend::imag_part_expression): Likewise.
1000         (Gcc_backend::complex_expression): Likewise.
1001         (Gcc_backend::constructor_expression): Likewise.
1002         (Gcc_backend::array_constructor_expression): Likewise.
1003         (Gcc_backend::pointer_offset_expression): Likewise.
1004         (Gcc_backend::array_index_expression): Likewise.
1005         (Gcc_backend::call_expression): Likewise.
1006         (Gcc_backend::exception_handler_statement): Likewise.
1007         (Gcc_backend::function_defer_statement): Likewise.
1008         (Gcc_backend::function_set_parameters): Likewise.
1009         (Gcc_backend::function_set_body): Likewise.
1010         (Gcc_backend::convert_expression): Handle various type
1011         conversions.
1013 2014-03-03  Ian Lance Taylor  <iant@google.com>
1015         * go-gcc.cc (Gcc_backend::immutable_struct): If IS_COMMON, set
1016         DECL_WEAK.
1017         (GCC_backend::immutable_struct_set_init): If IS_COMMON, clear
1018         DECL_WEAK.
1020 2014-01-24  Chris Manghane  <cmang@google.com>
1022         * go-gcc.cc (Gcc_backend::unary_expression): New function.
1024 2014-01-16  Chris Manghane  <cmang@google.com>
1026         * go-gcc.cc (Gcc_backend::conditional_expression): Add btype
1027         parameter.
1028         (operator_to_tree_code): New static function.
1029         (Gcc_backend::binary_expression): New function.
1031 2014-01-14  Chris Manghane  <cmang@google.com>
1033         * go-gcc.cc (Gcc_backend::compound_expression): New function.
1034         (Gcc_backend::conditional_expression): New function.
1036 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1038         Update copyright years
1040 2014-01-02  Tobias Burnus  <burnus@net-b.de>
1042         * gccgo.texi: Bump @copying's copyright year.
1044 2013-12-16  Chris Manghane  <cmang@google.com>
1046         * go-gcc.cc (Gcc_backend::struct_field_expression): New function.
1048 2013-12-11  Ian Lance Taylor  <iant@google.com>
1050         * go-lang.c (go_langhook_post_options): Disable sibling calls by
1051         default.
1053 2013-12-10  Ian Lance Taylor  <iant@google.com>
1055         * Make-lang.in (check_go_parallelize): Test go-test.exp r* tests
1056         separately.
1058 2013-12-05  Ian Lance Taylor  <iant@google.com>
1060         Revert this change; no longer required.
1061         2013-11-06  Ian Lance Taylor  <iant@google.com>
1063         * go-lang.c (go_langhook_post_options): If
1064         -fisolate-erroneous-paths was turned on by an optimization option,
1065         turn it off.
1067 2013-11-23  Ian Lance Taylor  <iant@google.com>
1069         * go-gcc.cc (Gcc_backend::function_type): Add result_struct
1070         parameter.
1072 2013-11-22  Andrew MacLeod  <amacleod@redhat.com>
1074         * go-gcc.cc: Add required include files from gimple.h.
1075         * go-lang.c: Likewise.
1077 2013-11-18  Richard Sandiford  <rdsandiford@googlemail.com>
1079         * gofrontend/expressions.cc: Replace tree_low_cst (..., 0) with
1080         tree_to_shwi throughout.
1082 2013-11-18  Richard Sandiford  <rdsandiford@googlemail.com>
1084         * gofrontend/expressions.cc: Replace host_integerp (..., 0) with
1085         tree_fits_shwi_p throughout.
1087 2013-11-14  Andrew MacLeod  <amacleod@redhat.com>
1089         * go-lang.c: Include only gimplify.h and gimple.h as needed.
1091 2013-11-14  Diego Novillo  <dnovillo@google.com>
1093         * go-backend.c: Include stor-layout.h.
1094         * go-gcc.cc: Include stringpool.h.
1095         Include stor-layout.h.
1096         Include varasm.h.
1097         * go-lang.c: Include stor-layout.h.
1099 2013-11-12  Andrew MacLeod  <amacleod@redhat.com>
1101         * go-lang.c: Include gimplify.h.
1103 2013-11-06  Ian Lance Taylor  <iant@google.com>
1105         * go-lang.c (go_langhook_post_options): If
1106         -fisolate-erroneous-paths was turned on by an optimization option,
1107         turn it off.
1109 2013-10-14  Chris Manghane  <cmang@google.com>
1111         * go-gcc.cc (Gcc_backend::address_expression): New function.
1113 2013-10-11  Chris Manghane  <cmang@google.com>
1115         * go-gcc.cc (Gcc_backend::function_code_expression): New
1116         function.
1118 2013-10-10  Chris Manghane  <cmang@google.com>
1120         * go-gcc.cc (Gcc_backend::error_function): New function.
1121         (Gcc_backend::function): New function.
1122         (Gcc_backend::make_function): New function.
1123         (function_to_tree): New function.
1125 2013-10-04  Chris Manghane  <cmang@google.com>
1127         * go-gcc.cc (Gcc_backend::convert_expression): New function.
1129 2013-10-02  Chris Manghane  <cmang@google.com>
1131         * go-gcc.cc: Include "real.h" and "realmpfr.h".
1132         (Gcc_backend::integer_constant_expression): New function.
1133         (Gcc_backend::float_constant_expression): New function.
1134         (Gcc_backend::complex_constant_expression): New function.
1136 2013-09-30  Chris Manghane  <cmang@google.com>
1138         * go-gcc.cc (Gcc_backend::error_expression): New function.
1139         (Gcc_backend::var_expression): New function.
1140         (Gcc_backend::indirect_expression): New function.
1142 2013-09-25  Tom Tromey  <tromey@redhat.com>
1144         * Make-lang.in (gospec.o): Remove.
1145         (CFLAGS-go/gospec.o): New variable.
1146         (GCCGO_OBJS): Update to use go/gospec.o.
1147         (go_OBJS): Define.
1148         (GO_SYSTEM_H, GO_C_H, GO_LINEMAP_H, GO_LEX_H, GO_PARSE_H)
1149         (GO_GOGO_H, GO_TYPES_H, GO_STATEMENTS_H, GO_EXPRESSIONS_H)
1150         (GO_EXPORT_H, GO_IMPORT_H, GO_RUNTIME_H, GO_AST_DUMP_H)
1151         (go/go-backend.o, go/go-lang.o, go/go-gcc.o, go/go-linemap.o)
1152         (go/ast-dump.o, go/dataflow.o, go/export.o, go/expressions.o)
1153         (go/go.o, go/go-dump.o, go/go-optimize.o, go/gogo-tree.o)
1154         (go/gogo.o, go/import.o, go/import-archive.o, go/lex.o)
1155         (go/parse.o, go/runtime.o, go/statements.o, go/types.o)
1156         (go/unsafe.o): Remove.
1157         (CFLAGS-go/go-gcc.o, CFLAGS-go/go-linemap.o): New variables.
1158         (go/%.o: go/gofrontend/%.cc): Use COMPILE and POSTCOMPILE.
1160 2013-09-25  Tom Tromey  <tromey@redhat.com>
1162         * Make-lang.in (gospec.o): Don't use subshell.
1164 2013-08-28  Ian Lance Taylor  <iant@google.com>
1166         * go-gcc.cc (Gcc_backend::immutable_struct): Set TREE_PUBLIC if
1167         the struct is not hidden.
1168         (Gcc_backend::immutable_struct_set_init): Don't set TREE_PUBLIC.
1170 2013-08-06  Ian Lance Taylor  <iant@google.com>
1172         * go-gcc.cc (Gcc_backend::immutable_struct_set_init): Use
1173         compute_reloc_for_constant.
1175 2013-08-02  Ian Lance Taylor  <iant@google.com>
1177         * go-gcc.cc (immutable_struct_set_init): Always call
1178         resolve_unique_section.
1180 2013-07-24  Ian Lance Taylor  <iant@google.com>
1182         * go-gcc.cc (Gcc_backend::non_zero_size_type): If a struct has a
1183         fields, recreate those fields with the first one with a non-zero
1184         size.
1186 2013-07-23  Ian Lance Taylor  <iant@google.com>
1188         * go-backend.c: Don't #include "rtl.h".
1189         (go_imported_unsafe): Don't call init_varasm_once.
1190         * Make-lang.in (go/go-backend.o): Don't depend on $(RTL_H).
1192 2013-07-23  Ian Lance Taylor  <iant@google.com>
1194         * go-lang.c: Don't #include "except.h".
1195         * Make-lang.in (go/go-lang.o): Don't depend on $(EXCEPT_H).
1197 2013-06-18  Ian Lance Taylor  <iant@google.com>
1199         * go-gcc.cc (Gcc_backend::immutable_struct): Add is_hidden
1200         parameter.
1201         (Gcc_backend::immutable_struct_set_init): Likewise.
1203 2013-05-16  Jason Merrill  <jason@redhat.com>
1205         * Make-lang.in (go1$(exeext)): Use link mutex.
1207 2013-01-16  Shenghou Ma  <minux.ma@gmail.com>
1209         * gospec.c: pass -u pthread_create to linker when static linking.
1211 2012-12-21  Ian Lance Taylor  <iant@google.com>
1213         PR bootstrap/54659
1214         * go-system.h: Don't include <cstdio>.
1216 2012-12-18  Ian Lance Taylor  <iant@google.com>
1218         PR go/55201
1219         * gospec.c: Revert last patch.
1221 2012-12-18  Andreas Schwab  <schwab@linux-m68k.org>
1223         PR go/55201
1224         * gospec.c (LIBATOMIC): Define.
1225         (LIBATOMIC_PROFILE): Define.
1226         (lang_specific_driver): Add LIBATOMIC[_PROFILE] option.
1228 2012-11-29  Ian Lance Taylor  <iant@google.com>
1230         * go-gcc.cc: Include "output.h".
1231         (global_variable): Add is_unique_section parameter.
1232         (global_variable_set_init): Adjust unique section if necessary.
1233         * Make-lang.in (go/go-gcc.o): Add dependency on output.h.
1235 2012-11-17  Diego Novillo  <dnovillo@google.com>
1237         Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)
1239         * go-lang.c: Use new vec API in vec.h.
1241 2012-11-16  Ian Lance Taylor  <iant@google.com>
1243         * Make-lang.in (gccgo$(exeext)): Add + at start of command.
1244         (go1$(exeext)): Likewise.
1246 2012-10-30  Ian Lance Taylor  <iant@google.com>
1248         * lang.opt (-fgo-relative-import-path): New option.
1249         * go-lang.c (go_relative_import_path): New static variable.
1250         (go_langhook_init): Pass go_relative_import_path to
1251         go_create_gogo.
1252         (go_langhook_handle_option): Handle -fgo-relative-import-path.
1253         * go-c.h (go_create_gogo): Update declaration.
1254         * gccgo.texi (Invoking gccgo): Document
1255         -fgo-relative-import-path.
1257 2012-09-17  Ian Lance Taylor  <iant@google.com>
1259         * config-lang.in (target_libs): Add target-libbacktrace.
1261 2012-09-16  Ian Lance Taylor  <iant@google.com>
1263         * Make-lang.in (go/gogo.o): Depend on filenames.h.
1265 2012-08-14   Diego Novillo  <dnovillo@google.com>
1267         Merge from cxx-conversion branch.  Configury.
1269         * go-c.h: Remove all handlers of ENABLE_BUILD_WITH_CXX.
1270         * go-gcc.cc: Likewise.
1271         * go-system.h: Likewise.
1273 2012-07-24  Uros Bizjak  <ubizjak@gmail.com>
1275         * go-lang.c (lang_decl): Add variable_size GTY option.
1277 2012-05-09  Ian Lance Taylor  <iant@google.com>
1279         * lang.opt: Add -fgo-pkgpath.
1280         * go-lang.c (go_pkgpath): New static variable.
1281         (go_prefix): New static variable.
1282         (go_langhook_init): Pass go_pkgpath and go_prefix to
1283         go_create_gogo.
1284         (go_langhook_handle_option): Handle -fgo-pkgpath.  Change
1285         -fgo-prefix handling to just set go_prefix.
1286         * go-c.h (go_set_prefix): Don't declare.
1287         (go_create_gogo): Add pkgpath and prefix to declaration.
1288         * go-gcc.cc (Gcc_backend::global_variable): Change unique_prefix
1289         to pkgpath.  Don't include the package name in the asm name.
1290         * gccgo.texi (Invoking gccgo): Document -fgo-pkgpath.  Update the
1291         docs for -fgo-prefix.
1293 2012-04-23  Ian Lance Taylor  <iant@google.com>
1295         * go-lang.c (go_langhook_init): Set MPFR precision to 256.
1297 2012-04-20  Ian Lance Taylor  <iant@google.com>
1299         * lang.opt: Add -fgo-check-divide-zero and
1300         -fgo-check-divide-overflow.
1301         * gccgo.texi (Invoking gccgo): Document new options.
1303 2012-04-18  Steven Bosscher  <steven@gcc.gnu.org>
1305         * go-gcc.cc (Gcc_backend::switch_statement): Build SWITCH_EXPR
1306         with NULL_TREE type instead of void_type_node.
1308 2012-03-09  Ian Lance Taylor  <iant@google.com>
1310         * go-gcc.cc (Gcc_backend::assignment_statement): Convert the rhs
1311         to the lhs type if necessary.
1313 2012-03-08  Ian Lance Taylor  <iant@google.com>
1315         * go-gcc.cc (Gcc_backend::init_statement): Don't initialize a
1316         zero-sized variable.
1317         (go_non_zero_struct): New global variable.
1318         (Gcc_backend::non_zero_size_type): New function.
1319         (Gcc_backend::global_variable): Don't build an assignment for a
1320         zero-sized value.
1321         * go-c.h (go_non_zero_struct): Declare.
1322         * config-lang.in (gtfiles): Add go-c.h.
1324 2012-02-29  Ian Lance Taylor  <iant@google.com>
1326         * go-gcc.cc (class Gcc_tree): Add set_tree method.
1327         (set_placeholder_pointer_type): When setting to a pointer to
1328         error, set to error_mark_node.
1330 2012-02-23  Richard Guenther  <rguenther@suse.de>
1332         * go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use
1333         build_distinct_type_copy.
1335 2012-02-17  Ian Lance Taylor  <iant@google.com>
1337         * Make-lang.in (go/import.o): Add dependency on $(GO_LEX_H).
1339 2012-02-17  Ian Lance Taylor  <iant@google.com>
1341         * gospec.c (lang_specific_driver): If linking, and no -o option
1342         was used, add one.
1344 2012-02-14  Ian Lance Taylor  <iant@google.com>
1346         PR go/48411
1347         * Make-lang.in (gccgo-cross$(exeext)): New target.
1348         (go.all.cross): Depend on gccgo-cross$(exeext) instead of
1349         gccgo$(exeext).
1350         (go.install-common): Only install GCCGO_TARGET_INSTALL_NAME if
1351         gccgo-cross$(exeext) does not exist.
1353 2012-02-07  Ian Lance Taylor  <iant@google.com>
1355         * gccgo.texi (Function Names): Document //extern instead of
1356         __asm__.
1358 2012-02-01  Jakub Jelinek  <jakub@redhat.com>
1360         PR target/52079
1361         * go-lang.c (go_langhook_type_for_mode): For TImode and 64-bit HWI
1362         return build_nonstandard_integer_type result if possible.
1364 2012-01-21  Ian Lance Taylor  <iant@google.com>
1366         * go-gcc.cc (Gcc_backend::type_size): Check for error_mark_node.
1367         (Gcc_backend::type_alignment): Likewise.
1368         (Gcc_backend::type_field_alignment): Likewise.
1369         (Gcc_backend::type_field_offset): Likewise.
1371 2012-01-20  Ian Lance Taylor  <iant@google.com>
1373         * go-gcc.cc (Gcc_backend::placeholder_struct_type): Permit name to
1374         be empty.
1375         (Gcc_backend::set_placeholder_struct_type): Likewise.
1377 2012-01-17  Ian Lance Taylor  <iant@google.com>
1379         * gospec.c (lang_specific_driver): If we see -S without -o, add -o
1380         BASE.s rather than -o BASE.o.
1382 2012-01-11  Ian Lance Taylor  <iant@google.com>
1384         * go-lang.c (go_langhook_init): Initialize void_list_node before
1385         calling go_create_gogo.
1387 2012-01-10  Ian Lance Taylor  <iant@google.com>
1389         * go-gcc.cc (Gcc_backend::type_size): New function.
1390         (Gcc_backend::type_alignment): New function.
1391         (Gcc_backend::type_field_alignment): New function.
1392         (Gcc_backend::type_field_offset): New function.
1393         * go-backend.c (go_type_alignment): Remove.
1394         * go-c.h (go_type_alignment): Don't declare.
1396 2011-12-27  Ian Lance Taylor  <iant@google.com>
1398         * go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Use
1399         build_distinct_type_copy rather than build_variant_type_copy.
1400         (Gcc_backend::set_placeholder_array_type): Likewise.
1401         (Gcc_backend::named_type): Add special handling for builtin
1402         basic types.
1404 2011-12-22  Ian Lance Taylor  <iant@google.com>
1406         * go-gcc.cc (Gcc_backend::set_placeholder_pointer_type): Arrange
1407         for the type name to have a DECL_ORIGINAL_TYPE as gcc expects.
1408         (Gcc_backend::set_placeholder_struct_type): Likewise.
1409         (Gcc_backend::set_placeholder_array_type): Likewise.
1410         (Gcc_backend::named_type): Set DECL_ORIGINAL_TYPE.
1412 2011-12-13  Ian Lance Taylor  <iant@google.com>
1414         * go-backend.c: #include "simple-object.h" and "intl.h".
1415         (GO_EXPORT_SEGMENT_NAME): Define if not defined.
1416         (GO_EXPORT_SECTION_NAME): Likewise.
1417         (go_write_export_data): Use GO_EXPORT_SECTION_NAME.
1418         (go_read_export_data): New function.
1419         * go-c.h (go_read_export_data): Declare.
1421 2011-11-29  Sanjoy Das  <thedigitalangel@gmail.com>
1422             Ian Lance Taylor  <iant@google.com>
1424         * go-location.h: New file.
1425         * go-linemap.cc: New file.
1426         * go-gcc.cc: Change all uses of source_location to Location.
1427         * Make-lang.in (GO_OBJS): Add go/go-linemap.o.
1428         (GO_LINEMAP_H): New variable.
1429         (GO_LEX_H): Use $(GO_LINEMAP_H).
1430         (GO_GOGO_H, GO_TYPES_H, GO_IMPORT_H): Likewise.
1431         (go/go-linemap.o): New target.
1433 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1435         * Make-lang.in (gospec.o): Pass SHLIB instead of SHLIB_LINK.
1437 2011-08-24  Roberto Lublinerman  <rluble@gmail.com>
1439         * lang.opt: Add fgo-optimize-.
1440         * go-lang.c (go_langhook_handle_option): Handle OPT_fgo_optimize.
1441         * go-c.h (go_enable_optimize): Declare.
1442         * Make-lang.in (GO_OBJS): Add go/go-optimize.o.
1443         (GO_EXPORT_H): Define.
1444         (GO_IMPORT_H): Add $(GO_EXPORT_H).
1445         (GO_AST_DUMP_H): Define.
1446         (go/ast-dump.o, go/statements.o): Use GO_AST_DUMP_H.
1447         (go/export.o, go/gogo.o, go/import.o): Use GO_EXPORT_H.
1448         (go/types.o): Likewise.
1449         (go/expressions.o): Use GO_AST_DUMP_H and GO_EXPORT_H.
1450         (go/go-optimize.o): New target.
1452 2011-08-24  Joseph Myers  <joseph@codesourcery.com>
1454         * Make-lang.in (CFLAGS-go/go-lang.o): New.
1455         (go/go-lang.o): Remove explicit compilation rule.
1457 2011-08-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1459         * Make-lang.in (gccgo$(exeext)): Add $(EXTRA_GCC_LIBS).
1461 2011-08-02  Roberto Lublinerman  <rluble@gmail.com>
1463         * Make-lang.in (GO_OBJS): Add go/ast-dump.o.
1464         (go/ast-dump.o): New target.
1465         (go/expressions.o): Depend on go/gofrontend/ast-dump.h.
1466         (go/statements.o): Likewise.
1468 2011-07-06  Richard Guenther  <rguenther@suse.de>
1470         * go-lang.c (go_langhook_init):
1471         Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
1473 2011-06-14  Joseph Myers  <joseph@codesourcery.com>
1475         * Make-lang.in (go/go-lang.o, go/go-backend.o): Update
1476         dependencies.
1477         * go-backend.c: Include common/common-target.h.
1478         (go_write_export_data): Use targetm_common.have_named_sections.
1479         * go-lang.c: Include common/common-target.h.
1480         (go_langhook_init_options_struct): Use
1481         targetm_common.supports_split_stack.
1483 2011-06-13  Ian Lance Taylor  <iant@google.com>
1485         * Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H).
1487 2011-06-10  Ian Lance Taylor  <iant@google.com>
1489         * go-gcc.cc: Include "toplev.h".
1490         (Gcc_backend::immutable_struct): New function.
1491         (Gcc_backend::immutable_struct_set_init): New function.
1492         (Gcc_backend::immutable_struct_reference): New function.
1493         * Make-lang.in (go/go-gcc.o): Depend on toplev.h.
1495 2011-06-09  Ian Lance Taylor  <iant@google.com>
1497         * go-gcc.cc (Gcc_backend::zero_expression): New function.
1499 2011-06-07  Richard Guenther  <rguenther@suse.de>
1501         * go-lang.c (go_langhook_init): Do not set
1502         size_type_node or call set_sizetype.
1504 2011-05-27  Ian Lance Taylor  <iant@google.com>
1506         * go-backend.c: Include "output.h".
1507         (go_write_export_data): New function.
1508         * go-c.h (go_write_export_data): Declare.
1509         * Make-lang.in (go/go-backend.o): Depend on output.h.
1510         (go/export.o): Depend on $(GO_C_H).  Do not depend on
1511         $(MACHMODE_H), output.h, or $(TARGET_H).
1513 2011-05-24  Joseph Myers  <joseph@codesourcery.com>
1515         * Make-lang.in (GCCGO_OBJS): Remove prefix.o.
1516         (gccgo$(exeext)): Use libcommon-target.a.
1518 2011-05-20  Joseph Myers  <joseph@codesourcery.com>
1520         * Make-lang.in (GCCGO_OBJS): Remove intl.o and version.o.
1522 2011-05-13  Ian Lance Taylor  <iant@google.com>
1524         * go-gcc.cc (Gcc_backend::function_type): When building a struct
1525         for multiple results, check that all fields types have a size.
1526         (Gcc_backend::placeholder_pointer_type): Permit name to be empty.
1528 2011-05-12  Ian Lance Taylor  <iant@google.com>
1530         * go-gcc.cc (Gcc_backend::local_variable): Add is_address_taken
1531         parameter.
1532         (Gcc_backend::parameter_variable): Likewise.
1534 2011-05-07  Eric Botcazou  <ebotcazou@adacore.com>
1536         * go-lang.c (global_bindings_p): Return bool and simplify.
1538 2011-05-05  Nathan Froyd  <froydnj@codesourcery.com>
1540         * go-gcc.cc (Gcc_backend::switch_statement): Call build_case_label.
1542 2011-05-04  Ian Lance Taylor  <iant@google.com>
1544         * go-gcc.cc (Gcc_backend::struct_type): Call fill_in_struct.
1545         (Gcc_backend::fill_in_struct): New function.
1546         (Gcc_backend::array_type): Implement.
1547         (Gcc_backend::fill_in_array): New function.
1548         (Gcc_backend::placeholder_pointer_type): New function.
1549         (Gcc_backend::set_placeholder_pointer_type): New function.
1550         (Gcc_backend::set_placeholder_function_type): New function.
1551         (Gcc_backend::placeholder_struct_type): New function.
1552         (Gcc_backend::set_placeholder_struct_type): New function.
1553         (Gcc_backend::placeholder_array_type): New function.
1554         (Gcc_backend::set_placeholder_array_type): New function.
1555         (Gcc_backend::named_type): New function.
1556         (Gcc_backend::circular_pointer_type): New function.
1557         (Gcc_backend::is_circular_pointer_type): New function.
1559 2011-04-26  Ian Lance Taylor  <iant@google.com>
1561         * go-gcc.cc (Gcc_backend::struct_type): Implement.
1563 2011-04-25  Ian Lance Taylor  <iant@google.com>
1565         * go-gcc.cc (Gcc_backend::error_type): Implement.
1566         (Gcc_backend::string_type): Remove.
1567         (Gcc_backend::function_type): Change signature and implement.
1568         (Gcc_backend::struct_type): Change signature.
1569         (Gcc_backend::slice_type, Gcc_backend::map_type): Remove.
1570         (Gcc_backend::channel_type, Gcc_backend::interface_type): Remove.
1571         (Gcc_backend::pointer_type): Check for error.
1572         * Make-lang.in (go/types.o): Depend on go/gofrontend/backend.h.
1574 2011-04-25  Evan Shaw  <edsrzf@gmail.com>
1576         * go-gcc.c (class Gcc_tree): Make get_tree const.
1577         (Gcc_backend::void_type): Implement.
1578         (Gcc_backend::bool_type): Implement.
1579         (Gcc_backend::integer_type): Implement.
1580         (Gcc_backend::float_type): Implement.
1581         (Gcc_backend::complex_type): New function.
1582         (Gcc_backend::pointer_type): New function.
1583         (Gcc_backend::make_type): New function.
1584         (type_to_tree): New function.
1586 2011-04-21  Ian Lance Taylor  <iant@google.com>
1588         * go-system.h (go_assert, go_unreachable): Define.
1590 2011-04-19  Ian Lance Taylor  <iant@google.com>
1592         * go-system.h: Include "intl.h".
1593         * Make-lang.in (GO_SYSTEM_H): Add intl.h.
1594         (go/statements.o): Remove dependencies on intl.h $(TREE_H)
1595         $(GIMPLE_H) convert.h tree-iterator.h $(TREE_FLOW_H) $(REAL_H).
1597 2011-04-19  Ian Lance Taylor  <iant@google.com>
1599         * go-gcc.cc (Gcc_backend::temporary_variable): New function.
1601 2011-04-19  Ian Lance Taylor  <iant@google.com>
1603         * go-gcc.cc (class Bblock): Define.
1604         (Gcc_backend::if_statement): Change then_block and else_block to
1605         Bblock*.
1606         (Gcc_backend::block): New function.
1607         (Gcc_backend::block_add_statements): New function.
1608         (Gcc_backend::block_statement): New function.
1609         (tree_to_block, block_to_tree): New functions.
1611 2011-04-18  Ian Lance Taylor  <iant@google.com>
1613         * go-gcc.cc: Include "go-c.h".
1614         (class Bvariable): Define.
1615         (Gcc_backend::init_statement): New function.
1616         (Gcc_backend::global_variable): New function.
1617         (Gcc_backend::global_variable_set_init): New function.
1618         (Gcc_backend::local_variable): New function.
1619         (Gcc_backend::parameter_variable): New function.
1620         (tree_to_type, var_to_tree): New functions.
1621         * Make-lang.in (go/go-gcc.o): Depend on $(GO_C_H).
1622         * (go/gogo-tree.o): Depend on go/gofrontend/backend.h.
1624 2011-04-15  Ian Lance Taylor  <iant@google.com>
1626         * go-gcc.cc (Gcc_backend::compound_statement): New function.
1627         (Gcc_backend::assignment_statement): Use error_statement.
1628         (Gcc_backend::return_statement): Likewise.
1629         (Gcc_backend::if_statement): Likewise.
1630         (Gcc_backend::switch_statement): Likewise.
1631         (Gcc_backend::statement_list): Likewise.
1633 2011-04-14  Ian Lance Taylor  <iant@google.com>
1635         * go-gcc.cc (Gcc_backend::error_statement): New function.
1637 2011-04-13  Ian Lance Taylor  <iant@google.com>
1639         * Make-lang.in (go/gogo-tree.o): depend on $(GO_RUNTIME_H).
1641 2011-04-13  Ian Lance Taylor  <iant@google.com>
1643         * Make-lang.in (GO_OBJS): Add go/runtime.o.
1644         (GO_RUNTIME_H): New variable.
1645         (go/runtime.o): New target.
1646         (go/gogo.o): Depend on $(GO_RUNTIME_H).
1647         (go/statements.o): Likewise.
1649 2011-04-12  Nathan Froyd  <froydnj@codesourcery.com>
1651         * go-lang.c (union lang_tree_node): Check for TS_COMMON before
1652         calling TREE_CHAIN.
1654 2011-04-06  Ian Lance Taylor  <iant@google.com>
1656         * go-gcc.cc (if_statement): Use build3_loc.
1657         (Gcc_backend::switch_statement): New function.
1658         (Gcc_backend::statement_list): New function.
1660 2011-04-06  Ian Lance Taylor  <iant@google.com>
1662         * go-gcc.cc (Gcc_backend::if_statement): New function.
1663         (tree_to_stat): New function.
1664         (expr_to_tree): Renamed from expression_to_tree.
1665         (stat_to_tree): Renamed from statement_to_tree.
1667 2011-04-06  Ian Lance Taylor  <iant@google.com>
1669         * go-gcc.cc (Gcc_backend::expression_statement): New function.
1671 2011-04-04  Ian Lance Taylor  <iant@google.com>
1673         * go-gcc.c (class Blabel): Define.
1674         (Gcc_backend::make_expression): New function.
1675         (get_identifier_from_string): New function.
1676         (Gcc_backend::label): New function.
1677         (Gcc_backend::label_definition_statement): New function.
1678         (Gcc_backend::goto_statement): New function.
1679         (Gcc_backend::label_address): New function.
1680         (expression_to_tree): New function.
1681         * Make-lang.in (go/expressions.o): Depend on
1682         go/gofrontend/backend.h.
1683         (go/gogo.o): Likewise.
1685 2011-04-04  Ian Lance Taylor  <iant@google.com>
1687         * go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h".
1688         (class Bfunction): Define.
1689         (Gcc_backend::assignment_statement): Rename from assignment.
1690         Check for errors.
1691         (Gcc_backend::return_statement): New function.
1692         (tree_to_function): New function.
1693         * Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h,
1694         $(GIMPLE_H), and $(GO_GOGO_H).
1696 2011-04-03  Ian Lance Taylor  <iant@google.com>
1698         * go-gcc.cc: New file.
1699         * Make-lang.in (GO_OBJS): Add go/go-gcc.o.
1700         (go/go-gcc.o): New target.
1701         (go/go.o): Depend on go/gofrontend/backend.h.
1702         (go/statements.o): Likewise.
1704 2011-02-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1706         * gccgo.texi (Top, Import and Export): Fix a typo and a markup nit.
1708 2011-02-08  Ian Lance Taylor  <iant@google.com>
1710         * go-lang.c (go_langhook_init_options_struct): Set
1711         frontend_set_flag_errno_math.  Don't set x_flag_trapping_math.
1713 2011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1715         * gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
1716         LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
1718 2011-01-21  Ian Lance Taylor  <iant@google.com>
1720         * go-lang.c (go_langhook_init): Omit float_type_size when calling
1721         go_create_gogo.
1722         * go-c.h: Update declaration of go_create_gogo.
1724 2011-01-13  Ian Lance Taylor  <iant@google.com>
1726         * go-backend.c: Include "rtl.h" and "target.h".
1727         (go_imported_unsafe): New function.
1728         * go-c.h (go_imported_unsafe): Declare.
1729         * Make-lang.in (go/go-backend.o): Depend on $(RTL_H).
1730         (go/gogo-tree.o): Remove dependency on $(RTL_H).
1731         (go/unsafe.o): Depend on $(GO_C_H).
1733 2010-12-31  Joern Rennecke  <amylaar@spamcop.net>
1735         PR go/47113
1736         * go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
1737         variable ‘field’ .
1739 2010-12-21  Ian Lance Taylor  <iant@google.com>
1741         * Make-lang.in (check-go): Remove.
1742         (lang_checks_parallelized): Add check-go.
1743         (check_go_parallelize): Set.
1745 2010-12-13  Ian Lance Taylor  <iant@google.com>
1747         * gospec.c (lang_specific_driver): Add a -o option if not linking
1748         and there is no -o option already.
1750 2010-12-07  Ian Lance Taylor  <iant@google.com>
1752         PR tree-optimization/46805
1753         PR tree-optimization/46833
1754         * go-lang.c (go_langhook_type_for_mode): Handle vector modes.
1756 2010-12-06  Ian Lance Taylor  <iant@google.com>
1758         PR other/46789
1759         PR bootstrap/46812
1760         * go-lang.c (go_char_p): Define type and vectors.
1761         (go_search_dirs): New static variable.
1762         (go_langhook_handle_option): Use version and version/machine
1763         directories for -L.
1764         (go_langhook_post_options): Add non-specific -L paths.
1765         * Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and
1766         DEFAULT_TARGET_MACHINE when compiling.
1767         * gccgo.texi (Invoking gccgo): Only document -L for linking.
1768         (Import and Export): Don't mention -L for finding import files.
1770 2010-12-03  Ian Lance Taylor  <iant@google.com>
1772         PR bootstrap/46776
1773         * go-backend.c: New file.
1774         * go-c.h (go_type_alignment): Declare.
1775         (go_field_alignment, go_trampoline_info): Declare.
1776         * Make-lang.in (GO_OBJS): Add go/go-backend.o.
1777         (go/go-backend.o): New target.
1778         (go/go-lang.o): Make dependencies match source file.
1779         (go/expressions.o): Don't depend on $(TM_H) $(TM_P_H).
1780         (go/gogo-tree.o): Don't depend on $(TM_H).
1782 2010-12-03  Ian Lance Taylor  <iant@google.com>
1784         * config-lang.in (build_by_default): Set to no.
1786 2010-12-02  Ian Lance Taylor  <iant@google.com>
1788         Go frontend added to gcc repository.
1790 Copyright (C) 2010-2021 Free Software Foundation, Inc.
1792 Copying and distribution of this file, with or without modification,
1793 are permitted in any medium without royalty provided the copyright
1794 notice and this notice are preserved.