12014-10-30  Release Manager
2
3	* GCC 4.9.2 released.
4
52014-07-16  Release Manager
6
7	* GCC 4.9.1 released.
8
92014-04-22  Release Manager
10
11	* GCC 4.9.0 released.
12
132014-03-03  Ian Lance Taylor  <iant@google.com>
14
15	* go-gcc.cc (Gcc_backend::immutable_struct): If IS_COMMON, set
16	DECL_WEAK.
17	(GCC_backend::immutable_struct_set_init): If IS_COMMON, clear
18	DECL_WEAK.
19
202014-01-24  Chris Manghane  <cmang@google.com>
21
22	* go-gcc.cc (Gcc_backend::unary_expression): New function.
23
242014-01-16  Chris Manghane  <cmang@google.com>
25
26	* go-gcc.cc (Gcc_backend::conditional_expression): Add btype
27	parameter.
28	(operator_to_tree_code): New static function.
29	(Gcc_backend::binary_expression): New function.
30
312014-01-14  Chris Manghane  <cmang@google.com>
32
33	* go-gcc.cc (Gcc_backend::compound_expression): New function.
34	(Gcc_backend::conditional_expression): New function.
35
362014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
37
38	Update copyright years
39
402014-01-02  Tobias Burnus  <burnus@net-b.de>
41
42	* gccgo.texi: Bump @copying's copyright year.
43
442013-12-16  Chris Manghane  <cmang@google.com>
45
46	* go-gcc.cc (Gcc_backend::struct_field_expression): New function.
47
482013-12-11  Ian Lance Taylor  <iant@google.com>
49
50	* go-lang.c (go_langhook_post_options): Disable sibling calls by
51	default.
52
532013-12-10  Ian Lance Taylor  <iant@google.com>
54
55	* Make-lang.in (check_go_parallelize): Test go-test.exp r* tests
56	separately.
57
582013-12-05  Ian Lance Taylor  <iant@google.com>
59
60	Revert this change; no longer required.
61	2013-11-06  Ian Lance Taylor  <iant@google.com>
62
63	* go-lang.c (go_langhook_post_options): If
64	-fisolate-erroneous-paths was turned on by an optimization option,
65	turn it off.
66
672013-11-23  Ian Lance Taylor  <iant@google.com>
68
69	* go-gcc.cc (Gcc_backend::function_type): Add result_struct
70	parameter.
71
722013-11-22  Andrew MacLeod  <amacleod@redhat.com>
73
74	* go-gcc.cc: Add required include files from gimple.h.
75	* go-lang.c: Likewise
76
772013-11-18  Richard Sandiford  <rdsandiford@googlemail.com>
78
79	* gofrontend/expressions.cc: Replace tree_low_cst (..., 0) with
80	tree_to_shwi throughout.
81
822013-11-18  Richard Sandiford  <rdsandiford@googlemail.com>
83
84	* gofrontend/expressions.cc: Replace host_integerp (..., 0) with
85	tree_fits_shwi_p throughout.
86
872013-11-14  Andrew MacLeod  <amacleod@redhat.com>
88
89	* go-lang.c: Include only gimplify.h and gimple.h as needed.
90
912013-11-14  Diego Novillo  <dnovillo@google.com>
92
93	* go-backend.c: Include stor-layout.h.
94	* go-gcc.cc: Include stringpool.h.
95	Include stor-layout.h.
96	Include varasm.h.
97	* go-lang.c: Include stor-layout.h.
98
992013-11-12  Andrew MacLeod  <amacleod@redhat.com>
100
101	* go-lang.c: Include gimplify.h.
102
1032013-11-06  Ian Lance Taylor  <iant@google.com>
104
105	* go-lang.c (go_langhook_post_options): If
106	-fisolate-erroneous-paths was turned on by an optimization option,
107	turn it off.
108
1092013-10-14  Chris Manghane  <cmang@google.com>
110
111	* go-gcc.cc (Gcc_backend::address_expression): New function.
112
1132013-10-11  Chris Manghane  <cmang@google.com>
114
115	* go-gcc.cc (Gcc_backend::function_code_expression): New
116	function.
117
1182013-10-10  Chris Manghane  <cmang@google.com>
119
120	* go-gcc.cc (Gcc_backend::error_function): New function.
121	(Gcc_backend::function): New function.
122	(Gcc_backend::make_function): New function.
123	(function_to_tree): New function.
124
1252013-10-04  Chris Manghane  <cmang@google.com>
126
127	* go-gcc.cc (Gcc_backend::convert_expression): New function.
128
1292013-10-02  Chris Manghane  <cmang@google.com>
130
131	* go-gcc.cc: Include "real.h" and "realmpfr.h".
132	(Gcc_backend::integer_constant_expression): New function.
133	(Gcc_backend::float_constant_expression): New function.
134	(Gcc_backend::complex_constant_expression): New function.
135
1362013-09-30  Chris Manghane  <cmang@google.com>
137
138	* go-gcc.cc (Gcc_backend::error_expression): New function.
139	(Gcc_backend::var_expression): New function.
140	(Gcc_backend::indirect_expression): New function.
141
1422013-09-25  Tom Tromey  <tromey@redhat.com>
143
144	* Make-lang.in (gospec.o): Remove.
145	(CFLAGS-go/gospec.o): New variable.
146	(GCCGO_OBJS): Update to use go/gospec.o.
147	(go_OBJS): Define.
148	(GO_SYSTEM_H, GO_C_H, GO_LINEMAP_H, GO_LEX_H, GO_PARSE_H)
149	(GO_GOGO_H, GO_TYPES_H, GO_STATEMENTS_H, GO_EXPRESSIONS_H)
150	(GO_EXPORT_H, GO_IMPORT_H, GO_RUNTIME_H, GO_AST_DUMP_H)
151	(go/go-backend.o, go/go-lang.o, go/go-gcc.o, go/go-linemap.o)
152	(go/ast-dump.o, go/dataflow.o, go/export.o, go/expressions.o)
153	(go/go.o, go/go-dump.o, go/go-optimize.o, go/gogo-tree.o)
154	(go/gogo.o, go/import.o, go/import-archive.o, go/lex.o)
155	(go/parse.o, go/runtime.o, go/statements.o, go/types.o)
156	(go/unsafe.o): Remove.
157	(CFLAGS-go/go-gcc.o, CFLAGS-go/go-linemap.o): New variables.
158	(go/%.o: go/gofrontend/%.cc): Use COMPILE and POSTCOMPILE.
159
1602013-09-25  Tom Tromey  <tromey@redhat.com>
161
162	* Make-lang.in (gospec.o): Don't use subshell.
163
1642013-08-28  Ian Lance Taylor  <iant@google.com>
165
166	* go-gcc.cc (Gcc_backend::immutable_struct): Set TREE_PUBLIC if
167	the struct is not hidden.
168	(Gcc_backend::immutable_struct_set_init): Don't set TREE_PUBLIC.
169
1702013-08-06  Ian Lance Taylor  <iant@google.com>
171
172	* go-gcc.cc (Gcc_backend::immutable_struct_set_init): Use
173	compute_reloc_for_constant.
174
1752013-08-02  Ian Lance Taylor  <iant@google.com>
176
177	* go-gcc.cc (immutable_struct_set_init): Always call
178	resolve_unique_section.
179
1802013-07-24  Ian Lance Taylor  <iant@google.com>
181
182	* go-gcc.cc (Gcc_backend::non_zero_size_type): If a struct has a
183	fields, recreate those fields with the first one with a non-zero
184	size.
185
1862013-07-23  Ian Lance Taylor  <iant@google.com>
187
188	* go-backend.c: Don't #include "rtl.h".
189	(go_imported_unsafe): Don't call init_varasm_once.
190	* Make-lang.in (go/go-backend.o): Don't depend on $(RTL_H).
191
1922013-07-23  Ian Lance Taylor  <iant@google.com>
193
194	* go-lang.c: Don't #include "except.h".
195	* Make-lang.in (go/go-lang.o): Don't depend on $(EXCEPT_H).
196
1972013-06-18  Ian Lance Taylor  <iant@google.com>
198
199	* go-gcc.cc (Gcc_backend::immutable_struct): Add is_hidden
200	parameter.
201	(Gcc_backend::immutable_struct_set_init): Likewise.
202
2032013-05-16  Jason Merrill  <jason@redhat.com>
204
205	* Make-lang.in (go1$(exeext)): Use link mutex.
206
2072013-01-16  Shenghou Ma  <minux.ma@gmail.com>
208
209	* gospec.c: pass -u pthread_create to linker when static linking.
210
2112012-12-21  Ian Lance Taylor  <iant@google.com>
212
213	PR bootstrap/54659
214	* go-system.h: Don't include <cstdio>.
215
2162012-12-18  Ian Lance Taylor  <iant@google.com>
217
218	PR go/55201
219	* gospec.c: Revert last patch.
220
2212012-12-18  Andreas Schwab  <schwab@linux-m68k.org>
222
223	PR go/55201
224	* gospec.c (LIBATOMIC): Define.
225	(LIBATOMIC_PROFILE): Define.
226	(lang_specific_driver): Add LIBATOMIC[_PROFILE] option.
227
2282012-11-29  Ian Lance Taylor  <iant@google.com>
229
230	* go-gcc.cc: Include "output.h".
231	(global_variable): Add is_unique_section parameter.
232	(global_variable_set_init): Adjust unique section if necessary.
233	* Make-lang.in (go/go-gcc.o): Add dependency on output.h.
234
2352012-11-17  Diego Novillo  <dnovillo@google.com>
236
237	Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)
238
239	* go-lang.c: Use new vec API in vec.h.
240
2412012-11-16  Ian Lance Taylor  <iant@google.com>
242
243	* Make-lang.in (gccgo$(exeext)): Add + at start of command.
244	(go1$(exeext)): Likewise.
245
2462012-10-30  Ian Lance Taylor  <iant@google.com>
247
248	* lang.opt (-fgo-relative-import-path): New option.
249	* go-lang.c (go_relative_import_path): New static variable.
250	(go_langhook_init): Pass go_relative_import_path to
251	go_create_gogo.
252	(go_langhook_handle_option): Handle -fgo-relative-import-path.
253	* go-c.h (go_create_gogo): Update declaration.
254	* gccgo.texi (Invoking gccgo): Document
255	-fgo-relative-import-path.
256
2572012-09-17  Ian Lance Taylor  <iant@google.com>
258
259	* config-lang.in (target_libs): Add target-libbacktrace.
260
2612012-09-16  Ian Lance Taylor  <iant@google.com>
262
263	* Make-lang.in (go/gogo.o): Depend on filenames.h.
264
2652012-08-14   Diego Novillo  <dnovillo@google.com>
266
267	Merge from cxx-conversion branch.  Configury.
268
269	* go-c.h: Remove all handlers of ENABLE_BUILD_WITH_CXX.
270	* go-gcc.cc: Likewise.
271	* go-system.h: Likewise.
272
2732012-07-24  Uros Bizjak  <ubizjak@gmail.com>
274
275	* go-lang.c (lang_decl): Add variable_size GTY option.
276
2772012-05-09  Ian Lance Taylor  <iant@google.com>
278
279	* lang.opt: Add -fgo-pkgpath.
280	* go-lang.c (go_pkgpath): New static variable.
281	(go_prefix): New static variable.
282	(go_langhook_init): Pass go_pkgpath and go_prefix to
283	go_create_gogo.
284	(go_langhook_handle_option): Handle -fgo-pkgpath.  Change
285	-fgo-prefix handling to just set go_prefix.
286	* go-c.h (go_set_prefix): Don't declare.
287	(go_create_gogo): Add pkgpath and prefix to declaration.
288	* go-gcc.cc (Gcc_backend::global_variable): Change unique_prefix
289	to pkgpath.  Don't include the package name in the asm name.
290	* gccgo.texi (Invoking gccgo): Document -fgo-pkgpath.  Update the
291	docs for -fgo-prefix.
292
2932012-04-23  Ian Lance Taylor  <iant@google.com>
294
295	* go-lang.c (go_langhook_init): Set MPFR precision to 256.
296
2972012-04-20  Ian Lance Taylor  <iant@google.com>
298
299	* lang.opt: Add -fgo-check-divide-zero and
300	-fgo-check-divide-overflow.
301	* gccgo.texi (Invoking gccgo): Document new options.
302
3032012-04-18  Steven Bosscher  <steven@gcc.gnu.org>
304
305	* go-gcc.cc (Gcc_backend::switch_statement): Build SWITCH_EXPR
306	with NULL_TREE type instead of void_type_node.
307
3082012-03-09  Ian Lance Taylor  <iant@google.com>
309
310	* go-gcc.cc (Gcc_backend::assignment_statement): Convert the rhs
311	to the lhs type if necessary.
312
3132012-03-08  Ian Lance Taylor  <iant@google.com>
314
315	* go-gcc.cc (Gcc_backend::init_statement): Don't initialize a
316	zero-sized variable.
317	(go_non_zero_struct): New global variable.
318	(Gcc_backend::non_zero_size_type): New function.
319	(Gcc_backend::global_variable): Don't build an assignment for a
320	zero-sized value.
321	* go-c.h (go_non_zero_struct): Declare.
322	* config-lang.in (gtfiles): Add go-c.h.
323
3242012-02-29  Ian Lance Taylor  <iant@google.com>
325
326	* go-gcc.cc (class Gcc_tree): Add set_tree method.
327	(set_placeholder_pointer_type): When setting to a pointer to
328	error, set to error_mark_node.
329
3302012-02-23  Richard Guenther  <rguenther@suse.de>
331
332	* go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use
333	build_distinct_type_copy.
334
3352012-02-17  Ian Lance Taylor  <iant@google.com>
336
337	* Make-lang.in (go/import.o): Add dependency on $(GO_LEX_H).
338
3392012-02-17  Ian Lance Taylor  <iant@google.com>
340
341	* gospec.c (lang_specific_driver): If linking, and no -o option
342	was used, add one.
343
3442012-02-14  Ian Lance Taylor  <iant@google.com>
345
346	PR go/48411
347	* Make-lang.in (gccgo-cross$(exeext)): New target.
348	(go.all.cross): Depend on gccgo-cross$(exeext) instead of
349	gccgo$(exeext).
350	(go.install-common): Only install GCCGO_TARGET_INSTALL_NAME if
351	gccgo-cross$(exeext) does not exist.
352
3532012-02-07  Ian Lance Taylor  <iant@google.com>
354
355	* gccgo.texi (Function Names): Document //extern instead of
356	__asm__.
357
3582012-02-01  Jakub Jelinek  <jakub@redhat.com>
359
360	PR target/52079
361	* go-lang.c (go_langhook_type_for_mode): For TImode and 64-bit HWI
362	return build_nonstandard_integer_type result if possible.
363
3642012-01-21  Ian Lance Taylor  <iant@google.com>
365
366	* go-gcc.cc (Gcc_backend::type_size): Check for error_mark_node.
367	(Gcc_backend::type_alignment): Likewise.
368	(Gcc_backend::type_field_alignment): Likewise.
369	(Gcc_backend::type_field_offset): Likewise.
370
3712012-01-20  Ian Lance Taylor  <iant@google.com>
372
373	* go-gcc.cc (Gcc_backend::placeholder_struct_type): Permit name to
374	be empty.
375	(Gcc_backend::set_placeholder_struct_type): Likewise.
376
3772012-01-17  Ian Lance Taylor  <iant@google.com>
378
379	* gospec.c (lang_specific_driver): If we see -S without -o, add -o
380	BASE.s rather than -o BASE.o.
381
3822012-01-11  Ian Lance Taylor  <iant@google.com>
383
384	* go-lang.c (go_langhook_init): Initialize void_list_node before
385	calling go_create_gogo.
386
3872012-01-10  Ian Lance Taylor  <iant@google.com>
388
389	* go-gcc.cc (Gcc_backend::type_size): New function.
390	(Gcc_backend::type_alignment): New function.
391	(Gcc_backend::type_field_alignment): New function.
392	(Gcc_backend::type_field_offset): New function.
393	* go-backend.c (go_type_alignment): Remove.
394	* go-c.h (go_type_alignment): Don't declare.
395
3962011-12-27  Ian Lance Taylor  <iant@google.com>
397
398	* go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Use
399	build_distinct_type_copy rather than build_variant_type_copy.
400	(Gcc_backend::set_placeholder_array_type): Likewise.
401	(Gcc_backend::named_type): Add special handling for builtin
402	basic types.
403
4042011-12-22  Ian Lance Taylor  <iant@google.com>
405
406	* go-gcc.cc (Gcc_backend::set_placeholder_pointer_type): Arrange
407	for the type name to have a DECL_ORIGINAL_TYPE as gcc expects.
408	(Gcc_backend::set_placeholder_struct_type): Likewise.
409	(Gcc_backend::set_placeholder_array_type): Likewise.
410	(Gcc_backend::named_type): Set DECL_ORIGINAL_TYPE.
411
4122011-12-13  Ian Lance Taylor  <iant@google.com>
413
414	* go-backend.c: #include "simple-object.h" and "intl.h".
415	(GO_EXPORT_SEGMENT_NAME): Define if not defined.
416	(GO_EXPORT_SECTION_NAME): Likewise.
417	(go_write_export_data): Use GO_EXPORT_SECTION_NAME.
418	(go_read_export_data): New function.
419	* go-c.h (go_read_export_data): Declare.
420
4212011-11-29  Sanjoy Das  <thedigitalangel@gmail.com>
422	    Ian Lance Taylor  <iant@google.com>
423
424	* go-location.h: New file.
425	* go-linemap.cc: New file.
426	* go-gcc.cc: Change all uses of source_location to Location.
427	* Make-lang.in (GO_OBJS): Add go/go-linemap.o.
428	(GO_LINEMAP_H): New variable.
429	(GO_LEX_H): Use $(GO_LINEMAP_H).
430	(GO_GOGO_H, GO_TYPES_H, GO_IMPORT_H): Likewise.
431	(go/go-linemap.o): New target.
432
4332011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
434
435	* Make-lang.in (gospec.o): Pass SHLIB instead of SHLIB_LINK.
436
4372011-08-24  Roberto Lublinerman  <rluble@gmail.com>
438
439	* lang.opt: Add fgo-optimize-.
440	* go-lang.c (go_langhook_handle_option): Handle OPT_fgo_optimize.
441	* go-c.h (go_enable_optimize): Declare.
442	* Make-lang.in (GO_OBJS): Add go/go-optimize.o.
443	(GO_EXPORT_H): Define.
444	(GO_IMPORT_H): Add $(GO_EXPORT_H).
445	(GO_AST_DUMP_H): Define.
446	(go/ast-dump.o, go/statements.o): Use GO_AST_DUMP_H.
447	(go/export.o, go/gogo.o, go/import.o): Use GO_EXPORT_H.
448	(go/types.o): Likewise.
449	(go/expressions.o): Use GO_AST_DUMP_H and GO_EXPORT_H.
450	(go/go-optimize.o): New target.
451
4522011-08-24  Joseph Myers  <joseph@codesourcery.com>
453
454	* Make-lang.in (CFLAGS-go/go-lang.o): New.
455	(go/go-lang.o): Remove explicit compilation rule.
456
4572011-08-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
458
459	* Make-lang.in (gccgo$(exeext)): Add $(EXTRA_GCC_LIBS).
460
4612011-08-02  Roberto Lublinerman  <rluble@gmail.com>
462
463	* Make-lang.in (GO_OBJS): Add go/ast-dump.o.
464	(go/ast-dump.o): New target.
465	(go/expressions.o): Depend on go/gofrontend/ast-dump.h.
466	(go/statements.o): Likewise.
467
4682011-07-06  Richard Guenther  <rguenther@suse.de>
469
470	* go-lang.c (go_langhook_init):
471	Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
472
4732011-06-14  Joseph Myers  <joseph@codesourcery.com>
474
475	* Make-lang.in (go/go-lang.o, go/go-backend.o): Update
476	dependencies.
477	* go-backend.c: Include common/common-target.h.
478	(go_write_export_data): Use targetm_common.have_named_sections.
479	* go-lang.c: Include common/common-target.h.
480	(go_langhook_init_options_struct): Use
481	targetm_common.supports_split_stack.
482
4832011-06-13  Ian Lance Taylor  <iant@google.com>
484
485	* Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H).
486
4872011-06-10  Ian Lance Taylor  <iant@google.com>
488
489	* go-gcc.cc: Include "toplev.h".
490	(Gcc_backend::immutable_struct): New function.
491	(Gcc_backend::immutable_struct_set_init): New function.
492	(Gcc_backend::immutable_struct_reference): New function.
493	* Make-lang.in (go/go-gcc.o): Depend on toplev.h.
494
4952011-06-09  Ian Lance Taylor  <iant@google.com>
496
497	* go-gcc.cc (Gcc_backend::zero_expression): New function.
498
4992011-06-07  Richard Guenther  <rguenther@suse.de>
500
501	* go-lang.c (go_langhook_init): Do not set
502	size_type_node or call set_sizetype.
503
5042011-05-27  Ian Lance Taylor  <iant@google.com>
505
506	* go-backend.c: Include "output.h".
507	(go_write_export_data): New function.
508	* go-c.h (go_write_export_data): Declare.
509	* Make-lang.in (go/go-backend.o): Depend on output.h.
510	(go/export.o): Depend on $(GO_C_H).  Do not depend on
511	$(MACHMODE_H), output.h, or $(TARGET_H).
512
5132011-05-24  Joseph Myers  <joseph@codesourcery.com>
514
515	* Make-lang.in (GCCGO_OBJS): Remove prefix.o.
516	(gccgo$(exeext)): Use libcommon-target.a.
517
5182011-05-20  Joseph Myers  <joseph@codesourcery.com>
519
520	* Make-lang.in (GCCGO_OBJS): Remove intl.o and version.o.
521
5222011-05-13  Ian Lance Taylor  <iant@google.com>
523
524	* go-gcc.cc (Gcc_backend::function_type): When building a struct
525	for multiple results, check that all fields types have a size.
526	(Gcc_backend::placeholder_pointer_type): Permit name to be empty.
527
5282011-05-12  Ian Lance Taylor  <iant@google.com>
529
530	* go-gcc.cc (Gcc_backend::local_variable): Add is_address_taken
531	parameter.
532	(Gcc_backend::parameter_variable): Likewise.
533
5342011-05-07  Eric Botcazou  <ebotcazou@adacore.com>
535
536	* go-lang.c (global_bindings_p): Return bool and simplify.
537
5382011-05-05  Nathan Froyd  <froydnj@codesourcery.com>
539
540	* go-gcc.cc (Gcc_backend::switch_statement): Call build_case_label.
541
5422011-05-04  Ian Lance Taylor  <iant@google.com>
543
544	* go-gcc.cc (Gcc_backend::struct_type): Call fill_in_struct.
545	(Gcc_backend::fill_in_struct): New function.
546	(Gcc_backend::array_type): Implement.
547	(Gcc_backend::fill_in_array): New function.
548	(Gcc_backend::placeholder_pointer_type): New function.
549	(Gcc_backend::set_placeholder_pointer_type): New function.
550	(Gcc_backend::set_placeholder_function_type): New function.
551	(Gcc_backend::placeholder_struct_type): New function.
552	(Gcc_backend::set_placeholder_struct_type): New function.
553	(Gcc_backend::placeholder_array_type): New function.
554	(Gcc_backend::set_placeholder_array_type): New function.
555	(Gcc_backend::named_type): New function.
556	(Gcc_backend::circular_pointer_type): New function.
557	(Gcc_backend::is_circular_pointer_type): New function.
558
5592011-04-26  Ian Lance Taylor  <iant@google.com>
560
561	* go-gcc.cc (Gcc_backend::struct_type): Implement.
562
5632011-04-25  Ian Lance Taylor  <iant@google.com>
564
565	* go-gcc.cc (Gcc_backend::error_type): Implement.
566	(Gcc_backend::string_type): Remove.
567	(Gcc_backend::function_type): Change signature and implement.
568	(Gcc_backend::struct_type): Change signature.
569	(Gcc_backend::slice_type, Gcc_backend::map_type): Remove.
570	(Gcc_backend::channel_type, Gcc_backend::interface_type): Remove.
571	(Gcc_backend::pointer_type): Check for error.
572	* Make-lang.in (go/types.o): Depend on go/gofrontend/backend.h.
573
5742011-04-25  Evan Shaw  <edsrzf@gmail.com>
575
576	* go-gcc.c (class Gcc_tree): Make get_tree const.
577	(Gcc_backend::void_type): Implement.
578	(Gcc_backend::bool_type): Implement.
579	(Gcc_backend::integer_type): Implement.
580	(Gcc_backend::float_type): Implement.
581	(Gcc_backend::complex_type): New function.
582	(Gcc_backend::pointer_type): New function.
583	(Gcc_backend::make_type): New function.
584	(type_to_tree): New function.
585
5862011-04-21  Ian Lance Taylor  <iant@google.com>
587
588	* go-system.h (go_assert, go_unreachable): Define.
589
5902011-04-19  Ian Lance Taylor  <iant@google.com>
591
592	* go-system.h: Include "intl.h".
593	* Make-lang.in (GO_SYSTEM_H): Add intl.h.
594	(go/statements.o): Remove dependencies on intl.h $(TREE_H)
595	$(GIMPLE_H) convert.h tree-iterator.h $(TREE_FLOW_H) $(REAL_H).
596
5972011-04-19  Ian Lance Taylor  <iant@google.com>
598
599	* go-gcc.cc (Gcc_backend::temporary_variable): New function.
600
6012011-04-19  Ian Lance Taylor  <iant@google.com>
602
603	* go-gcc.cc (class Bblock): Define.
604	(Gcc_backend::if_statement): Change then_block and else_block to
605	Bblock*.
606	(Gcc_backend::block): New function.
607	(Gcc_backend::block_add_statements): New function.
608	(Gcc_backend::block_statement): New function.
609	(tree_to_block, block_to_tree): New functions.
610
6112011-04-18  Ian Lance Taylor  <iant@google.com>
612
613	* go-gcc.cc: Include "go-c.h".
614	(class Bvariable): Define.
615	(Gcc_backend::init_statement): New function.
616	(Gcc_backend::global_variable): New function.
617	(Gcc_backend::global_variable_set_init): New function.
618	(Gcc_backend::local_variable): New function.
619	(Gcc_backend::parameter_variable): New function.
620	(tree_to_type, var_to_tree): New functions.
621	* Make-lang.in (go/go-gcc.o): Depend on $(GO_C_H).
622	* (go/gogo-tree.o): Depend on go/gofrontend/backend.h.
623
6242011-04-15  Ian Lance Taylor  <iant@google.com>
625
626	* go-gcc.cc (Gcc_backend::compound_statement): New function.
627	(Gcc_backend::assignment_statement): Use error_statement.
628	(Gcc_backend::return_statement): Likewise.
629	(Gcc_backend::if_statement): Likewise.
630	(Gcc_backend::switch_statement): Likewise.
631	(Gcc_backend::statement_list): Likewise.
632
6332011-04-14  Ian Lance Taylor  <iant@google.com>
634
635	* go-gcc.cc (Gcc_backend::error_statement): New function.
636
6372011-04-13  Ian Lance Taylor  <iant@google.com>
638
639	* Make-lang.in (go/gogo-tree.o): depend on $(GO_RUNTIME_H).
640
6412011-04-13  Ian Lance Taylor  <iant@google.com>
642
643	* Make-lang.in (GO_OBJS): Add go/runtime.o.
644	(GO_RUNTIME_H): New variable.
645	(go/runtime.o): New target.
646	(go/gogo.o): Depend on $(GO_RUNTIME_H).
647	(go/statements.o): Likewise.
648
6492011-04-12  Nathan Froyd  <froydnj@codesourcery.com>
650
651	* go-lang.c (union lang_tree_node): Check for TS_COMMON before
652	calling TREE_CHAIN.
653
6542011-04-06  Ian Lance Taylor  <iant@google.com>
655
656	* go-gcc.cc (if_statement): Use build3_loc.
657	(Gcc_backend::switch_statement): New function.
658	(Gcc_backend::statement_list): New function.
659
6602011-04-06  Ian Lance Taylor  <iant@google.com>
661
662	* go-gcc.cc (Gcc_backend::if_statement): New function.
663	(tree_to_stat): New function.
664	(expr_to_tree): Renamed from expression_to_tree.
665	(stat_to_tree): Renamed from statement_to_tree.
666
6672011-04-06  Ian Lance Taylor  <iant@google.com>
668
669	* go-gcc.cc (Gcc_backend::expression_statement): New function.
670
6712011-04-04  Ian Lance Taylor  <iant@google.com>
672
673	* go-gcc.c (class Blabel): Define.
674	(Gcc_backend::make_expression): New function.
675	(get_identifier_from_string): New function.
676	(Gcc_backend::label): New function.
677	(Gcc_backend::label_definition_statement): New function.
678	(Gcc_backend::goto_statement): New function.
679	(Gcc_backend::label_address): New function.
680	(expression_to_tree): New function.
681	* Make-lang.in (go/expressions.o): Depend on
682	go/gofrontend/backend.h.
683	(go/gogo.o): Likewise.
684
6852011-04-04  Ian Lance Taylor  <iant@google.com>
686
687	* go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h".
688	(class Bfunction): Define.
689	(Gcc_backend::assignment_statement): Rename from assignment.
690	Check for errors.
691	(Gcc_backend::return_statement): New function.
692	(tree_to_function): New function.
693	* Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h,
694	$(GIMPLE_H), and $(GO_GOGO_H).
695
6962011-04-03  Ian Lance Taylor  <iant@google.com>
697
698	* go-gcc.cc: New file.
699	* Make-lang.in (GO_OBJS): Add go/go-gcc.o.
700	(go/go-gcc.o): New target.
701	(go/go.o): Depend on go/gofrontend/backend.h.
702	(go/statements.o): Likewise.
703
7042011-02-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
705
706	* gccgo.texi (Top, Import and Export): Fix a typo and a markup nit.
707
7082011-02-08  Ian Lance Taylor  <iant@google.com>
709
710	* go-lang.c (go_langhook_init_options_struct): Set
711	frontend_set_flag_errno_math.  Don't set x_flag_trapping_math.
712
7132011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
714
715	* gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
716	LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
717
7182011-01-21  Ian Lance Taylor  <iant@google.com>
719
720	* go-lang.c (go_langhook_init): Omit float_type_size when calling
721	go_create_gogo.
722	* go-c.h: Update declaration of go_create_gogo.
723
7242011-01-13  Ian Lance Taylor  <iant@google.com>
725
726	* go-backend.c: Include "rtl.h" and "target.h".
727	(go_imported_unsafe): New function.
728	* go-c.h (go_imported_unsafe): Declare.
729	* Make-lang.in (go/go-backend.o): Depend on $(RTL_H).
730	(go/gogo-tree.o): Remove dependency on $(RTL_H).
731	(go/unsafe.o): Depend on $(GO_C_H).
732
7332010-12-31  Joern Rennecke  <amylaar@spamcop.net>
734
735	PR go/47113
736	* go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
737	variable ‘field’ .
738
7392010-12-21  Ian Lance Taylor  <iant@google.com>
740
741	* Make-lang.in (check-go): Remove.
742	(lang_checks_parallelized): Add check-go.
743	(check_go_parallelize): Set.
744
7452010-12-13  Ian Lance Taylor  <iant@google.com>
746
747	* gospec.c (lang_specific_driver): Add a -o option if not linking
748	and there is no -o option already.
749
7502010-12-07  Ian Lance Taylor  <iant@google.com>
751
752	PR tree-optimization/46805
753	PR tree-optimization/46833
754	* go-lang.c (go_langhook_type_for_mode): Handle vector modes.
755
7562010-12-06  Ian Lance Taylor  <iant@google.com>
757
758	PR other/46789
759	PR bootstrap/46812
760	* go-lang.c (go_char_p): Define type and vectors.
761	(go_search_dirs): New static variable.
762	(go_langhook_handle_option): Use version and version/machine
763	directories for -L.
764	(go_langhook_post_options): Add non-specific -L paths.
765	* Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and
766	DEFAULT_TARGET_MACHINE when compiling.
767	* gccgo.texi (Invoking gccgo): Only document -L for linking.
768	(Import and Export): Don't mention -L for finding import files.
769
7702010-12-03  Ian Lance Taylor  <iant@google.com>
771
772	PR bootstrap/46776
773	* go-backend.c: New file.
774	* go-c.h (go_type_alignment): Declare.
775	(go_field_alignment, go_trampoline_info): Declare.
776	* Make-lang.in (GO_OBJS): Add go/go-backend.o.
777	(go/go-backend.o): New target.
778	(go/go-lang.o): Make dependencies match source file.
779	(go/expressions.o): Don't depend on $(TM_H) $(TM_P_H).
780	(go/gogo-tree.o): Don't depend on $(TM_H).
781
7822010-12-03  Ian Lance Taylor  <iant@google.com>
783
784	* config-lang.in (build_by_default): Set to no.
785
7862010-12-02  Ian Lance Taylor  <iant@google.com>
787
788	Go frontend added to gcc repository.
789
790Copyright (C) 2010-2014 Free Software Foundation, Inc.
791
792Copying and distribution of this file, with or without modification,
793are permitted in any medium without royalty provided the copyright
794notice and this notice are preserved.
795