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