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