1 2016-10-25 David Malcolm <dmalcolm@redhat.com>
3 * go-lang.c (go_langhook_type_for_mode): Remove redundant cast
4 from result of GET_MODE_CLASS. Minor formatting fixes.
6 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
8 * go-backend.c: Include memmodel.h.
10 2016-10-10 Than McIntosh <thanm@google.com>
13 * go-c.h (struct go_create_gogo_args): Add backend and linemap
15 * go-lang.c: Include "go-gcc.h".
16 (go_langhook_init): Set linemap and backend fields of args.
17 * go-gcc.cc: Include "go-gcc.h".
18 * go-linemap.cc: Include "go-gcc.h".
20 2016-10-10 Than McIntosh <thanm@google.com>
22 * go-linemap.cc (Gcc_linemap::location_line): New method.
24 2016-10-10 Eric Botcazou <ebotcazou@adacore.com>
26 * config-lang.in (lang_requires_boot_languages): Delete.
28 2016-10-06 Chris Manghane <cmang@google.com>
30 * go-gcc.cc (Gcc_backend::stack_allocation_expression): Clear the
33 2016-09-27 Than McIntosh <thanm@google.com>
35 * go-linemap.cc (Gcc_linemap::to_string): New method.
37 2016-09-23 Than McIntosh <thanm@google.com>
39 * go-gcc-diagnostics.cc: New file.
40 * go-location.h (Location): Remove operator source_location. Add
42 * go-system.h: #include <sstream>.
43 * Make-lang.in (GO_OBJS): Add go/go-diagnostics.o and
44 go/go-gcc-diagnostics.o.
45 (CFLAGS-go/go-gcc-diagnostics.o): New variable.
47 2016-09-23 Chris Manghane <cmang@google.com>
50 * go-gcc.cc (Gcc_backend::Gcc_backend): Fix calls to integer_type
51 to pass arguments in the correct order.
53 2016-09-22 Ian Lance Taylor <iant@golang.org>
55 * go-gcc.cc (Gcc_backend::Gcc_backend): Declare
56 __builtin_frame_address.
58 2016-09-11 Ian Lance Taylor <iant@golang.org>
60 * go-gcc.cc (Gcc_backend::Gcc_backend): Add builtin versions of
61 ctz, ctzll, bswap32, bswap64.
63 2016-09-10 Ian Lance Taylor <iant@golang.org>
65 * go-backend.c (go_trampoline_info): Remove.
66 * go-c.h (go_trampoline_info): Don't declare.
68 2016-09-09 Than McIntosh <thanm@google.com>
70 * go-sha1.cc: New file.
71 * Make-lang.in (GO_OBJS): Add go/go-sha1.o.
72 (CFLAGS-go/go-sha1.o): New variable.
74 2016-08-29 Ian Lance Taylor <iant@google.com>
76 * lang.opt (fgo-c-header, fgo-compiling-runtime): New options.
77 * go-c.h (struct go_create_gogo_args): Define.
78 (go_create_gogo): Change declaration to take struct pointer.
79 * go-lang.c (go_c_header): New static variable.
80 (go_langhook_init): Update call to go_create_gogo.
81 * gccgo.texi (Invoking gccgo): Document -fgo-c-header and
82 -fgo-compiling-runtime.
84 2016-08-09 Ian Lance Taylor <iant@google.com>
86 * gccgo.texi (Invoking gccgo): Document -fgo-optimize-allocs and
88 (Compiler Directives): New chapter.
89 (Function Names): Describe using //go:linkname. Suggest using
90 -fgo-pkgpath rather than -fgo-prefix.
92 2016-08-08 Ian Lance Taylor <iant@google.com>
95 * go-gcc.cc (Gcc_backend::function_type): If the return type is
96 zero bytes, treat the function as returning void.
97 (return_statement): If the return type is zero bytes, don't
98 actually return any values.
100 2016-08-05 Ian Lance Taylor <iant@google.com>
103 * go-gcc.cc (char_needs_encoding): New static function.
104 (needs_encoding, fetch_utf8_char): New static functions.
105 (encode_id): New static function.
106 (Gcc_backend::global_variable): Set asm name if the name is not
108 (Gcc_backend::implicit_variable): Likewise.
109 (Gcc_backend::implicit_variable_reference): Likewise.
110 (Gcc_backend::immutable_struct): Likewise.
111 (Gcc_backend::immutable_struct_reference): Likewise.
112 (Gcc_backend::function): Likewise.
114 2016-08-02 Chris Manghane <cmang@google.com>
116 * lang.opt: Add -fgo-debug-escape option.
117 * go-c.h (go_create_gogo): Add debug_escape_level parameter.
118 * go-lang.c (go_langhook_init): Pass go_debug_escape_level to
121 2016-05-06 Chris Manghane <cmang@google.com>
123 * Make-lang.in (GO_OBJS): Add go/escape.o (based on an entirely
126 2016-04-29 Chris Manghane <cmang@google.com>
128 * Make-lang.in (GO_OBJS): Remove go/dataflow.o, go/escape.o.
130 2016-04-18 Michael Matz <matz@suse.de>
132 * go-gcc.cc (Gcc_backend::implicit_variable): Use SET_DECL_ALIGN.
134 2016-02-12 Jakub Jelinek <jakub@redhat.com>
136 * gofrontend/lex.cc: Spelling fixes - behaviour -> behavior and
137 neighbour -> neighbor.
138 * gccgo.texi: Likewise.
140 2016-01-27 Ian Lance Taylor <iant@google.com>
142 * go-lang.c (go_langhook_init_options_struct): Default to
143 -fkeep-gc-roots-live.
145 2016-01-04 Jakub Jelinek <jakub@redhat.com>
147 Update copyright years.
149 * gccgo.texi: Bump @copyrights-go year.
151 2015-12-21 Ian Lance Taylor <iant@google.com>
153 * go-gcc.cc (class Bvariable): Remove Gcc_tree parent class. Add
154 t_ and orig_type_ fields. Add new two parameter constructor. Add
155 get_tree and get_decl methods.
156 (Gcc_backend::var_expression): Pass location to var get_tree.
157 (Gcc_backend::global_variable): Don't add VIEW_CONVERT_EXPR. Use
158 two parameter constructor for Bvariable.
159 (Gcc_backend::global_variable_set_init): Don't remove
160 VIEW_CONVERT_EXPR. Use var get_decl, not get_tree.
161 (Gcc_backend::write_global_definitions): Likewise.
162 (Gcc_backend::init_statement): Call var get_decl, not get_tree.
163 (Gcc_backend::block): Likewise.
164 (Gcc_backend::implicit_variable_set_init): Likewise.
165 (Gcc_backend::immutable_struct_set_init): Likewise.
166 (Gcc_backend::function_set_parameters): Likewise.
168 2015-12-21 Ian Lance Taylor <iant@google.com>
170 * go-gcc.cc (Gcc_backend::global_variable): If type is zero-sized,
171 add a VIEW_CONVERT_EXPR to the tree.
172 (Gcc_backend::global_variable_set_init): Remove any
174 (Gcc_backend::write_global_definitions): Likewise.
176 2015-11-30 Ian Lance Taylor <iant@google.com>
179 * go-gcc.cc (Gcc_backend::string_constant_expression): Don't set
180 TYPE_STRING_FLAG on a variant type.
182 2015-11-11 Andrew MacLeod <amacleod@redhat.com>
184 * go-backend.c: Remove unused header files.
185 * go-gcc.cc: Likewise.
186 * go-lang.c: Likewise.
187 * gospec.c: Likewise.
189 2015-10-29 Andrew MacLeod <amacleod@redhat.com>
191 * go-backend.c: Reorder #include's and remove duplicates.
192 * go-lang.c: Likewise.
194 2015-10-20 Alan Modra <amodra@gmail.com>
197 * gospec.c (saw_opt_m32): Rename to..
198 (is_m64): ..this, initialised by TARGET_CAN_SPLIT_STACK_64BIT.
200 (lang_specific_driver): Set is_m64 if OPT_m64, clear if OPT_m32.
202 2015-10-01 Ian Lance Taylor <iant@google.com>
205 * gospec.c (lang_specific_driver): Only look for OPT_m32 if
206 TARGET_CAN_SPLIT_STACK_64BIT is defined.
208 2015-10-01 Lynn Boger <laboger@linux.vnet.ibm.com>
211 * gospec.c (lang_specific_driver): Set appropriate split stack
212 options for 64 bit compiles based on TARGET_CAN_SPLIT_STACK_64BIT.
214 2015-09-10 Chris Manghane <cmang@google.com>
216 * go-gcc.cc (Gcc_backend::type_size): Return -1 for
217 unrepresentable size.
219 2015-08-24 Marek Polacek <polacek@redhat.com>
221 PR tree-optimization/67284
222 * go-gcc.cc (Gcc_backend::define_builtin): Add NORETURN_P parameter.
223 Set TREE_THIS_VOLATILE.
224 (Gcc_backend::Gcc_backend): Mark __builtin_trap as a noreturn call.
225 Pass false to the rest of define_builtin calls.
227 2015-07-31 Andreas Schwab <schwab@linux-m68k.org>
229 * go-lang.c (go_langhook_init_options_struct): Don't set
231 (go_langhook_post_options): Set it here instead.
233 2015-07-12 Aldy Hernandez <aldyh@redhat.com>
235 * gofrontend/backend.h: Fix double word typos.
236 * gofrontend/expressions.cc: Same.
239 2015-07-07 Andrew MacLeod <amacleod@redhat.com>
241 * go-backend.c: Adjust includes.
242 * go-gcc.cc: Likewise.
243 * go-lang.c: Likewise.
245 2015-06-25 Andrew MacLeod <amacleod@redhat.com>
247 * go-gcc.cc: Remove ipa-ref.h and plugin-api.h from include list.
249 2015-06-17 Andrew MacLeod <amacleod@redhat.com>
251 * go-backend.c: Do not include input.h, line-map.h or is-a.h.
252 * go-gcc.cc: Likewise.
253 * go-lang.c: Likewise.
254 * go-system.h: Likewise.
256 2015-06-08 Andrew MacLeod <amacleod@redhat.com>
258 * go-backend.c : Adjust include files.
259 * go-gcc.cc : Likewise.
260 * go-lang.c : Likewise.
262 2015-06-05 Aldy Hernandez <aldyh@redhat.com>
264 * go-gcc.cc (write_global_definitions): Remove call to
265 finalize_compilation_unit.
266 Remove Go specific debug generation.
267 * go-lang.c (go_langhook_parse_file): Call go_write_globals.
268 (go_langhook_write_globals): Remove.
269 Remove LANG_HOOKS_WRITE_GLOBALS everywhere.
271 2015-06-04 Andrew MacLeod <amacleod@redhat.com>
273 * go-backend.c: Adjust includes for restructured coretypes.h.
275 * go-gcc.cc: Likewise.
276 * go-lang.c: Likewise.
278 2015-04-30 Chris Manghane <cmang@google.com>
280 * go-gcc.cc (Gcc_backend::stack_allocation_expression): New
283 2015-04-27 Jim Wilson <jim.wilson@linaro.org>
285 * Make-lang.in (go.mostlyclean): Remove gccgo, gccgo-cross, and go1.
287 2015-04-17 Chris Manghane <cmang@google.com>
289 * Make-lang.in (GO_OBJS): Add go/escape.o.
291 2015-02-02 Ian Lance Taylor <iant@google.com>
295 * go-gcc.cc (Gcc_backend::type_size): Change return type to
297 (Gcc_backend::type_alignment): Likewise.
298 (Gcc_backend::type_field_alignment): Likewise.
299 (Gcc_backend::type_field_offset): Likewise.
300 (Gcc_backend::implicit_variable): Change alignment parameter type
303 2015-01-23 Ian Lance Taylor <iant@google.com>
306 * gccgo.texi (Invoking gccgo): Mention that Go programs should not
309 * gccgo.texi (C Interoperability): Mention that people should use
312 2015-01-23 Ian Lance Taylor <iant@google.com>
315 * go-lang.c (go_langhook_init_options_struct): Set default
317 (go_langhook_post_options): If debug_info_level is still the
318 default, make sure write_symbols is set.
319 * gccgo.texi (Invoking gccgo): Document that -g1 is the default.
321 2015-01-16 Richard Henderson <rth@redhat.com>
323 * go-gcc.cc (Gcc_backend::call_expression): Add chain_expr argument.
324 (Gcc_backend::static_chain_variable): New method.
326 2015-01-09 Ian Lance Taylor <iant@google.com>
328 * config-lang.in (lang_dirs): Define.
330 2015-01-09 Michael Collison <michael.collison@linaro.org>
332 * go-gcc.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
333 input.h, alias.h, symtab.h, options.h, fold-const.h,
334 wide-int.h, and inchash.h due to flattening of tree.h.
336 * go-backend.c: Ditto.
338 2015-01-07 Chris Manghane <cmang@google.com>
341 * go-gcc.cc (Gcc_backend::temporary_variable): Don't initialize
344 2015-01-06 Chris Manghane <cmang@google.com>
346 * go-gcc.cc (Gcc_backend::constructor_expression): Don't
347 initialize zero-sized fields, just evaluate the values for side
350 2015-01-05 Jakub Jelinek <jakub@redhat.com>
352 Update copyright years.
354 * gccgo.texi: Bump @copyrights-go year.
356 2014-12-19 Chris Manghane <cmang@google.com>
358 * go-gcc.cc (Gcc_backend::array_constructor_expression): Don't
359 construct arrays of zero-sized values.
361 2014-10-29 Richard Sandiford <richard.sandiford@arm.com>
363 * go-lang.c: Remove redundant enum from machine_mode.
365 2014-10-28 Andrew MacLeod <amacleod@redhat.com>
367 * go-gcc.cc: Adjust include files.
369 2014-10-27 Andrew MacLeod <amacleod@redhat.com>
371 * go-gcc.cc: Adjust include files.
374 2014-10-23 Ian Lance Taylor <iant@google.com>
376 * go-gcc.cc (Gcc_backend::complex_constant_expression): Take one
377 mpc_t parameter instead of two mpfr_t parameters.
379 2014-09-15 Jakub Jelinek <jakub@redhat.com>
381 * Make-lang.in (check_go_parallelize): Change to just an upper bound
384 2014-09-03 Chris Manghane <cmang@google.com>
386 * go-gcc.cc (Gcc_backend::implicit_variable): Remove init
387 parameter. Add is_hidden parameter.
388 (Gcc_backend::implicit_variable_set_init): New method.
389 (Gcc_backend::implicit_variable_reference): New method.
391 2014-08-08 Ian Lance Taylor <iant@google.com>
393 * go-gcc.cc (Gcc_backend::compound_statement): Don't return
396 2014-07-24 Uros Bizjak <ubizjak@gmail.com>
398 * go-gcc.cc (Gcc_backend::global_variable_set_init): Rename
399 symtab_get_node to symtab_node::get.
401 2014-06-13 Ian Lance Taylor <iant@google.com>
404 * gospec.c (lang_specific_driver): On Solaris, when not using GNU
405 ld, add -t option to avoid warning about common symbol changing
408 2014-06-10 Jan Hubicka <hubicka@ucw.cz>
410 * go-gcc.cc (Gcc_backend::global_variable_set_init): Use
411 symtab_get_node(var_decl)->implicit_section.
413 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
415 * go-gcc.cc (global_variable_set_init): Use
416 set_decl_section_name.
418 2014-06-04 Ian Lance Taylor <iant@google.com>
420 * go-gcc.cc (Gcc_backend::implicit_variable): Add is_common and
421 alignment parameters. Permit init parameter to be NULL.
423 2014-06-02 Andrew MacLeod <amacleod@redhat.com>
425 * go-gcc.cc: Include builtins.h.
427 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
429 * go-lang.c (struct GTY): Don't use variable_size gty attribute.
431 2014-05-06 Chris Manghane <cmang@google.com>
433 * go-gcc.cc (Gcc_backend::nil_pointer_expression): New method.
434 (Gcc_backend::boolean_constant_expression): New method.
435 (Gcc_backend::zero_expression): Use this->make_expression rather
437 (Gcc_backend::var_expression): Likewise.
438 (Gcc_backend::integer_constant_expression): Likewise.
439 (Gcc_backend::float_constant_expression): Likewise.
440 (Gcc_backend::complex_constant_expression): Likewise.
441 (Gcc_backend::struct_field_expression): Likewise.
442 (tree_to_type, tree_to_expr, tree_to_stat): Remove functions.
443 (tree_to_function, tree_to_block): Remove functions.
444 (type_to_tree, expr_to_tree, stat_to_tree): Remove functions.
445 (block_to_tree, var_to_tree, function_to_tree): Remove functions.
447 2014-05-06 Kenneth Zadeck <zadeck@naturalbridge.com>
448 Mike Stump <mikestump@comcast.net>
449 Richard Sandiford <rdsandiford@googlemail.com>
451 * go-gcc.cc (Gcc_backend::type_size): Use tree_fits_uhwi_p.
453 2014-05-06 Chris Manghane <cmang@google.com>
455 * go-c.h (go_create_gogo): Update declaration to add
456 check_divide_zero and check_divide_overflow parameters.
457 * go-lang.c (go_langhook_init): Pass new arguments to
460 2014-05-05 Chris Manghane <cmang@google.com>
462 * go-gcc.cc (Gcc_backend::implicit_variable): Rename from
463 gc_root_variable. Add name and is_constant parameters.
465 2014-05-05 Chris Manghane <cmang@google.com>
467 * go-gcc.cc (Gcc_backend::indirect_expression): Add btype
469 (Gcc_backend::temporary_variable): Check for erroneous function.
471 2014-04-30 Chris Manghane <cmang@google.com>
473 * go-backend.c: #include "diagnostics.h".
474 (saw_errors): New function.
475 * go-c.h (saw_errors): Declare.
476 * Make-lang.in (GO_OBJS): Remove go/gogo-tree.o.
478 2014-04-30 Chris Manghane <cmang@google.com>
480 * go-lang.c (go_langhook_type_for_size): Do it here, rather than
481 calling into Go frontend.
482 (go_langhook_type_for_mode): Likewise.
483 * go-c.h (go_type_for_size, go_type_for_mode): Don't declare.
485 2014-04-30 Chris Manghane <cmang@google.com>
487 * go-gcc.cc: #include "langhooks.h".
488 (Gcc_backend::Gcc_backend): Add constructor.
489 (Gcc_backend::lookup_function): New function.
490 (Gcc_backend::define_builtin): New private function.
491 (Gcc_backend::gcc_backend): Remove.
492 (go_get_backend): Use new to create new Gcc_backend.
494 2014-04-25 Chris Manghane <cmang@google.com>
496 * go-gcc.cc: Include "cgraph.h" and "gimplify.h".
497 (Gcc_backend::return_statement): Push and pop function.
498 (Gcc_backend::label): Likewise.
499 (Gcc_backend::function_defer_statement): Likewise.
500 (Gcc_backend::switch_statement): Add function parameter.
501 (Gcc_backend::block): Don't permit function to be NULL.
502 (Gcc_backend::temporary_variable): Change go_assert to
504 (Gcc_backend::gc_root_variable): New function.
505 (Gcc_backend::write_global_definitions): New function.
507 2014-04-22 Chris Manghane <cmang@google.com>
509 * go-gcc.cc (Gcc_backend::temporary_variable): Push cfun around
510 call to create_tmp_var. Require that function be non-NULL.
512 2014-04-17 Chris Manghane <cmang@google.com>
514 * go-gcc.cc (Gcc_backend::named_constant_expression): New
517 2014-04-14 Chris Manghane <cmang@google.com>
519 * go-gcc.cc: Include "convert.h".
520 (Gcc_backend::string_constant_expression): New function.
521 (Gcc_backend::real_part_expression): Likewise.
522 (Gcc_backend::imag_part_expression): Likewise.
523 (Gcc_backend::complex_expression): Likewise.
524 (Gcc_backend::constructor_expression): Likewise.
525 (Gcc_backend::array_constructor_expression): Likewise.
526 (Gcc_backend::pointer_offset_expression): Likewise.
527 (Gcc_backend::array_index_expression): Likewise.
528 (Gcc_backend::call_expression): Likewise.
529 (Gcc_backend::exception_handler_statement): Likewise.
530 (Gcc_backend::function_defer_statement): Likewise.
531 (Gcc_backend::function_set_parameters): Likewise.
532 (Gcc_backend::function_set_body): Likewise.
533 (Gcc_backend::convert_expression): Handle various type
536 2014-03-03 Ian Lance Taylor <iant@google.com>
538 * go-gcc.cc (Gcc_backend::immutable_struct): If IS_COMMON, set
540 (GCC_backend::immutable_struct_set_init): If IS_COMMON, clear
543 2014-01-24 Chris Manghane <cmang@google.com>
545 * go-gcc.cc (Gcc_backend::unary_expression): New function.
547 2014-01-16 Chris Manghane <cmang@google.com>
549 * go-gcc.cc (Gcc_backend::conditional_expression): Add btype
551 (operator_to_tree_code): New static function.
552 (Gcc_backend::binary_expression): New function.
554 2014-01-14 Chris Manghane <cmang@google.com>
556 * go-gcc.cc (Gcc_backend::compound_expression): New function.
557 (Gcc_backend::conditional_expression): New function.
559 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
561 Update copyright years
563 2014-01-02 Tobias Burnus <burnus@net-b.de>
565 * gccgo.texi: Bump @copying's copyright year.
567 2013-12-16 Chris Manghane <cmang@google.com>
569 * go-gcc.cc (Gcc_backend::struct_field_expression): New function.
571 2013-12-11 Ian Lance Taylor <iant@google.com>
573 * go-lang.c (go_langhook_post_options): Disable sibling calls by
576 2013-12-10 Ian Lance Taylor <iant@google.com>
578 * Make-lang.in (check_go_parallelize): Test go-test.exp r* tests
581 2013-12-05 Ian Lance Taylor <iant@google.com>
583 Revert this change; no longer required.
584 2013-11-06 Ian Lance Taylor <iant@google.com>
586 * go-lang.c (go_langhook_post_options): If
587 -fisolate-erroneous-paths was turned on by an optimization option,
590 2013-11-23 Ian Lance Taylor <iant@google.com>
592 * go-gcc.cc (Gcc_backend::function_type): Add result_struct
595 2013-11-22 Andrew MacLeod <amacleod@redhat.com>
597 * go-gcc.cc: Add required include files from gimple.h.
598 * go-lang.c: Likewise
600 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
602 * gofrontend/expressions.cc: Replace tree_low_cst (..., 0) with
603 tree_to_shwi throughout.
605 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
607 * gofrontend/expressions.cc: Replace host_integerp (..., 0) with
608 tree_fits_shwi_p throughout.
610 2013-11-14 Andrew MacLeod <amacleod@redhat.com>
612 * go-lang.c: Include only gimplify.h and gimple.h as needed.
614 2013-11-14 Diego Novillo <dnovillo@google.com>
616 * go-backend.c: Include stor-layout.h.
617 * go-gcc.cc: Include stringpool.h.
618 Include stor-layout.h.
620 * go-lang.c: Include stor-layout.h.
622 2013-11-12 Andrew MacLeod <amacleod@redhat.com>
624 * go-lang.c: Include gimplify.h.
626 2013-11-06 Ian Lance Taylor <iant@google.com>
628 * go-lang.c (go_langhook_post_options): If
629 -fisolate-erroneous-paths was turned on by an optimization option,
632 2013-10-14 Chris Manghane <cmang@google.com>
634 * go-gcc.cc (Gcc_backend::address_expression): New function.
636 2013-10-11 Chris Manghane <cmang@google.com>
638 * go-gcc.cc (Gcc_backend::function_code_expression): New
641 2013-10-10 Chris Manghane <cmang@google.com>
643 * go-gcc.cc (Gcc_backend::error_function): New function.
644 (Gcc_backend::function): New function.
645 (Gcc_backend::make_function): New function.
646 (function_to_tree): New function.
648 2013-10-04 Chris Manghane <cmang@google.com>
650 * go-gcc.cc (Gcc_backend::convert_expression): New function.
652 2013-10-02 Chris Manghane <cmang@google.com>
654 * go-gcc.cc: Include "real.h" and "realmpfr.h".
655 (Gcc_backend::integer_constant_expression): New function.
656 (Gcc_backend::float_constant_expression): New function.
657 (Gcc_backend::complex_constant_expression): New function.
659 2013-09-30 Chris Manghane <cmang@google.com>
661 * go-gcc.cc (Gcc_backend::error_expression): New function.
662 (Gcc_backend::var_expression): New function.
663 (Gcc_backend::indirect_expression): New function.
665 2013-09-25 Tom Tromey <tromey@redhat.com>
667 * Make-lang.in (gospec.o): Remove.
668 (CFLAGS-go/gospec.o): New variable.
669 (GCCGO_OBJS): Update to use go/gospec.o.
671 (GO_SYSTEM_H, GO_C_H, GO_LINEMAP_H, GO_LEX_H, GO_PARSE_H)
672 (GO_GOGO_H, GO_TYPES_H, GO_STATEMENTS_H, GO_EXPRESSIONS_H)
673 (GO_EXPORT_H, GO_IMPORT_H, GO_RUNTIME_H, GO_AST_DUMP_H)
674 (go/go-backend.o, go/go-lang.o, go/go-gcc.o, go/go-linemap.o)
675 (go/ast-dump.o, go/dataflow.o, go/export.o, go/expressions.o)
676 (go/go.o, go/go-dump.o, go/go-optimize.o, go/gogo-tree.o)
677 (go/gogo.o, go/import.o, go/import-archive.o, go/lex.o)
678 (go/parse.o, go/runtime.o, go/statements.o, go/types.o)
679 (go/unsafe.o): Remove.
680 (CFLAGS-go/go-gcc.o, CFLAGS-go/go-linemap.o): New variables.
681 (go/%.o: go/gofrontend/%.cc): Use COMPILE and POSTCOMPILE.
683 2013-09-25 Tom Tromey <tromey@redhat.com>
685 * Make-lang.in (gospec.o): Don't use subshell.
687 2013-08-28 Ian Lance Taylor <iant@google.com>
689 * go-gcc.cc (Gcc_backend::immutable_struct): Set TREE_PUBLIC if
690 the struct is not hidden.
691 (Gcc_backend::immutable_struct_set_init): Don't set TREE_PUBLIC.
693 2013-08-06 Ian Lance Taylor <iant@google.com>
695 * go-gcc.cc (Gcc_backend::immutable_struct_set_init): Use
696 compute_reloc_for_constant.
698 2013-08-02 Ian Lance Taylor <iant@google.com>
700 * go-gcc.cc (immutable_struct_set_init): Always call
701 resolve_unique_section.
703 2013-07-24 Ian Lance Taylor <iant@google.com>
705 * go-gcc.cc (Gcc_backend::non_zero_size_type): If a struct has a
706 fields, recreate those fields with the first one with a non-zero
709 2013-07-23 Ian Lance Taylor <iant@google.com>
711 * go-backend.c: Don't #include "rtl.h".
712 (go_imported_unsafe): Don't call init_varasm_once.
713 * Make-lang.in (go/go-backend.o): Don't depend on $(RTL_H).
715 2013-07-23 Ian Lance Taylor <iant@google.com>
717 * go-lang.c: Don't #include "except.h".
718 * Make-lang.in (go/go-lang.o): Don't depend on $(EXCEPT_H).
720 2013-06-18 Ian Lance Taylor <iant@google.com>
722 * go-gcc.cc (Gcc_backend::immutable_struct): Add is_hidden
724 (Gcc_backend::immutable_struct_set_init): Likewise.
726 2013-05-16 Jason Merrill <jason@redhat.com>
728 * Make-lang.in (go1$(exeext)): Use link mutex.
730 2013-01-16 Shenghou Ma <minux.ma@gmail.com>
732 * gospec.c: pass -u pthread_create to linker when static linking.
734 2012-12-21 Ian Lance Taylor <iant@google.com>
737 * go-system.h: Don't include <cstdio>.
739 2012-12-18 Ian Lance Taylor <iant@google.com>
742 * gospec.c: Revert last patch.
744 2012-12-18 Andreas Schwab <schwab@linux-m68k.org>
747 * gospec.c (LIBATOMIC): Define.
748 (LIBATOMIC_PROFILE): Define.
749 (lang_specific_driver): Add LIBATOMIC[_PROFILE] option.
751 2012-11-29 Ian Lance Taylor <iant@google.com>
753 * go-gcc.cc: Include "output.h".
754 (global_variable): Add is_unique_section parameter.
755 (global_variable_set_init): Adjust unique section if necessary.
756 * Make-lang.in (go/go-gcc.o): Add dependency on output.h.
758 2012-11-17 Diego Novillo <dnovillo@google.com>
760 Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)
762 * go-lang.c: Use new vec API in vec.h.
764 2012-11-16 Ian Lance Taylor <iant@google.com>
766 * Make-lang.in (gccgo$(exeext)): Add + at start of command.
767 (go1$(exeext)): Likewise.
769 2012-10-30 Ian Lance Taylor <iant@google.com>
771 * lang.opt (-fgo-relative-import-path): New option.
772 * go-lang.c (go_relative_import_path): New static variable.
773 (go_langhook_init): Pass go_relative_import_path to
775 (go_langhook_handle_option): Handle -fgo-relative-import-path.
776 * go-c.h (go_create_gogo): Update declaration.
777 * gccgo.texi (Invoking gccgo): Document
778 -fgo-relative-import-path.
780 2012-09-17 Ian Lance Taylor <iant@google.com>
782 * config-lang.in (target_libs): Add target-libbacktrace.
784 2012-09-16 Ian Lance Taylor <iant@google.com>
786 * Make-lang.in (go/gogo.o): Depend on filenames.h.
788 2012-08-14 Diego Novillo <dnovillo@google.com>
790 Merge from cxx-conversion branch. Configury.
792 * go-c.h: Remove all handlers of ENABLE_BUILD_WITH_CXX.
793 * go-gcc.cc: Likewise.
794 * go-system.h: Likewise.
796 2012-07-24 Uros Bizjak <ubizjak@gmail.com>
798 * go-lang.c (lang_decl): Add variable_size GTY option.
800 2012-05-09 Ian Lance Taylor <iant@google.com>
802 * lang.opt: Add -fgo-pkgpath.
803 * go-lang.c (go_pkgpath): New static variable.
804 (go_prefix): New static variable.
805 (go_langhook_init): Pass go_pkgpath and go_prefix to
807 (go_langhook_handle_option): Handle -fgo-pkgpath. Change
808 -fgo-prefix handling to just set go_prefix.
809 * go-c.h (go_set_prefix): Don't declare.
810 (go_create_gogo): Add pkgpath and prefix to declaration.
811 * go-gcc.cc (Gcc_backend::global_variable): Change unique_prefix
812 to pkgpath. Don't include the package name in the asm name.
813 * gccgo.texi (Invoking gccgo): Document -fgo-pkgpath. Update the
814 docs for -fgo-prefix.
816 2012-04-23 Ian Lance Taylor <iant@google.com>
818 * go-lang.c (go_langhook_init): Set MPFR precision to 256.
820 2012-04-20 Ian Lance Taylor <iant@google.com>
822 * lang.opt: Add -fgo-check-divide-zero and
823 -fgo-check-divide-overflow.
824 * gccgo.texi (Invoking gccgo): Document new options.
826 2012-04-18 Steven Bosscher <steven@gcc.gnu.org>
828 * go-gcc.cc (Gcc_backend::switch_statement): Build SWITCH_EXPR
829 with NULL_TREE type instead of void_type_node.
831 2012-03-09 Ian Lance Taylor <iant@google.com>
833 * go-gcc.cc (Gcc_backend::assignment_statement): Convert the rhs
834 to the lhs type if necessary.
836 2012-03-08 Ian Lance Taylor <iant@google.com>
838 * go-gcc.cc (Gcc_backend::init_statement): Don't initialize a
840 (go_non_zero_struct): New global variable.
841 (Gcc_backend::non_zero_size_type): New function.
842 (Gcc_backend::global_variable): Don't build an assignment for a
844 * go-c.h (go_non_zero_struct): Declare.
845 * config-lang.in (gtfiles): Add go-c.h.
847 2012-02-29 Ian Lance Taylor <iant@google.com>
849 * go-gcc.cc (class Gcc_tree): Add set_tree method.
850 (set_placeholder_pointer_type): When setting to a pointer to
851 error, set to error_mark_node.
853 2012-02-23 Richard Guenther <rguenther@suse.de>
855 * go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use
856 build_distinct_type_copy.
858 2012-02-17 Ian Lance Taylor <iant@google.com>
860 * Make-lang.in (go/import.o): Add dependency on $(GO_LEX_H).
862 2012-02-17 Ian Lance Taylor <iant@google.com>
864 * gospec.c (lang_specific_driver): If linking, and no -o option
867 2012-02-14 Ian Lance Taylor <iant@google.com>
870 * Make-lang.in (gccgo-cross$(exeext)): New target.
871 (go.all.cross): Depend on gccgo-cross$(exeext) instead of
873 (go.install-common): Only install GCCGO_TARGET_INSTALL_NAME if
874 gccgo-cross$(exeext) does not exist.
876 2012-02-07 Ian Lance Taylor <iant@google.com>
878 * gccgo.texi (Function Names): Document //extern instead of
881 2012-02-01 Jakub Jelinek <jakub@redhat.com>
884 * go-lang.c (go_langhook_type_for_mode): For TImode and 64-bit HWI
885 return build_nonstandard_integer_type result if possible.
887 2012-01-21 Ian Lance Taylor <iant@google.com>
889 * go-gcc.cc (Gcc_backend::type_size): Check for error_mark_node.
890 (Gcc_backend::type_alignment): Likewise.
891 (Gcc_backend::type_field_alignment): Likewise.
892 (Gcc_backend::type_field_offset): Likewise.
894 2012-01-20 Ian Lance Taylor <iant@google.com>
896 * go-gcc.cc (Gcc_backend::placeholder_struct_type): Permit name to
898 (Gcc_backend::set_placeholder_struct_type): Likewise.
900 2012-01-17 Ian Lance Taylor <iant@google.com>
902 * gospec.c (lang_specific_driver): If we see -S without -o, add -o
903 BASE.s rather than -o BASE.o.
905 2012-01-11 Ian Lance Taylor <iant@google.com>
907 * go-lang.c (go_langhook_init): Initialize void_list_node before
908 calling go_create_gogo.
910 2012-01-10 Ian Lance Taylor <iant@google.com>
912 * go-gcc.cc (Gcc_backend::type_size): New function.
913 (Gcc_backend::type_alignment): New function.
914 (Gcc_backend::type_field_alignment): New function.
915 (Gcc_backend::type_field_offset): New function.
916 * go-backend.c (go_type_alignment): Remove.
917 * go-c.h (go_type_alignment): Don't declare.
919 2011-12-27 Ian Lance Taylor <iant@google.com>
921 * go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Use
922 build_distinct_type_copy rather than build_variant_type_copy.
923 (Gcc_backend::set_placeholder_array_type): Likewise.
924 (Gcc_backend::named_type): Add special handling for builtin
927 2011-12-22 Ian Lance Taylor <iant@google.com>
929 * go-gcc.cc (Gcc_backend::set_placeholder_pointer_type): Arrange
930 for the type name to have a DECL_ORIGINAL_TYPE as gcc expects.
931 (Gcc_backend::set_placeholder_struct_type): Likewise.
932 (Gcc_backend::set_placeholder_array_type): Likewise.
933 (Gcc_backend::named_type): Set DECL_ORIGINAL_TYPE.
935 2011-12-13 Ian Lance Taylor <iant@google.com>
937 * go-backend.c: #include "simple-object.h" and "intl.h".
938 (GO_EXPORT_SEGMENT_NAME): Define if not defined.
939 (GO_EXPORT_SECTION_NAME): Likewise.
940 (go_write_export_data): Use GO_EXPORT_SECTION_NAME.
941 (go_read_export_data): New function.
942 * go-c.h (go_read_export_data): Declare.
944 2011-11-29 Sanjoy Das <thedigitalangel@gmail.com>
945 Ian Lance Taylor <iant@google.com>
947 * go-location.h: New file.
948 * go-linemap.cc: New file.
949 * go-gcc.cc: Change all uses of source_location to Location.
950 * Make-lang.in (GO_OBJS): Add go/go-linemap.o.
951 (GO_LINEMAP_H): New variable.
952 (GO_LEX_H): Use $(GO_LINEMAP_H).
953 (GO_GOGO_H, GO_TYPES_H, GO_IMPORT_H): Likewise.
954 (go/go-linemap.o): New target.
956 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
958 * Make-lang.in (gospec.o): Pass SHLIB instead of SHLIB_LINK.
960 2011-08-24 Roberto Lublinerman <rluble@gmail.com>
962 * lang.opt: Add fgo-optimize-.
963 * go-lang.c (go_langhook_handle_option): Handle OPT_fgo_optimize.
964 * go-c.h (go_enable_optimize): Declare.
965 * Make-lang.in (GO_OBJS): Add go/go-optimize.o.
966 (GO_EXPORT_H): Define.
967 (GO_IMPORT_H): Add $(GO_EXPORT_H).
968 (GO_AST_DUMP_H): Define.
969 (go/ast-dump.o, go/statements.o): Use GO_AST_DUMP_H.
970 (go/export.o, go/gogo.o, go/import.o): Use GO_EXPORT_H.
971 (go/types.o): Likewise.
972 (go/expressions.o): Use GO_AST_DUMP_H and GO_EXPORT_H.
973 (go/go-optimize.o): New target.
975 2011-08-24 Joseph Myers <joseph@codesourcery.com>
977 * Make-lang.in (CFLAGS-go/go-lang.o): New.
978 (go/go-lang.o): Remove explicit compilation rule.
980 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
982 * Make-lang.in (gccgo$(exeext)): Add $(EXTRA_GCC_LIBS).
984 2011-08-02 Roberto Lublinerman <rluble@gmail.com>
986 * Make-lang.in (GO_OBJS): Add go/ast-dump.o.
987 (go/ast-dump.o): New target.
988 (go/expressions.o): Depend on go/gofrontend/ast-dump.h.
989 (go/statements.o): Likewise.
991 2011-07-06 Richard Guenther <rguenther@suse.de>
993 * go-lang.c (go_langhook_init):
994 Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
996 2011-06-14 Joseph Myers <joseph@codesourcery.com>
998 * Make-lang.in (go/go-lang.o, go/go-backend.o): Update
1000 * go-backend.c: Include common/common-target.h.
1001 (go_write_export_data): Use targetm_common.have_named_sections.
1002 * go-lang.c: Include common/common-target.h.
1003 (go_langhook_init_options_struct): Use
1004 targetm_common.supports_split_stack.
1006 2011-06-13 Ian Lance Taylor <iant@google.com>
1008 * Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H).
1010 2011-06-10 Ian Lance Taylor <iant@google.com>
1012 * go-gcc.cc: Include "toplev.h".
1013 (Gcc_backend::immutable_struct): New function.
1014 (Gcc_backend::immutable_struct_set_init): New function.
1015 (Gcc_backend::immutable_struct_reference): New function.
1016 * Make-lang.in (go/go-gcc.o): Depend on toplev.h.
1018 2011-06-09 Ian Lance Taylor <iant@google.com>
1020 * go-gcc.cc (Gcc_backend::zero_expression): New function.
1022 2011-06-07 Richard Guenther <rguenther@suse.de>
1024 * go-lang.c (go_langhook_init): Do not set
1025 size_type_node or call set_sizetype.
1027 2011-05-27 Ian Lance Taylor <iant@google.com>
1029 * go-backend.c: Include "output.h".
1030 (go_write_export_data): New function.
1031 * go-c.h (go_write_export_data): Declare.
1032 * Make-lang.in (go/go-backend.o): Depend on output.h.
1033 (go/export.o): Depend on $(GO_C_H). Do not depend on
1034 $(MACHMODE_H), output.h, or $(TARGET_H).
1036 2011-05-24 Joseph Myers <joseph@codesourcery.com>
1038 * Make-lang.in (GCCGO_OBJS): Remove prefix.o.
1039 (gccgo$(exeext)): Use libcommon-target.a.
1041 2011-05-20 Joseph Myers <joseph@codesourcery.com>
1043 * Make-lang.in (GCCGO_OBJS): Remove intl.o and version.o.
1045 2011-05-13 Ian Lance Taylor <iant@google.com>
1047 * go-gcc.cc (Gcc_backend::function_type): When building a struct
1048 for multiple results, check that all fields types have a size.
1049 (Gcc_backend::placeholder_pointer_type): Permit name to be empty.
1051 2011-05-12 Ian Lance Taylor <iant@google.com>
1053 * go-gcc.cc (Gcc_backend::local_variable): Add is_address_taken
1055 (Gcc_backend::parameter_variable): Likewise.
1057 2011-05-07 Eric Botcazou <ebotcazou@adacore.com>
1059 * go-lang.c (global_bindings_p): Return bool and simplify.
1061 2011-05-05 Nathan Froyd <froydnj@codesourcery.com>
1063 * go-gcc.cc (Gcc_backend::switch_statement): Call build_case_label.
1065 2011-05-04 Ian Lance Taylor <iant@google.com>
1067 * go-gcc.cc (Gcc_backend::struct_type): Call fill_in_struct.
1068 (Gcc_backend::fill_in_struct): New function.
1069 (Gcc_backend::array_type): Implement.
1070 (Gcc_backend::fill_in_array): New function.
1071 (Gcc_backend::placeholder_pointer_type): New function.
1072 (Gcc_backend::set_placeholder_pointer_type): New function.
1073 (Gcc_backend::set_placeholder_function_type): New function.
1074 (Gcc_backend::placeholder_struct_type): New function.
1075 (Gcc_backend::set_placeholder_struct_type): New function.
1076 (Gcc_backend::placeholder_array_type): New function.
1077 (Gcc_backend::set_placeholder_array_type): New function.
1078 (Gcc_backend::named_type): New function.
1079 (Gcc_backend::circular_pointer_type): New function.
1080 (Gcc_backend::is_circular_pointer_type): New function.
1082 2011-04-26 Ian Lance Taylor <iant@google.com>
1084 * go-gcc.cc (Gcc_backend::struct_type): Implement.
1086 2011-04-25 Ian Lance Taylor <iant@google.com>
1088 * go-gcc.cc (Gcc_backend::error_type): Implement.
1089 (Gcc_backend::string_type): Remove.
1090 (Gcc_backend::function_type): Change signature and implement.
1091 (Gcc_backend::struct_type): Change signature.
1092 (Gcc_backend::slice_type, Gcc_backend::map_type): Remove.
1093 (Gcc_backend::channel_type, Gcc_backend::interface_type): Remove.
1094 (Gcc_backend::pointer_type): Check for error.
1095 * Make-lang.in (go/types.o): Depend on go/gofrontend/backend.h.
1097 2011-04-25 Evan Shaw <edsrzf@gmail.com>
1099 * go-gcc.c (class Gcc_tree): Make get_tree const.
1100 (Gcc_backend::void_type): Implement.
1101 (Gcc_backend::bool_type): Implement.
1102 (Gcc_backend::integer_type): Implement.
1103 (Gcc_backend::float_type): Implement.
1104 (Gcc_backend::complex_type): New function.
1105 (Gcc_backend::pointer_type): New function.
1106 (Gcc_backend::make_type): New function.
1107 (type_to_tree): New function.
1109 2011-04-21 Ian Lance Taylor <iant@google.com>
1111 * go-system.h (go_assert, go_unreachable): Define.
1113 2011-04-19 Ian Lance Taylor <iant@google.com>
1115 * go-system.h: Include "intl.h".
1116 * Make-lang.in (GO_SYSTEM_H): Add intl.h.
1117 (go/statements.o): Remove dependencies on intl.h $(TREE_H)
1118 $(GIMPLE_H) convert.h tree-iterator.h $(TREE_FLOW_H) $(REAL_H).
1120 2011-04-19 Ian Lance Taylor <iant@google.com>
1122 * go-gcc.cc (Gcc_backend::temporary_variable): New function.
1124 2011-04-19 Ian Lance Taylor <iant@google.com>
1126 * go-gcc.cc (class Bblock): Define.
1127 (Gcc_backend::if_statement): Change then_block and else_block to
1129 (Gcc_backend::block): New function.
1130 (Gcc_backend::block_add_statements): New function.
1131 (Gcc_backend::block_statement): New function.
1132 (tree_to_block, block_to_tree): New functions.
1134 2011-04-18 Ian Lance Taylor <iant@google.com>
1136 * go-gcc.cc: Include "go-c.h".
1137 (class Bvariable): Define.
1138 (Gcc_backend::init_statement): New function.
1139 (Gcc_backend::global_variable): New function.
1140 (Gcc_backend::global_variable_set_init): New function.
1141 (Gcc_backend::local_variable): New function.
1142 (Gcc_backend::parameter_variable): New function.
1143 (tree_to_type, var_to_tree): New functions.
1144 * Make-lang.in (go/go-gcc.o): Depend on $(GO_C_H).
1145 * (go/gogo-tree.o): Depend on go/gofrontend/backend.h.
1147 2011-04-15 Ian Lance Taylor <iant@google.com>
1149 * go-gcc.cc (Gcc_backend::compound_statement): New function.
1150 (Gcc_backend::assignment_statement): Use error_statement.
1151 (Gcc_backend::return_statement): Likewise.
1152 (Gcc_backend::if_statement): Likewise.
1153 (Gcc_backend::switch_statement): Likewise.
1154 (Gcc_backend::statement_list): Likewise.
1156 2011-04-14 Ian Lance Taylor <iant@google.com>
1158 * go-gcc.cc (Gcc_backend::error_statement): New function.
1160 2011-04-13 Ian Lance Taylor <iant@google.com>
1162 * Make-lang.in (go/gogo-tree.o): depend on $(GO_RUNTIME_H).
1164 2011-04-13 Ian Lance Taylor <iant@google.com>
1166 * Make-lang.in (GO_OBJS): Add go/runtime.o.
1167 (GO_RUNTIME_H): New variable.
1168 (go/runtime.o): New target.
1169 (go/gogo.o): Depend on $(GO_RUNTIME_H).
1170 (go/statements.o): Likewise.
1172 2011-04-12 Nathan Froyd <froydnj@codesourcery.com>
1174 * go-lang.c (union lang_tree_node): Check for TS_COMMON before
1177 2011-04-06 Ian Lance Taylor <iant@google.com>
1179 * go-gcc.cc (if_statement): Use build3_loc.
1180 (Gcc_backend::switch_statement): New function.
1181 (Gcc_backend::statement_list): New function.
1183 2011-04-06 Ian Lance Taylor <iant@google.com>
1185 * go-gcc.cc (Gcc_backend::if_statement): New function.
1186 (tree_to_stat): New function.
1187 (expr_to_tree): Renamed from expression_to_tree.
1188 (stat_to_tree): Renamed from statement_to_tree.
1190 2011-04-06 Ian Lance Taylor <iant@google.com>
1192 * go-gcc.cc (Gcc_backend::expression_statement): New function.
1194 2011-04-04 Ian Lance Taylor <iant@google.com>
1196 * go-gcc.c (class Blabel): Define.
1197 (Gcc_backend::make_expression): New function.
1198 (get_identifier_from_string): New function.
1199 (Gcc_backend::label): New function.
1200 (Gcc_backend::label_definition_statement): New function.
1201 (Gcc_backend::goto_statement): New function.
1202 (Gcc_backend::label_address): New function.
1203 (expression_to_tree): New function.
1204 * Make-lang.in (go/expressions.o): Depend on
1205 go/gofrontend/backend.h.
1206 (go/gogo.o): Likewise.
1208 2011-04-04 Ian Lance Taylor <iant@google.com>
1210 * go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h".
1211 (class Bfunction): Define.
1212 (Gcc_backend::assignment_statement): Rename from assignment.
1214 (Gcc_backend::return_statement): New function.
1215 (tree_to_function): New function.
1216 * Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h,
1217 $(GIMPLE_H), and $(GO_GOGO_H).
1219 2011-04-03 Ian Lance Taylor <iant@google.com>
1221 * go-gcc.cc: New file.
1222 * Make-lang.in (GO_OBJS): Add go/go-gcc.o.
1223 (go/go-gcc.o): New target.
1224 (go/go.o): Depend on go/gofrontend/backend.h.
1225 (go/statements.o): Likewise.
1227 2011-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1229 * gccgo.texi (Top, Import and Export): Fix a typo and a markup nit.
1231 2011-02-08 Ian Lance Taylor <iant@google.com>
1233 * go-lang.c (go_langhook_init_options_struct): Set
1234 frontend_set_flag_errno_math. Don't set x_flag_trapping_math.
1236 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1238 * gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
1239 LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
1241 2011-01-21 Ian Lance Taylor <iant@google.com>
1243 * go-lang.c (go_langhook_init): Omit float_type_size when calling
1245 * go-c.h: Update declaration of go_create_gogo.
1247 2011-01-13 Ian Lance Taylor <iant@google.com>
1249 * go-backend.c: Include "rtl.h" and "target.h".
1250 (go_imported_unsafe): New function.
1251 * go-c.h (go_imported_unsafe): Declare.
1252 * Make-lang.in (go/go-backend.o): Depend on $(RTL_H).
1253 (go/gogo-tree.o): Remove dependency on $(RTL_H).
1254 (go/unsafe.o): Depend on $(GO_C_H).
1256 2010-12-31 Joern Rennecke <amylaar@spamcop.net>
1259 * go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
1262 2010-12-21 Ian Lance Taylor <iant@google.com>
1264 * Make-lang.in (check-go): Remove.
1265 (lang_checks_parallelized): Add check-go.
1266 (check_go_parallelize): Set.
1268 2010-12-13 Ian Lance Taylor <iant@google.com>
1270 * gospec.c (lang_specific_driver): Add a -o option if not linking
1271 and there is no -o option already.
1273 2010-12-07 Ian Lance Taylor <iant@google.com>
1275 PR tree-optimization/46805
1276 PR tree-optimization/46833
1277 * go-lang.c (go_langhook_type_for_mode): Handle vector modes.
1279 2010-12-06 Ian Lance Taylor <iant@google.com>
1283 * go-lang.c (go_char_p): Define type and vectors.
1284 (go_search_dirs): New static variable.
1285 (go_langhook_handle_option): Use version and version/machine
1287 (go_langhook_post_options): Add non-specific -L paths.
1288 * Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and
1289 DEFAULT_TARGET_MACHINE when compiling.
1290 * gccgo.texi (Invoking gccgo): Only document -L for linking.
1291 (Import and Export): Don't mention -L for finding import files.
1293 2010-12-03 Ian Lance Taylor <iant@google.com>
1296 * go-backend.c: New file.
1297 * go-c.h (go_type_alignment): Declare.
1298 (go_field_alignment, go_trampoline_info): Declare.
1299 * Make-lang.in (GO_OBJS): Add go/go-backend.o.
1300 (go/go-backend.o): New target.
1301 (go/go-lang.o): Make dependencies match source file.
1302 (go/expressions.o): Don't depend on $(TM_H) $(TM_P_H).
1303 (go/gogo-tree.o): Don't depend on $(TM_H).
1305 2010-12-03 Ian Lance Taylor <iant@google.com>
1307 * config-lang.in (build_by_default): Set to no.
1309 2010-12-02 Ian Lance Taylor <iant@google.com>
1311 Go frontend added to gcc repository.
1313 Copyright (C) 2010-2016 Free Software Foundation, Inc.
1315 Copying and distribution of this file, with or without modification,
1316 are permitted in any medium without royalty provided the copyright
1317 notice and this notice are preserved.