go-gcc.cc (immutable_struct_set_init): Always call resolve_unique_section.
[gcc.git] / gcc / go / ChangeLog
1 2013-08-02 Ian Lance Taylor <iant@google.com>
2
3 * go-gcc.cc (immutable_struct_set_init): Always call
4 resolve_unique_section.
5
6 2013-07-24 Ian Lance Taylor <iant@google.com>
7
8 * go-gcc.cc (Gcc_backend::non_zero_size_type): If a struct has a
9 fields, recreate those fields with the first one with a non-zero
10 size.
11
12 2013-07-23 Ian Lance Taylor <iant@google.com>
13
14 * go-backend.c: Don't #include "rtl.h".
15 (go_imported_unsafe): Don't call init_varasm_once.
16 * Make-lang.in (go/go-backend.o): Don't depend on $(RTL_H).
17
18 2013-07-23 Ian Lance Taylor <iant@google.com>
19
20 * go-lang.c: Don't #include "except.h".
21 * Make-lang.in (go/go-lang.o): Don't depend on $(EXCEPT_H).
22
23 2013-06-18 Ian Lance Taylor <iant@google.com>
24
25 * go-gcc.cc (Gcc_backend::immutable_struct): Add is_hidden
26 parameter.
27 (Gcc_backend::immutable_struct_set_init): Likewise.
28
29 2013-05-16 Jason Merrill <jason@redhat.com>
30
31 * Make-lang.in (go1$(exeext)): Use link mutex.
32
33 2013-01-16 Shenghou Ma <minux.ma@gmail.com>
34
35 * gospec.c: pass -u pthread_create to linker when static linking.
36
37 2012-12-21 Ian Lance Taylor <iant@google.com>
38
39 PR bootstrap/54659
40 * go-system.h: Don't include <cstdio>.
41
42 2012-12-18 Ian Lance Taylor <iant@google.com>
43
44 PR go/55201
45 * gospec.c: Revert last patch.
46
47 2012-12-18 Andreas Schwab <schwab@linux-m68k.org>
48
49 PR go/55201
50 * gospec.c (LIBATOMIC): Define.
51 (LIBATOMIC_PROFILE): Define.
52 (lang_specific_driver): Add LIBATOMIC[_PROFILE] option.
53
54 2012-11-29 Ian Lance Taylor <iant@google.com>
55
56 * go-gcc.cc: Include "output.h".
57 (global_variable): Add is_unique_section parameter.
58 (global_variable_set_init): Adjust unique section if necessary.
59 * Make-lang.in (go/go-gcc.o): Add dependency on output.h.
60
61 2012-11-17 Diego Novillo <dnovillo@google.com>
62
63 Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)
64
65 * go-lang.c: Use new vec API in vec.h.
66
67 2012-11-16 Ian Lance Taylor <iant@google.com>
68
69 * Make-lang.in (gccgo$(exeext)): Add + at start of command.
70 (go1$(exeext)): Likewise.
71
72 2012-10-30 Ian Lance Taylor <iant@google.com>
73
74 * lang.opt (-fgo-relative-import-path): New option.
75 * go-lang.c (go_relative_import_path): New static variable.
76 (go_langhook_init): Pass go_relative_import_path to
77 go_create_gogo.
78 (go_langhook_handle_option): Handle -fgo-relative-import-path.
79 * go-c.h (go_create_gogo): Update declaration.
80 * gccgo.texi (Invoking gccgo): Document
81 -fgo-relative-import-path.
82
83 2012-09-17 Ian Lance Taylor <iant@google.com>
84
85 * config-lang.in (target_libs): Add target-libbacktrace.
86
87 2012-09-16 Ian Lance Taylor <iant@google.com>
88
89 * Make-lang.in (go/gogo.o): Depend on filenames.h.
90
91 2012-08-14 Diego Novillo <dnovillo@google.com>
92
93 Merge from cxx-conversion branch. Configury.
94
95 * go-c.h: Remove all handlers of ENABLE_BUILD_WITH_CXX.
96 * go-gcc.cc: Likewise.
97 * go-system.h: Likewise.
98
99 2012-07-24 Uros Bizjak <ubizjak@gmail.com>
100
101 * go-lang.c (lang_decl): Add variable_size GTY option.
102
103 2012-05-09 Ian Lance Taylor <iant@google.com>
104
105 * lang.opt: Add -fgo-pkgpath.
106 * go-lang.c (go_pkgpath): New static variable.
107 (go_prefix): New static variable.
108 (go_langhook_init): Pass go_pkgpath and go_prefix to
109 go_create_gogo.
110 (go_langhook_handle_option): Handle -fgo-pkgpath. Change
111 -fgo-prefix handling to just set go_prefix.
112 * go-c.h (go_set_prefix): Don't declare.
113 (go_create_gogo): Add pkgpath and prefix to declaration.
114 * go-gcc.cc (Gcc_backend::global_variable): Change unique_prefix
115 to pkgpath. Don't include the package name in the asm name.
116 * gccgo.texi (Invoking gccgo): Document -fgo-pkgpath. Update the
117 docs for -fgo-prefix.
118
119 2012-04-23 Ian Lance Taylor <iant@google.com>
120
121 * go-lang.c (go_langhook_init): Set MPFR precision to 256.
122
123 2012-04-20 Ian Lance Taylor <iant@google.com>
124
125 * lang.opt: Add -fgo-check-divide-zero and
126 -fgo-check-divide-overflow.
127 * gccgo.texi (Invoking gccgo): Document new options.
128
129 2012-04-18 Steven Bosscher <steven@gcc.gnu.org>
130
131 * go-gcc.cc (Gcc_backend::switch_statement): Build SWITCH_EXPR
132 with NULL_TREE type instead of void_type_node.
133
134 2012-03-09 Ian Lance Taylor <iant@google.com>
135
136 * go-gcc.cc (Gcc_backend::assignment_statement): Convert the rhs
137 to the lhs type if necessary.
138
139 2012-03-08 Ian Lance Taylor <iant@google.com>
140
141 * go-gcc.cc (Gcc_backend::init_statement): Don't initialize a
142 zero-sized variable.
143 (go_non_zero_struct): New global variable.
144 (Gcc_backend::non_zero_size_type): New function.
145 (Gcc_backend::global_variable): Don't build an assignment for a
146 zero-sized value.
147 * go-c.h (go_non_zero_struct): Declare.
148 * config-lang.in (gtfiles): Add go-c.h.
149
150 2012-02-29 Ian Lance Taylor <iant@google.com>
151
152 * go-gcc.cc (class Gcc_tree): Add set_tree method.
153 (set_placeholder_pointer_type): When setting to a pointer to
154 error, set to error_mark_node.
155
156 2012-02-23 Richard Guenther <rguenther@suse.de>
157
158 * go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use
159 build_distinct_type_copy.
160
161 2012-02-17 Ian Lance Taylor <iant@google.com>
162
163 * Make-lang.in (go/import.o): Add dependency on $(GO_LEX_H).
164
165 2012-02-17 Ian Lance Taylor <iant@google.com>
166
167 * gospec.c (lang_specific_driver): If linking, and no -o option
168 was used, add one.
169
170 2012-02-14 Ian Lance Taylor <iant@google.com>
171
172 PR go/48411
173 * Make-lang.in (gccgo-cross$(exeext)): New target.
174 (go.all.cross): Depend on gccgo-cross$(exeext) instead of
175 gccgo$(exeext).
176 (go.install-common): Only install GCCGO_TARGET_INSTALL_NAME if
177 gccgo-cross$(exeext) does not exist.
178
179 2012-02-07 Ian Lance Taylor <iant@google.com>
180
181 * gccgo.texi (Function Names): Document //extern instead of
182 __asm__.
183
184 2012-02-01 Jakub Jelinek <jakub@redhat.com>
185
186 PR target/52079
187 * go-lang.c (go_langhook_type_for_mode): For TImode and 64-bit HWI
188 return build_nonstandard_integer_type result if possible.
189
190 2012-01-21 Ian Lance Taylor <iant@google.com>
191
192 * go-gcc.cc (Gcc_backend::type_size): Check for error_mark_node.
193 (Gcc_backend::type_alignment): Likewise.
194 (Gcc_backend::type_field_alignment): Likewise.
195 (Gcc_backend::type_field_offset): Likewise.
196
197 2012-01-20 Ian Lance Taylor <iant@google.com>
198
199 * go-gcc.cc (Gcc_backend::placeholder_struct_type): Permit name to
200 be empty.
201 (Gcc_backend::set_placeholder_struct_type): Likewise.
202
203 2012-01-17 Ian Lance Taylor <iant@google.com>
204
205 * gospec.c (lang_specific_driver): If we see -S without -o, add -o
206 BASE.s rather than -o BASE.o.
207
208 2012-01-11 Ian Lance Taylor <iant@google.com>
209
210 * go-lang.c (go_langhook_init): Initialize void_list_node before
211 calling go_create_gogo.
212
213 2012-01-10 Ian Lance Taylor <iant@google.com>
214
215 * go-gcc.cc (Gcc_backend::type_size): New function.
216 (Gcc_backend::type_alignment): New function.
217 (Gcc_backend::type_field_alignment): New function.
218 (Gcc_backend::type_field_offset): New function.
219 * go-backend.c (go_type_alignment): Remove.
220 * go-c.h (go_type_alignment): Don't declare.
221
222 2011-12-27 Ian Lance Taylor <iant@google.com>
223
224 * go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Use
225 build_distinct_type_copy rather than build_variant_type_copy.
226 (Gcc_backend::set_placeholder_array_type): Likewise.
227 (Gcc_backend::named_type): Add special handling for builtin
228 basic types.
229
230 2011-12-22 Ian Lance Taylor <iant@google.com>
231
232 * go-gcc.cc (Gcc_backend::set_placeholder_pointer_type): Arrange
233 for the type name to have a DECL_ORIGINAL_TYPE as gcc expects.
234 (Gcc_backend::set_placeholder_struct_type): Likewise.
235 (Gcc_backend::set_placeholder_array_type): Likewise.
236 (Gcc_backend::named_type): Set DECL_ORIGINAL_TYPE.
237
238 2011-12-13 Ian Lance Taylor <iant@google.com>
239
240 * go-backend.c: #include "simple-object.h" and "intl.h".
241 (GO_EXPORT_SEGMENT_NAME): Define if not defined.
242 (GO_EXPORT_SECTION_NAME): Likewise.
243 (go_write_export_data): Use GO_EXPORT_SECTION_NAME.
244 (go_read_export_data): New function.
245 * go-c.h (go_read_export_data): Declare.
246
247 2011-11-29 Sanjoy Das <thedigitalangel@gmail.com>
248 Ian Lance Taylor <iant@google.com>
249
250 * go-location.h: New file.
251 * go-linemap.cc: New file.
252 * go-gcc.cc: Change all uses of source_location to Location.
253 * Make-lang.in (GO_OBJS): Add go/go-linemap.o.
254 (GO_LINEMAP_H): New variable.
255 (GO_LEX_H): Use $(GO_LINEMAP_H).
256 (GO_GOGO_H, GO_TYPES_H, GO_IMPORT_H): Likewise.
257 (go/go-linemap.o): New target.
258
259 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
260
261 * Make-lang.in (gospec.o): Pass SHLIB instead of SHLIB_LINK.
262
263 2011-08-24 Roberto Lublinerman <rluble@gmail.com>
264
265 * lang.opt: Add fgo-optimize-.
266 * go-lang.c (go_langhook_handle_option): Handle OPT_fgo_optimize.
267 * go-c.h (go_enable_optimize): Declare.
268 * Make-lang.in (GO_OBJS): Add go/go-optimize.o.
269 (GO_EXPORT_H): Define.
270 (GO_IMPORT_H): Add $(GO_EXPORT_H).
271 (GO_AST_DUMP_H): Define.
272 (go/ast-dump.o, go/statements.o): Use GO_AST_DUMP_H.
273 (go/export.o, go/gogo.o, go/import.o): Use GO_EXPORT_H.
274 (go/types.o): Likewise.
275 (go/expressions.o): Use GO_AST_DUMP_H and GO_EXPORT_H.
276 (go/go-optimize.o): New target.
277
278 2011-08-24 Joseph Myers <joseph@codesourcery.com>
279
280 * Make-lang.in (CFLAGS-go/go-lang.o): New.
281 (go/go-lang.o): Remove explicit compilation rule.
282
283 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
284
285 * Make-lang.in (gccgo$(exeext)): Add $(EXTRA_GCC_LIBS).
286
287 2011-08-02 Roberto Lublinerman <rluble@gmail.com>
288
289 * Make-lang.in (GO_OBJS): Add go/ast-dump.o.
290 (go/ast-dump.o): New target.
291 (go/expressions.o): Depend on go/gofrontend/ast-dump.h.
292 (go/statements.o): Likewise.
293
294 2011-07-06 Richard Guenther <rguenther@suse.de>
295
296 * go-lang.c (go_langhook_init):
297 Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
298
299 2011-06-14 Joseph Myers <joseph@codesourcery.com>
300
301 * Make-lang.in (go/go-lang.o, go/go-backend.o): Update
302 dependencies.
303 * go-backend.c: Include common/common-target.h.
304 (go_write_export_data): Use targetm_common.have_named_sections.
305 * go-lang.c: Include common/common-target.h.
306 (go_langhook_init_options_struct): Use
307 targetm_common.supports_split_stack.
308
309 2011-06-13 Ian Lance Taylor <iant@google.com>
310
311 * Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H).
312
313 2011-06-10 Ian Lance Taylor <iant@google.com>
314
315 * go-gcc.cc: Include "toplev.h".
316 (Gcc_backend::immutable_struct): New function.
317 (Gcc_backend::immutable_struct_set_init): New function.
318 (Gcc_backend::immutable_struct_reference): New function.
319 * Make-lang.in (go/go-gcc.o): Depend on toplev.h.
320
321 2011-06-09 Ian Lance Taylor <iant@google.com>
322
323 * go-gcc.cc (Gcc_backend::zero_expression): New function.
324
325 2011-06-07 Richard Guenther <rguenther@suse.de>
326
327 * go-lang.c (go_langhook_init): Do not set
328 size_type_node or call set_sizetype.
329
330 2011-05-27 Ian Lance Taylor <iant@google.com>
331
332 * go-backend.c: Include "output.h".
333 (go_write_export_data): New function.
334 * go-c.h (go_write_export_data): Declare.
335 * Make-lang.in (go/go-backend.o): Depend on output.h.
336 (go/export.o): Depend on $(GO_C_H). Do not depend on
337 $(MACHMODE_H), output.h, or $(TARGET_H).
338
339 2011-05-24 Joseph Myers <joseph@codesourcery.com>
340
341 * Make-lang.in (GCCGO_OBJS): Remove prefix.o.
342 (gccgo$(exeext)): Use libcommon-target.a.
343
344 2011-05-20 Joseph Myers <joseph@codesourcery.com>
345
346 * Make-lang.in (GCCGO_OBJS): Remove intl.o and version.o.
347
348 2011-05-13 Ian Lance Taylor <iant@google.com>
349
350 * go-gcc.cc (Gcc_backend::function_type): When building a struct
351 for multiple results, check that all fields types have a size.
352 (Gcc_backend::placeholder_pointer_type): Permit name to be empty.
353
354 2011-05-12 Ian Lance Taylor <iant@google.com>
355
356 * go-gcc.cc (Gcc_backend::local_variable): Add is_address_taken
357 parameter.
358 (Gcc_backend::parameter_variable): Likewise.
359
360 2011-05-07 Eric Botcazou <ebotcazou@adacore.com>
361
362 * go-lang.c (global_bindings_p): Return bool and simplify.
363
364 2011-05-05 Nathan Froyd <froydnj@codesourcery.com>
365
366 * go-gcc.cc (Gcc_backend::switch_statement): Call build_case_label.
367
368 2011-05-04 Ian Lance Taylor <iant@google.com>
369
370 * go-gcc.cc (Gcc_backend::struct_type): Call fill_in_struct.
371 (Gcc_backend::fill_in_struct): New function.
372 (Gcc_backend::array_type): Implement.
373 (Gcc_backend::fill_in_array): New function.
374 (Gcc_backend::placeholder_pointer_type): New function.
375 (Gcc_backend::set_placeholder_pointer_type): New function.
376 (Gcc_backend::set_placeholder_function_type): New function.
377 (Gcc_backend::placeholder_struct_type): New function.
378 (Gcc_backend::set_placeholder_struct_type): New function.
379 (Gcc_backend::placeholder_array_type): New function.
380 (Gcc_backend::set_placeholder_array_type): New function.
381 (Gcc_backend::named_type): New function.
382 (Gcc_backend::circular_pointer_type): New function.
383 (Gcc_backend::is_circular_pointer_type): New function.
384
385 2011-04-26 Ian Lance Taylor <iant@google.com>
386
387 * go-gcc.cc (Gcc_backend::struct_type): Implement.
388
389 2011-04-25 Ian Lance Taylor <iant@google.com>
390
391 * go-gcc.cc (Gcc_backend::error_type): Implement.
392 (Gcc_backend::string_type): Remove.
393 (Gcc_backend::function_type): Change signature and implement.
394 (Gcc_backend::struct_type): Change signature.
395 (Gcc_backend::slice_type, Gcc_backend::map_type): Remove.
396 (Gcc_backend::channel_type, Gcc_backend::interface_type): Remove.
397 (Gcc_backend::pointer_type): Check for error.
398 * Make-lang.in (go/types.o): Depend on go/gofrontend/backend.h.
399
400 2011-04-25 Evan Shaw <edsrzf@gmail.com>
401
402 * go-gcc.c (class Gcc_tree): Make get_tree const.
403 (Gcc_backend::void_type): Implement.
404 (Gcc_backend::bool_type): Implement.
405 (Gcc_backend::integer_type): Implement.
406 (Gcc_backend::float_type): Implement.
407 (Gcc_backend::complex_type): New function.
408 (Gcc_backend::pointer_type): New function.
409 (Gcc_backend::make_type): New function.
410 (type_to_tree): New function.
411
412 2011-04-21 Ian Lance Taylor <iant@google.com>
413
414 * go-system.h (go_assert, go_unreachable): Define.
415
416 2011-04-19 Ian Lance Taylor <iant@google.com>
417
418 * go-system.h: Include "intl.h".
419 * Make-lang.in (GO_SYSTEM_H): Add intl.h.
420 (go/statements.o): Remove dependencies on intl.h $(TREE_H)
421 $(GIMPLE_H) convert.h tree-iterator.h $(TREE_FLOW_H) $(REAL_H).
422
423 2011-04-19 Ian Lance Taylor <iant@google.com>
424
425 * go-gcc.cc (Gcc_backend::temporary_variable): New function.
426
427 2011-04-19 Ian Lance Taylor <iant@google.com>
428
429 * go-gcc.cc (class Bblock): Define.
430 (Gcc_backend::if_statement): Change then_block and else_block to
431 Bblock*.
432 (Gcc_backend::block): New function.
433 (Gcc_backend::block_add_statements): New function.
434 (Gcc_backend::block_statement): New function.
435 (tree_to_block, block_to_tree): New functions.
436
437 2011-04-18 Ian Lance Taylor <iant@google.com>
438
439 * go-gcc.cc: Include "go-c.h".
440 (class Bvariable): Define.
441 (Gcc_backend::init_statement): New function.
442 (Gcc_backend::global_variable): New function.
443 (Gcc_backend::global_variable_set_init): New function.
444 (Gcc_backend::local_variable): New function.
445 (Gcc_backend::parameter_variable): New function.
446 (tree_to_type, var_to_tree): New functions.
447 * Make-lang.in (go/go-gcc.o): Depend on $(GO_C_H).
448 * (go/gogo-tree.o): Depend on go/gofrontend/backend.h.
449
450 2011-04-15 Ian Lance Taylor <iant@google.com>
451
452 * go-gcc.cc (Gcc_backend::compound_statement): New function.
453 (Gcc_backend::assignment_statement): Use error_statement.
454 (Gcc_backend::return_statement): Likewise.
455 (Gcc_backend::if_statement): Likewise.
456 (Gcc_backend::switch_statement): Likewise.
457 (Gcc_backend::statement_list): Likewise.
458
459 2011-04-14 Ian Lance Taylor <iant@google.com>
460
461 * go-gcc.cc (Backend::error_statement): New function.
462
463 2011-04-13 Ian Lance Taylor <iant@google.com>
464
465 * Make-lang.in (go/gogo-tree.o): depend on $(GO_RUNTIME_H).
466
467 2011-04-13 Ian Lance Taylor <iant@google.com>
468
469 * Make-lang.in (GO_OBJS): Add go/runtime.o.
470 (GO_RUNTIME_H): New variable.
471 (go/runtime.o): New target.
472 (go/gogo.o): Depend on $(GO_RUNTIME_H).
473 (go/statements.o): Likewise.
474
475 2011-04-12 Nathan Froyd <froydnj@codesourcery.com>
476
477 * go-lang.c (union lang_tree_node): Check for TS_COMMON before
478 calling TREE_CHAIN.
479
480 2011-04-06 Ian Lance Taylor <iant@google.com>
481
482 * go-gcc.cc (if_statement): Use build3_loc.
483 (Gcc_backend::switch_statement): New function.
484 (Gcc_backend::statement_list): New function.
485
486 2011-04-06 Ian Lance Taylor <iant@google.com>
487
488 * go-gcc.cc (Gcc_backend::if_statement): New function.
489 (tree_to_stat): New function.
490 (expr_to_tree): Renamed from expression_to_tree.
491 (stat_to_tree): Renamed from statement_to_tree.
492
493 2011-04-06 Ian Lance Taylor <iant@google.com>
494
495 * go-gcc.cc (Gcc_backend::expression_statement): New function.
496
497 2011-04-04 Ian Lance Taylor <iant@google.com>
498
499 * go-gcc.c (class Blabel): Define.
500 (Gcc_backend::make_expression): New function.
501 (get_identifier_from_string): New function.
502 (Gcc_backend::label): New function.
503 (Gcc_backend::label_definition_statement): New function.
504 (Gcc_backend::goto_statement): New function.
505 (Gcc_backend::label_address): New function.
506 (expression_to_tree): New function.
507 * Make-lang.in (go/expressions.o): Depend on
508 go/gofrontend/backend.h.
509 (go/gogo.o): Likewise.
510
511 2011-04-04 Ian Lance Taylor <iant@google.com>
512
513 * go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h".
514 (class Bfunction): Define.
515 (Gcc_backend::assignment_statement): Rename from assignment.
516 Check for errors.
517 (Gcc_backend::return_statement): New function.
518 (tree_to_function): New function.
519 * Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h,
520 $(GIMPLE_H), and $(GO_GOGO_H).
521
522 2011-04-03 Ian Lance Taylor <iant@google.com>
523
524 * go-gcc.cc: New file.
525 * Make-lang.in (GO_OBJS): Add go/go-gcc.o.
526 (go/go-gcc.o): New target.
527 (go/go.o): Depend on go/gofrontend/backend.h.
528 (go/statements.o): Likewise.
529
530 2011-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
531
532 * gccgo.texi (Top, Import and Export): Fix a typo and a markup nit.
533
534 2011-02-08 Ian Lance Taylor <iant@google.com>
535
536 * go-lang.c (go_langhook_init_options_struct): Set
537 frontend_set_flag_errno_math. Don't set x_flag_trapping_math.
538
539 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
540
541 * gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
542 LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
543
544 2011-01-21 Ian Lance Taylor <iant@google.com>
545
546 * go-lang.c (go_langhook_init): Omit float_type_size when calling
547 go_create_gogo.
548 * go-c.h: Update declaration of go_create_gogo.
549
550 2011-01-13 Ian Lance Taylor <iant@google.com>
551
552 * go-backend.c: Include "rtl.h" and "target.h".
553 (go_imported_unsafe): New function.
554 * go-c.h (go_imported_unsafe): Declare.
555 * Make-lang.in (go/go-backend.o): Depend on $(RTL_H).
556 (go/gogo-tree.o): Remove dependency on $(RTL_H).
557 (go/unsafe.o): Depend on $(GO_C_H).
558
559 2010-12-31 Joern Rennecke <amylaar@spamcop.net>
560
561 PR go/47113
562 * go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
563 variable ‘field’ .
564
565 2010-12-21 Ian Lance Taylor <iant@google.com>
566
567 * Make-lang.in (check-go): Remove.
568 (lang_checks_parallelized): Add check-go.
569 (check_go_parallelize): Set.
570
571 2010-12-13 Ian Lance Taylor <iant@google.com>
572
573 * gospec.c (lang_specific_driver): Add a -o option if not linking
574 and there is no -o option already.
575
576 2010-12-07 Ian Lance Taylor <iant@google.com>
577
578 PR tree-optimization/46805
579 PR tree-optimization/46833
580 * go-lang.c (go_langhook_type_for_mode): Handle vector modes.
581
582 2010-12-06 Ian Lance Taylor <iant@google.com>
583
584 PR other/46789
585 PR bootstrap/46812
586 * go-lang.c (go_char_p): Define type and vectors.
587 (go_search_dirs): New static variable.
588 (go_langhook_handle_option): Use version and version/machine
589 directories for -L.
590 (go_langhook_post_options): Add non-specific -L paths.
591 * Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and
592 DEFAULT_TARGET_MACHINE when compiling.
593 * gccgo.texi (Invoking gccgo): Only document -L for linking.
594 (Import and Export): Don't mention -L for finding import files.
595
596 2010-12-03 Ian Lance Taylor <iant@google.com>
597
598 PR bootstrap/46776
599 * go-backend.c: New file.
600 * go-c.h (go_type_alignment): Declare.
601 (go_field_alignment, go_trampoline_info): Declare.
602 * Make-lang.in (GO_OBJS): Add go/go-backend.o.
603 (go/go-backend.o): New target.
604 (go/go-lang.o): Make dependencies match source file.
605 (go/expressions.o): Don't depend on $(TM_H) $(TM_P_H).
606 (go/gogo-tree.o): Don't depend on $(TM_H).
607
608 2010-12-03 Ian Lance Taylor <iant@google.com>
609
610 * config-lang.in (build_by_default): Set to no.
611
612 2010-12-02 Ian Lance Taylor <iant@google.com>
613
614 Go frontend added to gcc repository.