OSDN Git Service

Use backend interface for struct types.
[pf3gnuchains/gcc-fork.git] / gcc / go / ChangeLog
index ff56bfe..f9eccd5 100644 (file)
@@ -1,3 +1,104 @@
+2011-04-26  Ian Lance Taylor  <iant@google.com>
+
+       * go-gcc.cc (Gcc_backend::struct_type): Implement.
+
+2011-04-25  Ian Lance Taylor  <iant@google.com>
+
+       * go-gcc.cc (Gcc_backend::error_type): Implement.
+       (Gcc_backend::string_type): Remove.
+       (Gcc_backend::function_type): Change signature and implement.
+       (Gcc_backend::struct_type): Change signature.
+       (Gcc_backend::slice_type, Gcc_backend::map_type): Remove.
+       (Gcc_backend::channel_type, Gcc_backend::interface_type): Remove.
+       (Gcc_backend::pointer_type): Check for error.
+       * Make-lang.in (go/types.o): Depend on go/gofrontend/backend.h.
+
+2011-04-25  Evan Shaw  <edsrzf@gmail.com>
+
+       * go-gcc.c (class Gcc_tree): Make get_tree const.
+       (Gcc_backend::void_type): Implement.
+       (Gcc_backend::bool_type): Implement.
+       (Gcc_backend::integer_type): Implement.
+       (Gcc_backend::float_type): Implement.
+       (Gcc_backend::complex_type): New function.
+       (Gcc_backend::pointer_type): New function.
+       (Gcc_backend::make_type): New function.
+       (type_to_tree): New function.
+
+2011-04-21  Ian Lance Taylor  <iant@google.com>
+
+       * go-system.h (go_assert, go_unreachable): Define.
+
+2011-04-19  Ian Lance Taylor  <iant@google.com>
+
+       * go-system.h: Include "intl.h".
+       * Make-lang.in (GO_SYSTEM_H): Add intl.h.
+       (go/statements.o): Remove dependencies on intl.h $(TREE_H)
+       $(GIMPLE_H) convert.h tree-iterator.h $(TREE_FLOW_H) $(REAL_H).
+
+2011-04-19  Ian Lance Taylor  <iant@google.com>
+
+       * go-gcc.cc (Gcc_backend::temporary_variable): New function.
+
+2011-04-19  Ian Lance Taylor  <iant@google.com>
+
+       * go-gcc.cc (class Bblock): Define.
+       (Gcc_backend::if_statement): Change then_block and else_block to
+       Bblock*.
+       (Gcc_backend::block): New function.
+       (Gcc_backend::block_add_statements): New function.
+       (Gcc_backend::block_statement): New function.
+       (tree_to_block, block_to_tree): New functions.
+
+2011-04-18  Ian Lance Taylor  <iant@google.com>
+
+       * go-gcc.cc: Include "go-c.h".
+       (class Bvariable): Define.
+       (Gcc_backend::init_statement): New function.
+       (Gcc_backend::global_variable): New function.
+       (Gcc_backend::global_variable_set_init): New function.
+       (Gcc_backend::local_variable): New function.
+       (Gcc_backend::parameter_variable): New function.
+       (tree_to_type, var_to_tree): New functions.
+       * Make-lang.in (go/go-gcc.o): Depend on $(GO_C_H).
+       * (go/gogo-tree.o): Depend on go/gofrontend/backend.h.
+
+2011-04-15  Ian Lance Taylor  <iant@google.com>
+
+       * go-gcc.cc (Gcc_backend::compound_statement): New function.
+       (Gcc_backend::assignment_statement): Use error_statement.
+       (Gcc_backend::return_statement): Likewise.
+       (Gcc_backend::if_statement): Likewise.
+       (Gcc_backend::switch_statement): Likewise.
+       (Gcc_backend::statement_list): Likewise.
+
+2011-04-14  Ian Lance Taylor  <iant@google.com>
+
+       * go-gcc.cc (Backend::error_statement): New function.
+
+2011-04-13  Ian Lance Taylor  <iant@google.com>
+
+       * Make-lang.in (go/gogo-tree.o): depend on $(GO_RUNTIME_H).
+
+2011-04-13  Ian Lance Taylor  <iant@google.com>
+
+       * Make-lang.in (GO_OBJS): Add go/runtime.o.
+       (GO_RUNTIME_H): New variable.
+       (go/runtime.o): New target.
+       (go/gogo.o): Depend on $(GO_RUNTIME_H).
+       (go/statements.o): Likewise.
+
+2011-04-12  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * go-lang.c (union lang_tree_node): Check for TS_COMMON before
+       calling TREE_CHAIN.
+
+2011-04-06  Ian Lance Taylor  <iant@google.com>
+
+       * go-gcc.cc (if_statement): Use build3_loc.
+       (Gcc_backend::switch_statement): New function.
+       (Gcc_backend::statement_list): New function.
+
 2011-04-06  Ian Lance Taylor  <iant@google.com>
 
        * go-gcc.cc (Gcc_backend::if_statement): New function.