]>
Commit | Line | Data |
---|---|---|
fe37c7af MM |
1 | 2016-04-18 Michael Matz <matz@suse.de> |
2 | ||
3 | * go-gcc.cc (Gcc_backend::implicit_variable): Use SET_DECL_ALIGN. | |
4 | ||
9c582551 JJ |
5 | 2016-02-12 Jakub Jelinek <jakub@redhat.com> |
6 | ||
7 | * gofrontend/lex.cc: Spelling fixes - behaviour -> behavior and | |
8 | neighbour -> neighbor. | |
9 | * gccgo.texi: Likewise. | |
10 | ||
ede67376 ILT |
11 | 2016-01-27 Ian Lance Taylor <iant@google.com> |
12 | ||
13 | * go-lang.c (go_langhook_init_options_struct): Default to | |
14 | -fkeep-gc-roots-live. | |
15 | ||
21fa2a29 JJ |
16 | 2016-01-04 Jakub Jelinek <jakub@redhat.com> |
17 | ||
818ab71a JJ |
18 | Update copyright years. |
19 | ||
21fa2a29 JJ |
20 | * gccgo.texi: Bump @copyrights-go year. |
21 | ||
399f5feb ILT |
22 | 2015-12-21 Ian Lance Taylor <iant@google.com> |
23 | ||
24 | * go-gcc.cc (class Bvariable): Remove Gcc_tree parent class. Add | |
25 | t_ and orig_type_ fields. Add new two parameter constructor. Add | |
26 | get_tree and get_decl methods. | |
27 | (Gcc_backend::var_expression): Pass location to var get_tree. | |
28 | (Gcc_backend::global_variable): Don't add VIEW_CONVERT_EXPR. Use | |
29 | two parameter constructor for Bvariable. | |
30 | (Gcc_backend::global_variable_set_init): Don't remove | |
31 | VIEW_CONVERT_EXPR. Use var get_decl, not get_tree. | |
32 | (Gcc_backend::write_global_definitions): Likewise. | |
33 | (Gcc_backend::init_statement): Call var get_decl, not get_tree. | |
34 | (Gcc_backend::block): Likewise. | |
35 | (Gcc_backend::implicit_variable_set_init): Likewise. | |
36 | (Gcc_backend::immutable_struct_set_init): Likewise. | |
37 | (Gcc_backend::function_set_parameters): Likewise. | |
38 | ||
8fd41e92 ILT |
39 | 2015-12-21 Ian Lance Taylor <iant@google.com> |
40 | ||
41 | * go-gcc.cc (Gcc_backend::global_variable): If type is zero-sized, | |
42 | add a VIEW_CONVERT_EXPR to the tree. | |
43 | (Gcc_backend::global_variable_set_init): Remove any | |
44 | VIEW_CONVERT_EXPR. | |
45 | (Gcc_backend::write_global_definitions): Likewise. | |
46 | ||
6ea98dee ILT |
47 | 2015-11-30 Ian Lance Taylor <iant@google.com> |
48 | ||
49 | PR go/68477 | |
50 | * go-gcc.cc (Gcc_backend::string_constant_expression): Don't set | |
51 | TYPE_STRING_FLAG on a variant type. | |
52 | ||
69f293c9 AM |
53 | 2015-11-11 Andrew MacLeod <amacleod@redhat.com> |
54 | ||
55 | * go-backend.c: Remove unused header files. | |
56 | * go-gcc.cc: Likewise. | |
57 | * go-lang.c: Likewise. | |
58 | * gospec.c: Likewise. | |
59 | ||
2adfab87 AM |
60 | 2015-10-29 Andrew MacLeod <amacleod@redhat.com> |
61 | ||
62 | * go-backend.c: Reorder #include's and remove duplicates. | |
63 | * go-lang.c: Likewise. | |
64 | ||
b2e4c071 AM |
65 | 2015-10-20 Alan Modra <amodra@gmail.com> |
66 | ||
67 | PR go/66870 | |
68 | * gospec.c (saw_opt_m32): Rename to.. | |
69 | (is_m64): ..this, initialised by TARGET_CAN_SPLIT_STACK_64BIT. | |
70 | Update uses. | |
71 | (lang_specific_driver): Set is_m64 if OPT_m64, clear if OPT_m32. | |
72 | ||
209919e2 ILT |
73 | 2015-10-01 Ian Lance Taylor <iant@google.com> |
74 | ||
75 | PR go/66870 | |
76 | * gospec.c (lang_specific_driver): Only look for OPT_m32 if | |
77 | TARGET_CAN_SPLIT_STACK_64BIT is defined. | |
78 | ||
402565b6 LB |
79 | 2015-10-01 Lynn Boger <laboger@linux.vnet.ibm.com> |
80 | ||
81 | PR target/66870 | |
82 | * gospec.c (lang_specific_driver): Set appropriate split stack | |
83 | options for 64 bit compiles based on TARGET_CAN_SPLIT_STACK_64BIT. | |
84 | ||
ec23e5b3 CM |
85 | 2015-09-10 Chris Manghane <cmang@google.com> |
86 | ||
87 | * go-gcc.cc (Gcc_backend::type_size): Return -1 for | |
88 | unrepresentable size. | |
89 | ||
2021ff27 MP |
90 | 2015-08-24 Marek Polacek <polacek@redhat.com> |
91 | ||
92 | PR tree-optimization/67284 | |
93 | * go-gcc.cc (Gcc_backend::define_builtin): Add NORETURN_P parameter. | |
94 | Set TREE_THIS_VOLATILE. | |
95 | (Gcc_backend::Gcc_backend): Mark __builtin_trap as a noreturn call. | |
96 | Pass false to the rest of define_builtin calls. | |
97 | ||
cb3306e5 AS |
98 | 2015-07-31 Andreas Schwab <schwab@linux-m68k.org> |
99 | ||
100 | * go-lang.c (go_langhook_init_options_struct): Don't set | |
101 | x_flag_split_stack. | |
102 | (go_langhook_post_options): Set it here instead. | |
103 | ||
026c3cfd AH |
104 | 2015-07-12 Aldy Hernandez <aldyh@redhat.com> |
105 | ||
106 | * gofrontend/backend.h: Fix double word typos. | |
107 | * gofrontend/expressions.cc: Same. | |
108 | * gospec.c: Same. | |
109 | ||
c7131fb2 AM |
110 | 2015-07-07 Andrew MacLeod <amacleod@redhat.com> |
111 | ||
112 | * go-backend.c: Adjust includes. | |
113 | * go-gcc.cc: Likewise. | |
114 | * go-lang.c: Likewise. | |
115 | ||
f0889939 AM |
116 | 2015-06-25 Andrew MacLeod <amacleod@redhat.com> |
117 | ||
118 | * go-gcc.cc: Remove ipa-ref.h and plugin-api.h from include list. | |
119 | ||
abb226c9 AM |
120 | 2015-06-17 Andrew MacLeod <amacleod@redhat.com> |
121 | ||
122 | * go-backend.c: Do not include input.h, line-map.h or is-a.h. | |
123 | * go-gcc.cc: Likewise. | |
124 | * go-lang.c: Likewise. | |
125 | * go-system.h: Likewise. | |
126 | ||
13fdf2e2 AM |
127 | 2015-06-08 Andrew MacLeod <amacleod@redhat.com> |
128 | ||
129 | * go-backend.c : Adjust include files. | |
130 | * go-gcc.cc : Likewise. | |
131 | * go-lang.c : Likewise. | |
132 | ||
d7438551 AH |
133 | 2015-06-05 Aldy Hernandez <aldyh@redhat.com> |
134 | ||
135 | * go-gcc.cc (write_global_definitions): Remove call to | |
136 | finalize_compilation_unit. | |
137 | Remove Go specific debug generation. | |
138 | * go-lang.c (go_langhook_parse_file): Call go_write_globals. | |
139 | (go_langhook_write_globals): Remove. | |
140 | Remove LANG_HOOKS_WRITE_GLOBALS everywhere. | |
141 | ||
ecb9f223 AM |
142 | 2015-06-04 Andrew MacLeod <amacleod@redhat.com> |
143 | ||
144 | * go-backend.c: Adjust includes for restructured coretypes.h. | |
145 | * go-c.h: Likewise. | |
146 | * go-gcc.cc: Likewise. | |
147 | * go-lang.c: Likewise. | |
148 | ||
4f576c83 CM |
149 | 2015-04-30 Chris Manghane <cmang@google.com> |
150 | ||
151 | * go-gcc.cc (Gcc_backend::stack_allocation_expression): New | |
152 | method. | |
153 | ||
46bf0b0a JW |
154 | 2015-04-27 Jim Wilson <jim.wilson@linaro.org> |
155 | ||
156 | * Make-lang.in (go.mostlyclean): Remove gccgo, gccgo-cross, and go1. | |
157 | ||
b496063d CM |
158 | 2015-04-17 Chris Manghane <cmang@google.com> |
159 | ||
160 | * Make-lang.in (GO_OBJS): Add go/escape.o. | |
161 | ||
18fbd1ec ILT |
162 | 2015-02-02 Ian Lance Taylor <iant@google.com> |
163 | ||
164 | PR go/64836 | |
165 | PR go/64838 | |
166 | * go-gcc.cc (Gcc_backend::type_size): Change return type to | |
167 | int64_t. | |
168 | (Gcc_backend::type_alignment): Likewise. | |
169 | (Gcc_backend::type_field_alignment): Likewise. | |
170 | (Gcc_backend::type_field_offset): Likewise. | |
171 | (Gcc_backend::implicit_variable): Change alignment parameter type | |
172 | to int64_t. | |
173 | ||
1aaecd3b ILT |
174 | 2015-01-23 Ian Lance Taylor <iant@google.com> |
175 | ||
176 | PR go/63565 | |
177 | * gccgo.texi (Invoking gccgo): Mention that Go programs should not | |
178 | be stripped. | |
179 | ||
180 | * gccgo.texi (C Interoperability): Mention that people should use | |
181 | cgo. | |
182 | ||
818424b2 ILT |
183 | 2015-01-23 Ian Lance Taylor <iant@google.com> |
184 | ||
185 | PR go/64595 | |
186 | * go-lang.c (go_langhook_init_options_struct): Set default | |
187 | debug_info_level. | |
188 | (go_langhook_post_options): If debug_info_level is still the | |
189 | default, make sure write_symbols is set. | |
190 | * gccgo.texi (Invoking gccgo): Document that -g1 is the default. | |
191 | ||
38bf819a RH |
192 | 2015-01-16 Richard Henderson <rth@redhat.com> |
193 | ||
194 | * go-gcc.cc (Gcc_backend::call_expression): Add chain_expr argument. | |
195 | (Gcc_backend::static_chain_variable): New method. | |
196 | ||
bf1de3f0 ILT |
197 | 2015-01-09 Ian Lance Taylor <iant@google.com> |
198 | ||
199 | * config-lang.in (lang_dirs): Define. | |
200 | ||
adfac8df JJ |
201 | 2015-01-09 Michael Collison <michael.collison@linaro.org> |
202 | ||
203 | * go-gcc.cc: Include hash-set.h, machmode.h, vec.h, double-int.h, | |
204 | input.h, alias.h, symtab.h, options.h, fold-const.h, | |
205 | wide-int.h, and inchash.h due to flattening of tree.h. | |
206 | * go-lang.c: Ditto. | |
207 | * go-backend.c: Ditto. | |
208 | ||
dd373780 CM |
209 | 2015-01-07 Chris Manghane <cmang@google.com> |
210 | ||
211 | PR go/61204 | |
212 | * go-gcc.cc (Gcc_backend::temporary_variable): Don't initialize | |
213 | zero-sized variable. | |
214 | ||
861393ac CM |
215 | 2015-01-06 Chris Manghane <cmang@google.com> |
216 | ||
dd373780 CM |
217 | * go-gcc.cc (Gcc_backend::constructor_expression): Don't |
218 | initialize zero-sized fields, just evaluate the values for side | |
219 | effects. | |
861393ac | 220 | |
b67cd4e3 JJ |
221 | 2015-01-05 Jakub Jelinek <jakub@redhat.com> |
222 | ||
5624e564 JJ |
223 | Update copyright years. |
224 | ||
b67cd4e3 JJ |
225 | * gccgo.texi: Bump @copyrights-go year. |
226 | ||
943cf9cf CM |
227 | 2014-12-19 Chris Manghane <cmang@google.com> |
228 | ||
dd373780 CM |
229 | * go-gcc.cc (Gcc_backend::array_constructor_expression): Don't |
230 | construct arrays of zero-sized values. | |
943cf9cf | 231 | |
ef4bddc2 RS |
232 | 2014-10-29 Richard Sandiford <richard.sandiford@arm.com> |
233 | ||
234 | * go-lang.c: Remove redundant enum from machine_mode. | |
235 | ||
c582198b AM |
236 | 2014-10-28 Andrew MacLeod <amacleod@redhat.com> |
237 | ||
238 | * go-gcc.cc: Adjust include files. | |
239 | ||
60393bbc AM |
240 | 2014-10-27 Andrew MacLeod <amacleod@redhat.com> |
241 | ||
242 | * go-gcc.cc: Adjust include files. | |
243 | * go-lang.c: Ditto. | |
244 | ||
5eda5bad ILT |
245 | 2014-10-23 Ian Lance Taylor <iant@google.com> |
246 | ||
247 | * go-gcc.cc (Gcc_backend::complex_constant_expression): Take one | |
248 | mpc_t parameter instead of two mpfr_t parameters. | |
249 | ||
717c4789 JJ |
250 | 2014-09-15 Jakub Jelinek <jakub@redhat.com> |
251 | ||
252 | * Make-lang.in (check_go_parallelize): Change to just an upper bound | |
253 | number. | |
254 | ||
f1d2ac4f CM |
255 | 2014-09-03 Chris Manghane <cmang@google.com> |
256 | ||
257 | * go-gcc.cc (Gcc_backend::implicit_variable): Remove init | |
258 | parameter. Add is_hidden parameter. | |
259 | (Gcc_backend::implicit_variable_set_init): New method. | |
260 | (Gcc_backend::implicit_variable_reference): New method. | |
261 | ||
ff09769f ILT |
262 | 2014-08-08 Ian Lance Taylor <iant@google.com> |
263 | ||
264 | * go-gcc.cc (Gcc_backend::compound_statement): Don't return | |
265 | NULL_TREE. | |
266 | ||
0ffc395f UB |
267 | 2014-07-24 Uros Bizjak <ubizjak@gmail.com> |
268 | ||
269 | * go-gcc.cc (Gcc_backend::global_variable_set_init): Rename | |
270 | symtab_get_node to symtab_node::get. | |
271 | ||
bbeaf05d ILT |
272 | 2014-06-13 Ian Lance Taylor <iant@google.com> |
273 | ||
274 | PR go/61496 | |
275 | * gospec.c (lang_specific_driver): On Solaris, when not using GNU | |
276 | ld, add -t option to avoid warning about common symbol changing | |
277 | size. | |
278 | ||
e257a17c JH |
279 | 2014-06-10 Jan Hubicka <hubicka@ucw.cz> |
280 | ||
0ffc395f | 281 | * go-gcc.cc (Gcc_backend::global_variable_set_init): Use |
e257a17c JH |
282 | symtab_get_node(var_decl)->implicit_section. |
283 | ||
24d047a3 JH |
284 | 2014-06-07 Jan Hubicka <hubicka@ucw.cz> |
285 | ||
286 | * go-gcc.cc (global_variable_set_init): Use | |
287 | set_decl_section_name. | |
288 | ||
bae90c98 ILT |
289 | 2014-06-04 Ian Lance Taylor <iant@google.com> |
290 | ||
291 | * go-gcc.cc (Gcc_backend::implicit_variable): Add is_common and | |
292 | alignment parameters. Permit init parameter to be NULL. | |
293 | ||
9b2b7279 AM |
294 | 2014-06-02 Andrew MacLeod <amacleod@redhat.com> |
295 | ||
296 | * go-gcc.cc: Include builtins.h. | |
297 | ||
766090c2 TS |
298 | 2014-05-17 Trevor Saunders <tsaunders@mozilla.com> |
299 | ||
300 | * go-lang.c (struct GTY): Don't use variable_size gty attribute. | |
301 | ||
6f7e0b57 CM |
302 | 2014-05-06 Chris Manghane <cmang@google.com> |
303 | ||
304 | * go-gcc.cc (Gcc_backend::nil_pointer_expression): New method. | |
305 | (Gcc_backend::boolean_constant_expression): New method. | |
306 | (Gcc_backend::zero_expression): Use this->make_expression rather | |
307 | than tree_to_expr. | |
308 | (Gcc_backend::var_expression): Likewise. | |
309 | (Gcc_backend::integer_constant_expression): Likewise. | |
310 | (Gcc_backend::float_constant_expression): Likewise. | |
311 | (Gcc_backend::complex_constant_expression): Likewise. | |
312 | (Gcc_backend::struct_field_expression): Likewise. | |
313 | (tree_to_type, tree_to_expr, tree_to_stat): Remove functions. | |
314 | (tree_to_function, tree_to_block): Remove functions. | |
315 | (type_to_tree, expr_to_tree, stat_to_tree): Remove functions. | |
316 | (block_to_tree, var_to_tree, function_to_tree): Remove functions. | |
317 | ||
1d60af08 KZ |
318 | 2014-05-06 Kenneth Zadeck <zadeck@naturalbridge.com> |
319 | Mike Stump <mikestump@comcast.net> | |
320 | Richard Sandiford <rdsandiford@googlemail.com> | |
321 | ||
322 | * go-gcc.cc (Gcc_backend::type_size): Use tree_fits_uhwi_p. | |
323 | ||
6122336c CM |
324 | 2014-05-06 Chris Manghane <cmang@google.com> |
325 | ||
326 | * go-c.h (go_create_gogo): Update declaration to add | |
327 | check_divide_zero and check_divide_overflow parameters. | |
328 | * go-lang.c (go_langhook_init): Pass new arguments to | |
329 | go_create_gogo. | |
330 | ||
fb930306 CM |
331 | 2014-05-05 Chris Manghane <cmang@google.com> |
332 | ||
333 | * go-gcc.cc (Gcc_backend::implicit_variable): Rename from | |
334 | gc_root_variable. Add name and is_constant parameters. | |
335 | ||
3e7b0938 CM |
336 | 2014-05-05 Chris Manghane <cmang@google.com> |
337 | ||
338 | * go-gcc.cc (Gcc_backend::indirect_expression): Add btype | |
339 | parameter. | |
340 | (Gcc_backend::temporary_variable): Check for erroneous function. | |
341 | ||
d2d9bc36 CM |
342 | 2014-04-30 Chris Manghane <cmang@google.com> |
343 | ||
344 | * go-backend.c: #include "diagnostics.h". | |
345 | (saw_errors): New function. | |
346 | * go-c.h (saw_errors): Declare. | |
347 | * Make-lang.in (GO_OBJS): Remove go/gogo-tree.o. | |
348 | ||
ad5b68e0 CM |
349 | 2014-04-30 Chris Manghane <cmang@google.com> |
350 | ||
351 | * go-lang.c (go_langhook_type_for_size): Do it here, rather than | |
352 | calling into Go frontend. | |
353 | (go_langhook_type_for_mode): Likewise. | |
354 | * go-c.h (go_type_for_size, go_type_for_mode): Don't declare. | |
355 | ||
90cbaa29 CM |
356 | 2014-04-30 Chris Manghane <cmang@google.com> |
357 | ||
358 | * go-gcc.cc: #include "langhooks.h". | |
359 | (Gcc_backend::Gcc_backend): Add constructor. | |
360 | (Gcc_backend::lookup_function): New function. | |
361 | (Gcc_backend::define_builtin): New private function. | |
362 | (Gcc_backend::gcc_backend): Remove. | |
363 | (go_get_backend): Use new to create new Gcc_backend. | |
364 | ||
036165d8 CM |
365 | 2014-04-25 Chris Manghane <cmang@google.com> |
366 | ||
367 | * go-gcc.cc: Include "cgraph.h" and "gimplify.h". | |
368 | (Gcc_backend::return_statement): Push and pop function. | |
369 | (Gcc_backend::label): Likewise. | |
370 | (Gcc_backend::function_defer_statement): Likewise. | |
371 | (Gcc_backend::switch_statement): Add function parameter. | |
372 | (Gcc_backend::block): Don't permit function to be NULL. | |
373 | (Gcc_backend::temporary_variable): Change go_assert to | |
374 | gcc_assert. | |
375 | (Gcc_backend::gc_root_variable): New function. | |
376 | (Gcc_backend::write_global_definitions): New function. | |
377 | ||
aa492920 CM |
378 | 2014-04-22 Chris Manghane <cmang@google.com> |
379 | ||
380 | * go-gcc.cc (Gcc_backend::temporary_variable): Push cfun around | |
381 | call to create_tmp_var. Require that function be non-NULL. | |
382 | ||
e85baec7 CM |
383 | 2014-04-17 Chris Manghane <cmang@google.com> |
384 | ||
385 | * go-gcc.cc (Gcc_backend::named_constant_expression): New | |
386 | function. | |
387 | ||
7035307e CM |
388 | 2014-04-14 Chris Manghane <cmang@google.com> |
389 | ||
390 | * go-gcc.cc: Include "convert.h". | |
391 | (Gcc_backend::string_constant_expression): New function. | |
392 | (Gcc_backend::real_part_expression): Likewise. | |
393 | (Gcc_backend::imag_part_expression): Likewise. | |
394 | (Gcc_backend::complex_expression): Likewise. | |
395 | (Gcc_backend::constructor_expression): Likewise. | |
396 | (Gcc_backend::array_constructor_expression): Likewise. | |
397 | (Gcc_backend::pointer_offset_expression): Likewise. | |
398 | (Gcc_backend::array_index_expression): Likewise. | |
399 | (Gcc_backend::call_expression): Likewise. | |
400 | (Gcc_backend::exception_handler_statement): Likewise. | |
401 | (Gcc_backend::function_defer_statement): Likewise. | |
402 | (Gcc_backend::function_set_parameters): Likewise. | |
403 | (Gcc_backend::function_set_body): Likewise. | |
404 | (Gcc_backend::convert_expression): Handle various type | |
405 | conversions. | |
406 | ||
915182a0 ILT |
407 | 2014-03-03 Ian Lance Taylor <iant@google.com> |
408 | ||
409 | * go-gcc.cc (Gcc_backend::immutable_struct): If IS_COMMON, set | |
410 | DECL_WEAK. | |
411 | (GCC_backend::immutable_struct_set_init): If IS_COMMON, clear | |
412 | DECL_WEAK. | |
413 | ||
8a35e18d CM |
414 | 2014-01-24 Chris Manghane <cmang@google.com> |
415 | ||
416 | * go-gcc.cc (Gcc_backend::unary_expression): New function. | |
417 | ||
b5407ad1 CM |
418 | 2014-01-16 Chris Manghane <cmang@google.com> |
419 | ||
420 | * go-gcc.cc (Gcc_backend::conditional_expression): Add btype | |
421 | parameter. | |
422 | (operator_to_tree_code): New static function. | |
423 | (Gcc_backend::binary_expression): New function. | |
424 | ||
eb6eb862 CM |
425 | 2014-01-14 Chris Manghane <cmang@google.com> |
426 | ||
427 | * go-gcc.cc (Gcc_backend::compound_expression): New function. | |
428 | (Gcc_backend::conditional_expression): New function. | |
429 | ||
23a5b65a RS |
430 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
431 | ||
432 | Update copyright years | |
433 | ||
98db73df | 434 | 2014-01-02 Tobias Burnus <burnus@net-b.de> |
71eba7a0 | 435 | |
0ffc0b3b JJ |
436 | * gccgo.texi: Bump @copying's copyright year. |
437 | ||
438 | 2013-12-16 Chris Manghane <cmang@google.com> | |
439 | ||
440 | * go-gcc.cc (Gcc_backend::struct_field_expression): New function. | |
441 | ||
442 | 2013-12-11 Ian Lance Taylor <iant@google.com> | |
443 | ||
444 | * go-lang.c (go_langhook_post_options): Disable sibling calls by | |
445 | default. | |
446 | ||
447 | 2013-12-10 Ian Lance Taylor <iant@google.com> | |
448 | ||
449 | * Make-lang.in (check_go_parallelize): Test go-test.exp r* tests | |
450 | separately. | |
451 | ||
452 | 2013-12-05 Ian Lance Taylor <iant@google.com> | |
453 | ||
454 | Revert this change; no longer required. | |
455 | 2013-11-06 Ian Lance Taylor <iant@google.com> | |
456 | ||
457 | * go-lang.c (go_langhook_post_options): If | |
458 | -fisolate-erroneous-paths was turned on by an optimization option, | |
459 | turn it off. | |
460 | ||
461 | 2013-11-23 Ian Lance Taylor <iant@google.com> | |
462 | ||
463 | * go-gcc.cc (Gcc_backend::function_type): Add result_struct | |
464 | parameter. | |
465 | ||
466 | 2013-11-22 Andrew MacLeod <amacleod@redhat.com> | |
467 | ||
468 | * go-gcc.cc: Add required include files from gimple.h. | |
469 | * go-lang.c: Likewise | |
470 | ||
471 | 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com> | |
472 | ||
473 | * gofrontend/expressions.cc: Replace tree_low_cst (..., 0) with | |
474 | tree_to_shwi throughout. | |
475 | ||
476 | 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com> | |
477 | ||
478 | * gofrontend/expressions.cc: Replace host_integerp (..., 0) with | |
479 | tree_fits_shwi_p throughout. | |
480 | ||
481 | 2013-11-14 Andrew MacLeod <amacleod@redhat.com> | |
482 | ||
483 | * go-lang.c: Include only gimplify.h and gimple.h as needed. | |
484 | ||
485 | 2013-11-14 Diego Novillo <dnovillo@google.com> | |
486 | ||
487 | * go-backend.c: Include stor-layout.h. | |
488 | * go-gcc.cc: Include stringpool.h. | |
489 | Include stor-layout.h. | |
490 | Include varasm.h. | |
491 | * go-lang.c: Include stor-layout.h. | |
492 | ||
493 | 2013-11-12 Andrew MacLeod <amacleod@redhat.com> | |
494 | ||
495 | * go-lang.c: Include gimplify.h. | |
496 | ||
497 | 2013-11-06 Ian Lance Taylor <iant@google.com> | |
498 | ||
499 | * go-lang.c (go_langhook_post_options): If | |
500 | -fisolate-erroneous-paths was turned on by an optimization option, | |
501 | turn it off. | |
502 | ||
503 | 2013-10-14 Chris Manghane <cmang@google.com> | |
504 | ||
505 | * go-gcc.cc (Gcc_backend::address_expression): New function. | |
506 | ||
507 | 2013-10-11 Chris Manghane <cmang@google.com> | |
508 | ||
509 | * go-gcc.cc (Gcc_backend::function_code_expression): New | |
510 | function. | |
511 | ||
512 | 2013-10-10 Chris Manghane <cmang@google.com> | |
513 | ||
514 | * go-gcc.cc (Gcc_backend::error_function): New function. | |
515 | (Gcc_backend::function): New function. | |
516 | (Gcc_backend::make_function): New function. | |
517 | (function_to_tree): New function. | |
518 | ||
519 | 2013-10-04 Chris Manghane <cmang@google.com> | |
520 | ||
521 | * go-gcc.cc (Gcc_backend::convert_expression): New function. | |
522 | ||
523 | 2013-10-02 Chris Manghane <cmang@google.com> | |
524 | ||
525 | * go-gcc.cc: Include "real.h" and "realmpfr.h". | |
526 | (Gcc_backend::integer_constant_expression): New function. | |
527 | (Gcc_backend::float_constant_expression): New function. | |
528 | (Gcc_backend::complex_constant_expression): New function. | |
529 | ||
530 | 2013-09-30 Chris Manghane <cmang@google.com> | |
531 | ||
532 | * go-gcc.cc (Gcc_backend::error_expression): New function. | |
533 | (Gcc_backend::var_expression): New function. | |
534 | (Gcc_backend::indirect_expression): New function. | |
535 | ||
536 | 2013-09-25 Tom Tromey <tromey@redhat.com> | |
537 | ||
538 | * Make-lang.in (gospec.o): Remove. | |
539 | (CFLAGS-go/gospec.o): New variable. | |
540 | (GCCGO_OBJS): Update to use go/gospec.o. | |
541 | (go_OBJS): Define. | |
542 | (GO_SYSTEM_H, GO_C_H, GO_LINEMAP_H, GO_LEX_H, GO_PARSE_H) | |
543 | (GO_GOGO_H, GO_TYPES_H, GO_STATEMENTS_H, GO_EXPRESSIONS_H) | |
544 | (GO_EXPORT_H, GO_IMPORT_H, GO_RUNTIME_H, GO_AST_DUMP_H) | |
545 | (go/go-backend.o, go/go-lang.o, go/go-gcc.o, go/go-linemap.o) | |
546 | (go/ast-dump.o, go/dataflow.o, go/export.o, go/expressions.o) | |
547 | (go/go.o, go/go-dump.o, go/go-optimize.o, go/gogo-tree.o) | |
548 | (go/gogo.o, go/import.o, go/import-archive.o, go/lex.o) | |
549 | (go/parse.o, go/runtime.o, go/statements.o, go/types.o) | |
550 | (go/unsafe.o): Remove. | |
551 | (CFLAGS-go/go-gcc.o, CFLAGS-go/go-linemap.o): New variables. | |
552 | (go/%.o: go/gofrontend/%.cc): Use COMPILE and POSTCOMPILE. | |
553 | ||
554 | 2013-09-25 Tom Tromey <tromey@redhat.com> | |
555 | ||
556 | * Make-lang.in (gospec.o): Don't use subshell. | |
557 | ||
558 | 2013-08-28 Ian Lance Taylor <iant@google.com> | |
559 | ||
560 | * go-gcc.cc (Gcc_backend::immutable_struct): Set TREE_PUBLIC if | |
561 | the struct is not hidden. | |
562 | (Gcc_backend::immutable_struct_set_init): Don't set TREE_PUBLIC. | |
563 | ||
564 | 2013-08-06 Ian Lance Taylor <iant@google.com> | |
565 | ||
566 | * go-gcc.cc (Gcc_backend::immutable_struct_set_init): Use | |
567 | compute_reloc_for_constant. | |
568 | ||
569 | 2013-08-02 Ian Lance Taylor <iant@google.com> | |
570 | ||
571 | * go-gcc.cc (immutable_struct_set_init): Always call | |
572 | resolve_unique_section. | |
573 | ||
574 | 2013-07-24 Ian Lance Taylor <iant@google.com> | |
575 | ||
576 | * go-gcc.cc (Gcc_backend::non_zero_size_type): If a struct has a | |
577 | fields, recreate those fields with the first one with a non-zero | |
578 | size. | |
579 | ||
580 | 2013-07-23 Ian Lance Taylor <iant@google.com> | |
581 | ||
582 | * go-backend.c: Don't #include "rtl.h". | |
583 | (go_imported_unsafe): Don't call init_varasm_once. | |
584 | * Make-lang.in (go/go-backend.o): Don't depend on $(RTL_H). | |
585 | ||
586 | 2013-07-23 Ian Lance Taylor <iant@google.com> | |
587 | ||
588 | * go-lang.c: Don't #include "except.h". | |
589 | * Make-lang.in (go/go-lang.o): Don't depend on $(EXCEPT_H). | |
590 | ||
591 | 2013-06-18 Ian Lance Taylor <iant@google.com> | |
592 | ||
593 | * go-gcc.cc (Gcc_backend::immutable_struct): Add is_hidden | |
594 | parameter. | |
595 | (Gcc_backend::immutable_struct_set_init): Likewise. | |
596 | ||
597 | 2013-05-16 Jason Merrill <jason@redhat.com> | |
598 | ||
599 | * Make-lang.in (go1$(exeext)): Use link mutex. | |
600 | ||
601 | 2013-01-16 Shenghou Ma <minux.ma@gmail.com> | |
602 | ||
603 | * gospec.c: pass -u pthread_create to linker when static linking. | |
604 | ||
605 | 2012-12-21 Ian Lance Taylor <iant@google.com> | |
606 | ||
607 | PR bootstrap/54659 | |
608 | * go-system.h: Don't include <cstdio>. | |
609 | ||
610 | 2012-12-18 Ian Lance Taylor <iant@google.com> | |
611 | ||
612 | PR go/55201 | |
613 | * gospec.c: Revert last patch. | |
614 | ||
615 | 2012-12-18 Andreas Schwab <schwab@linux-m68k.org> | |
616 | ||
617 | PR go/55201 | |
618 | * gospec.c (LIBATOMIC): Define. | |
619 | (LIBATOMIC_PROFILE): Define. | |
620 | (lang_specific_driver): Add LIBATOMIC[_PROFILE] option. | |
621 | ||
622 | 2012-11-29 Ian Lance Taylor <iant@google.com> | |
623 | ||
624 | * go-gcc.cc: Include "output.h". | |
625 | (global_variable): Add is_unique_section parameter. | |
626 | (global_variable_set_init): Adjust unique section if necessary. | |
627 | * Make-lang.in (go/go-gcc.o): Add dependency on output.h. | |
628 | ||
629 | 2012-11-17 Diego Novillo <dnovillo@google.com> | |
630 | ||
631 | Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec) | |
632 | ||
633 | * go-lang.c: Use new vec API in vec.h. | |
634 | ||
635 | 2012-11-16 Ian Lance Taylor <iant@google.com> | |
636 | ||
637 | * Make-lang.in (gccgo$(exeext)): Add + at start of command. | |
638 | (go1$(exeext)): Likewise. | |
639 | ||
640 | 2012-10-30 Ian Lance Taylor <iant@google.com> | |
641 | ||
642 | * lang.opt (-fgo-relative-import-path): New option. | |
643 | * go-lang.c (go_relative_import_path): New static variable. | |
644 | (go_langhook_init): Pass go_relative_import_path to | |
645 | go_create_gogo. | |
646 | (go_langhook_handle_option): Handle -fgo-relative-import-path. | |
647 | * go-c.h (go_create_gogo): Update declaration. | |
648 | * gccgo.texi (Invoking gccgo): Document | |
649 | -fgo-relative-import-path. | |
650 | ||
651 | 2012-09-17 Ian Lance Taylor <iant@google.com> | |
652 | ||
653 | * config-lang.in (target_libs): Add target-libbacktrace. | |
654 | ||
655 | 2012-09-16 Ian Lance Taylor <iant@google.com> | |
656 | ||
657 | * Make-lang.in (go/gogo.o): Depend on filenames.h. | |
658 | ||
659 | 2012-08-14 Diego Novillo <dnovillo@google.com> | |
660 | ||
661 | Merge from cxx-conversion branch. Configury. | |
662 | ||
663 | * go-c.h: Remove all handlers of ENABLE_BUILD_WITH_CXX. | |
664 | * go-gcc.cc: Likewise. | |
665 | * go-system.h: Likewise. | |
666 | ||
667 | 2012-07-24 Uros Bizjak <ubizjak@gmail.com> | |
668 | ||
669 | * go-lang.c (lang_decl): Add variable_size GTY option. | |
670 | ||
671 | 2012-05-09 Ian Lance Taylor <iant@google.com> | |
672 | ||
673 | * lang.opt: Add -fgo-pkgpath. | |
674 | * go-lang.c (go_pkgpath): New static variable. | |
675 | (go_prefix): New static variable. | |
676 | (go_langhook_init): Pass go_pkgpath and go_prefix to | |
677 | go_create_gogo. | |
678 | (go_langhook_handle_option): Handle -fgo-pkgpath. Change | |
679 | -fgo-prefix handling to just set go_prefix. | |
680 | * go-c.h (go_set_prefix): Don't declare. | |
681 | (go_create_gogo): Add pkgpath and prefix to declaration. | |
682 | * go-gcc.cc (Gcc_backend::global_variable): Change unique_prefix | |
683 | to pkgpath. Don't include the package name in the asm name. | |
684 | * gccgo.texi (Invoking gccgo): Document -fgo-pkgpath. Update the | |
685 | docs for -fgo-prefix. | |
686 | ||
687 | 2012-04-23 Ian Lance Taylor <iant@google.com> | |
688 | ||
689 | * go-lang.c (go_langhook_init): Set MPFR precision to 256. | |
690 | ||
691 | 2012-04-20 Ian Lance Taylor <iant@google.com> | |
692 | ||
693 | * lang.opt: Add -fgo-check-divide-zero and | |
694 | -fgo-check-divide-overflow. | |
695 | * gccgo.texi (Invoking gccgo): Document new options. | |
696 | ||
697 | 2012-04-18 Steven Bosscher <steven@gcc.gnu.org> | |
698 | ||
699 | * go-gcc.cc (Gcc_backend::switch_statement): Build SWITCH_EXPR | |
700 | with NULL_TREE type instead of void_type_node. | |
701 | ||
702 | 2012-03-09 Ian Lance Taylor <iant@google.com> | |
703 | ||
704 | * go-gcc.cc (Gcc_backend::assignment_statement): Convert the rhs | |
705 | to the lhs type if necessary. | |
706 | ||
707 | 2012-03-08 Ian Lance Taylor <iant@google.com> | |
708 | ||
709 | * go-gcc.cc (Gcc_backend::init_statement): Don't initialize a | |
710 | zero-sized variable. | |
711 | (go_non_zero_struct): New global variable. | |
712 | (Gcc_backend::non_zero_size_type): New function. | |
713 | (Gcc_backend::global_variable): Don't build an assignment for a | |
714 | zero-sized value. | |
715 | * go-c.h (go_non_zero_struct): Declare. | |
716 | * config-lang.in (gtfiles): Add go-c.h. | |
717 | ||
718 | 2012-02-29 Ian Lance Taylor <iant@google.com> | |
719 | ||
720 | * go-gcc.cc (class Gcc_tree): Add set_tree method. | |
721 | (set_placeholder_pointer_type): When setting to a pointer to | |
722 | error, set to error_mark_node. | |
723 | ||
724 | 2012-02-23 Richard Guenther <rguenther@suse.de> | |
725 | ||
726 | * go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use | |
727 | build_distinct_type_copy. | |
728 | ||
729 | 2012-02-17 Ian Lance Taylor <iant@google.com> | |
730 | ||
731 | * Make-lang.in (go/import.o): Add dependency on $(GO_LEX_H). | |
732 | ||
733 | 2012-02-17 Ian Lance Taylor <iant@google.com> | |
734 | ||
735 | * gospec.c (lang_specific_driver): If linking, and no -o option | |
736 | was used, add one. | |
737 | ||
738 | 2012-02-14 Ian Lance Taylor <iant@google.com> | |
739 | ||
740 | PR go/48411 | |
741 | * Make-lang.in (gccgo-cross$(exeext)): New target. | |
742 | (go.all.cross): Depend on gccgo-cross$(exeext) instead of | |
743 | gccgo$(exeext). | |
744 | (go.install-common): Only install GCCGO_TARGET_INSTALL_NAME if | |
745 | gccgo-cross$(exeext) does not exist. | |
746 | ||
747 | 2012-02-07 Ian Lance Taylor <iant@google.com> | |
748 | ||
749 | * gccgo.texi (Function Names): Document //extern instead of | |
750 | __asm__. | |
751 | ||
752 | 2012-02-01 Jakub Jelinek <jakub@redhat.com> | |
753 | ||
754 | PR target/52079 | |
755 | * go-lang.c (go_langhook_type_for_mode): For TImode and 64-bit HWI | |
756 | return build_nonstandard_integer_type result if possible. | |
757 | ||
758 | 2012-01-21 Ian Lance Taylor <iant@google.com> | |
759 | ||
760 | * go-gcc.cc (Gcc_backend::type_size): Check for error_mark_node. | |
761 | (Gcc_backend::type_alignment): Likewise. | |
762 | (Gcc_backend::type_field_alignment): Likewise. | |
763 | (Gcc_backend::type_field_offset): Likewise. | |
764 | ||
765 | 2012-01-20 Ian Lance Taylor <iant@google.com> | |
766 | ||
767 | * go-gcc.cc (Gcc_backend::placeholder_struct_type): Permit name to | |
768 | be empty. | |
769 | (Gcc_backend::set_placeholder_struct_type): Likewise. | |
770 | ||
771 | 2012-01-17 Ian Lance Taylor <iant@google.com> | |
772 | ||
773 | * gospec.c (lang_specific_driver): If we see -S without -o, add -o | |
774 | BASE.s rather than -o BASE.o. | |
775 | ||
776 | 2012-01-11 Ian Lance Taylor <iant@google.com> | |
777 | ||
778 | * go-lang.c (go_langhook_init): Initialize void_list_node before | |
779 | calling go_create_gogo. | |
780 | ||
781 | 2012-01-10 Ian Lance Taylor <iant@google.com> | |
782 | ||
783 | * go-gcc.cc (Gcc_backend::type_size): New function. | |
784 | (Gcc_backend::type_alignment): New function. | |
785 | (Gcc_backend::type_field_alignment): New function. | |
786 | (Gcc_backend::type_field_offset): New function. | |
787 | * go-backend.c (go_type_alignment): Remove. | |
788 | * go-c.h (go_type_alignment): Don't declare. | |
789 | ||
790 | 2011-12-27 Ian Lance Taylor <iant@google.com> | |
791 | ||
792 | * go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Use | |
793 | build_distinct_type_copy rather than build_variant_type_copy. | |
794 | (Gcc_backend::set_placeholder_array_type): Likewise. | |
795 | (Gcc_backend::named_type): Add special handling for builtin | |
796 | basic types. | |
797 | ||
798 | 2011-12-22 Ian Lance Taylor <iant@google.com> | |
799 | ||
800 | * go-gcc.cc (Gcc_backend::set_placeholder_pointer_type): Arrange | |
801 | for the type name to have a DECL_ORIGINAL_TYPE as gcc expects. | |
802 | (Gcc_backend::set_placeholder_struct_type): Likewise. | |
803 | (Gcc_backend::set_placeholder_array_type): Likewise. | |
804 | (Gcc_backend::named_type): Set DECL_ORIGINAL_TYPE. | |
805 | ||
806 | 2011-12-13 Ian Lance Taylor <iant@google.com> | |
807 | ||
808 | * go-backend.c: #include "simple-object.h" and "intl.h". | |
809 | (GO_EXPORT_SEGMENT_NAME): Define if not defined. | |
810 | (GO_EXPORT_SECTION_NAME): Likewise. | |
811 | (go_write_export_data): Use GO_EXPORT_SECTION_NAME. | |
812 | (go_read_export_data): New function. | |
813 | * go-c.h (go_read_export_data): Declare. | |
814 | ||
815 | 2011-11-29 Sanjoy Das <thedigitalangel@gmail.com> | |
816 | Ian Lance Taylor <iant@google.com> | |
817 | ||
818 | * go-location.h: New file. | |
819 | * go-linemap.cc: New file. | |
820 | * go-gcc.cc: Change all uses of source_location to Location. | |
821 | * Make-lang.in (GO_OBJS): Add go/go-linemap.o. | |
822 | (GO_LINEMAP_H): New variable. | |
823 | (GO_LEX_H): Use $(GO_LINEMAP_H). | |
824 | (GO_GOGO_H, GO_TYPES_H, GO_IMPORT_H): Likewise. | |
825 | (go/go-linemap.o): New target. | |
826 | ||
827 | 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
828 | ||
829 | * Make-lang.in (gospec.o): Pass SHLIB instead of SHLIB_LINK. | |
830 | ||
831 | 2011-08-24 Roberto Lublinerman <rluble@gmail.com> | |
832 | ||
833 | * lang.opt: Add fgo-optimize-. | |
834 | * go-lang.c (go_langhook_handle_option): Handle OPT_fgo_optimize. | |
835 | * go-c.h (go_enable_optimize): Declare. | |
836 | * Make-lang.in (GO_OBJS): Add go/go-optimize.o. | |
837 | (GO_EXPORT_H): Define. | |
838 | (GO_IMPORT_H): Add $(GO_EXPORT_H). | |
839 | (GO_AST_DUMP_H): Define. | |
840 | (go/ast-dump.o, go/statements.o): Use GO_AST_DUMP_H. | |
841 | (go/export.o, go/gogo.o, go/import.o): Use GO_EXPORT_H. | |
842 | (go/types.o): Likewise. | |
843 | (go/expressions.o): Use GO_AST_DUMP_H and GO_EXPORT_H. | |
844 | (go/go-optimize.o): New target. | |
845 | ||
846 | 2011-08-24 Joseph Myers <joseph@codesourcery.com> | |
847 | ||
848 | * Make-lang.in (CFLAGS-go/go-lang.o): New. | |
849 | (go/go-lang.o): Remove explicit compilation rule. | |
850 | ||
851 | 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
852 | ||
853 | * Make-lang.in (gccgo$(exeext)): Add $(EXTRA_GCC_LIBS). | |
854 | ||
855 | 2011-08-02 Roberto Lublinerman <rluble@gmail.com> | |
856 | ||
857 | * Make-lang.in (GO_OBJS): Add go/ast-dump.o. | |
858 | (go/ast-dump.o): New target. | |
859 | (go/expressions.o): Depend on go/gofrontend/ast-dump.h. | |
860 | (go/statements.o): Likewise. | |
861 | ||
862 | 2011-07-06 Richard Guenther <rguenther@suse.de> | |
863 | ||
864 | * go-lang.c (go_langhook_init): | |
865 | Merge calls to build_common_tree_nodes and build_common_tree_nodes_2. | |
866 | ||
867 | 2011-06-14 Joseph Myers <joseph@codesourcery.com> | |
868 | ||
869 | * Make-lang.in (go/go-lang.o, go/go-backend.o): Update | |
870 | dependencies. | |
871 | * go-backend.c: Include common/common-target.h. | |
872 | (go_write_export_data): Use targetm_common.have_named_sections. | |
873 | * go-lang.c: Include common/common-target.h. | |
874 | (go_langhook_init_options_struct): Use | |
875 | targetm_common.supports_split_stack. | |
876 | ||
877 | 2011-06-13 Ian Lance Taylor <iant@google.com> | |
878 | ||
879 | * Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H). | |
880 | ||
881 | 2011-06-10 Ian Lance Taylor <iant@google.com> | |
882 | ||
883 | * go-gcc.cc: Include "toplev.h". | |
884 | (Gcc_backend::immutable_struct): New function. | |
885 | (Gcc_backend::immutable_struct_set_init): New function. | |
886 | (Gcc_backend::immutable_struct_reference): New function. | |
887 | * Make-lang.in (go/go-gcc.o): Depend on toplev.h. | |
888 | ||
889 | 2011-06-09 Ian Lance Taylor <iant@google.com> | |
890 | ||
891 | * go-gcc.cc (Gcc_backend::zero_expression): New function. | |
892 | ||
893 | 2011-06-07 Richard Guenther <rguenther@suse.de> | |
894 | ||
895 | * go-lang.c (go_langhook_init): Do not set | |
896 | size_type_node or call set_sizetype. | |
897 | ||
898 | 2011-05-27 Ian Lance Taylor <iant@google.com> | |
899 | ||
900 | * go-backend.c: Include "output.h". | |
901 | (go_write_export_data): New function. | |
902 | * go-c.h (go_write_export_data): Declare. | |
903 | * Make-lang.in (go/go-backend.o): Depend on output.h. | |
904 | (go/export.o): Depend on $(GO_C_H). Do not depend on | |
905 | $(MACHMODE_H), output.h, or $(TARGET_H). | |
906 | ||
907 | 2011-05-24 Joseph Myers <joseph@codesourcery.com> | |
908 | ||
909 | * Make-lang.in (GCCGO_OBJS): Remove prefix.o. | |
910 | (gccgo$(exeext)): Use libcommon-target.a. | |
911 | ||
912 | 2011-05-20 Joseph Myers <joseph@codesourcery.com> | |
913 | ||
914 | * Make-lang.in (GCCGO_OBJS): Remove intl.o and version.o. | |
915 | ||
916 | 2011-05-13 Ian Lance Taylor <iant@google.com> | |
917 | ||
918 | * go-gcc.cc (Gcc_backend::function_type): When building a struct | |
919 | for multiple results, check that all fields types have a size. | |
920 | (Gcc_backend::placeholder_pointer_type): Permit name to be empty. | |
921 | ||
922 | 2011-05-12 Ian Lance Taylor <iant@google.com> | |
923 | ||
924 | * go-gcc.cc (Gcc_backend::local_variable): Add is_address_taken | |
925 | parameter. | |
926 | (Gcc_backend::parameter_variable): Likewise. | |
927 | ||
928 | 2011-05-07 Eric Botcazou <ebotcazou@adacore.com> | |
929 | ||
930 | * go-lang.c (global_bindings_p): Return bool and simplify. | |
931 | ||
932 | 2011-05-05 Nathan Froyd <froydnj@codesourcery.com> | |
933 | ||
934 | * go-gcc.cc (Gcc_backend::switch_statement): Call build_case_label. | |
935 | ||
936 | 2011-05-04 Ian Lance Taylor <iant@google.com> | |
937 | ||
938 | * go-gcc.cc (Gcc_backend::struct_type): Call fill_in_struct. | |
939 | (Gcc_backend::fill_in_struct): New function. | |
940 | (Gcc_backend::array_type): Implement. | |
941 | (Gcc_backend::fill_in_array): New function. | |
942 | (Gcc_backend::placeholder_pointer_type): New function. | |
943 | (Gcc_backend::set_placeholder_pointer_type): New function. | |
944 | (Gcc_backend::set_placeholder_function_type): New function. | |
945 | (Gcc_backend::placeholder_struct_type): New function. | |
946 | (Gcc_backend::set_placeholder_struct_type): New function. | |
947 | (Gcc_backend::placeholder_array_type): New function. | |
948 | (Gcc_backend::set_placeholder_array_type): New function. | |
949 | (Gcc_backend::named_type): New function. | |
950 | (Gcc_backend::circular_pointer_type): New function. | |
951 | (Gcc_backend::is_circular_pointer_type): New function. | |
952 | ||
953 | 2011-04-26 Ian Lance Taylor <iant@google.com> | |
954 | ||
955 | * go-gcc.cc (Gcc_backend::struct_type): Implement. | |
956 | ||
957 | 2011-04-25 Ian Lance Taylor <iant@google.com> | |
958 | ||
959 | * go-gcc.cc (Gcc_backend::error_type): Implement. | |
960 | (Gcc_backend::string_type): Remove. | |
961 | (Gcc_backend::function_type): Change signature and implement. | |
962 | (Gcc_backend::struct_type): Change signature. | |
963 | (Gcc_backend::slice_type, Gcc_backend::map_type): Remove. | |
964 | (Gcc_backend::channel_type, Gcc_backend::interface_type): Remove. | |
965 | (Gcc_backend::pointer_type): Check for error. | |
966 | * Make-lang.in (go/types.o): Depend on go/gofrontend/backend.h. | |
967 | ||
968 | 2011-04-25 Evan Shaw <edsrzf@gmail.com> | |
969 | ||
970 | * go-gcc.c (class Gcc_tree): Make get_tree const. | |
971 | (Gcc_backend::void_type): Implement. | |
972 | (Gcc_backend::bool_type): Implement. | |
973 | (Gcc_backend::integer_type): Implement. | |
974 | (Gcc_backend::float_type): Implement. | |
975 | (Gcc_backend::complex_type): New function. | |
976 | (Gcc_backend::pointer_type): New function. | |
977 | (Gcc_backend::make_type): New function. | |
978 | (type_to_tree): New function. | |
979 | ||
980 | 2011-04-21 Ian Lance Taylor <iant@google.com> | |
981 | ||
982 | * go-system.h (go_assert, go_unreachable): Define. | |
983 | ||
984 | 2011-04-19 Ian Lance Taylor <iant@google.com> | |
985 | ||
986 | * go-system.h: Include "intl.h". | |
987 | * Make-lang.in (GO_SYSTEM_H): Add intl.h. | |
988 | (go/statements.o): Remove dependencies on intl.h $(TREE_H) | |
989 | $(GIMPLE_H) convert.h tree-iterator.h $(TREE_FLOW_H) $(REAL_H). | |
990 | ||
991 | 2011-04-19 Ian Lance Taylor <iant@google.com> | |
992 | ||
993 | * go-gcc.cc (Gcc_backend::temporary_variable): New function. | |
994 | ||
995 | 2011-04-19 Ian Lance Taylor <iant@google.com> | |
996 | ||
997 | * go-gcc.cc (class Bblock): Define. | |
998 | (Gcc_backend::if_statement): Change then_block and else_block to | |
999 | Bblock*. | |
1000 | (Gcc_backend::block): New function. | |
1001 | (Gcc_backend::block_add_statements): New function. | |
1002 | (Gcc_backend::block_statement): New function. | |
1003 | (tree_to_block, block_to_tree): New functions. | |
1004 | ||
1005 | 2011-04-18 Ian Lance Taylor <iant@google.com> | |
1006 | ||
1007 | * go-gcc.cc: Include "go-c.h". | |
1008 | (class Bvariable): Define. | |
1009 | (Gcc_backend::init_statement): New function. | |
1010 | (Gcc_backend::global_variable): New function. | |
1011 | (Gcc_backend::global_variable_set_init): New function. | |
1012 | (Gcc_backend::local_variable): New function. | |
1013 | (Gcc_backend::parameter_variable): New function. | |
1014 | (tree_to_type, var_to_tree): New functions. | |
1015 | * Make-lang.in (go/go-gcc.o): Depend on $(GO_C_H). | |
1016 | * (go/gogo-tree.o): Depend on go/gofrontend/backend.h. | |
1017 | ||
1018 | 2011-04-15 Ian Lance Taylor <iant@google.com> | |
1019 | ||
1020 | * go-gcc.cc (Gcc_backend::compound_statement): New function. | |
1021 | (Gcc_backend::assignment_statement): Use error_statement. | |
1022 | (Gcc_backend::return_statement): Likewise. | |
1023 | (Gcc_backend::if_statement): Likewise. | |
1024 | (Gcc_backend::switch_statement): Likewise. | |
1025 | (Gcc_backend::statement_list): Likewise. | |
1026 | ||
1027 | 2011-04-14 Ian Lance Taylor <iant@google.com> | |
1028 | ||
1029 | * go-gcc.cc (Gcc_backend::error_statement): New function. | |
1030 | ||
1031 | 2011-04-13 Ian Lance Taylor <iant@google.com> | |
1032 | ||
1033 | * Make-lang.in (go/gogo-tree.o): depend on $(GO_RUNTIME_H). | |
1034 | ||
1035 | 2011-04-13 Ian Lance Taylor <iant@google.com> | |
1036 | ||
1037 | * Make-lang.in (GO_OBJS): Add go/runtime.o. | |
1038 | (GO_RUNTIME_H): New variable. | |
1039 | (go/runtime.o): New target. | |
1040 | (go/gogo.o): Depend on $(GO_RUNTIME_H). | |
1041 | (go/statements.o): Likewise. | |
1042 | ||
1043 | 2011-04-12 Nathan Froyd <froydnj@codesourcery.com> | |
1044 | ||
1045 | * go-lang.c (union lang_tree_node): Check for TS_COMMON before | |
1046 | calling TREE_CHAIN. | |
1047 | ||
1048 | 2011-04-06 Ian Lance Taylor <iant@google.com> | |
1049 | ||
1050 | * go-gcc.cc (if_statement): Use build3_loc. | |
1051 | (Gcc_backend::switch_statement): New function. | |
1052 | (Gcc_backend::statement_list): New function. | |
1053 | ||
1054 | 2011-04-06 Ian Lance Taylor <iant@google.com> | |
1055 | ||
1056 | * go-gcc.cc (Gcc_backend::if_statement): New function. | |
1057 | (tree_to_stat): New function. | |
1058 | (expr_to_tree): Renamed from expression_to_tree. | |
1059 | (stat_to_tree): Renamed from statement_to_tree. | |
1060 | ||
1061 | 2011-04-06 Ian Lance Taylor <iant@google.com> | |
1062 | ||
1063 | * go-gcc.cc (Gcc_backend::expression_statement): New function. | |
1064 | ||
1065 | 2011-04-04 Ian Lance Taylor <iant@google.com> | |
1066 | ||
1067 | * go-gcc.c (class Blabel): Define. | |
1068 | (Gcc_backend::make_expression): New function. | |
1069 | (get_identifier_from_string): New function. | |
1070 | (Gcc_backend::label): New function. | |
1071 | (Gcc_backend::label_definition_statement): New function. | |
1072 | (Gcc_backend::goto_statement): New function. | |
1073 | (Gcc_backend::label_address): New function. | |
1074 | (expression_to_tree): New function. | |
1075 | * Make-lang.in (go/expressions.o): Depend on | |
1076 | go/gofrontend/backend.h. | |
1077 | (go/gogo.o): Likewise. | |
1078 | ||
1079 | 2011-04-04 Ian Lance Taylor <iant@google.com> | |
1080 | ||
1081 | * go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h". | |
1082 | (class Bfunction): Define. | |
1083 | (Gcc_backend::assignment_statement): Rename from assignment. | |
1084 | Check for errors. | |
1085 | (Gcc_backend::return_statement): New function. | |
1086 | (tree_to_function): New function. | |
1087 | * Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h, | |
1088 | $(GIMPLE_H), and $(GO_GOGO_H). | |
1089 | ||
1090 | 2011-04-03 Ian Lance Taylor <iant@google.com> | |
1091 | ||
1092 | * go-gcc.cc: New file. | |
1093 | * Make-lang.in (GO_OBJS): Add go/go-gcc.o. | |
1094 | (go/go-gcc.o): New target. | |
1095 | (go/go.o): Depend on go/gofrontend/backend.h. | |
1096 | (go/statements.o): Likewise. | |
1097 | ||
1098 | 2011-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
1099 | ||
1100 | * gccgo.texi (Top, Import and Export): Fix a typo and a markup nit. | |
1101 | ||
1102 | 2011-02-08 Ian Lance Taylor <iant@google.com> | |
1103 | ||
1104 | * go-lang.c (go_langhook_init_options_struct): Set | |
1105 | frontend_set_flag_errno_math. Don't set x_flag_trapping_math. | |
1106 | ||
1107 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
1108 | ||
1109 | * gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use | |
1110 | LD_STATIC_OPTION, LD_DYNAMIC_OPTION. | |
1111 | ||
1112 | 2011-01-21 Ian Lance Taylor <iant@google.com> | |
1113 | ||
1114 | * go-lang.c (go_langhook_init): Omit float_type_size when calling | |
1115 | go_create_gogo. | |
1116 | * go-c.h: Update declaration of go_create_gogo. | |
1117 | ||
1118 | 2011-01-13 Ian Lance Taylor <iant@google.com> | |
1119 | ||
1120 | * go-backend.c: Include "rtl.h" and "target.h". | |
1121 | (go_imported_unsafe): New function. | |
1122 | * go-c.h (go_imported_unsafe): Declare. | |
1123 | * Make-lang.in (go/go-backend.o): Depend on $(RTL_H). | |
1124 | (go/gogo-tree.o): Remove dependency on $(RTL_H). | |
1125 | (go/unsafe.o): Depend on $(GO_C_H). | |
1126 | ||
1127 | 2010-12-31 Joern Rennecke <amylaar@spamcop.net> | |
1128 | ||
1129 | PR go/47113 | |
1130 | * go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to | |
1131 | variable ‘field’ . | |
1132 | ||
1133 | 2010-12-21 Ian Lance Taylor <iant@google.com> | |
1134 | ||
1135 | * Make-lang.in (check-go): Remove. | |
1136 | (lang_checks_parallelized): Add check-go. | |
1137 | (check_go_parallelize): Set. | |
1138 | ||
1139 | 2010-12-13 Ian Lance Taylor <iant@google.com> | |
1140 | ||
1141 | * gospec.c (lang_specific_driver): Add a -o option if not linking | |
1142 | and there is no -o option already. | |
1143 | ||
1144 | 2010-12-07 Ian Lance Taylor <iant@google.com> | |
1145 | ||
1146 | PR tree-optimization/46805 | |
1147 | PR tree-optimization/46833 | |
1148 | * go-lang.c (go_langhook_type_for_mode): Handle vector modes. | |
1149 | ||
1150 | 2010-12-06 Ian Lance Taylor <iant@google.com> | |
1151 | ||
1152 | PR other/46789 | |
1153 | PR bootstrap/46812 | |
1154 | * go-lang.c (go_char_p): Define type and vectors. | |
1155 | (go_search_dirs): New static variable. | |
1156 | (go_langhook_handle_option): Use version and version/machine | |
1157 | directories for -L. | |
1158 | (go_langhook_post_options): Add non-specific -L paths. | |
1159 | * Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and | |
1160 | DEFAULT_TARGET_MACHINE when compiling. | |
1161 | * gccgo.texi (Invoking gccgo): Only document -L for linking. | |
1162 | (Import and Export): Don't mention -L for finding import files. | |
1163 | ||
1164 | 2010-12-03 Ian Lance Taylor <iant@google.com> | |
1165 | ||
1166 | PR bootstrap/46776 | |
1167 | * go-backend.c: New file. | |
1168 | * go-c.h (go_type_alignment): Declare. | |
1169 | (go_field_alignment, go_trampoline_info): Declare. | |
1170 | * Make-lang.in (GO_OBJS): Add go/go-backend.o. | |
1171 | (go/go-backend.o): New target. | |
1172 | (go/go-lang.o): Make dependencies match source file. | |
1173 | (go/expressions.o): Don't depend on $(TM_H) $(TM_P_H). | |
1174 | (go/gogo-tree.o): Don't depend on $(TM_H). | |
1175 | ||
1176 | 2010-12-03 Ian Lance Taylor <iant@google.com> | |
1177 | ||
1178 | * config-lang.in (build_by_default): Set to no. | |
1179 | ||
1180 | 2010-12-02 Ian Lance Taylor <iant@google.com> | |
1181 | ||
1182 | Go frontend added to gcc repository. | |
98db73df | 1183 | \f |
21fa2a29 | 1184 | Copyright (C) 2010-2016 Free Software Foundation, Inc. |
71eba7a0 | 1185 | |
98db73df TB |
1186 | Copying and distribution of this file, with or without modification, |
1187 | are permitted in any medium without royalty provided the copyright | |
1188 | notice and this notice are preserved. |