re PR go/61248 (gccgo: spurious "error: too many arguments" [GoSmith])
[gcc.git] / gcc / go / ChangeLog
index 49775b9778c55ce5448088b6dbece252402ff2e6..dadced939f9db1f25d446fdf196ba141d3145b68 100644 (file)
@@ -1,6 +1,267 @@
+2014-10-29  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * go-lang.c: Remove redundant enum from machine_mode.
+
+2014-10-28  Andrew MacLeod  <amacleod@redhat.com>
+
+       * go-gcc.cc: Adjust include files.
+
+2014-10-27  Andrew MacLeod  <amacleod@redhat.com>
+
+       * go-gcc.cc: Adjust include files.
+       * go-lang.c: Ditto.
+
+2014-10-23  Ian Lance Taylor  <iant@google.com>
+
+       * go-gcc.cc (Gcc_backend::complex_constant_expression): Take one
+       mpc_t parameter instead of two mpfr_t parameters.
+
+2014-09-15  Jakub Jelinek  <jakub@redhat.com>
+
+       * Make-lang.in (check_go_parallelize): Change to just an upper bound
+       number.
+
+2014-09-03  Chris Manghane  <cmang@google.com>
+
+       * go-gcc.cc (Gcc_backend::implicit_variable): Remove init
+       parameter.  Add is_hidden parameter.
+       (Gcc_backend::implicit_variable_set_init): New method.
+       (Gcc_backend::implicit_variable_reference): New method.
+
+2014-08-08  Ian Lance Taylor  <iant@google.com>
+
+       * go-gcc.cc (Gcc_backend::compound_statement): Don't return
+       NULL_TREE.
+
+2014-07-24  Uros Bizjak  <ubizjak@gmail.com>
+
+       * go-gcc.cc (Gcc_backend::global_variable_set_init): Rename
+       symtab_get_node to symtab_node::get.
+
+2014-06-13  Ian Lance Taylor  <iant@google.com>
+
+       PR go/61496
+       * gospec.c (lang_specific_driver): On Solaris, when not using GNU
+       ld, add -t option to avoid warning about common symbol changing
+       size.
+
+2014-06-10  Jan Hubicka  <hubicka@ucw.cz>
+
+       * go-gcc.cc (Gcc_backend::global_variable_set_init): Use
+       symtab_get_node(var_decl)->implicit_section.
+
+2014-06-07  Jan Hubicka  <hubicka@ucw.cz>
+
+       * go-gcc.cc (global_variable_set_init): Use
+       set_decl_section_name.
+
+2014-06-04  Ian Lance Taylor  <iant@google.com>
+
+       * go-gcc.cc (Gcc_backend::implicit_variable): Add is_common and
+       alignment parameters.  Permit init parameter to be NULL.
+
+2014-06-02  Andrew MacLeod  <amacleod@redhat.com>
+
+       * go-gcc.cc: Include builtins.h.
+
+2014-05-17  Trevor Saunders  <tsaunders@mozilla.com>
+
+       * go-lang.c (struct GTY): Don't use variable_size gty attribute.
+
+2014-05-06  Chris Manghane  <cmang@google.com>
+
+       * go-gcc.cc (Gcc_backend::nil_pointer_expression): New method.
+       (Gcc_backend::boolean_constant_expression): New method.
+       (Gcc_backend::zero_expression): Use this->make_expression rather
+       than tree_to_expr.
+       (Gcc_backend::var_expression): Likewise.
+       (Gcc_backend::integer_constant_expression): Likewise.
+       (Gcc_backend::float_constant_expression): Likewise.
+       (Gcc_backend::complex_constant_expression): Likewise.
+       (Gcc_backend::struct_field_expression): Likewise.
+       (tree_to_type, tree_to_expr, tree_to_stat): Remove functions.
+       (tree_to_function, tree_to_block): Remove functions.
+       (type_to_tree, expr_to_tree, stat_to_tree): Remove functions.
+       (block_to_tree, var_to_tree, function_to_tree): Remove functions.
+
+2014-05-06  Kenneth Zadeck  <zadeck@naturalbridge.com>
+           Mike Stump  <mikestump@comcast.net>
+           Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * go-gcc.cc (Gcc_backend::type_size): Use tree_fits_uhwi_p.
+
+2014-05-06  Chris Manghane  <cmang@google.com>
+
+       * go-c.h (go_create_gogo): Update declaration to add
+       check_divide_zero and check_divide_overflow parameters.
+       * go-lang.c (go_langhook_init): Pass new arguments to
+       go_create_gogo.
+
+2014-05-05  Chris Manghane  <cmang@google.com>
+
+       * go-gcc.cc (Gcc_backend::implicit_variable): Rename from
+       gc_root_variable.  Add name and is_constant parameters.
+
+2014-05-05  Chris Manghane  <cmang@google.com>
+
+       * go-gcc.cc (Gcc_backend::indirect_expression): Add btype
+       parameter.
+       (Gcc_backend::temporary_variable): Check for erroneous function.
+
+2014-04-30  Chris Manghane  <cmang@google.com>
+
+       * go-backend.c: #include "diagnostics.h".
+       (saw_errors): New function.
+       * go-c.h (saw_errors): Declare.
+       * Make-lang.in (GO_OBJS): Remove go/gogo-tree.o.
+
+2014-04-30  Chris Manghane  <cmang@google.com>
+
+       * go-lang.c (go_langhook_type_for_size): Do it here, rather than
+       calling into Go frontend.
+       (go_langhook_type_for_mode): Likewise.
+       * go-c.h (go_type_for_size, go_type_for_mode): Don't declare.
+
+2014-04-30  Chris Manghane  <cmang@google.com>
+
+       * go-gcc.cc: #include "langhooks.h".
+       (Gcc_backend::Gcc_backend): Add constructor.
+       (Gcc_backend::lookup_function): New function.
+       (Gcc_backend::define_builtin): New private function.
+       (Gcc_backend::gcc_backend): Remove.
+       (go_get_backend): Use new to create new Gcc_backend.
+
+2014-04-25  Chris Manghane  <cmang@google.com>
+
+       * go-gcc.cc: Include "cgraph.h" and "gimplify.h".
+       (Gcc_backend::return_statement): Push and pop function.
+       (Gcc_backend::label): Likewise.
+       (Gcc_backend::function_defer_statement): Likewise.
+       (Gcc_backend::switch_statement): Add function parameter.
+       (Gcc_backend::block): Don't permit function to be NULL.
+       (Gcc_backend::temporary_variable): Change go_assert to
+       gcc_assert.
+       (Gcc_backend::gc_root_variable): New function.
+       (Gcc_backend::write_global_definitions): New function.
+
+2014-04-22  Chris Manghane  <cmang@google.com>
+
+       * go-gcc.cc (Gcc_backend::temporary_variable): Push cfun around
+       call to create_tmp_var.  Require that function be non-NULL.
+
+2014-04-17  Chris Manghane  <cmang@google.com>
+
+       * go-gcc.cc (Gcc_backend::named_constant_expression): New
+       function.
+
+2014-04-14  Chris Manghane  <cmang@google.com>
+
+       * go-gcc.cc: Include "convert.h".
+       (Gcc_backend::string_constant_expression): New function.
+       (Gcc_backend::real_part_expression): Likewise.
+       (Gcc_backend::imag_part_expression): Likewise.
+       (Gcc_backend::complex_expression): Likewise.
+       (Gcc_backend::constructor_expression): Likewise.
+       (Gcc_backend::array_constructor_expression): Likewise.
+       (Gcc_backend::pointer_offset_expression): Likewise.
+       (Gcc_backend::array_index_expression): Likewise.
+       (Gcc_backend::call_expression): Likewise.
+       (Gcc_backend::exception_handler_statement): Likewise.
+       (Gcc_backend::function_defer_statement): Likewise.
+       (Gcc_backend::function_set_parameters): Likewise.
+       (Gcc_backend::function_set_body): Likewise.
+       (Gcc_backend::convert_expression): Handle various type
+       conversions.
+
+2014-03-03  Ian Lance Taylor  <iant@google.com>
+
+       * go-gcc.cc (Gcc_backend::immutable_struct): If IS_COMMON, set
+       DECL_WEAK.
+       (GCC_backend::immutable_struct_set_init): If IS_COMMON, clear
+       DECL_WEAK.
+
+2014-01-24  Chris Manghane  <cmang@google.com>
+
+       * go-gcc.cc (Gcc_backend::unary_expression): New function.
+
+2014-01-16  Chris Manghane  <cmang@google.com>
+
+       * go-gcc.cc (Gcc_backend::conditional_expression): Add btype
+       parameter.
+       (operator_to_tree_code): New static function.
+       (Gcc_backend::binary_expression): New function.
+
+2014-01-14  Chris Manghane  <cmang@google.com>
+
+       * go-gcc.cc (Gcc_backend::compound_expression): New function.
+       (Gcc_backend::conditional_expression): New function.
+
+2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       Update copyright years
+
+2014-01-02  Tobias Burnus  <burnus@net-b.de>
+
+       * gccgo.texi: Bump @copying's copyright year.
+
+2013-12-16  Chris Manghane  <cmang@google.com>
+
+       * go-gcc.cc (Gcc_backend::struct_field_expression): New function.
+
+2013-12-11  Ian Lance Taylor  <iant@google.com>
+
+       * go-lang.c (go_langhook_post_options): Disable sibling calls by
+       default.
+
+2013-12-10  Ian Lance Taylor  <iant@google.com>
+
+       * Make-lang.in (check_go_parallelize): Test go-test.exp r* tests
+       separately.
+
+2013-12-05  Ian Lance Taylor  <iant@google.com>
+
+       Revert this change; no longer required.
+       2013-11-06  Ian Lance Taylor  <iant@google.com>
+
+       * go-lang.c (go_langhook_post_options): If
+       -fisolate-erroneous-paths was turned on by an optimization option,
+       turn it off.
+
+2013-11-23  Ian Lance Taylor  <iant@google.com>
+
+       * go-gcc.cc (Gcc_backend::function_type): Add result_struct
+       parameter.
+
+2013-11-22  Andrew MacLeod  <amacleod@redhat.com>
+
+       * go-gcc.cc: Add required include files from gimple.h.
+       * go-lang.c: Likewise
+
+2013-11-18  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * gofrontend/expressions.cc: Replace tree_low_cst (..., 0) with
+       tree_to_shwi throughout.
+
+2013-11-18  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * gofrontend/expressions.cc: Replace host_integerp (..., 0) with
+       tree_fits_shwi_p throughout.
+
+2013-11-14  Andrew MacLeod  <amacleod@redhat.com>
+
+       * go-lang.c: Include only gimplify.h and gimple.h as needed.
+
+2013-11-14  Diego Novillo  <dnovillo@google.com>
+
+       * go-backend.c: Include stor-layout.h.
+       * go-gcc.cc: Include stringpool.h.
+       Include stor-layout.h.
+       Include varasm.h.
+       * go-lang.c: Include stor-layout.h.
+
 2013-11-12  Andrew MacLeod  <amacleod@redhat.com>
 
-       * go/go-lang.c: Include gimplify.h.
+       * go-lang.c: Include gimplify.h.
 
 2013-11-06  Ian Lance Taylor  <iant@google.com>
 
 2010-12-02  Ian Lance Taylor  <iant@google.com>
 
        Go frontend added to gcc repository.
+\f
+Copyright (C) 2010-2014 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.