12021-07-28  Release Manager
2
3	* GCC 11.2.0 released.
4
52021-04-27  Release Manager
6
7	* GCC 11.1.0 released.
8
92021-01-28  Ian Lance Taylor  <iant@golang.org>
10
11	* gospec.c (lang_specific_driver): Add -g if no debugging options
12	were passed.
13
142021-01-15  Ian Lance Taylor  <iant@golang.org>
15
16	* Make-lang.in (GO_OBJS): Add go/embed.o.
17
182021-01-05  Jakub Jelinek  <jakub@redhat.com>
19
20	* lang.opt (fgo-embedcfg=): Add full stop at the end of description.
21
222021-01-05  Ian Lance Taylor  <iant@golang.org>
23
24	* lang.opt (fgo-embedcfg): New option.
25	* go-c.h (struct go_create_gogo_args): Add embedcfg field.
26	* go-lang.c (go_embedcfg): New static variable.
27	(go_langhook_init): Set go_create_gogo_args embedcfg field.
28	(go_langhook_handle_option): Handle OPT_fgo_embedcfg_.
29	* gccgo.texi (Invoking gccgo): Document -fgo-embedcfg.
30
312021-01-01  Jakub Jelinek  <jakub@redhat.com>
32
33	* gccgo.texi: Bump @copyrights-go year.
34
352020-12-22  Ian Lance Taylor  <iant@golang.org>
36
37	PR go/98402
38	* go-lang.c (go_langhook_init): Force MPFR exponent range to be
39	large enough to support Go constants.
40
412020-11-20  Jakub Jelinek  <jakub@redhat.com>
42
43	PR other/97911
44	* Make-lang.in (go.serial): Change from goal to a variable.
45	(.PHONY): Drop go.serial and go.prev.
46	(go1$(exeext)): Depend on $(go.serial) rather than go.serial.
47
482020-11-18  Jakub Jelinek  <jakub@redhat.com>
49
50	* Make-lang.in (go.serial): New goal.
51	(.PHONY): Add go.serial go.prev.
52	(go1$(exeext)): Depend on go.prev.  Call LINK_PROGRESS.
53
542020-11-11  Alan Modra  <amodra@gmail.com>
55
56	* go-gcc.cc (Gcc_backend::global_variable_set_init): Cast NULL to
57	avoid ambiguous overloaded call.
58
592020-11-06  Nathan Sidwell  <nathan@acm.org>
60
61	* go-gcc.cc (Gcc_backend::call_expression): Rename
62	DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
63
642020-11-04  Ian Lance Taylor  <iant@golang.org>
65
66	* go-lang.c (go_langhook_post_options): Disable
67	-fipa-icf-functions if it was not explicitly enabled.
68
692020-09-14  Jakub Jelinek  <jakub@redhat.com>
70
71	* go-gcc.cc (Gcc_backend::function): Adjust
72	cl_optimization_save, cl_optimization_restore and
73	build_optimization_node callers.
74
752020-08-10  Clément Chigot  <chigot.c@gmail.com>
76
77	* go-c.h (struct go_create_gogo_args): Add need_eqtype field.
78	* go-lang.c (go_langhook_init): Set need_eqtype.
79
802020-04-15  Ian Lance Taylor  <iant@golang.org>
81
82	PR go/94607
83	* go-gcc.cc (class Gcc_backend): Define builtin_const,
84	builtin_noreturn, builtin_novops.
85	(Gcc_backend::define_builtin): Change const_p and noreturn_p
86	parameters to a single flags parameter.  Change all callers.
87	(Gcc_backend::Gcc_backend): Pass novops for prefetch.
88
892020-01-01  Jakub Jelinek  <jakub@redhat.com>
90
91	Update copyright years.
92
93	* gccgo.texi: Bump @copyrights-go year.
94
952019-11-12  Martin Liska  <mliska@suse.cz>
96
97	* go-lang.c (go_langhook_post_options):
98	Use SET_OPTION_IF_UNSET.
99
1002019-09-04  Ian Lance Taylor  <iant@golang.org>
101
102	PR tree-optimization/91663
103	* go-lang.c (go_langhook_post_options): Clear
104	flag_partial_inlining.
105
1062019-08-23  Jakub Jelinek  <jakub@redhat.com>
107
108	PR middle-end/91283
109	* go-lang.c (go_langhook_post_options): Set flag_excess_precision
110	instead of flag_excess_precision_cmdline.
111
1122019-07-02  Cherry Zhang  <cherryyz@google.com>
113
114	* go-gcc.cc (Gcc_backend::Gcc_backend): Define __builtin_memset.
115
1162019-06-21  Cherry Zhang  <cherryyz@google.com>
117
118	* go-gcc.cc (Gcc_backend::Gcc_backend): Define math/bits
119	builtins.
120
1212019-05-30  Jim Wilson  <jimw@sifive.com>
122
123	* go-gcc.cc (Gcc_backend::Gcc_backend): Add BUILT_IN_ATOMIC_FETCH_AND_1
124	and BUILT_IN_ATOMIC_FETCH_OR_1.
125
1262019-05-16  Cherry Zhang  <cherryyz@google.com>
127
128	* go-gcc.cc (Gcc_backend::Gcc_backend): Define atomic builtins.
129
1302019-05-08  Cherry Zhang  <cherryyz@google.com>
131
132	* go-gcc.cc (Gcc_backend::Gcc_backend): Define memmove builtin.
133
1342019-05-07  Cherry Zhang  <cherryyz@google.com>
135
136	* lang.opt (-fgo-debug-optimization): New option.
137	* go-c.h (struct go_create_gogo_args): Add debug_optimization
138	field.
139	* go-lang.c (go_langhook_init): Set debug_optimization field.
140	* gccgo.texi (Invoking gccgo): Document -fgo-debug-optimization.
141
1422019-03-06  Ian Lance Taylor  <iant@golang.org>
143
144	PR go/89227
145	* go-gcc.cc (Gcc_backend::function): Set TREE_PUBLIC for an
146	only-inline function.
147
1482019-02-15  Cherry Zhang  <cherryyz@google.com>
149
150	* go-gcc.cc (Gcc_backend::Gcc_backend): Define __builtin_dwarf_cfa
151	instead of __builtin_frame_address.
152
1532019-02-14  Ian Lance Taylor  <iant@golang.org>
154
155	* go-backend.c (go_imported_unsafe): Update
156	optimization_default_node.
157
1582019-02-13  Ian Lance Taylor  <iant@golang.org>
159
160	* go-gcc.cc: #include "opts.h".
161	(Gcc_backend::function): Compile thunks with -Os.
162
1632019-02-05  Nikhil Benesch  <nikhil.benesch@gmail.com>
164
165	PR go/89019
166	* go-gcc.cc (Gcc_backend::placeholder_struct_type): Mark
167	placeholder structs as requiring structural equality.
168	(Gcc_backend::set_placeholder_pointer_type): Propagate the
169	canonical type from the desired pointer type to the placeholder
170	pointer type.
171
1722019-01-09  Ian Lance Taylor  <iant@golang.org>
173
174	PR go/86343
175	* go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Go back to
176	build_distinct_type_copy, but copy the fields so that they have
177	the right DECL_CONTEXT.
178
1792019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
180
181	PR other/16615
182
183	* go-backend.c: Mechanically replace "can not" with "cannot".
184	* go-gcc.cc: Likewise.
185
1862019-01-01  Jakub Jelinek  <jakub@redhat.com>
187
188	Update copyright years.
189
190	* gccgo.texi: Bump @copyrights-go year.
191
1922018-11-27  Ian Lance Taylor  <iant@golang.org>
193
194	* go-gcc.cc (Gcc_backend::function): Handle function_only_inline
195	flag.
196
1972018-11-13  David Malcolm  <dmalcolm@redhat.com>
198
199	* go-gcc-diagnostics.cc: Replace "source_location" with "location_t".
200	* go-gcc.cc: Likewise.
201	* go-linemap.cc: Likewise.
202	* go-location.h: Likewise.
203	* gofrontend/README: Likewise.
204
2052018-10-31  Ian Lance Taylor  <iant@golang.org>
206
207	* go-gcc.cc (Gcc_backend::write_global_definitions): Don't call
208	gimplify_function_tree.  Instead call allocate_struct_function if
209	necessary.
210
2112018-10-29  Ian Lance Taylor  <iant@golang.org>
212
213	* go-gcc.cc (Gcc_backend::function): Change to use a single flags
214	parameter.
215
2162018-10-29  Ian Lance Taylor  <iant@golang.org>
217
218	* go-linemap.cc (Gcc_linemap::location_file): New method.
219
2202018-10-17  David Malcolm  <dmalcolm@redhat.com>
221
222	* Make-lang.in (selftest-go): New.
223
2242018-09-20  Allan Sandfeld Jensen  <allan.jensen@qt.io>
225
226	* gospec.c (lang_specific_driver): Handle -r like -nostdlib.
227
2282018-08-27  Martin Liska  <mliska@suse.cz>
229
230	* go-gcc.cc (Gcc_backend::call_expression): Use new function
231	fndecl_built_in_p and remove check for FUNCTION_DECL if
232	possible.
233
2342018-07-20  Martin Sebor  <msebor@redhat.com>
235
236	PR middle-end/82063
237	* go-lang.c (go_langhook_handle_option): Change function argument
238	to HOST_WIDE_INT.
239
2402018-06-28  Ian Lance Taylor  <iant@golang.org>
241
242	PR go/86343
243	* go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Call
244	build_variant_type_copy rather than build_distinct_type_copy.
245
2462018-06-08  Cherry Zhang  <cherryyz@google.com>
247
248	* go-gcc.cc (class Gcc_backend): Remove
249	stack_allocation_expression method.
250
2512018-02-03  Ian Lance Taylor  <iant@golang.org>
252
253	* go-gcc.cc (Gcc_backend::fill_in_struct): Mark struct types as
254	using structural equality.
255
2562018-02-02  Ian Lance Taylor  <iant@golang.org>
257
258	* go-gcc.cc (Gcc_backend::type_size): Return 0 for
259	void_type_node.
260	(Gcc_backend::convert_expression): Don't convert if the type of
261	expr_tree is void_type_node.
262	(Gcc_backend::array_index_expression): Don't index if the type of
263	the array expression is void_type_node.
264	(Gcc_backend::init_statement): Don't initialize if the type of the
265	initializer expression is void_type_node.
266	(Gcc_backend::assignment_statement): Don't assign if the type of
267	either the left or right hand side is void_type_node.
268	(Gcc_backend::temporary_variable): Don't initialize if the type of
269	the initializer expression is void_type_node.
270
2712018-02-01  Cherry Zhang  <cherryyz@google.com>
272
273	* lang.opt (fgo-optimize): Remove RejectNegative.
274	* go-c.h (go_enable_optimize): Update declaration to take value
275	argument.
276	* go-lang.c (go_langhook_handle_option): Pass value to
277	go_enable_optimize.
278	* gccgo.texi (Invoking gccgo): Update -fgo-optimize-allocs doc.
279
2802018-01-30  Ian Lance Taylor  <iant@golang.org>
281
282	* go-gcc.cc (Gcc_backend::convert_tree): New private method.
283	(Gcc_backend::constructor_expression): Call it.
284	(Gcc_backend::assignment_statement): Likewise.
285	(Gcc_backend::temporary_variable): Likewise.
286
2872018-01-09  Cherry Zhang  <cherryyz@google.com>
288
289	* go-gcc.cc (local_variable): Add decl_var parameter.
290
2912018-01-09  Cherry Zhang  <cherryyz@google.com>
292
293	* lang.opt (fgo-debug-escape-hash): New option.
294	* go-c.h (struct go_create_gogo_args): Add debug_escape_hash
295	field.
296	* go-lang.c (go_langhook_init): Set debug_escape_hash field.
297	* gccgo.texi (Invoking gccgo): Document -fgo-debug-escape-hash.
298
2992018-01-05  Ian Lance Taylor  <iant@golang.org>
300
301	* go-gcc.cc (Gcc_backend::Gcc_backend): Correct
302	math_function_type_long to take one argument.
303
3042018-01-03  Richard Sandiford  <richard.sandiford@linaro.org>
305	    Alan Hayward  <alan.hayward@arm.com>
306	    David Sherwood  <david.sherwood@arm.com>
307
308	* go-lang.c (go_langhook_type_for_mode): Handle MODE_VECTOR_BOOL.
309
3102018-01-03  Richard Sandiford  <richard.sandiford@linaro.org>
311	    Alan Hayward  <alan.hayward@arm.com>
312	    David Sherwood  <david.sherwood@arm.com>
313
314	* go-lang.c (go_langhook_type_for_mode): Check valid_vector_subparts_p.
315
3162018-01-03  Jakub Jelinek  <jakub@redhat.com>
317
318	Update copyright years.
319
320	* gccgo.texi: Bump @copyrights-go year.
321
3222017-12-12  Tony Reix  <tony.reix@atos.net>
323	    Ian Lance Taylor  <iant@golang.org>
324
325	* go-lang.c (TARGET_AIX): Define if not defined.
326	(go_langhook_init): Set nil_check_size_threshold to -1 on AIX.
327
3282017-12-01  Ian Lance Taylor  <iant@golang.org>
329
330	* go-gcc.cc (Gcc_backend::Gcc_backend): Define
331	__builtin_unreachable.
332	(Gcc_backend::function): Add does_not_return parameter.
333
3342017-12-01  Than McIntosh  <thanm@google.com>
335
336	* go-c.h (go_create_gogo_args): Add nil_check_size_threshold
337	field.
338	* go-lang.c (go_langhook_init): Set nil_check_size_threshold.
339
3402017-11-28  Jakub Jelinek  <jakub@redhat.com>
341
342	* go-gcc.cc (Gcc_backend::switch_statement): Build SWITCH_EXPR using
343	build2_loc instead of build3_loc.
344
3452017-11-14  Than McIntosh  <thanm@google.com>
346
347	* go-gcc.cc (var_expression): Remove Varexpr_context parameter.
348
3492017-10-11  Tony Reix  <tony.reix@atos.net>
350
351	* go-system.h (__STDC_FORMAT_MACROS): Define before including any
352	system header files, as is done in ../system.h.
353
3542017-10-05  Ian Lance Taylor  <iant@golang.org>
355
356	* Make-lang.in (GO_OBJS): Add go/names.o.
357
3582017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
359	    Alan Hayward  <alan.hayward@arm.com>
360	    David Sherwood  <david.sherwood@arm.com>
361
362	* go-lang.c (go_langhook_type_for_mode): Use is_complex_float_mode.
363
3642017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
365	    Alan Hayward  <alan.hayward@arm.com>
366	    David Sherwood  <david.sherwood@arm.com>
367
368	* go-lang.c (go_langhook_type_for_mode): Use is_int_mode.
369
3702017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
371	    Alan Hayward  <alan.hayward@arm.com>
372	    David Sherwood  <david.sherwood@arm.com>
373
374	* go-lang.c (go_langhook_type_for_mode): Use is_float_mode.
375
3762017-08-07  Martin Liska  <mliska@suse.cz>
377
378	* go-gcc.cc (Gcc_backend::function): Look up for no_split_stack
379	and not __no_split_stack__.
380
3812017-07-27    Tony Reix  <tony.reix@atos.net>
382
383	* go-backend.c (go_write_export_data): Use EXCLUDE section for
384	AIX.
385
3862017-06-09  Ian Lance Taylor  <iant@golang.org>
387
388	* go-lang.c (go_langhook_post_options): If -fsplit-stack is turned
389	on, disable implicit -forder-blocks-and-partition.
390
3912017-05-12  Than McIntosh  <thanm@google.com>
392
393	* go-gcc.cc (Gcc_backend::call_expression): Add caller parameter.
394
3952017-05-11  Ian Lance Taylor  <iant@google.com>
396
397	PR go/64238
398	* go-gcc.cc (Gcc_backend::implicit_variable_reference): Set
399	DECL_EXTERNAL, clear TREE_STATIC.
400
4012017-05-10  Than McIntosh  <thanm@google.com>
402
403	* go-backend.c: Include "go-c.h".
404	* go-gcc.cc (Gcc_backend::write_export_data): New method.
405
4062017-05-10  Ian Lance Taylor  <iant@google.com>
407
408	* go-gcc.cc (Gcc_backend::Gcc_backend): Declare
409	__builtin_prefetch.
410	* Make-lang.in (GO_OBJS): Add go/wb.o.
411
4122017-03-28  Than McIntosh  <thanm@google.com>
413
414	PR go/80226
415	* go-gcc.cc (Gcc_backend::return_statement): Check for
416	void_type_node when checking result size.
417
4182017-02-20  Ian Lance Taylor  <iant@golang.org>
419
420	PR go/79642
421	* lang.opt (-fgo-relative-import-path): Change space to tab.
422
4232017-02-07  Richard Biener  <rguenther@suse.de>
424
425	PR tree-optimization/79256
426	PR middle-end/79278
427	* go-backend.c (go_field_alignment): Adjust.
428
4292017-01-11  Than McIntosh  <thanm@google.com>
430
431	* go-gcc.cc (conditional_expression): Add Bfunction parameter.
432
4332017-01-01  Jakub Jelinek  <jakub@redhat.com>
434
435	Update copyright years.
436
437	* gccgo.texi: Bump @copyrights-go year.
438
4392016-12-16  Than McIntosh  <thanm@google.com>
440
441	* go-gcc.cc (Gcc_backend::expression_statement): Add Bfunction*
442	parameter.
443	(Gcc_backend::init_statement): Likewise.
444	(Gcc_backend::assignment_statement): Likewise.
445	(Gcc_backend::if_statement): Likewise.
446
4472016-12-06  Than McIntosh  <thanm@google.com>
448
449	* go-gcc.cc (Gcc_backend::var_expression): Add Varexpr_context
450	parameter.
451
4522016-11-22  Than McIntosh  <thanm@google.com>
453
454	* go-gcc.cc (char_needs_encoding): Remove.
455	(needs_encoding, fetch_utf8_char, encode_id): Remove.
456	(Gcc_backend::global_variable): Add asm_name parameter.  Don't
457	compute asm_name here.
458	(Gcc_backend::implicit_variable): Likewise.
459	(Gcc_backend::implicit_variable_reference): Likewise.
460	(Gcc_backend::immutable_struct): Likewise.
461	(Gcc_backend::immutable_struct_reference): Likewise.
462	* Make-lang.in (GO_OBJS): Add go/go-encode-id.o.
463
4642016-11-22  Ian Lance Taylor  <iant@google.com>
465
466	* go-gcc.cc (Gcc_backend::Gcc_backend): Add builtin function
467	__builtin_frame_address.
468
4692016-10-25  David Malcolm  <dmalcolm@redhat.com>
470
471	* go-lang.c (go_langhook_type_for_mode): Remove redundant cast
472	from result of GET_MODE_CLASS.  Minor formatting fixes.
473
4742016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
475
476	* go-backend.c: Include memmodel.h.
477
4782016-10-10  Than McIntosh  <thanm@google.com>
479
480	* go-gcc.h: New file.
481	* go-c.h (struct go_create_gogo_args): Add backend and linemap
482	fields.
483	* go-lang.c: Include "go-gcc.h".
484	(go_langhook_init): Set linemap and backend fields of args.
485	* go-gcc.cc: Include "go-gcc.h".
486	* go-linemap.cc: Include "go-gcc.h".
487
4882016-10-10  Than McIntosh  <thanm@google.com>
489
490	* go-linemap.cc (Gcc_linemap::location_line): New method.
491
4922016-10-10  Eric Botcazou  <ebotcazou@adacore.com>
493
494	* config-lang.in (lang_requires_boot_languages): Delete.
495
4962016-10-06  Chris Manghane  <cmang@google.com>
497
498	* go-gcc.cc (Gcc_backend::stack_allocation_expression): Clear the
499	returned memory.
500
5012016-09-27  Than McIntosh  <thanm@google.com>
502
503	* go-linemap.cc (Gcc_linemap::to_string): New method.
504
5052016-09-23  Than McIntosh  <thanm@google.com>
506
507	* go-gcc-diagnostics.cc: New file.
508	* go-location.h (Location): Remove operator source_location.  Add
509	operator==.
510	* go-system.h: #include <sstream>.
511	* Make-lang.in (GO_OBJS): Add go/go-diagnostics.o and
512	go/go-gcc-diagnostics.o.
513	(CFLAGS-go/go-gcc-diagnostics.o): New variable.
514
5152016-09-23  Chris Manghane  <cmang@google.com>
516
517	PR go/77701
518	* go-gcc.cc (Gcc_backend::Gcc_backend): Fix calls to integer_type
519	to pass arguments in the correct order.
520
5212016-09-22  Ian Lance Taylor  <iant@golang.org>
522
523	* go-gcc.cc (Gcc_backend::Gcc_backend): Declare
524	__builtin_frame_address.
525
5262016-09-11  Ian Lance Taylor  <iant@golang.org>
527
528	* go-gcc.cc (Gcc_backend::Gcc_backend): Add builtin versions of
529	ctz, ctzll, bswap32, bswap64.
530
5312016-09-10  Ian Lance Taylor  <iant@golang.org>
532
533	* go-backend.c (go_trampoline_info): Remove.
534	* go-c.h (go_trampoline_info): Don't declare.
535
5362016-09-09  Than McIntosh  <thanm@google.com>
537
538	* go-sha1.cc: New file.
539	* Make-lang.in (GO_OBJS): Add go/go-sha1.o.
540	(CFLAGS-go/go-sha1.o): New variable.
541
5422016-08-29  Ian Lance Taylor  <iant@google.com>
543
544	* lang.opt (fgo-c-header, fgo-compiling-runtime): New options.
545	* go-c.h (struct go_create_gogo_args): Define.
546	(go_create_gogo): Change declaration to take struct pointer.
547	* go-lang.c (go_c_header): New static variable.
548	(go_langhook_init): Update call to go_create_gogo.
549	* gccgo.texi (Invoking gccgo): Document -fgo-c-header and
550	-fgo-compiling-runtime.
551
5522016-08-09  Ian Lance Taylor  <iant@google.com>
553
554	* gccgo.texi (Invoking gccgo): Document -fgo-optimize-allocs and
555	-fgo-debug-escae.
556	(Compiler Directives): New chapter.
557	(Function Names): Describe using //go:linkname.  Suggest using
558	-fgo-pkgpath rather than -fgo-prefix.
559
5602016-08-08  Ian Lance Taylor  <iant@google.com>
561
562	PR go/72814
563	* go-gcc.cc (Gcc_backend::function_type): If the return type is
564	zero bytes, treat the function as returning void.
565	(return_statement): If the return type is zero bytes, don't
566	actually return any values.
567
5682016-08-05  Ian Lance Taylor  <iant@google.com>
569
570	PR go/72812
571	* go-gcc.cc (char_needs_encoding): New static function.
572	(needs_encoding, fetch_utf8_char): New static functions.
573	(encode_id): New static function.
574	(Gcc_backend::global_variable): Set asm name if the name is not
575	simple ASCII.
576	(Gcc_backend::implicit_variable): Likewise.
577	(Gcc_backend::implicit_variable_reference): Likewise.
578	(Gcc_backend::immutable_struct): Likewise.
579	(Gcc_backend::immutable_struct_reference): Likewise.
580	(Gcc_backend::function): Likewise.
581
5822016-08-02  Chris Manghane  <cmang@google.com>
583
584	* lang.opt: Add -fgo-debug-escape option.
585	* go-c.h (go_create_gogo): Add debug_escape_level parameter.
586	* go-lang.c (go_langhook_init): Pass go_debug_escape_level to
587	go_create_gogo.
588
5892016-05-06  Chris Manghane  <cmang@google.com>
590
591	* Make-lang.in (GO_OBJS): Add go/escape.o (based on an entirely
592	new escape.cc).
593
5942016-04-29  Chris Manghane  <cmang@google.com>
595
596	* Make-lang.in (GO_OBJS): Remove go/dataflow.o, go/escape.o.
597
5982016-04-18  Michael Matz  <matz@suse.de>
599
600	* go-gcc.cc (Gcc_backend::implicit_variable): Use SET_DECL_ALIGN.
601
6022016-02-12  Jakub Jelinek  <jakub@redhat.com>
603
604	* gofrontend/lex.cc: Spelling fixes - behaviour -> behavior and
605	neighbour -> neighbor.
606	* gccgo.texi: Likewise.
607
6082016-01-27  Ian Lance Taylor  <iant@google.com>
609
610	* go-lang.c (go_langhook_init_options_struct): Default to
611	-fkeep-gc-roots-live.
612
6132016-01-04  Jakub Jelinek  <jakub@redhat.com>
614
615	Update copyright years.
616
617	* gccgo.texi: Bump @copyrights-go year.
618
6192015-12-21  Ian Lance Taylor  <iant@google.com>
620
621	* go-gcc.cc (class Bvariable): Remove Gcc_tree parent class.  Add
622	t_ and orig_type_ fields.  Add new two parameter constructor.  Add
623	get_tree and get_decl methods.
624	(Gcc_backend::var_expression): Pass location to var get_tree.
625	(Gcc_backend::global_variable): Don't add VIEW_CONVERT_EXPR.  Use
626	two parameter constructor for Bvariable.
627	(Gcc_backend::global_variable_set_init): Don't remove
628	VIEW_CONVERT_EXPR.  Use var get_decl, not get_tree.
629	(Gcc_backend::write_global_definitions): Likewise.
630	(Gcc_backend::init_statement): Call var get_decl, not get_tree.
631	(Gcc_backend::block): Likewise.
632	(Gcc_backend::implicit_variable_set_init): Likewise.
633	(Gcc_backend::immutable_struct_set_init): Likewise.
634	(Gcc_backend::function_set_parameters): Likewise.
635
6362015-12-21  Ian Lance Taylor  <iant@google.com>
637
638	* go-gcc.cc (Gcc_backend::global_variable): If type is zero-sized,
639	add a VIEW_CONVERT_EXPR to the tree.
640	(Gcc_backend::global_variable_set_init): Remove any
641	VIEW_CONVERT_EXPR.
642	(Gcc_backend::write_global_definitions): Likewise.
643
6442015-11-30  Ian Lance Taylor  <iant@google.com>
645
646	PR go/68477
647	* go-gcc.cc (Gcc_backend::string_constant_expression): Don't set
648	TYPE_STRING_FLAG on a variant type.
649
6502015-11-11  Andrew MacLeod  <amacleod@redhat.com>
651
652	* go-backend.c: Remove unused header files.
653	* go-gcc.cc: Likewise.
654	* go-lang.c: Likewise.
655	* gospec.c: Likewise.
656
6572015-10-29  Andrew MacLeod  <amacleod@redhat.com>
658
659	* go-backend.c: Reorder #include's and remove duplicates.
660	* go-lang.c: Likewise.
661
6622015-10-20  Alan Modra  <amodra@gmail.com>
663
664	PR go/66870
665	* gospec.c (saw_opt_m32): Rename to..
666	(is_m64): ..this, initialised by TARGET_CAN_SPLIT_STACK_64BIT.
667	Update uses.
668	(lang_specific_driver): Set is_m64 if OPT_m64, clear if OPT_m32.
669
6702015-10-01  Ian Lance Taylor  <iant@google.com>
671
672	PR go/66870
673	* gospec.c (lang_specific_driver): Only look for OPT_m32 if
674	TARGET_CAN_SPLIT_STACK_64BIT is defined.
675
6762015-10-01  Lynn Boger  <laboger@linux.vnet.ibm.com>
677
678	PR target/66870
679	* gospec.c (lang_specific_driver): Set appropriate split stack
680	options for 64 bit compiles based on TARGET_CAN_SPLIT_STACK_64BIT.
681
6822015-09-10  Chris Manghane  <cmang@google.com>
683
684	* go-gcc.cc (Gcc_backend::type_size): Return -1 for
685	unrepresentable size.
686
6872015-08-24  Marek Polacek  <polacek@redhat.com>
688
689	PR tree-optimization/67284
690	* go-gcc.cc (Gcc_backend::define_builtin): Add NORETURN_P parameter.
691	Set TREE_THIS_VOLATILE.
692	(Gcc_backend::Gcc_backend): Mark __builtin_trap as a noreturn call.
693	Pass false to the rest of define_builtin calls.
694
6952015-07-31  Andreas Schwab  <schwab@linux-m68k.org>
696
697	* go-lang.c (go_langhook_init_options_struct): Don't set
698	x_flag_split_stack.
699	(go_langhook_post_options): Set it here instead.
700
7012015-07-12  Aldy Hernandez  <aldyh@redhat.com>
702
703	* gofrontend/backend.h: Fix double word typos.
704	* gofrontend/expressions.cc: Same.
705	* gospec.c: Same.
706
7072015-07-07  Andrew MacLeod  <amacleod@redhat.com>
708
709	* go-backend.c: Adjust includes.
710	* go-gcc.cc: Likewise.
711	* go-lang.c: Likewise.
712
7132015-06-25  Andrew MacLeod  <amacleod@redhat.com>
714
715	* go-gcc.cc: Remove ipa-ref.h and plugin-api.h from include list.
716
7172015-06-17  Andrew MacLeod  <amacleod@redhat.com>
718
719	* go-backend.c: Do not include input.h, line-map.h or is-a.h.
720	* go-gcc.cc: Likewise.
721	* go-lang.c: Likewise.
722	* go-system.h: Likewise.
723
7242015-06-08  Andrew MacLeod  <amacleod@redhat.com>
725
726	* go-backend.c : Adjust include files.
727	* go-gcc.cc : Likewise.
728	* go-lang.c : Likewise.
729
7302015-06-05  Aldy Hernandez  <aldyh@redhat.com>
731
732	* go-gcc.cc (write_global_definitions): Remove call to
733	finalize_compilation_unit.
734	Remove Go specific debug generation.
735	* go-lang.c (go_langhook_parse_file): Call go_write_globals.
736	(go_langhook_write_globals): Remove.
737	Remove LANG_HOOKS_WRITE_GLOBALS everywhere.
738
7392015-06-04  Andrew MacLeod  <amacleod@redhat.com>
740
741	* go-backend.c: Adjust includes for restructured coretypes.h.
742	* go-c.h: Likewise.
743	* go-gcc.cc: Likewise.
744	* go-lang.c: Likewise.
745
7462015-04-30  Chris Manghane  <cmang@google.com>
747
748	* go-gcc.cc (Gcc_backend::stack_allocation_expression): New
749	method.
750
7512015-04-27  Jim Wilson  <jim.wilson@linaro.org>
752
753	* Make-lang.in (go.mostlyclean): Remove gccgo, gccgo-cross, and go1.
754
7552015-04-17  Chris Manghane  <cmang@google.com>
756
757	* Make-lang.in (GO_OBJS): Add go/escape.o.
758
7592015-02-02  Ian Lance Taylor  <iant@google.com>
760
761	PR go/64836
762	PR go/64838
763	* go-gcc.cc (Gcc_backend::type_size): Change return type to
764	int64_t.
765	(Gcc_backend::type_alignment): Likewise.
766	(Gcc_backend::type_field_alignment): Likewise.
767	(Gcc_backend::type_field_offset): Likewise.
768	(Gcc_backend::implicit_variable): Change alignment parameter type
769	to int64_t.
770
7712015-01-23  Ian Lance Taylor  <iant@google.com>
772
773	PR go/63565
774	* gccgo.texi (Invoking gccgo): Mention that Go programs should not
775	be stripped.
776
777	* gccgo.texi (C Interoperability): Mention that people should use
778	cgo.
779
7802015-01-23  Ian Lance Taylor  <iant@google.com>
781
782	PR go/64595
783	* go-lang.c (go_langhook_init_options_struct): Set default
784	debug_info_level.
785	(go_langhook_post_options): If debug_info_level is still the
786	default, make sure write_symbols is set.
787	* gccgo.texi (Invoking gccgo): Document that -g1 is the default.
788
7892015-01-16  Richard Henderson  <rth@redhat.com>
790
791	* go-gcc.cc (Gcc_backend::call_expression): Add chain_expr argument.
792	(Gcc_backend::static_chain_variable): New method.
793
7942015-01-09  Ian Lance Taylor  <iant@google.com>
795
796	* config-lang.in (lang_dirs): Define.
797
7982015-01-09  Michael Collison  <michael.collison@linaro.org>
799
800	* go-gcc.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
801	input.h, alias.h, symtab.h, options.h, fold-const.h,
802	wide-int.h, and inchash.h due to flattening of tree.h.
803	* go-lang.c: Ditto.
804	* go-backend.c: Ditto.
805
8062015-01-07  Chris Manghane  <cmang@google.com>
807
808	PR go/61204
809	* go-gcc.cc (Gcc_backend::temporary_variable): Don't initialize
810	zero-sized variable.
811
8122015-01-06  Chris Manghane  <cmang@google.com>
813
814	* go-gcc.cc (Gcc_backend::constructor_expression): Don't
815	initialize zero-sized fields, just evaluate the values for side
816	effects.
817
8182015-01-05  Jakub Jelinek  <jakub@redhat.com>
819
820	Update copyright years.
821
822	* gccgo.texi: Bump @copyrights-go year.
823
8242014-12-19  Chris Manghane  <cmang@google.com>
825
826	* go-gcc.cc (Gcc_backend::array_constructor_expression): Don't
827	construct arrays of zero-sized values.
828
8292014-10-29  Richard Sandiford  <richard.sandiford@arm.com>
830
831	* go-lang.c: Remove redundant enum from machine_mode.
832
8332014-10-28  Andrew MacLeod  <amacleod@redhat.com>
834
835	* go-gcc.cc: Adjust include files.
836
8372014-10-27  Andrew MacLeod  <amacleod@redhat.com>
838
839	* go-gcc.cc: Adjust include files.
840	* go-lang.c: Ditto.
841
8422014-10-23  Ian Lance Taylor  <iant@google.com>
843
844	* go-gcc.cc (Gcc_backend::complex_constant_expression): Take one
845	mpc_t parameter instead of two mpfr_t parameters.
846
8472014-09-15  Jakub Jelinek  <jakub@redhat.com>
848
849	* Make-lang.in (check_go_parallelize): Change to just an upper bound
850	number.
851
8522014-09-03  Chris Manghane  <cmang@google.com>
853
854	* go-gcc.cc (Gcc_backend::implicit_variable): Remove init
855	parameter.  Add is_hidden parameter.
856	(Gcc_backend::implicit_variable_set_init): New method.
857	(Gcc_backend::implicit_variable_reference): New method.
858
8592014-08-08  Ian Lance Taylor  <iant@google.com>
860
861	* go-gcc.cc (Gcc_backend::compound_statement): Don't return
862	NULL_TREE.
863
8642014-07-24  Uros Bizjak  <ubizjak@gmail.com>
865
866	* go-gcc.cc (Gcc_backend::global_variable_set_init): Rename
867	symtab_get_node to symtab_node::get.
868
8692014-06-13  Ian Lance Taylor  <iant@google.com>
870
871	PR go/61496
872	* gospec.c (lang_specific_driver): On Solaris, when not using GNU
873	ld, add -t option to avoid warning about common symbol changing
874	size.
875
8762014-06-10  Jan Hubicka  <hubicka@ucw.cz>
877
878	* go-gcc.cc (Gcc_backend::global_variable_set_init): Use
879	symtab_get_node(var_decl)->implicit_section.
880
8812014-06-07  Jan Hubicka  <hubicka@ucw.cz>
882
883	* go-gcc.cc (global_variable_set_init): Use
884	set_decl_section_name.
885
8862014-06-04  Ian Lance Taylor  <iant@google.com>
887
888	* go-gcc.cc (Gcc_backend::implicit_variable): Add is_common and
889	alignment parameters.  Permit init parameter to be NULL.
890
8912014-06-02  Andrew MacLeod  <amacleod@redhat.com>
892
893	* go-gcc.cc: Include builtins.h.
894
8952014-05-17  Trevor Saunders  <tsaunders@mozilla.com>
896
897	* go-lang.c (struct GTY): Don't use variable_size gty attribute.
898
8992014-05-06  Chris Manghane  <cmang@google.com>
900
901	* go-gcc.cc (Gcc_backend::nil_pointer_expression): New method.
902	(Gcc_backend::boolean_constant_expression): New method.
903	(Gcc_backend::zero_expression): Use this->make_expression rather
904	than tree_to_expr.
905	(Gcc_backend::var_expression): Likewise.
906	(Gcc_backend::integer_constant_expression): Likewise.
907	(Gcc_backend::float_constant_expression): Likewise.
908	(Gcc_backend::complex_constant_expression): Likewise.
909	(Gcc_backend::struct_field_expression): Likewise.
910	(tree_to_type, tree_to_expr, tree_to_stat): Remove functions.
911	(tree_to_function, tree_to_block): Remove functions.
912	(type_to_tree, expr_to_tree, stat_to_tree): Remove functions.
913	(block_to_tree, var_to_tree, function_to_tree): Remove functions.
914
9152014-05-06  Kenneth Zadeck  <zadeck@naturalbridge.com>
916	    Mike Stump  <mikestump@comcast.net>
917	    Richard Sandiford  <rdsandiford@googlemail.com>
918
919	* go-gcc.cc (Gcc_backend::type_size): Use tree_fits_uhwi_p.
920
9212014-05-06  Chris Manghane  <cmang@google.com>
922
923	* go-c.h (go_create_gogo): Update declaration to add
924	check_divide_zero and check_divide_overflow parameters.
925	* go-lang.c (go_langhook_init): Pass new arguments to
926	go_create_gogo.
927
9282014-05-05  Chris Manghane  <cmang@google.com>
929
930	* go-gcc.cc (Gcc_backend::implicit_variable): Rename from
931	gc_root_variable.  Add name and is_constant parameters.
932
9332014-05-05  Chris Manghane  <cmang@google.com>
934
935	* go-gcc.cc (Gcc_backend::indirect_expression): Add btype
936	parameter.
937	(Gcc_backend::temporary_variable): Check for erroneous function.
938
9392014-04-30  Chris Manghane  <cmang@google.com>
940
941	* go-backend.c: #include "diagnostics.h".
942	(saw_errors): New function.
943	* go-c.h (saw_errors): Declare.
944	* Make-lang.in (GO_OBJS): Remove go/gogo-tree.o.
945
9462014-04-30  Chris Manghane  <cmang@google.com>
947
948	* go-lang.c (go_langhook_type_for_size): Do it here, rather than
949	calling into Go frontend.
950	(go_langhook_type_for_mode): Likewise.
951	* go-c.h (go_type_for_size, go_type_for_mode): Don't declare.
952
9532014-04-30  Chris Manghane  <cmang@google.com>
954
955	* go-gcc.cc: #include "langhooks.h".
956	(Gcc_backend::Gcc_backend): Add constructor.
957	(Gcc_backend::lookup_function): New function.
958	(Gcc_backend::define_builtin): New private function.
959	(Gcc_backend::gcc_backend): Remove.
960	(go_get_backend): Use new to create new Gcc_backend.
961
9622014-04-25  Chris Manghane  <cmang@google.com>
963
964	* go-gcc.cc: Include "cgraph.h" and "gimplify.h".
965	(Gcc_backend::return_statement): Push and pop function.
966	(Gcc_backend::label): Likewise.
967	(Gcc_backend::function_defer_statement): Likewise.
968	(Gcc_backend::switch_statement): Add function parameter.
969	(Gcc_backend::block): Don't permit function to be NULL.
970	(Gcc_backend::temporary_variable): Change go_assert to
971	gcc_assert.
972	(Gcc_backend::gc_root_variable): New function.
973	(Gcc_backend::write_global_definitions): New function.
974
9752014-04-22  Chris Manghane  <cmang@google.com>
976
977	* go-gcc.cc (Gcc_backend::temporary_variable): Push cfun around
978	call to create_tmp_var.  Require that function be non-NULL.
979
9802014-04-17  Chris Manghane  <cmang@google.com>
981
982	* go-gcc.cc (Gcc_backend::named_constant_expression): New
983	function.
984
9852014-04-14  Chris Manghane  <cmang@google.com>
986
987	* go-gcc.cc: Include "convert.h".
988	(Gcc_backend::string_constant_expression): New function.
989	(Gcc_backend::real_part_expression): Likewise.
990	(Gcc_backend::imag_part_expression): Likewise.
991	(Gcc_backend::complex_expression): Likewise.
992	(Gcc_backend::constructor_expression): Likewise.
993	(Gcc_backend::array_constructor_expression): Likewise.
994	(Gcc_backend::pointer_offset_expression): Likewise.
995	(Gcc_backend::array_index_expression): Likewise.
996	(Gcc_backend::call_expression): Likewise.
997	(Gcc_backend::exception_handler_statement): Likewise.
998	(Gcc_backend::function_defer_statement): Likewise.
999	(Gcc_backend::function_set_parameters): Likewise.
1000	(Gcc_backend::function_set_body): Likewise.
1001	(Gcc_backend::convert_expression): Handle various type
1002	conversions.
1003
10042014-03-03  Ian Lance Taylor  <iant@google.com>
1005
1006	* go-gcc.cc (Gcc_backend::immutable_struct): If IS_COMMON, set
1007	DECL_WEAK.
1008	(GCC_backend::immutable_struct_set_init): If IS_COMMON, clear
1009	DECL_WEAK.
1010
10112014-01-24  Chris Manghane  <cmang@google.com>
1012
1013	* go-gcc.cc (Gcc_backend::unary_expression): New function.
1014
10152014-01-16  Chris Manghane  <cmang@google.com>
1016
1017	* go-gcc.cc (Gcc_backend::conditional_expression): Add btype
1018	parameter.
1019	(operator_to_tree_code): New static function.
1020	(Gcc_backend::binary_expression): New function.
1021
10222014-01-14  Chris Manghane  <cmang@google.com>
1023
1024	* go-gcc.cc (Gcc_backend::compound_expression): New function.
1025	(Gcc_backend::conditional_expression): New function.
1026
10272014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1028
1029	Update copyright years
1030
10312014-01-02  Tobias Burnus  <burnus@net-b.de>
1032
1033	* gccgo.texi: Bump @copying's copyright year.
1034
10352013-12-16  Chris Manghane  <cmang@google.com>
1036
1037	* go-gcc.cc (Gcc_backend::struct_field_expression): New function.
1038
10392013-12-11  Ian Lance Taylor  <iant@google.com>
1040
1041	* go-lang.c (go_langhook_post_options): Disable sibling calls by
1042	default.
1043
10442013-12-10  Ian Lance Taylor  <iant@google.com>
1045
1046	* Make-lang.in (check_go_parallelize): Test go-test.exp r* tests
1047	separately.
1048
10492013-12-05  Ian Lance Taylor  <iant@google.com>
1050
1051	Revert this change; no longer required.
1052	2013-11-06  Ian Lance Taylor  <iant@google.com>
1053
1054	* go-lang.c (go_langhook_post_options): If
1055	-fisolate-erroneous-paths was turned on by an optimization option,
1056	turn it off.
1057
10582013-11-23  Ian Lance Taylor  <iant@google.com>
1059
1060	* go-gcc.cc (Gcc_backend::function_type): Add result_struct
1061	parameter.
1062
10632013-11-22  Andrew MacLeod  <amacleod@redhat.com>
1064
1065	* go-gcc.cc: Add required include files from gimple.h.
1066	* go-lang.c: Likewise.
1067
10682013-11-18  Richard Sandiford  <rdsandiford@googlemail.com>
1069
1070	* gofrontend/expressions.cc: Replace tree_low_cst (..., 0) with
1071	tree_to_shwi throughout.
1072
10732013-11-18  Richard Sandiford  <rdsandiford@googlemail.com>
1074
1075	* gofrontend/expressions.cc: Replace host_integerp (..., 0) with
1076	tree_fits_shwi_p throughout.
1077
10782013-11-14  Andrew MacLeod  <amacleod@redhat.com>
1079
1080	* go-lang.c: Include only gimplify.h and gimple.h as needed.
1081
10822013-11-14  Diego Novillo  <dnovillo@google.com>
1083
1084	* go-backend.c: Include stor-layout.h.
1085	* go-gcc.cc: Include stringpool.h.
1086	Include stor-layout.h.
1087	Include varasm.h.
1088	* go-lang.c: Include stor-layout.h.
1089
10902013-11-12  Andrew MacLeod  <amacleod@redhat.com>
1091
1092	* go-lang.c: Include gimplify.h.
1093
10942013-11-06  Ian Lance Taylor  <iant@google.com>
1095
1096	* go-lang.c (go_langhook_post_options): If
1097	-fisolate-erroneous-paths was turned on by an optimization option,
1098	turn it off.
1099
11002013-10-14  Chris Manghane  <cmang@google.com>
1101
1102	* go-gcc.cc (Gcc_backend::address_expression): New function.
1103
11042013-10-11  Chris Manghane  <cmang@google.com>
1105
1106	* go-gcc.cc (Gcc_backend::function_code_expression): New
1107	function.
1108
11092013-10-10  Chris Manghane  <cmang@google.com>
1110
1111	* go-gcc.cc (Gcc_backend::error_function): New function.
1112	(Gcc_backend::function): New function.
1113	(Gcc_backend::make_function): New function.
1114	(function_to_tree): New function.
1115
11162013-10-04  Chris Manghane  <cmang@google.com>
1117
1118	* go-gcc.cc (Gcc_backend::convert_expression): New function.
1119
11202013-10-02  Chris Manghane  <cmang@google.com>
1121
1122	* go-gcc.cc: Include "real.h" and "realmpfr.h".
1123	(Gcc_backend::integer_constant_expression): New function.
1124	(Gcc_backend::float_constant_expression): New function.
1125	(Gcc_backend::complex_constant_expression): New function.
1126
11272013-09-30  Chris Manghane  <cmang@google.com>
1128
1129	* go-gcc.cc (Gcc_backend::error_expression): New function.
1130	(Gcc_backend::var_expression): New function.
1131	(Gcc_backend::indirect_expression): New function.
1132
11332013-09-25  Tom Tromey  <tromey@redhat.com>
1134
1135	* Make-lang.in (gospec.o): Remove.
1136	(CFLAGS-go/gospec.o): New variable.
1137	(GCCGO_OBJS): Update to use go/gospec.o.
1138	(go_OBJS): Define.
1139	(GO_SYSTEM_H, GO_C_H, GO_LINEMAP_H, GO_LEX_H, GO_PARSE_H)
1140	(GO_GOGO_H, GO_TYPES_H, GO_STATEMENTS_H, GO_EXPRESSIONS_H)
1141	(GO_EXPORT_H, GO_IMPORT_H, GO_RUNTIME_H, GO_AST_DUMP_H)
1142	(go/go-backend.o, go/go-lang.o, go/go-gcc.o, go/go-linemap.o)
1143	(go/ast-dump.o, go/dataflow.o, go/export.o, go/expressions.o)
1144	(go/go.o, go/go-dump.o, go/go-optimize.o, go/gogo-tree.o)
1145	(go/gogo.o, go/import.o, go/import-archive.o, go/lex.o)
1146	(go/parse.o, go/runtime.o, go/statements.o, go/types.o)
1147	(go/unsafe.o): Remove.
1148	(CFLAGS-go/go-gcc.o, CFLAGS-go/go-linemap.o): New variables.
1149	(go/%.o: go/gofrontend/%.cc): Use COMPILE and POSTCOMPILE.
1150
11512013-09-25  Tom Tromey  <tromey@redhat.com>
1152
1153	* Make-lang.in (gospec.o): Don't use subshell.
1154
11552013-08-28  Ian Lance Taylor  <iant@google.com>
1156
1157	* go-gcc.cc (Gcc_backend::immutable_struct): Set TREE_PUBLIC if
1158	the struct is not hidden.
1159	(Gcc_backend::immutable_struct_set_init): Don't set TREE_PUBLIC.
1160
11612013-08-06  Ian Lance Taylor  <iant@google.com>
1162
1163	* go-gcc.cc (Gcc_backend::immutable_struct_set_init): Use
1164	compute_reloc_for_constant.
1165
11662013-08-02  Ian Lance Taylor  <iant@google.com>
1167
1168	* go-gcc.cc (immutable_struct_set_init): Always call
1169	resolve_unique_section.
1170
11712013-07-24  Ian Lance Taylor  <iant@google.com>
1172
1173	* go-gcc.cc (Gcc_backend::non_zero_size_type): If a struct has a
1174	fields, recreate those fields with the first one with a non-zero
1175	size.
1176
11772013-07-23  Ian Lance Taylor  <iant@google.com>
1178
1179	* go-backend.c: Don't #include "rtl.h".
1180	(go_imported_unsafe): Don't call init_varasm_once.
1181	* Make-lang.in (go/go-backend.o): Don't depend on $(RTL_H).
1182
11832013-07-23  Ian Lance Taylor  <iant@google.com>
1184
1185	* go-lang.c: Don't #include "except.h".
1186	* Make-lang.in (go/go-lang.o): Don't depend on $(EXCEPT_H).
1187
11882013-06-18  Ian Lance Taylor  <iant@google.com>
1189
1190	* go-gcc.cc (Gcc_backend::immutable_struct): Add is_hidden
1191	parameter.
1192	(Gcc_backend::immutable_struct_set_init): Likewise.
1193
11942013-05-16  Jason Merrill  <jason@redhat.com>
1195
1196	* Make-lang.in (go1$(exeext)): Use link mutex.
1197
11982013-01-16  Shenghou Ma  <minux.ma@gmail.com>
1199
1200	* gospec.c: pass -u pthread_create to linker when static linking.
1201
12022012-12-21  Ian Lance Taylor  <iant@google.com>
1203
1204	PR bootstrap/54659
1205	* go-system.h: Don't include <cstdio>.
1206
12072012-12-18  Ian Lance Taylor  <iant@google.com>
1208
1209	PR go/55201
1210	* gospec.c: Revert last patch.
1211
12122012-12-18  Andreas Schwab  <schwab@linux-m68k.org>
1213
1214	PR go/55201
1215	* gospec.c (LIBATOMIC): Define.
1216	(LIBATOMIC_PROFILE): Define.
1217	(lang_specific_driver): Add LIBATOMIC[_PROFILE] option.
1218
12192012-11-29  Ian Lance Taylor  <iant@google.com>
1220
1221	* go-gcc.cc: Include "output.h".
1222	(global_variable): Add is_unique_section parameter.
1223	(global_variable_set_init): Adjust unique section if necessary.
1224	* Make-lang.in (go/go-gcc.o): Add dependency on output.h.
1225
12262012-11-17  Diego Novillo  <dnovillo@google.com>
1227
1228	Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)
1229
1230	* go-lang.c: Use new vec API in vec.h.
1231
12322012-11-16  Ian Lance Taylor  <iant@google.com>
1233
1234	* Make-lang.in (gccgo$(exeext)): Add + at start of command.
1235	(go1$(exeext)): Likewise.
1236
12372012-10-30  Ian Lance Taylor  <iant@google.com>
1238
1239	* lang.opt (-fgo-relative-import-path): New option.
1240	* go-lang.c (go_relative_import_path): New static variable.
1241	(go_langhook_init): Pass go_relative_import_path to
1242	go_create_gogo.
1243	(go_langhook_handle_option): Handle -fgo-relative-import-path.
1244	* go-c.h (go_create_gogo): Update declaration.
1245	* gccgo.texi (Invoking gccgo): Document
1246	-fgo-relative-import-path.
1247
12482012-09-17  Ian Lance Taylor  <iant@google.com>
1249
1250	* config-lang.in (target_libs): Add target-libbacktrace.
1251
12522012-09-16  Ian Lance Taylor  <iant@google.com>
1253
1254	* Make-lang.in (go/gogo.o): Depend on filenames.h.
1255
12562012-08-14   Diego Novillo  <dnovillo@google.com>
1257
1258	Merge from cxx-conversion branch.  Configury.
1259
1260	* go-c.h: Remove all handlers of ENABLE_BUILD_WITH_CXX.
1261	* go-gcc.cc: Likewise.
1262	* go-system.h: Likewise.
1263
12642012-07-24  Uros Bizjak  <ubizjak@gmail.com>
1265
1266	* go-lang.c (lang_decl): Add variable_size GTY option.
1267
12682012-05-09  Ian Lance Taylor  <iant@google.com>
1269
1270	* lang.opt: Add -fgo-pkgpath.
1271	* go-lang.c (go_pkgpath): New static variable.
1272	(go_prefix): New static variable.
1273	(go_langhook_init): Pass go_pkgpath and go_prefix to
1274	go_create_gogo.
1275	(go_langhook_handle_option): Handle -fgo-pkgpath.  Change
1276	-fgo-prefix handling to just set go_prefix.
1277	* go-c.h (go_set_prefix): Don't declare.
1278	(go_create_gogo): Add pkgpath and prefix to declaration.
1279	* go-gcc.cc (Gcc_backend::global_variable): Change unique_prefix
1280	to pkgpath.  Don't include the package name in the asm name.
1281	* gccgo.texi (Invoking gccgo): Document -fgo-pkgpath.  Update the
1282	docs for -fgo-prefix.
1283
12842012-04-23  Ian Lance Taylor  <iant@google.com>
1285
1286	* go-lang.c (go_langhook_init): Set MPFR precision to 256.
1287
12882012-04-20  Ian Lance Taylor  <iant@google.com>
1289
1290	* lang.opt: Add -fgo-check-divide-zero and
1291	-fgo-check-divide-overflow.
1292	* gccgo.texi (Invoking gccgo): Document new options.
1293
12942012-04-18  Steven Bosscher  <steven@gcc.gnu.org>
1295
1296	* go-gcc.cc (Gcc_backend::switch_statement): Build SWITCH_EXPR
1297	with NULL_TREE type instead of void_type_node.
1298
12992012-03-09  Ian Lance Taylor  <iant@google.com>
1300
1301	* go-gcc.cc (Gcc_backend::assignment_statement): Convert the rhs
1302	to the lhs type if necessary.
1303
13042012-03-08  Ian Lance Taylor  <iant@google.com>
1305
1306	* go-gcc.cc (Gcc_backend::init_statement): Don't initialize a
1307	zero-sized variable.
1308	(go_non_zero_struct): New global variable.
1309	(Gcc_backend::non_zero_size_type): New function.
1310	(Gcc_backend::global_variable): Don't build an assignment for a
1311	zero-sized value.
1312	* go-c.h (go_non_zero_struct): Declare.
1313	* config-lang.in (gtfiles): Add go-c.h.
1314
13152012-02-29  Ian Lance Taylor  <iant@google.com>
1316
1317	* go-gcc.cc (class Gcc_tree): Add set_tree method.
1318	(set_placeholder_pointer_type): When setting to a pointer to
1319	error, set to error_mark_node.
1320
13212012-02-23  Richard Guenther  <rguenther@suse.de>
1322
1323	* go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use
1324	build_distinct_type_copy.
1325
13262012-02-17  Ian Lance Taylor  <iant@google.com>
1327
1328	* Make-lang.in (go/import.o): Add dependency on $(GO_LEX_H).
1329
13302012-02-17  Ian Lance Taylor  <iant@google.com>
1331
1332	* gospec.c (lang_specific_driver): If linking, and no -o option
1333	was used, add one.
1334
13352012-02-14  Ian Lance Taylor  <iant@google.com>
1336
1337	PR go/48411
1338	* Make-lang.in (gccgo-cross$(exeext)): New target.
1339	(go.all.cross): Depend on gccgo-cross$(exeext) instead of
1340	gccgo$(exeext).
1341	(go.install-common): Only install GCCGO_TARGET_INSTALL_NAME if
1342	gccgo-cross$(exeext) does not exist.
1343
13442012-02-07  Ian Lance Taylor  <iant@google.com>
1345
1346	* gccgo.texi (Function Names): Document //extern instead of
1347	__asm__.
1348
13492012-02-01  Jakub Jelinek  <jakub@redhat.com>
1350
1351	PR target/52079
1352	* go-lang.c (go_langhook_type_for_mode): For TImode and 64-bit HWI
1353	return build_nonstandard_integer_type result if possible.
1354
13552012-01-21  Ian Lance Taylor  <iant@google.com>
1356
1357	* go-gcc.cc (Gcc_backend::type_size): Check for error_mark_node.
1358	(Gcc_backend::type_alignment): Likewise.
1359	(Gcc_backend::type_field_alignment): Likewise.
1360	(Gcc_backend::type_field_offset): Likewise.
1361
13622012-01-20  Ian Lance Taylor  <iant@google.com>
1363
1364	* go-gcc.cc (Gcc_backend::placeholder_struct_type): Permit name to
1365	be empty.
1366	(Gcc_backend::set_placeholder_struct_type): Likewise.
1367
13682012-01-17  Ian Lance Taylor  <iant@google.com>
1369
1370	* gospec.c (lang_specific_driver): If we see -S without -o, add -o
1371	BASE.s rather than -o BASE.o.
1372
13732012-01-11  Ian Lance Taylor  <iant@google.com>
1374
1375	* go-lang.c (go_langhook_init): Initialize void_list_node before
1376	calling go_create_gogo.
1377
13782012-01-10  Ian Lance Taylor  <iant@google.com>
1379
1380	* go-gcc.cc (Gcc_backend::type_size): New function.
1381	(Gcc_backend::type_alignment): New function.
1382	(Gcc_backend::type_field_alignment): New function.
1383	(Gcc_backend::type_field_offset): New function.
1384	* go-backend.c (go_type_alignment): Remove.
1385	* go-c.h (go_type_alignment): Don't declare.
1386
13872011-12-27  Ian Lance Taylor  <iant@google.com>
1388
1389	* go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Use
1390	build_distinct_type_copy rather than build_variant_type_copy.
1391	(Gcc_backend::set_placeholder_array_type): Likewise.
1392	(Gcc_backend::named_type): Add special handling for builtin
1393	basic types.
1394
13952011-12-22  Ian Lance Taylor  <iant@google.com>
1396
1397	* go-gcc.cc (Gcc_backend::set_placeholder_pointer_type): Arrange
1398	for the type name to have a DECL_ORIGINAL_TYPE as gcc expects.
1399	(Gcc_backend::set_placeholder_struct_type): Likewise.
1400	(Gcc_backend::set_placeholder_array_type): Likewise.
1401	(Gcc_backend::named_type): Set DECL_ORIGINAL_TYPE.
1402
14032011-12-13  Ian Lance Taylor  <iant@google.com>
1404
1405	* go-backend.c: #include "simple-object.h" and "intl.h".
1406	(GO_EXPORT_SEGMENT_NAME): Define if not defined.
1407	(GO_EXPORT_SECTION_NAME): Likewise.
1408	(go_write_export_data): Use GO_EXPORT_SECTION_NAME.
1409	(go_read_export_data): New function.
1410	* go-c.h (go_read_export_data): Declare.
1411
14122011-11-29  Sanjoy Das  <thedigitalangel@gmail.com>
1413	    Ian Lance Taylor  <iant@google.com>
1414
1415	* go-location.h: New file.
1416	* go-linemap.cc: New file.
1417	* go-gcc.cc: Change all uses of source_location to Location.
1418	* Make-lang.in (GO_OBJS): Add go/go-linemap.o.
1419	(GO_LINEMAP_H): New variable.
1420	(GO_LEX_H): Use $(GO_LINEMAP_H).
1421	(GO_GOGO_H, GO_TYPES_H, GO_IMPORT_H): Likewise.
1422	(go/go-linemap.o): New target.
1423
14242011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1425
1426	* Make-lang.in (gospec.o): Pass SHLIB instead of SHLIB_LINK.
1427
14282011-08-24  Roberto Lublinerman  <rluble@gmail.com>
1429
1430	* lang.opt: Add fgo-optimize-.
1431	* go-lang.c (go_langhook_handle_option): Handle OPT_fgo_optimize.
1432	* go-c.h (go_enable_optimize): Declare.
1433	* Make-lang.in (GO_OBJS): Add go/go-optimize.o.
1434	(GO_EXPORT_H): Define.
1435	(GO_IMPORT_H): Add $(GO_EXPORT_H).
1436	(GO_AST_DUMP_H): Define.
1437	(go/ast-dump.o, go/statements.o): Use GO_AST_DUMP_H.
1438	(go/export.o, go/gogo.o, go/import.o): Use GO_EXPORT_H.
1439	(go/types.o): Likewise.
1440	(go/expressions.o): Use GO_AST_DUMP_H and GO_EXPORT_H.
1441	(go/go-optimize.o): New target.
1442
14432011-08-24  Joseph Myers  <joseph@codesourcery.com>
1444
1445	* Make-lang.in (CFLAGS-go/go-lang.o): New.
1446	(go/go-lang.o): Remove explicit compilation rule.
1447
14482011-08-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1449
1450	* Make-lang.in (gccgo$(exeext)): Add $(EXTRA_GCC_LIBS).
1451
14522011-08-02  Roberto Lublinerman  <rluble@gmail.com>
1453
1454	* Make-lang.in (GO_OBJS): Add go/ast-dump.o.
1455	(go/ast-dump.o): New target.
1456	(go/expressions.o): Depend on go/gofrontend/ast-dump.h.
1457	(go/statements.o): Likewise.
1458
14592011-07-06  Richard Guenther  <rguenther@suse.de>
1460
1461	* go-lang.c (go_langhook_init):
1462	Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
1463
14642011-06-14  Joseph Myers  <joseph@codesourcery.com>
1465
1466	* Make-lang.in (go/go-lang.o, go/go-backend.o): Update
1467	dependencies.
1468	* go-backend.c: Include common/common-target.h.
1469	(go_write_export_data): Use targetm_common.have_named_sections.
1470	* go-lang.c: Include common/common-target.h.
1471	(go_langhook_init_options_struct): Use
1472	targetm_common.supports_split_stack.
1473
14742011-06-13  Ian Lance Taylor  <iant@google.com>
1475
1476	* Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H).
1477
14782011-06-10  Ian Lance Taylor  <iant@google.com>
1479
1480	* go-gcc.cc: Include "toplev.h".
1481	(Gcc_backend::immutable_struct): New function.
1482	(Gcc_backend::immutable_struct_set_init): New function.
1483	(Gcc_backend::immutable_struct_reference): New function.
1484	* Make-lang.in (go/go-gcc.o): Depend on toplev.h.
1485
14862011-06-09  Ian Lance Taylor  <iant@google.com>
1487
1488	* go-gcc.cc (Gcc_backend::zero_expression): New function.
1489
14902011-06-07  Richard Guenther  <rguenther@suse.de>
1491
1492	* go-lang.c (go_langhook_init): Do not set
1493	size_type_node or call set_sizetype.
1494
14952011-05-27  Ian Lance Taylor  <iant@google.com>
1496
1497	* go-backend.c: Include "output.h".
1498	(go_write_export_data): New function.
1499	* go-c.h (go_write_export_data): Declare.
1500	* Make-lang.in (go/go-backend.o): Depend on output.h.
1501	(go/export.o): Depend on $(GO_C_H).  Do not depend on
1502	$(MACHMODE_H), output.h, or $(TARGET_H).
1503
15042011-05-24  Joseph Myers  <joseph@codesourcery.com>
1505
1506	* Make-lang.in (GCCGO_OBJS): Remove prefix.o.
1507	(gccgo$(exeext)): Use libcommon-target.a.
1508
15092011-05-20  Joseph Myers  <joseph@codesourcery.com>
1510
1511	* Make-lang.in (GCCGO_OBJS): Remove intl.o and version.o.
1512
15132011-05-13  Ian Lance Taylor  <iant@google.com>
1514
1515	* go-gcc.cc (Gcc_backend::function_type): When building a struct
1516	for multiple results, check that all fields types have a size.
1517	(Gcc_backend::placeholder_pointer_type): Permit name to be empty.
1518
15192011-05-12  Ian Lance Taylor  <iant@google.com>
1520
1521	* go-gcc.cc (Gcc_backend::local_variable): Add is_address_taken
1522	parameter.
1523	(Gcc_backend::parameter_variable): Likewise.
1524
15252011-05-07  Eric Botcazou  <ebotcazou@adacore.com>
1526
1527	* go-lang.c (global_bindings_p): Return bool and simplify.
1528
15292011-05-05  Nathan Froyd  <froydnj@codesourcery.com>
1530
1531	* go-gcc.cc (Gcc_backend::switch_statement): Call build_case_label.
1532
15332011-05-04  Ian Lance Taylor  <iant@google.com>
1534
1535	* go-gcc.cc (Gcc_backend::struct_type): Call fill_in_struct.
1536	(Gcc_backend::fill_in_struct): New function.
1537	(Gcc_backend::array_type): Implement.
1538	(Gcc_backend::fill_in_array): New function.
1539	(Gcc_backend::placeholder_pointer_type): New function.
1540	(Gcc_backend::set_placeholder_pointer_type): New function.
1541	(Gcc_backend::set_placeholder_function_type): New function.
1542	(Gcc_backend::placeholder_struct_type): New function.
1543	(Gcc_backend::set_placeholder_struct_type): New function.
1544	(Gcc_backend::placeholder_array_type): New function.
1545	(Gcc_backend::set_placeholder_array_type): New function.
1546	(Gcc_backend::named_type): New function.
1547	(Gcc_backend::circular_pointer_type): New function.
1548	(Gcc_backend::is_circular_pointer_type): New function.
1549
15502011-04-26  Ian Lance Taylor  <iant@google.com>
1551
1552	* go-gcc.cc (Gcc_backend::struct_type): Implement.
1553
15542011-04-25  Ian Lance Taylor  <iant@google.com>
1555
1556	* go-gcc.cc (Gcc_backend::error_type): Implement.
1557	(Gcc_backend::string_type): Remove.
1558	(Gcc_backend::function_type): Change signature and implement.
1559	(Gcc_backend::struct_type): Change signature.
1560	(Gcc_backend::slice_type, Gcc_backend::map_type): Remove.
1561	(Gcc_backend::channel_type, Gcc_backend::interface_type): Remove.
1562	(Gcc_backend::pointer_type): Check for error.
1563	* Make-lang.in (go/types.o): Depend on go/gofrontend/backend.h.
1564
15652011-04-25  Evan Shaw  <edsrzf@gmail.com>
1566
1567	* go-gcc.c (class Gcc_tree): Make get_tree const.
1568	(Gcc_backend::void_type): Implement.
1569	(Gcc_backend::bool_type): Implement.
1570	(Gcc_backend::integer_type): Implement.
1571	(Gcc_backend::float_type): Implement.
1572	(Gcc_backend::complex_type): New function.
1573	(Gcc_backend::pointer_type): New function.
1574	(Gcc_backend::make_type): New function.
1575	(type_to_tree): New function.
1576
15772011-04-21  Ian Lance Taylor  <iant@google.com>
1578
1579	* go-system.h (go_assert, go_unreachable): Define.
1580
15812011-04-19  Ian Lance Taylor  <iant@google.com>
1582
1583	* go-system.h: Include "intl.h".
1584	* Make-lang.in (GO_SYSTEM_H): Add intl.h.
1585	(go/statements.o): Remove dependencies on intl.h $(TREE_H)
1586	$(GIMPLE_H) convert.h tree-iterator.h $(TREE_FLOW_H) $(REAL_H).
1587
15882011-04-19  Ian Lance Taylor  <iant@google.com>
1589
1590	* go-gcc.cc (Gcc_backend::temporary_variable): New function.
1591
15922011-04-19  Ian Lance Taylor  <iant@google.com>
1593
1594	* go-gcc.cc (class Bblock): Define.
1595	(Gcc_backend::if_statement): Change then_block and else_block to
1596	Bblock*.
1597	(Gcc_backend::block): New function.
1598	(Gcc_backend::block_add_statements): New function.
1599	(Gcc_backend::block_statement): New function.
1600	(tree_to_block, block_to_tree): New functions.
1601
16022011-04-18  Ian Lance Taylor  <iant@google.com>
1603
1604	* go-gcc.cc: Include "go-c.h".
1605	(class Bvariable): Define.
1606	(Gcc_backend::init_statement): New function.
1607	(Gcc_backend::global_variable): New function.
1608	(Gcc_backend::global_variable_set_init): New function.
1609	(Gcc_backend::local_variable): New function.
1610	(Gcc_backend::parameter_variable): New function.
1611	(tree_to_type, var_to_tree): New functions.
1612	* Make-lang.in (go/go-gcc.o): Depend on $(GO_C_H).
1613	* (go/gogo-tree.o): Depend on go/gofrontend/backend.h.
1614
16152011-04-15  Ian Lance Taylor  <iant@google.com>
1616
1617	* go-gcc.cc (Gcc_backend::compound_statement): New function.
1618	(Gcc_backend::assignment_statement): Use error_statement.
1619	(Gcc_backend::return_statement): Likewise.
1620	(Gcc_backend::if_statement): Likewise.
1621	(Gcc_backend::switch_statement): Likewise.
1622	(Gcc_backend::statement_list): Likewise.
1623
16242011-04-14  Ian Lance Taylor  <iant@google.com>
1625
1626	* go-gcc.cc (Gcc_backend::error_statement): New function.
1627
16282011-04-13  Ian Lance Taylor  <iant@google.com>
1629
1630	* Make-lang.in (go/gogo-tree.o): depend on $(GO_RUNTIME_H).
1631
16322011-04-13  Ian Lance Taylor  <iant@google.com>
1633
1634	* Make-lang.in (GO_OBJS): Add go/runtime.o.
1635	(GO_RUNTIME_H): New variable.
1636	(go/runtime.o): New target.
1637	(go/gogo.o): Depend on $(GO_RUNTIME_H).
1638	(go/statements.o): Likewise.
1639
16402011-04-12  Nathan Froyd  <froydnj@codesourcery.com>
1641
1642	* go-lang.c (union lang_tree_node): Check for TS_COMMON before
1643	calling TREE_CHAIN.
1644
16452011-04-06  Ian Lance Taylor  <iant@google.com>
1646
1647	* go-gcc.cc (if_statement): Use build3_loc.
1648	(Gcc_backend::switch_statement): New function.
1649	(Gcc_backend::statement_list): New function.
1650
16512011-04-06  Ian Lance Taylor  <iant@google.com>
1652
1653	* go-gcc.cc (Gcc_backend::if_statement): New function.
1654	(tree_to_stat): New function.
1655	(expr_to_tree): Renamed from expression_to_tree.
1656	(stat_to_tree): Renamed from statement_to_tree.
1657
16582011-04-06  Ian Lance Taylor  <iant@google.com>
1659
1660	* go-gcc.cc (Gcc_backend::expression_statement): New function.
1661
16622011-04-04  Ian Lance Taylor  <iant@google.com>
1663
1664	* go-gcc.c (class Blabel): Define.
1665	(Gcc_backend::make_expression): New function.
1666	(get_identifier_from_string): New function.
1667	(Gcc_backend::label): New function.
1668	(Gcc_backend::label_definition_statement): New function.
1669	(Gcc_backend::goto_statement): New function.
1670	(Gcc_backend::label_address): New function.
1671	(expression_to_tree): New function.
1672	* Make-lang.in (go/expressions.o): Depend on
1673	go/gofrontend/backend.h.
1674	(go/gogo.o): Likewise.
1675
16762011-04-04  Ian Lance Taylor  <iant@google.com>
1677
1678	* go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h".
1679	(class Bfunction): Define.
1680	(Gcc_backend::assignment_statement): Rename from assignment.
1681	Check for errors.
1682	(Gcc_backend::return_statement): New function.
1683	(tree_to_function): New function.
1684	* Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h,
1685	$(GIMPLE_H), and $(GO_GOGO_H).
1686
16872011-04-03  Ian Lance Taylor  <iant@google.com>
1688
1689	* go-gcc.cc: New file.
1690	* Make-lang.in (GO_OBJS): Add go/go-gcc.o.
1691	(go/go-gcc.o): New target.
1692	(go/go.o): Depend on go/gofrontend/backend.h.
1693	(go/statements.o): Likewise.
1694
16952011-02-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1696
1697	* gccgo.texi (Top, Import and Export): Fix a typo and a markup nit.
1698
16992011-02-08  Ian Lance Taylor  <iant@google.com>
1700
1701	* go-lang.c (go_langhook_init_options_struct): Set
1702	frontend_set_flag_errno_math.  Don't set x_flag_trapping_math.
1703
17042011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1705
1706	* gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
1707	LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
1708
17092011-01-21  Ian Lance Taylor  <iant@google.com>
1710
1711	* go-lang.c (go_langhook_init): Omit float_type_size when calling
1712	go_create_gogo.
1713	* go-c.h: Update declaration of go_create_gogo.
1714
17152011-01-13  Ian Lance Taylor  <iant@google.com>
1716
1717	* go-backend.c: Include "rtl.h" and "target.h".
1718	(go_imported_unsafe): New function.
1719	* go-c.h (go_imported_unsafe): Declare.
1720	* Make-lang.in (go/go-backend.o): Depend on $(RTL_H).
1721	(go/gogo-tree.o): Remove dependency on $(RTL_H).
1722	(go/unsafe.o): Depend on $(GO_C_H).
1723
17242010-12-31  Joern Rennecke  <amylaar@spamcop.net>
1725
1726	PR go/47113
1727	* go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
1728	variable ‘field’ .
1729
17302010-12-21  Ian Lance Taylor  <iant@google.com>
1731
1732	* Make-lang.in (check-go): Remove.
1733	(lang_checks_parallelized): Add check-go.
1734	(check_go_parallelize): Set.
1735
17362010-12-13  Ian Lance Taylor  <iant@google.com>
1737
1738	* gospec.c (lang_specific_driver): Add a -o option if not linking
1739	and there is no -o option already.
1740
17412010-12-07  Ian Lance Taylor  <iant@google.com>
1742
1743	PR tree-optimization/46805
1744	PR tree-optimization/46833
1745	* go-lang.c (go_langhook_type_for_mode): Handle vector modes.
1746
17472010-12-06  Ian Lance Taylor  <iant@google.com>
1748
1749	PR other/46789
1750	PR bootstrap/46812
1751	* go-lang.c (go_char_p): Define type and vectors.
1752	(go_search_dirs): New static variable.
1753	(go_langhook_handle_option): Use version and version/machine
1754	directories for -L.
1755	(go_langhook_post_options): Add non-specific -L paths.
1756	* Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and
1757	DEFAULT_TARGET_MACHINE when compiling.
1758	* gccgo.texi (Invoking gccgo): Only document -L for linking.
1759	(Import and Export): Don't mention -L for finding import files.
1760
17612010-12-03  Ian Lance Taylor  <iant@google.com>
1762
1763	PR bootstrap/46776
1764	* go-backend.c: New file.
1765	* go-c.h (go_type_alignment): Declare.
1766	(go_field_alignment, go_trampoline_info): Declare.
1767	* Make-lang.in (GO_OBJS): Add go/go-backend.o.
1768	(go/go-backend.o): New target.
1769	(go/go-lang.o): Make dependencies match source file.
1770	(go/expressions.o): Don't depend on $(TM_H) $(TM_P_H).
1771	(go/gogo-tree.o): Don't depend on $(TM_H).
1772
17732010-12-03  Ian Lance Taylor  <iant@google.com>
1774
1775	* config-lang.in (build_by_default): Set to no.
1776
17772010-12-02  Ian Lance Taylor  <iant@google.com>
1778
1779	Go frontend added to gcc repository.
1780
1781Copyright (C) 2010-2021 Free Software Foundation, Inc.
1782
1783Copying and distribution of this file, with or without modification,
1784are permitted in any medium without royalty provided the copyright
1785notice and this notice are preserved.
1786