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