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