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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [treelang/] [ChangeLog] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
2006-05-24  Release Manager
2
 
3
        * GCC 4.1.1 released.
4
 
5
2006-05-17  H.J. Lu  
6
 
7
        * Make-lang.in: Undo the last change.
8
 
9
2006-05-16  H.J. Lu  
10
 
11
        PR driver/26885
12
        * Make-lang.in (gtreelang$(exeext)): Replace gcc.o with
13
        $(GCC_OBJS).
14
 
15
2006-04-22  Matthias Klose  
16
 
17
        * Make-lang.in(treelang.check): Don't set and pass TRANSFORM.
18
 
19
2006-02-28  Release Manager
20
 
21
        * GCC 4.1.0 released.
22
 
23
2006-01-21  Joseph S. Myers  
24
 
25
        * spec.c (lang_specific_driver): Update copyright notice date.
26
 
27
2005-11-07  James A. Morrison  
28
 
29
        PR treelang/24066
30
        * treetree.c (LANG_HOOKS_ATTRIBUTE_TABLE): Set to
31
        treelang_attribute_table.
32
        (handle_attribute): New function.
33
        (treelang_attribute_table): New attribute table.
34
 
35
2005-09-23  Rafael Ávila de Espíndola  
36
 
37
        * parse.y : Changed pointer declaration from "type* var" to "type *var"
38
        Removed trailing space.  Wrap long lines.
39
 
40
2005-09-23  Rafael Ávila de Espíndola  
41
 
42
        * parse.y :  Fixed two compile warnings in "error" and "warning"
43
        invocations.  Removed trailing periods in messages.  Decapitalized the
44
        first word of each.
45
 
46
2005-08-07  James A. Morrison  
47
 
48
        * tree-convert.c (convert): Use fold_build1 instead of
49
        fold (build1.
50
 
51
2005-08-06  James A. Morrison  
52
 
53
        PR treelang/23072
54
        * Make-lang.in: Remove old testing cruft.
55
 
56
2005-06-25  Kelley Cook  
57
 
58
        * all files: Update FSF address in copyright headers.
59
 
60
2005-06-15  James A. Morrison  
61
 
62
        * parse.y (function_invocation): Reverse parameter list.
63
        * treetree.c (tree_code_get_expression): Don't reverse parameter list.
64
 
65
2005-06-12  Rafael ?vila de Esp?ndola   
66
 
67
        * treetree.c (tree_code_get_expression): Call build_function_call_expr
68
        to build function calls.
69
 
70
2005-05-31  Kaveh R. Ghazi  
71
 
72
        * treelang/lex.l, treelang/parse.y: Don't include errors.h and
73
        include toplev.h.
74
        * treelang/Make-lang.in: Updates dependencies.
75
 
76
2005-05-02  Andrew Pinski  
77
 
78
        PR treelang/21345
79
        * parse.y (parameters_opt): Add semicolon at the end.
80
 
81
2005-04-29  Tom Tromey  
82
 
83
        * treetree.c (poplevel): Updated for change to build_block.
84
 
85
2005-04-23  DJ Delorie  
86
 
87
        * parse.y: Adjust warning() callers.
88
 
89
2005-04-11  Richard Sandiford  
90
 
91
        * lang.opt: Refer to the GCC internals documentation instead of c.opt.
92
 
93
2005-04-01  Andrew Pinski  
94
 
95
        PR treelang/20604
96
        * lang-spec.c: Simplify @treelang to what the other
97
        languages do.
98
 
99
2005-04-01  Kazu Hirata  
100
 
101
        * treelang/treelang.texi: Fix typos.
102
        * treelang/treetree.c: Fix comment typos.
103
 
104
2005-03-23  Joseph S. Myers  
105
 
106
        * treetree.c (LANG_HOOKS_TRUTHVALUE_CONVERSION,
107
        tree_lang_truthvalue_conversion): Remove.
108
        * tree-convert.c: Don't call truthvalue_conversion.
109
 
110
2005-03-22  James A. Morrison  
111
 
112
        * treetree.c (tree_code_if_start): Use fold_buildN.
113
        (tree_code_create_variable): Likewise.
114
        (tree_code_generate_return): Likewise.
115
        (tree_code_get_expression): Likewise.
116
        (tree_code_add_parameter): Likewise.
117
 
118
2005-03-22  James A. Morrison  
119
 
120
        * treelang.h (struct parameter_part): Skip WHERE_TO_PUT_VAR_TREE
121
        during GC.
122
 
123
2005-03-15  Zack Weinberg  
124
 
125
        * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
126
 
127
2005-03-06  James A. Morrison  
128
 
129
        PR other/20326
130
        * Make-lang.in (gtreelang, treelang/spec.o): New targets.
131
        * spec.c: New file.
132
 
133
2005-02-27  Kazu Hirata  
134
 
135
        * treelang.texi: Fix a typo.
136
 
137
2005-02-26  James A. Morrison  
138
 
139
        * parse.y (function_invocation, variable-ref, make_plus_expression):
140
        Pass location to tree_code_get_expression.
141
        * treetree.c (tree_code_generate_return): Set EXPR_LOCUS on retval.
142
        (tree_code_get_expression): Wrap variable references in NOP_EXPRs and
143
        set EXPR_LOCATION on ret1.
144
        * treetree.h (tree_code_get_expression): Take the location of the
145
        expression as an argument.
146
 
147
2005-02-26  James A. Morrison  
148
 
149
        * treelang.texi: Treelang does have warnings.
150
        * treetree.c (tree_code_create_function_prototype): Don't set
151
        TREE_USED and set TREE_PUBLIC, DECL_EXTERNAL, and TREE_STATIC
152
        as few times as needed on the function declaration.
153
        (tree_code_create_function_initial): Don't set TREE_USED,
154
        TREE_ADDRESSABLE, but set TREE_STATIC on the function declaration.
155
        (tree_code_create_variable): Don't set TREE_USED on VAR_DECL.
156
        (tree_code_get_expression): Set TREE_USED for variable references
157
        and function calls.
158
 
159
2005-02-26  James A. Morrison  
160
 
161
        * parse.y: Do comparisons as the type of the first expression.
162
        * treetree.c (tree_code_get_integer_value): Build integer constants
163
        with the proper type.
164
 
165
2005-02-26  James A. Morrison  
166
 
167
        * Make-lang.in: Remove commented out code.
168
        * lang-specs.h: Always pass -dumpbase to tree1.
169
 
170
2005-02-25  James A. Morrrison  
171
 
172
        * treelang.texi: Remove extra contribution notice.
173
        Split up some run-on sentences.  Document function parameters
174
        as optional.  Indicate automatic variables can now be at any scope.
175
        Mention literals are only signed if they are preceded by a unary
176
        plus or minus.  Clarify interoperability with C.
177
 
178
2005-02-25  James A. Morrison  
179
 
180
        * treelang.texi: Fix whitespacing.
181
 
182
2005-02-24  James A. Morrison  
183
 
184
        PR other/19896
185
        * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
186
        TREE_PUBLIC, and TREE_STATIC for var_decl to zero.  Don't call
187
        rest_of_decl_compilation on static variables.
188
        (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
189
        variables.
190
 
191
2005-02-24  James A. Morrison  
192
 
193
        PR other/19897
194
        * parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.
195
        Move function parameters check from ...
196
        (function): ...Here.  Update call to tree_code_create_function_initial.
197
        (function_invocation): Use expressions_with_commas_opt instead of
198
        expressions_with_commas.
199
        (expressions_with_commas_opt): New rule.
200
        * treetree.c (tree_code_create_function_prototype): Create PARM_DECLs
201
        for function parameters.
202
        (tree_code_create_function_initial): Remove PARMS parameter.
203
        Don't create PARM_DECLs for function parameters.
204
        * treetree.h (tree_code_create_function_initial): Remove PARMS
205
        parameter.
206
 
207
2005-02-23  Kazu Hirata  
208
 
209
        * parse.y: Update copyright.
210
 
211
2005-02-13  James A. Morrison  
212
 
213
        * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non
214
        scalar integer types.
215
 
216
2005-02-09  Richard Henderson  
217
 
218
        * treetree.c (treelang_init_decl_processing): Call
219
        build_common_builtin_nodes.
220
 
221
2005-02-06  Joseph S. Myers  
222
 
223
        * treelang.texi: Don't use local treelang version number.  Don't
224
        give last update date.
225
 
226
2005-02-01  James A. Morrison  
227
 
228
        * lex.l: Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
229
 
230
2005-02-01  James A. Morrison  
231
 
232
        * parse.y: Reformat comments.
233
        * treetree.c: Likewise.
234
        * treetree.h: Likewise.
235
 
236
2004-10-24  James A. Morrison  
237
 
238
        * treetree.c (tree_code_generate_return): Wrap param declaration in
239
        ENABLE_CHECKING.
240
 
241
2004-10-05  Zack Weinberg  
242
 
243
        * parse.y: Add list of diagnostic messages to insulate
244
        translation template from version of yacc/bison used to
245
        compile the grammar.
246
 
247
2004-10-02  James A. Morrison  
248
 
249
        PR other/17762
250
        * lex.l: Include input.h and errors.h
251
        (lineno): New variable.
252
        (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION
253
        is not defined.
254
        Set column position with LINEMAP_POSITION_FOR_COLUMN.
255
        Use error instead of fprintf.
256
        Set input_location with the value returned by linemap_start_line when
257
        USE_MAPPED_LOCATION is defined.
258
        (dump_lex_value): Use LOCATION_LINE.
259
        * parse.y: Include errors.h.
260
        Use error and warning instead of fprintf.
261
        (return): Move exp to rule scope and always set to $2.  Test against
262
        exp instead of $2.
263
        (init): Set $$ to $2.
264
        (print_token): Use LOCATION_LINE.
265
        * tree1.c (treelang_init): Call treelang_init_decl_processing last.
266
        Call linemap_add to set input_filename when USE_MAPPED_LOCATION is
267
        defined.
268
        (treelang_parse_file): Always start at line one.
269
        Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is
270
        defined.
271
        Leave main_input_filename when done parsing the input.
272
        (insert_tree_name): Use error instead of fprintf.
273
        * treetree.c (tree_code_get_expression): Wrap long line.
274
        (tree_mark_addressable): Use %qD to print out DECLs.
275
 
276
2004-10-02  James A. Morrison  
277
 
278
        * parse.y: Use gcc_assert and gcc_unreachable instead of abort.
279
        * tree1.c: Likewise.
280
        * treetree.c: Likewise.
281
 
282
2004-10-02  James A. Morrison  
283
 
284
        * lex.l: Remove random whitespace.
285
        * parse.y: Reformat copyright notice.  Indent declarations.
286
        Wrap long lines, unwrap short lines.
287
        * tree1.c: Reformat copyright notice.  Wrap long lines.
288
        Remove random whitespace.
289
        (lookup_tree_name): Use LOCATION_LINE.
290
        * treetree.c: Reformat copyright notice.  Wrap long lines.
291
        Remove random whitespace.
292
 
293
2004-10-01  James A. Morrison  
294
 
295
        * parse.y (ELSE): Set tok to $1.
296
        * treelang.texi: Wrap comments in @r{}.  Indent example comments.
297
        Use gcc when refering to the command line or website.  Update function
298
        definition.
299
 
300
2004-10-01  Jan Hubicka  
301
 
302
        * treetree.c (treeland_expand_function): Update call of
303
        tree_rest_of_compilation.
304
 
305
2004-09-17  Jeffrey D. Oldham  
306
            Zack Weinberg  
307
 
308
        * treetree.c: Update for new tree-class enumeration constants.
309
 
310
2004-09-15  Zack Weinberg  
311
 
312
        * Make-lang.in (treelang-warn): Set to $(STRICT_WARN).
313
 
314
2004-08-26  Nathan Sidwell  
315
 
316
        * treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
317
 
318
2004-08-24  Nathan Sidwell  
319
 
320
        * treelang/treetree.c (treelang_init_decl_processing): Adjust
321
        build_common_tree_nodes call.
322
 
323
2004-08-14  Nathan Sidwell  
324
 
325
        * treetree.c (tree_code_get_integer_value): Use build_int_cst.
326
 
327
2004-07-31  James A. Morrison  
328
 
329
        * Make-lang.in (TREE_BE_LIBS): Remove.
330
        (tree1): Depend on BACKEND and LIBDEPS.  Use BACKEND and LIBS instead
331
        of TREE_BE_LIBS.
332
        * parse.y: Add variable_defs_opt before statements_opt.
333
        Use tree_code_get_type instead of get_type_for_numeric_type.
334
        Reformat long lines.
335
        (parameters_opt): New rule.
336
        (function_prototype): Use parameters_opt.
337
        (return): Remove calls to print_token in error cases.  Use VOID_TYPE.
338
        (check_type_match): Use VOID_TYPE.
339
        * lex.l (update_lineno_charno): Ensure INPUT_LINE starts at 1.
340
        * tree1.c: Include version.h and cgraph.h
341
        (treelang_parse_file): Call cgraph_finalize_compilation_unit and
342
        cgraph_optimize.
343
        * treelang.h (item): Remove extraneous GTY.
344
        * treetree.h (get_type_for_numeric_type): Remove.
345
        * treetree.c: Include tree-dump.h, tree-iterator.h, tree-gimple.h,
346
        function.h, and cgraph.h.  Don't include rtl.h
347
        (keep_level_p): Remove.
348
        (tree_push_atomic_type_decl): Remove.
349
        (get_type_for_numeric_type): Remove.
350
        (tree_code_get_numeric_type): Remove.
351
        (global_bindings_p): Make static.
352
        (getdecls): Likewise.
353
        (insert_block): Likewise.
354
        (tree_code_if_start): Create a COND_EXPR and add it to the tree
355
        instead of creating rtl.
356
        (tree_code_if_else): Create a BIND_EXPR if any variables were created
357
        in the if statement.
358
        (tree_code_end_if): Likewise.
359
        (tree_code_create_function_prototype): Use tree_code_get_type.
360
        Don't use SET_DECL_ASSEMBLER_NAME.
361
        (tree_code_create_function_initial): Set DECL_ARTIFICIAL and
362
        DECL_IGNORING_P on RESULT_DECL.  Use tree_code_get_type.  Don't call
363
        layout_decl on RESULT_DECL.  Don't call rtl expand functions.
364
        (tree_code_create_function_wrapup): Don't call rtl expand functions.
365
        Create a BIND_EXPR for each function.  Dump original and gimplified
366
        copies of the function tree.  Gimplify function.
367
        (tree_code_create_variable): Use tree_code_get_type.  Don't call
368
        layout_decl or expand_decl.  Fold CONVERT_EXPRs.
369
        (tree_code_generate_return): Fold CONVERT_EXPRs and MODIFY_EXPRs.
370
        Add RETURN_EXPR to the current statement list.  Don't call rtl expand
371
        functions.
372
        (tree_code_output_expression_statement): Append CODE to current
373
        statement list.
374
        (tree_code_get_expression): Fold expressions.  Build a pointer to
375
        a FUNCTION_TYPE intead of the called functions return type.
376
        (struct binding_level): Add statement list STMTS.
377
        (getstmtlist): New Function.
378
        (pushlevel): Make static.  Allocate an empty statement list.
379
        (poplevel): Make static.  Don't clear BLOCK_NODE's BLOCK_VARS.
380
        Don't use DECL_ASSEMBLER_NAME.
381
        (tree_push_type_decl): Set TYPE_NAME of TYPE_NODE to ID.
382
        (treelang_init_decl_processing): Define basic types after unused types.
383
        Don't call tree_push_atomic_type_decl.
384
        (builtin_function): Don't call make_decl_rtl.
385
        (treelang_expand_function). New Function.
386
 
387
2004-07-11  Joseph S. Myers  
388
 
389
        * treetree.c (set_block): Remove.
390
        (struct binding_level): Remove block_created_by_back_end.
391
        (clear_binding_level): Likewise.
392
        (tree_code_create_function_initial,
393
        tree_code_create_function_wrapup): Call pushlevel and poplevel
394
        directly rather than through hooks.
395
        (poplevel): Don't handle block_created_by_back_end.
396
 
397
2004-04-07  Richard Henderson  
398
 
399
        * treetree.c (tree_mark_addressable):  Don't put_var_into_stack.
400
 
401
2004-03-31  Richard Kenner  
402
 
403
        * treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED,
404
        not TREE_UNSIGNED.
405
 
406
2004-03-21  Joseph S. Myers  
407
 
408
        * treelang.texi: Update link to "G++ and GCC".
409
 
410
2004-02-20  Richard Henderson  
411
 
412
        * Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
413
 
414
2004-01-30  Kelley Cook  
415
 
416
        * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir).
417
 
418
2004-01-20  Kelley Cook  
419
 
420
        * Make-lang.in: Replace $(docdir) with doc.
421
        (treelang.info, treelang.srcinfo): New rules.
422
        (treelang.man, treelang.man): Dummy entries.
423
 
424
2004-01-15  Kelley Cook  
425
 
426
        * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
427
        (treelang/parse.o, treelang/lex.o): Look for sources in build
428
        directory.  Use implicit rule.
429
        (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
430
        doc directory.
431
        (treelang.srcextra): Copy above back to source directory if requested.
432
 
433
2004-01-07  Zack Weinberg  
434
 
435
        * parse.y (yyerror): Mark the definition static.
436
 
437
2003-12-04  James A. Morrison  
438
 
439
        * lex.l: Add \t as a whitespace character.
440
        * treelang.texi (Lexical Syntax): Document a tab as whitespace.
441
 
442
        * treelang.texi (What is GNU Treelang?): Fix a typo.
443
        (Lexical Syntax): Create an itemize list of keywords.  Add commas to
444
        paragraph defining names.
445
 
446
2003-11-26  Jason Merrill  
447
 
448
        * Make-lang.in (treelang.tags): Create TAGS.sub files in each
449
        directory and TAGS files that include them for each front end.
450
 
451
2003-11-21  Kelley Cook  
452
 
453
        * .cvsignore: Delete.
454
 
455
2003-11-20  Joseph S. Myers  
456
 
457
        * Make-lang.in (treelang.extraclean): Delete.
458
 
459
2003-11-20  Joseph S. Myers  
460
 
461
        * Make-lang.in: Remove obsolete comment.
462
 
463
2003-11-03  Kelley Cook  
464
 
465
        * Make-lang.in (dvi): Move targets to $(docobjdir).
466
        (treelang.dvi): Simplify rule and adjust target.
467
        (treelang.info): Simplify rule.
468
        (parse.o): Correct dependencies.
469
        (TREE_EXE): Delete doubled suffix append.
470
 
471
2003-10-21  Kelley Cook  
472
 
473
        * Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
474
        (lex.o): Likewise.
475
 
476
2003-10-21  Kelley Cook  
477
 
478
        * Make-lang.in (parse.o): Honor $(parsedir).
479
        (lex.o): Likewise.
480
        (lex.c): Likewise
481
        (parse.c, parse.h): Likewise.
482
        ($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
483
        (dvi): Likewise.
484
 
485
2003-10-20  Mark Mitchell  
486
 
487
        * Make-lang.in ($(docobjdir)/treelang/treelang.info): Depend on
488
        stmp-docobjdir.
489
 
490
        * Make-lang.in (info): Use docobjdir.
491
        ($(srcdir)/treelang/treelang.info): Replace with ...
492
        ($(docobjdir)/treelang/treelang.info): ... this.
493
        (install-info): New target.
494
 
495
2003-10-12  Andreas Jaeger  
496
 
497
        * Make-lang.in (treelang.install-info): Remove reference to
498
        treelang.info.
499
        (treelang.): Removed.
500
 
501
2003-10-06  Mark Mitchell  
502
 
503
        * Make-lang.in (treelang.info): Replace with ...
504
        (info): ... this.
505
        * Make-lang.in (treelang.dvi): Replace with ...
506
        (dvi): ... this.
507
 
508
2003-09-21  Richard Henderson  
509
 
510
        * treetree.c: Revert.
511
 
512
2003-09-21  Richard Henderson  
513
 
514
        * treetree.c: Update for DECL_SOURCE_LOCATION rename and
515
        change to const.
516
 
517
2003-07-28  Andreas Jaeger  
518
 
519
        * treetree.c: Convert remaining K&R prototypes to ISO C90.
520
        * tree1.c: Likewise.
521
        * parse.y: Likewise.
522
        * tree-convert.c: Likewise.
523
 
524
2003-07-19  Kaveh R. Ghazi  
525
 
526
        * treetree.c: Remove unnecessary casts.
527
 
528
2003-07-15  Neil Booth  
529
 
530
        * lang-options.h: Remove.
531
        * lang.opt: Document some options.  Remove --help.
532
        * tree1.c (treelang_handle_option): Remove OPT__help case.
533
 
534
2003-07-12  Andreas Jaeger  
535
 
536
        * Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
537
 
538
2003-07-10  Neil Booth  
539
 
540
        * Make-lang.in: Update.
541
        * tree1.c: Don't include c-common.h.
542
        (c_language): Remove.
543
 
544
2003-07-10  Fergus Henderson  
545
            Steven Bosscher  
546
 
547
        * tree-convert.c: New file.
548
        * treetree.c: Don't include c-tree.h.  Include target.h.
549
        (struct lang_identifier, union lang_tree_node, struct lang_type,
550
        struct lang_function): New, minimal language-specific datastructs.
551
        (tree_lang_truthvalue_conversion, tree_mark_addressable,
552
        tree_lang_type_for_size, tree_lang_type_for_mode,
553
        tree_lang_unsigned_type, tree_lang_signed_type,
554
        tree_lang_signed_or_unsigned): New functions.
555
        (LANG_HOOKS_*): Don't use C front end langhooks.  Use new functions.
556
        (pushlevel, poplevel, global_bindings_p, insert_block, set_block,
557
        pushdecl, getdecls, kept_level_p, tree_push_type_decl,
558
        tree_push_atomic_type_decl): New functions.
559
        (struct resword, struct reswords): Remove.
560
        * Make-lang.in: Update.  Don't depend on C front end objects.
561
        * config-lang.in: Likewise.
562
 
563
2003-07-07  Nathan Sidwell  
564
 
565
        * treelang/treetree.c (tree_code_if_start, tree_code_if_else,
566
        tree_code_if_end, tree_code_create_function_initial,
567
        tree_code_create_function_wrapup, tree_code_generate_return,
568
        tree_code_output_expression_statement): Adjust emit_line_note
569
        calls.
570
 
571
2003-07-04  H.J. Lu 
572
 
573
        * Make-lang.in: Replace PWD with PWD_COMMAND.
574
 
575
2003-07-02  Neil Booth  
576
 
577
        * tree1.c (treelang_init_options): Update prototype.
578
        * treelang.h (treelang_init_options): Update prototype.
579
 
580
2003-07-01  Neil Booth  
581
 
582
        * Make-lang.in: Update.
583
        * tree1.c: Include c-common.h.  Define c_language.
584
 
585
2003-06-20  Nathan Sidwell  
586
 
587
        * treetree.c (tree_code_create_function_wrapup): Adjust
588
        expand_function_end call.
589
 
590
2003-06-18  Nathan Sidwell  
591
 
592
        * treetree.c (build_stmt): Remove VPARAMS.
593
        (pedwarn_c99): Likewise.
594
 
595
2003-06-15  Neil Booth  
596
 
597
        * lang.opt: Declare Treelang.  Update.
598
        * tree1.c (treelang_init_options): Update.
599
 
600
2003-06-14  Nathan Sidwell  
601
 
602
        * treetree.c (tree_code_create_function_initial): Adjust
603
        init_function_start call.
604
 
605
2003-06-14  Neil Booth  
606
 
607
        * Make-lang.in: Update to use options.c and options.h.
608
        * tree1.c: Include options.h not t-options.h.
609
        (treelang_init_options): New.
610
        (treelang_handle_option): Abort on unrecognized switch.
611
        * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
612
        * treetree.h (treelang_init_options): New.
613
 
614
2003-06-12  Andreas Jaeger  
615
 
616
        * treetree.c: Remove cl_options-count and cl_options.
617
 
618
2003-06-11  Neil Booth  
619
 
620
        * Make-lang.in: Update for option handling.
621
        * lang.opt: New.
622
        * tree1.c: Include opts.h and t-options.h.
623
        (treelang_decode_option): Remove.
624
        (treelang_handle_option): New.
625
        * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
626
        (LANG_HOOKS_HANDLE_OPTION): Override.
627
        * treetree.h (treelang_decode_option): Remove.
628
        (treelang_handle_option): New.
629
 
630
2003-06-08  Andreas Jaeger  
631
 
632
        * Make-lang.in: Update.
633
        * treetree.c: Include opts.h. Define cl_options_count and cl_options.
634
 
635
2003-06-08  Tim Josling  
636
 
637
        * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
638
 
639
2003-06-05  Jan Hubicka  
640
 
641
        * Make-lang.in:  Add support for stageprofile and stagefeedback
642
 
643
2003-05-21  Nathan Sidwell  
644
 
645
        * treetree.c (reswords): Remove __bounded__, __unbounded__.
646
 
647
2003-05-09  Tim Josling  
648
 
649
        * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
650
        to link (needed by some front ends such as PPC).
651
 
652
        * treetree.c (tree_code_create_function_initial): Fix long line.
653
        Initialize tree_code_int_size and tree_code_char_size to
654
        meaningful values.
655
        (tree_code_get_numeric_type): Add check that size1 parameter is
656
        valid.
657
 
658
        * parse.y: Fix extra long lines in prototypes.
659
 
660
        * treelang.h: Fix extra long lines in macro definitions.
661
 
662
2003-05-07  Zack Weinberg  
663
 
664
        * Make-lang.in: Set -Wno-error for treelang/lex.o.
665
 
666
2003-05-06  Nathan Sidwell  
667
 
668
        * Make-lang.in (treelang/tree1.o): Depends on input.h
669
        (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
670
        * treelang.h: #include input.h.
671
        (in_fname): Remove.
672
        (struct token_part): Remove lineno, add location.
673
        * lex.l (next_tree_lineno): Remove.
674
        (update_lineno_charno): Adjust.
675
        (dump_lex_value): Adjust.
676
        * parse.y (variable_def, function_prototype, function, statement,
677
        if_statement, return, function_invocation, variable_ref): Adjust.
678
        (print_token, yyerror, ensure_not_void): Adjust.
679
        tree1.c (in_fname): Remove.
680
        (treelang_init): Setup input_location.
681
        (lookup_tree_name): Adjust.
682
        (insert_tree_name): Adjust.
683
        * treetree.c (tree_code_if_start): Replace filename and lineno
684
        parms with loc. Adjust.
685
        (tree_code_if_else, tree_code_if_end,
686
        tree_code_create_function_prototype,
687
        tree_code_create_function_initial,
688
        tree_code_create_function_wrapup, tree_code_create_variable,
689
        tree_code_output_expression_statement): Likewise.
690
        * treetree.h (tree_code_if_start): Replace filename and lineno
691
        parms with loc.
692
        (tree_code_if_else, tree_code_if_end,
693
        tree_code_create_function_prototype,
694
        tree_code_create_function_initial,
695
        tree_code_create_function_wrapup, tree_code_create_variable,
696
        tree_code_output_expression_statement): Likewise.
697
 
698
2003-05-01  Nathan Sidwell  
699
 
700
        * tree1.c (treelang_init): Rename lineno to input_line.
701
 
702
2003-04-30  Steven Bosscher  
703
 
704
        * parse.y (make_plus_expression): New function.
705
        (expression production): Use make_plus_expression for PLUS,
706
        MINUS, ASSIGN and EQUALS.
707
        * tree1.c (treelang_decode_option): Don't fall through to
708
        options that start with a different character when an option
709
        was not recognized.
710
 
711
2003-04-30  Nathan Sidwell  
712
 
713
        * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
714
        * treetree.c: Do not #include parse.h.
715
 
716
2003-03-21  Andreas Jaeger  
717
 
718
        * treetree.c (cpp_create_reader): Follow prototype change in
719
        cpplib.h.
720
 
721
2003-03-17  Andreas Jaeger  
722
 
723
        * Make-lang.in (treelang.tags): Remove duplicate entry.
724
 
725
2003-03-15  Andreas Jaeger  
726
 
727
        * treetree.c (cpp_handle_option): Remove.
728
 
729
2003-03-13  Andreas Jaeger  
730
 
731
        * Make-lang.in (tree1$(exeext)): Fix previous patch.
732
 
733
2003-03-12  Andreas Jaeger  
734
 
735
        * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
736
 
737
2003-03-08  Neil Booth  
738
 
739
        * tree1.c (in_fname): Fix type.
740
        (treelang_init): Update prototype and use of in_fname.
741
        * treelang.h (in_fname): Fix type.
742
        * treetree.c (tree_code_if_start, tree_code_if_else,
743
        tree_code_if_end, tree_code_create_function_prototype,
744
        tree_code_create_function_initial, tree_code_create_funciton_wrapup,
745
        tree_code_create_variable, tree_code_output_expression_statement)
746
        : Fix prototypes and use of filenames.
747
        * treetree.h: Similarly.
748
 
749
2003-03-05  Andreas Jaeger  
750
 
751
        * treetree.c (init_c_lex): Follow change to c-common.h.
752
 
753
2003-03-04  Tom Tromey  
754
 
755
        * Make-lang.in (treelang.tags): New target.
756
 
757
2003-03-01  Tim Josling  
758
 
759
        Name clashes with rtl.h fixed.
760
 
761
        * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
762
        tl_RETURN.
763
 
764
        * parse.y: Ditto.
765
 
766
2003-02-24  Tim Josling  
767
 
768
        * parse.y (my_yylex): New - ensure lexer time is charged to
769
        TV_LEX.
770
        (yylex): redefine as invocation of my_yylex which then calls
771
        flex-generated yylex.
772
        (timevar.h): include.
773
 
774
2003-02-23  Tim Josling  
775
 
776
        Fix garbage collection, add more error checking, force GC always.
777
 
778
        * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
779
        (treelang/treetree.o): Depend on  treelang/parse.h
780
 
781
        * lex.l: include "treetree.h"
782
 
783
        * lex.l (update_yylval): Allocate string using get_string so GC
784
        works.
785
 
786
        * parse.y (function_prototype): Set category correctly so GC works.
787
        (function): Set category in search so checking works.
788
        (function_invocation): Ditto.
789
        (variable_ref): Ditto.
790
 
791
        * tree1.c (lookup_tree_name): Call sanity_check for passed
792
        production and associated token and for symbol table entries.
793
 
794
        * tree1.c (sanity_check): New, basic check that struct is valid.
795
 
796
        * treelang.h: Prototype for sanity_check.
797
 
798
2003-01-27  Tim Josling  
799
 
800
        * treetree.c (treelang_init_decl_processing): Change memory
801
        allocation to use GC.
802
 
803
2003-02-04  Joseph S. Myers  
804
 
805
        * treelang.texi: Update to GFDL 1.2.
806
 
807
2003-01-26  Michael Matz  
808
 
809
        * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
810
 
811
2003-01-14  Andreas Jaeger  
812
 
813
        * Make-lang.in (treelang.install-info): Depend only on info files
814
        if BUILD_INFO is set.  Fix install rules.
815
        (treelang.): New.
816
 
817
2003-01-09  Christian Cornelssen  
818
 
819
        * Make-lang.in (treelang.install.common.done,
820
        treelang.install-info, treelang.uninstall): Prepend
821
        $(DESTDIR) to destination paths in all (un)installation
822
        commands.
823
 
824
2002-12-28  Joseph S. Myers  
825
 
826
        * treelang.texi: Use @copying.
827
 
828
2002-12-23  Joseph S. Myers  
829
 
830
        * treelang.texi: Include gcc-common.texi.
831
        * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
832
        Depend on gcc-common.texi.  Add other missing dependencies.
833
        (treelang.dvi): Use texi2dvi.
834
 
835
2002-12-22  Joseph S. Myers  
836
 
837
        * treelang.texi: Use @ifnottex instead of @ifinfo.
838
 
839
2002-11-30  Zack Weinberg  
840
 
841
        * lex.l: Move "%{" below copyright notice; get rid of "/*"
842
        embedded in comment.  Do not #undef IN_GCC; do not include
843
        stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
844
        Do include coretypes.h and tm.h.
845
        * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
846
        and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
847
        ansidecl.h. Do include coretypes.h and tm.h.
848
        * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
849
        stdarg.h, string.h, or stdio.h.  Do include coretypes.h and tm.h.
850
        * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
851
        errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
852
        or ansidecl.h.  Do include coretypes.h and tm.h.
853
        * Make-lang.in: Update dependencies.
854
 
855
2002-09-09  Tim Josling  
856
 
857
        * treetree.c (objc_is_id): New.
858
 
859
2002-08-16  Tim Josling  
860
 
861
        Remove variables and functions now defined elsewhere.
862
 
863
        * treetree.c (maybe_objc_comptypes): Remove.
864
        (warn_format, warn_format_y2k, warn_format_extra_args,
865
        warn_format_nonliteral, warn_format_security,
866
        warn_format_zero_length): Remove.
867
        (maybe_building_objc_message_expr): Remove.
868
        (cpp_post_options): Remove.
869
        (maybe_objc_check_decl): Remove.
870
        (integer_types): Remove.
871
 
872
 
873
2002-08-13  Neil Booth  
874
 
875
        * treelang.c: Remove cpp_post_options.
876
 
877
2002-08-13  Tim Josling  
878
 
879
        * parse.y: Provide dummy definition of rtx for use by config.h.
880
        * Make-lang.in (treetree.o): Remove dependency on non-existent
881
        gt-treelang-treelang.h.
882
        (gt-treelang-treelang.h): Remove.
883
 
884
2002-08-08  Nathan Sidwell  
885
 
886
        * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
887
 
888
2002-07-11  Tim Josling  
889
 
890
        Remove front end hard coding from gengtype.c.
891
 
892
        * config-lang.in (gtfiles): Add files needed for this front
893
        end.
894
 
895
2002-07-09  Tim Josling  
896
 
897
        Support new attributes regime (Fix for PR c++/7099).
898
 
899
        * treetree.c (handle_format_attribute): Return NULL_TREE instead
900
        of aborting.
901
        (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
902
        LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
903
        LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
904
 
905
2002-06-21  Andreas Jaeger  
906
 
907
        * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
908
        treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
909
 
910
2002-06-19  Paolo Bonzini 
911
 
912
        * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
913
        than STATIC.
914
 
915
2002-06-10  Tim Josling  
916
 
917
        Cleanup
918
 
919
        * Make-lang.in (check-treelang). Add. Remove direct dependency of
920
        'check' on 'treelang.check' as redundant.
921
 
922
        PCH Garbage collection regime (gengtypes.c) phase 1.
923
 
924
        * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
925
        gt-treelang-treelang.h gtype-treelang.h.
926
        (gt-treelang-tree1.h) Depend on s-gtype.
927
        (gt-treelang-treelang.h) Depend on s-gtype.
928
        (gtype-treelang.h) Depend on s-gtype.
929
 
930
        * config-lang.in (gtfiles): Define.
931
 
932
        * lex.l (main): Remove '#if 0' dead code.
933
        (main): Move undef of IN_GCC so define of tree typedef works.
934
        (all): Replace token and production by prod_token_parm_item.
935
 
936
        * parse.y
937
        (all): Replace token and production by prod_token_parm_item.
938
 
939
        * tree1.c (main): Remove include of "output.h".
940
        (symbol_table): Add GTY details.
941
        (symbol_table_ggc): Remove.
942
        (treelang_init): Remove root definitions for garbage collection.
943
        (mark_production_used): Remove.
944
        (mark_token_used): Remove.
945
        (main, at end): include generated garage collection routines.
946
 
947
        * treelang.h (category_enum ): Add parameter_category.
948
        (all): Replace token and production and parameters by union
949
        prod_token_parm_item containing production_part, token_part,
950
        parameter_part.
951
        (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
952
        EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
953
        UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
954
        EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
955
        treetree.h.
956
 
957
        * treetree.c
958
        (tm_p.h): Do not include.
959
        (ansidecl.h): Move include after config.h.
960
        (treelang.h): Include it.
961
        (ADDROOT): Remove.
962
        (all): Replace token, production and parameter by prod_token_parm_item.
963
        (tree_parameter_list): Move to treelang.h as part of
964
        prod_token_parm_item.
965
        (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
966
        EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
967
        UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
968
        EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
969
        treelang.h.
970
 
971
2002-05-19  Tim Josling  
972
 
973
        * treetree.c (warn_format_zero_length): Add.
974
 
975
2002-05-14  Tim Josling  
976
 
977
        * Make-lang.in: Fix build for .info files, add target for manpages.
978
        A bug report and a suggested patch came from Magnus Fromreide
979
        .
980
 
981
2002-05-16  Rainer Orth  
982
 
983
        * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
984
 
985
2002-05-11  Tim Josling  
986
 
987
        * treetree.c: (cpp_define) Add.
988
        (cpp_get_callbacks) Add.
989
 
990
2002-05-07  Tim Josling  
991
 
992
        * treetree.c: (cpp_get_options) Add.
993
 
994
2002-05-06  Tim Josling  
995
 
996
        * .cvsignore: Add.
997
 
998
2002-05-05  Tim Josling  
999
 
1000
        * Updated for gcc3.2 experimental. Major changes throughout.
1001
 
1002
2002-03-31  Tim Josling  
1003
 
1004
        * Make-lang.in: Changes so build and check work more reliably
1005
 
1006
2001-07-30  Tim Josling  
1007
 
1008
        * root.texi: remove
1009
        * treelang.texi: updates based on feedback
1010
 
1011
2001-06-11  Tim Josling  
1012
 
1013
        * all (all) Revamp code to conform to GCC coding standards, fix
1014
        typos in texi files.
1015
 
1016
2001-05-11  Tim Josling  
1017
 
1018
        Create the new language.

powered by: WebSVN 2.1.0

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