1 2011-04-25 Evan Shaw <edsrzf@gmail.com>
3 * go-gcc.c (class Gcc_tree): Make get_tree const.
4 (Gcc_backend::void_type): Implement.
5 (Gcc_backend::bool_type): Implement.
6 (Gcc_backend::integer_type): Implement.
7 (Gcc_backend::float_type): Implement.
8 (Gcc_backend::complex_type): New function.
9 (Gcc_backend::pointer_type): New function.
10 (Gcc_backend::make_type): New function.
11 (type_to_tree): New function.
13 2011-04-21 Ian Lance Taylor <iant@google.com>
15 * go-system.h (go_assert, go_unreachable): Define.
17 2011-04-19 Ian Lance Taylor <iant@google.com>
19 * go-system.h: Include "intl.h".
20 * Make-lang.in (GO_SYSTEM_H): Add intl.h.
21 (go/statements.o): Remove dependencies on intl.h $(TREE_H)
22 $(GIMPLE_H) convert.h tree-iterator.h $(TREE_FLOW_H) $(REAL_H).
24 2011-04-19 Ian Lance Taylor <iant@google.com>
26 * go-gcc.cc (Gcc_backend::temporary_variable): New function.
28 2011-04-19 Ian Lance Taylor <iant@google.com>
30 * go-gcc.cc (class Bblock): Define.
31 (Gcc_backend::if_statement): Change then_block and else_block to
33 (Gcc_backend::block): New function.
34 (Gcc_backend::block_add_statements): New function.
35 (Gcc_backend::block_statement): New function.
36 (tree_to_block, block_to_tree): New functions.
38 2011-04-18 Ian Lance Taylor <iant@google.com>
40 * go-gcc.cc: Include "go-c.h".
41 (class Bvariable): Define.
42 (Gcc_backend::init_statement): New function.
43 (Gcc_backend::global_variable): New function.
44 (Gcc_backend::global_variable_set_init): New function.
45 (Gcc_backend::local_variable): New function.
46 (Gcc_backend::parameter_variable): New function.
47 (tree_to_type, var_to_tree): New functions.
48 * Make-lang.in (go/go-gcc.o): Depend on $(GO_C_H).
49 * (go/gogo-tree.o): Depend on go/gofrontend/backend.h.
51 2011-04-15 Ian Lance Taylor <iant@google.com>
53 * go-gcc.cc (Gcc_backend::compound_statement): New function.
54 (Gcc_backend::assignment_statement): Use error_statement.
55 (Gcc_backend::return_statement): Likewise.
56 (Gcc_backend::if_statement): Likewise.
57 (Gcc_backend::switch_statement): Likewise.
58 (Gcc_backend::statement_list): Likewise.
60 2011-04-14 Ian Lance Taylor <iant@google.com>
62 * go-gcc.cc (Backend::error_statement): New function.
64 2011-04-13 Ian Lance Taylor <iant@google.com>
66 * Make-lang.in (go/gogo-tree.o): depend on $(GO_RUNTIME_H).
68 2011-04-13 Ian Lance Taylor <iant@google.com>
70 * Make-lang.in (GO_OBJS): Add go/runtime.o.
71 (GO_RUNTIME_H): New variable.
72 (go/runtime.o): New target.
73 (go/gogo.o): Depend on $(GO_RUNTIME_H).
74 (go/statements.o): Likewise.
76 2011-04-12 Nathan Froyd <froydnj@codesourcery.com>
78 * go-lang.c (union lang_tree_node): Check for TS_COMMON before
81 2011-04-06 Ian Lance Taylor <iant@google.com>
83 * go-gcc.cc (if_statement): Use build3_loc.
84 (Gcc_backend::switch_statement): New function.
85 (Gcc_backend::statement_list): New function.
87 2011-04-06 Ian Lance Taylor <iant@google.com>
89 * go-gcc.cc (Gcc_backend::if_statement): New function.
90 (tree_to_stat): New function.
91 (expr_to_tree): Renamed from expression_to_tree.
92 (stat_to_tree): Renamed from statement_to_tree.
94 2011-04-06 Ian Lance Taylor <iant@google.com>
96 * go-gcc.cc (Gcc_backend::expression_statement): New function.
98 2011-04-04 Ian Lance Taylor <iant@google.com>
100 * go-gcc.c (class Blabel): Define.
101 (Gcc_backend::make_expression): New function.
102 (get_identifier_from_string): New function.
103 (Gcc_backend::label): New function.
104 (Gcc_backend::label_definition_statement): New function.
105 (Gcc_backend::goto_statement): New function.
106 (Gcc_backend::label_address): New function.
107 (expression_to_tree): New function.
108 * Make-lang.in (go/expressions.o): Depend on
109 go/gofrontend/backend.h.
110 (go/gogo.o): Likewise.
112 2011-04-04 Ian Lance Taylor <iant@google.com>
114 * go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h".
115 (class Bfunction): Define.
116 (Gcc_backend::assignment_statement): Rename from assignment.
118 (Gcc_backend::return_statement): New function.
119 (tree_to_function): New function.
120 * Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h,
121 $(GIMPLE_H), and $(GO_GOGO_H).
123 2011-04-03 Ian Lance Taylor <iant@google.com>
125 * go-gcc.cc: New file.
126 * Make-lang.in (GO_OBJS): Add go/go-gcc.o.
127 (go/go-gcc.o): New target.
128 (go/go.o): Depend on go/gofrontend/backend.h.
129 (go/statements.o): Likewise.
131 2011-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
133 * gccgo.texi (Top, Import and Export): Fix a typo and a markup nit.
135 2011-02-08 Ian Lance Taylor <iant@google.com>
137 * go-lang.c (go_langhook_init_options_struct): Set
138 frontend_set_flag_errno_math. Don't set x_flag_trapping_math.
140 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
142 * gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
143 LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
145 2011-01-21 Ian Lance Taylor <iant@google.com>
147 * go-lang.c (go_langhook_init): Omit float_type_size when calling
149 * go-c.h: Update declaration of go_create_gogo.
151 2011-01-13 Ian Lance Taylor <iant@google.com>
153 * go-backend.c: Include "rtl.h" and "target.h".
154 (go_imported_unsafe): New function.
155 * go-c.h (go_imported_unsafe): Declare.
156 * Make-lang.in (go/go-backend.o): Depend on $(RTL_H).
157 (go/gogo-tree.o): Remove dependency on $(RTL_H).
158 (go/unsafe.o): Depend on $(GO_C_H).
160 2010-12-31 Joern Rennecke <amylaar@spamcop.net>
163 * go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
166 2010-12-21 Ian Lance Taylor <iant@google.com>
168 * Make-lang.in (check-go): Remove.
169 (lang_checks_parallelized): Add check-go.
170 (check_go_parallelize): Set.
172 2010-12-13 Ian Lance Taylor <iant@google.com>
174 * gospec.c (lang_specific_driver): Add a -o option if not linking
175 and there is no -o option already.
177 2010-12-07 Ian Lance Taylor <iant@google.com>
179 PR tree-optimization/46805
180 PR tree-optimization/46833
181 * go-lang.c (go_langhook_type_for_mode): Handle vector modes.
183 2010-12-06 Ian Lance Taylor <iant@google.com>
187 * go-lang.c (go_char_p): Define type and vectors.
188 (go_search_dirs): New static variable.
189 (go_langhook_handle_option): Use version and version/machine
191 (go_langhook_post_options): Add non-specific -L paths.
192 * Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and
193 DEFAULT_TARGET_MACHINE when compiling.
194 * gccgo.texi (Invoking gccgo): Only document -L for linking.
195 (Import and Export): Don't mention -L for finding import files.
197 2010-12-03 Ian Lance Taylor <iant@google.com>
200 * go-backend.c: New file.
201 * go-c.h (go_type_alignment): Declare.
202 (go_field_alignment, go_trampoline_info): Declare.
203 * Make-lang.in (GO_OBJS): Add go/go-backend.o.
204 (go/go-backend.o): New target.
205 (go/go-lang.o): Make dependencies match source file.
206 (go/expressions.o): Don't depend on $(TM_H) $(TM_P_H).
207 (go/gogo-tree.o): Don't depend on $(TM_H).
209 2010-12-03 Ian Lance Taylor <iant@google.com>
211 * config-lang.in (build_by_default): Set to no.
213 2010-12-02 Ian Lance Taylor <iant@google.com>
215 Go frontend added to gcc repository.