OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [go/] [ChangeLog] - Blame information for rev 714

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 714 jeremybenn
2012-02-23  Richard Guenther  
2
 
3
        * go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use
4
        build_distinct_type_copy.
5
 
6
2012-02-17  Ian Lance Taylor  
7
 
8
        * Make-lang.in (go/import.o): Add dependency on $(GO_LEX_H).
9
 
10
2012-02-17  Ian Lance Taylor  
11
 
12
        * gospec.c (lang_specific_driver): If linking, and no -o option
13
        was used, add one.
14
 
15
2012-02-14  Ian Lance Taylor  
16
 
17
        PR go/48411
18
        * Make-lang.in (gccgo-cross$(exeext)): New target.
19
        (go.all.cross): Depend on gccgo-cross$(exeext) instead of
20
        gccgo$(exeext).
21
        (go.install-common): Only install GCCGO_TARGET_INSTALL_NAME if
22
        gccgo-cross$(exeext) does not exist.
23
 
24
2012-02-07  Ian Lance Taylor  
25
 
26
        * gccgo.texi (Function Names): Document //extern instead of
27
        __asm__.
28
 
29
2012-02-01  Jakub Jelinek  
30
 
31
        PR target/52079
32
        * go-lang.c (go_langhook_type_for_mode): For TImode and 64-bit HWI
33
        return build_nonstandard_integer_type result if possible.
34
 
35
2012-01-21  Ian Lance Taylor  
36
 
37
        * go-gcc.cc (Gcc_backend::type_size): Check for error_mark_node.
38
        (Gcc_backend::type_alignment): Likewise.
39
        (Gcc_backend::type_field_alignment): Likewise.
40
        (Gcc_backend::type_field_offset): Likewise.
41
 
42
2012-01-20  Ian Lance Taylor  
43
 
44
        * go-gcc.cc (Gcc_backend::placeholder_struct_type): Permit name to
45
        be empty.
46
        (Gcc_backend::set_placeholder_struct_type): Likewise.
47
 
48
2012-01-17  Ian Lance Taylor  
49
 
50
        * gospec.c (lang_specific_driver): If we see -S without -o, add -o
51
        BASE.s rather than -o BASE.o.
52
 
53
2012-01-11  Ian Lance Taylor  
54
 
55
        * go-lang.c (go_langhook_init): Initialize void_list_node before
56
        calling go_create_gogo.
57
 
58
2012-01-10  Ian Lance Taylor  
59
 
60
        * go-gcc.cc (Gcc_backend::type_size): New function.
61
        (Gcc_backend::type_alignment): New function.
62
        (Gcc_backend::type_field_alignment): New function.
63
        (Gcc_backend::type_field_offset): New function.
64
        * go-backend.c (go_type_alignment): Remove.
65
        * go-c.h (go_type_alignment): Don't declare.
66
 
67
2011-12-27  Ian Lance Taylor  
68
 
69
        * go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Use
70
        build_distinct_type_copy rather than build_variant_type_copy.
71
        (Gcc_backend::set_placeholder_array_type): Likewise.
72
        (Gcc_backend::named_type): Add special handling for builtin
73
        basic types.
74
 
75
2011-12-22  Ian Lance Taylor  
76
 
77
        * go-gcc.cc (Gcc_backend::set_placeholder_pointer_type): Arrange
78
        for the type name to have a DECL_ORIGINAL_TYPE as gcc expects.
79
        (Gcc_backend::set_placeholder_struct_type): Likewise.
80
        (Gcc_backend::set_placeholder_array_type): Likewise.
81
        (Gcc_backend::named_type): Set DECL_ORIGINAL_TYPE.
82
 
83
2011-12-13  Ian Lance Taylor  
84
 
85
        * go-backend.c: #include "simple-object.h" and "intl.h".
86
        (GO_EXPORT_SEGMENT_NAME): Define if not defined.
87
        (GO_EXPORT_SECTION_NAME): Likewise.
88
        (go_write_export_data): Use GO_EXPORT_SECTION_NAME.
89
        (go_read_export_data): New function.
90
        * go-c.h (go_read_export_data): Declare.
91
 
92
2011-11-29  Sanjoy Das  
93
            Ian Lance Taylor  
94
 
95
        * go-location.h: New file.
96
        * go-linemap.cc: New file.
97
        * go-gcc.cc: Change all uses of source_location to Location.
98
        * Make-lang.in (GO_OBJS): Add go/go-linemap.o.
99
        (GO_LINEMAP_H): New variable.
100
        (GO_LEX_H): Use $(GO_LINEMAP_H).
101
        (GO_GOGO_H, GO_TYPES_H, GO_IMPORT_H): Likewise.
102
        (go/go-linemap.o): New target.
103
 
104
2011-11-02  Rainer Orth  
105
 
106
        * Make-lang.in (gospec.o): Pass SHLIB instead of SHLIB_LINK.
107
 
108
2011-08-24  Roberto Lublinerman  
109
 
110
        * lang.opt: Add fgo-optimize-.
111
        * go-lang.c (go_langhook_handle_option): Handle OPT_fgo_optimize.
112
        * go-c.h (go_enable_optimize): Declare.
113
        * Make-lang.in (GO_OBJS): Add go/go-optimize.o.
114
        (GO_EXPORT_H): Define.
115
        (GO_IMPORT_H): Add $(GO_EXPORT_H).
116
        (GO_AST_DUMP_H): Define.
117
        (go/ast-dump.o, go/statements.o): Use GO_AST_DUMP_H.
118
        (go/export.o, go/gogo.o, go/import.o): Use GO_EXPORT_H.
119
        (go/types.o): Likewise.
120
        (go/expressions.o): Use GO_AST_DUMP_H and GO_EXPORT_H.
121
        (go/go-optimize.o): New target.
122
 
123
2011-08-24  Joseph Myers  
124
 
125
        * Make-lang.in (CFLAGS-go/go-lang.o): New.
126
        (go/go-lang.o): Remove explicit compilation rule.
127
 
128
2011-08-08  Rainer Orth  
129
 
130
        * Make-lang.in (gccgo$(exeext)): Add $(EXTRA_GCC_LIBS).
131
 
132
2011-08-02  Roberto Lublinerman  
133
 
134
        * Make-lang.in (GO_OBJS): Add go/ast-dump.o.
135
        (go/ast-dump.o): New target.
136
        (go/expressions.o): Depend on go/gofrontend/ast-dump.h.
137
        (go/statements.o): Likewise.
138
 
139
2011-07-06  Richard Guenther  
140
 
141
        * go-lang.c (go_langhook_init):
142
        Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
143
 
144
2011-06-14  Joseph Myers  
145
 
146
        * Make-lang.in (go/go-lang.o, go/go-backend.o): Update
147
        dependencies.
148
        * go-backend.c: Include common/common-target.h.
149
        (go_write_export_data): Use targetm_common.have_named_sections.
150
        * go-lang.c: Include common/common-target.h.
151
        (go_langhook_init_options_struct): Use
152
        targetm_common.supports_split_stack.
153
 
154
2011-06-13  Ian Lance Taylor  
155
 
156
        * Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H).
157
 
158
2011-06-10  Ian Lance Taylor  
159
 
160
        * go-gcc.cc: Include "toplev.h".
161
        (Gcc_backend::immutable_struct): New function.
162
        (Gcc_backend::immutable_struct_set_init): New function.
163
        (Gcc_backend::immutable_struct_reference): New function.
164
        * Make-lang.in (go/go-gcc.o): Depend on toplev.h.
165
 
166
2011-06-09  Ian Lance Taylor  
167
 
168
        * go-gcc.cc (Gcc_backend::zero_expression): New function.
169
 
170
2011-06-07  Richard Guenther  
171
 
172
        * go-lang.c (go_langhook_init): Do not set
173
        size_type_node or call set_sizetype.
174
 
175
2011-05-27  Ian Lance Taylor  
176
 
177
        * go-backend.c: Include "output.h".
178
        (go_write_export_data): New function.
179
        * go-c.h (go_write_export_data): Declare.
180
        * Make-lang.in (go/go-backend.o): Depend on output.h.
181
        (go/export.o): Depend on $(GO_C_H).  Do not depend on
182
        $(MACHMODE_H), output.h, or $(TARGET_H).
183
 
184
2011-05-24  Joseph Myers  
185
 
186
        * Make-lang.in (GCCGO_OBJS): Remove prefix.o.
187
        (gccgo$(exeext)): Use libcommon-target.a.
188
 
189
2011-05-20  Joseph Myers  
190
 
191
        * Make-lang.in (GCCGO_OBJS): Remove intl.o and version.o.
192
 
193
2011-05-13  Ian Lance Taylor  
194
 
195
        * go-gcc.cc (Gcc_backend::function_type): When building a struct
196
        for multiple results, check that all fields types have a size.
197
        (Gcc_backend::placeholder_pointer_type): Permit name to be empty.
198
 
199
2011-05-12  Ian Lance Taylor  
200
 
201
        * go-gcc.cc (Gcc_backend::local_variable): Add is_address_taken
202
        parameter.
203
        (Gcc_backend::parameter_variable): Likewise.
204
 
205
2011-05-07  Eric Botcazou  
206
 
207
        * go-lang.c (global_bindings_p): Return bool and simplify.
208
 
209
2011-05-05  Nathan Froyd  
210
 
211
        * go-gcc.cc (Gcc_backend::switch_statement): Call build_case_label.
212
 
213
2011-05-04  Ian Lance Taylor  
214
 
215
        * go-gcc.cc (Gcc_backend::struct_type): Call fill_in_struct.
216
        (Gcc_backend::fill_in_struct): New function.
217
        (Gcc_backend::array_type): Implement.
218
        (Gcc_backend::fill_in_array): New function.
219
        (Gcc_backend::placeholder_pointer_type): New function.
220
        (Gcc_backend::set_placeholder_pointer_type): New function.
221
        (Gcc_backend::set_placeholder_function_type): New function.
222
        (Gcc_backend::placeholder_struct_type): New function.
223
        (Gcc_backend::set_placeholder_struct_type): New function.
224
        (Gcc_backend::placeholder_array_type): New function.
225
        (Gcc_backend::set_placeholder_array_type): New function.
226
        (Gcc_backend::named_type): New function.
227
        (Gcc_backend::circular_pointer_type): New function.
228
        (Gcc_backend::is_circular_pointer_type): New function.
229
 
230
2011-04-26  Ian Lance Taylor  
231
 
232
        * go-gcc.cc (Gcc_backend::struct_type): Implement.
233
 
234
2011-04-25  Ian Lance Taylor  
235
 
236
        * go-gcc.cc (Gcc_backend::error_type): Implement.
237
        (Gcc_backend::string_type): Remove.
238
        (Gcc_backend::function_type): Change signature and implement.
239
        (Gcc_backend::struct_type): Change signature.
240
        (Gcc_backend::slice_type, Gcc_backend::map_type): Remove.
241
        (Gcc_backend::channel_type, Gcc_backend::interface_type): Remove.
242
        (Gcc_backend::pointer_type): Check for error.
243
        * Make-lang.in (go/types.o): Depend on go/gofrontend/backend.h.
244
 
245
2011-04-25  Evan Shaw  
246
 
247
        * go-gcc.c (class Gcc_tree): Make get_tree const.
248
        (Gcc_backend::void_type): Implement.
249
        (Gcc_backend::bool_type): Implement.
250
        (Gcc_backend::integer_type): Implement.
251
        (Gcc_backend::float_type): Implement.
252
        (Gcc_backend::complex_type): New function.
253
        (Gcc_backend::pointer_type): New function.
254
        (Gcc_backend::make_type): New function.
255
        (type_to_tree): New function.
256
 
257
2011-04-21  Ian Lance Taylor  
258
 
259
        * go-system.h (go_assert, go_unreachable): Define.
260
 
261
2011-04-19  Ian Lance Taylor  
262
 
263
        * go-system.h: Include "intl.h".
264
        * Make-lang.in (GO_SYSTEM_H): Add intl.h.
265
        (go/statements.o): Remove dependencies on intl.h $(TREE_H)
266
        $(GIMPLE_H) convert.h tree-iterator.h $(TREE_FLOW_H) $(REAL_H).
267
 
268
2011-04-19  Ian Lance Taylor  
269
 
270
        * go-gcc.cc (Gcc_backend::temporary_variable): New function.
271
 
272
2011-04-19  Ian Lance Taylor  
273
 
274
        * go-gcc.cc (class Bblock): Define.
275
        (Gcc_backend::if_statement): Change then_block and else_block to
276
        Bblock*.
277
        (Gcc_backend::block): New function.
278
        (Gcc_backend::block_add_statements): New function.
279
        (Gcc_backend::block_statement): New function.
280
        (tree_to_block, block_to_tree): New functions.
281
 
282
2011-04-18  Ian Lance Taylor  
283
 
284
        * go-gcc.cc: Include "go-c.h".
285
        (class Bvariable): Define.
286
        (Gcc_backend::init_statement): New function.
287
        (Gcc_backend::global_variable): New function.
288
        (Gcc_backend::global_variable_set_init): New function.
289
        (Gcc_backend::local_variable): New function.
290
        (Gcc_backend::parameter_variable): New function.
291
        (tree_to_type, var_to_tree): New functions.
292
        * Make-lang.in (go/go-gcc.o): Depend on $(GO_C_H).
293
        * (go/gogo-tree.o): Depend on go/gofrontend/backend.h.
294
 
295
2011-04-15  Ian Lance Taylor  
296
 
297
        * go-gcc.cc (Gcc_backend::compound_statement): New function.
298
        (Gcc_backend::assignment_statement): Use error_statement.
299
        (Gcc_backend::return_statement): Likewise.
300
        (Gcc_backend::if_statement): Likewise.
301
        (Gcc_backend::switch_statement): Likewise.
302
        (Gcc_backend::statement_list): Likewise.
303
 
304
2011-04-14  Ian Lance Taylor  
305
 
306
        * go-gcc.cc (Backend::error_statement): New function.
307
 
308
2011-04-13  Ian Lance Taylor  
309
 
310
        * Make-lang.in (go/gogo-tree.o): depend on $(GO_RUNTIME_H).
311
 
312
2011-04-13  Ian Lance Taylor  
313
 
314
        * Make-lang.in (GO_OBJS): Add go/runtime.o.
315
        (GO_RUNTIME_H): New variable.
316
        (go/runtime.o): New target.
317
        (go/gogo.o): Depend on $(GO_RUNTIME_H).
318
        (go/statements.o): Likewise.
319
 
320
2011-04-12  Nathan Froyd  
321
 
322
        * go-lang.c (union lang_tree_node): Check for TS_COMMON before
323
        calling TREE_CHAIN.
324
 
325
2011-04-06  Ian Lance Taylor  
326
 
327
        * go-gcc.cc (if_statement): Use build3_loc.
328
        (Gcc_backend::switch_statement): New function.
329
        (Gcc_backend::statement_list): New function.
330
 
331
2011-04-06  Ian Lance Taylor  
332
 
333
        * go-gcc.cc (Gcc_backend::if_statement): New function.
334
        (tree_to_stat): New function.
335
        (expr_to_tree): Renamed from expression_to_tree.
336
        (stat_to_tree): Renamed from statement_to_tree.
337
 
338
2011-04-06  Ian Lance Taylor  
339
 
340
        * go-gcc.cc (Gcc_backend::expression_statement): New function.
341
 
342
2011-04-04  Ian Lance Taylor  
343
 
344
        * go-gcc.c (class Blabel): Define.
345
        (Gcc_backend::make_expression): New function.
346
        (get_identifier_from_string): New function.
347
        (Gcc_backend::label): New function.
348
        (Gcc_backend::label_definition_statement): New function.
349
        (Gcc_backend::goto_statement): New function.
350
        (Gcc_backend::label_address): New function.
351
        (expression_to_tree): New function.
352
        * Make-lang.in (go/expressions.o): Depend on
353
        go/gofrontend/backend.h.
354
        (go/gogo.o): Likewise.
355
 
356
2011-04-04  Ian Lance Taylor  
357
 
358
        * go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h".
359
        (class Bfunction): Define.
360
        (Gcc_backend::assignment_statement): Rename from assignment.
361
        Check for errors.
362
        (Gcc_backend::return_statement): New function.
363
        (tree_to_function): New function.
364
        * Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h,
365
        $(GIMPLE_H), and $(GO_GOGO_H).
366
 
367
2011-04-03  Ian Lance Taylor  
368
 
369
        * go-gcc.cc: New file.
370
        * Make-lang.in (GO_OBJS): Add go/go-gcc.o.
371
        (go/go-gcc.o): New target.
372
        (go/go.o): Depend on go/gofrontend/backend.h.
373
        (go/statements.o): Likewise.
374
 
375
2011-02-14  Ralf Wildenhues  
376
 
377
        * gccgo.texi (Top, Import and Export): Fix a typo and a markup nit.
378
 
379
2011-02-08  Ian Lance Taylor  
380
 
381
        * go-lang.c (go_langhook_init_options_struct): Set
382
        frontend_set_flag_errno_math.  Don't set x_flag_trapping_math.
383
 
384
2011-01-31  Rainer Orth  
385
 
386
        * gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
387
        LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
388
 
389
2011-01-21  Ian Lance Taylor  
390
 
391
        * go-lang.c (go_langhook_init): Omit float_type_size when calling
392
        go_create_gogo.
393
        * go-c.h: Update declaration of go_create_gogo.
394
 
395
2011-01-13  Ian Lance Taylor  
396
 
397
        * go-backend.c: Include "rtl.h" and "target.h".
398
        (go_imported_unsafe): New function.
399
        * go-c.h (go_imported_unsafe): Declare.
400
        * Make-lang.in (go/go-backend.o): Depend on $(RTL_H).
401
        (go/gogo-tree.o): Remove dependency on $(RTL_H).
402
        (go/unsafe.o): Depend on $(GO_C_H).
403
 
404
2010-12-31  Joern Rennecke  
405
 
406
        PR go/47113
407
        * go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
408
        variable ‘field’ .
409
 
410
2010-12-21  Ian Lance Taylor  
411
 
412
        * Make-lang.in (check-go): Remove.
413
        (lang_checks_parallelized): Add check-go.
414
        (check_go_parallelize): Set.
415
 
416
2010-12-13  Ian Lance Taylor  
417
 
418
        * gospec.c (lang_specific_driver): Add a -o option if not linking
419
        and there is no -o option already.
420
 
421
2010-12-07  Ian Lance Taylor  
422
 
423
        PR tree-optimization/46805
424
        PR tree-optimization/46833
425
        * go-lang.c (go_langhook_type_for_mode): Handle vector modes.
426
 
427
2010-12-06  Ian Lance Taylor  
428
 
429
        PR other/46789
430
        PR bootstrap/46812
431
        * go-lang.c (go_char_p): Define type and vectors.
432
        (go_search_dirs): New static variable.
433
        (go_langhook_handle_option): Use version and version/machine
434
        directories for -L.
435
        (go_langhook_post_options): Add non-specific -L paths.
436
        * Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and
437
        DEFAULT_TARGET_MACHINE when compiling.
438
        * gccgo.texi (Invoking gccgo): Only document -L for linking.
439
        (Import and Export): Don't mention -L for finding import files.
440
 
441
2010-12-03  Ian Lance Taylor  
442
 
443
        PR bootstrap/46776
444
        * go-backend.c: New file.
445
        * go-c.h (go_type_alignment): Declare.
446
        (go_field_alignment, go_trampoline_info): Declare.
447
        * Make-lang.in (GO_OBJS): Add go/go-backend.o.
448
        (go/go-backend.o): New target.
449
        (go/go-lang.o): Make dependencies match source file.
450
        (go/expressions.o): Don't depend on $(TM_H) $(TM_P_H).
451
        (go/gogo-tree.o): Don't depend on $(TM_H).
452
 
453
2010-12-03  Ian Lance Taylor  
454
 
455
        * config-lang.in (build_by_default): Set to no.
456
 
457
2010-12-02  Ian Lance Taylor  
458
 
459
        Go frontend added to gcc repository.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.