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