varasm.c (set_implicit_section): New function.
[gcc.git] / gcc / go / ChangeLog
index 1a863b04dbce60eb6179f748f9fd319541f342f1..16d13409cde4f7b28f336e996dde443cd3d2a3d4 100644 (file)
@@ -1,3 +1,89 @@
+2014-06-10  Jan Hubicka  <hubicka@ucw.cz>
+
+       * go/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".