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