1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
|
2003-10-20 Mark Mitchell <mark@codesourcery.com>
* Make-lang.in (info): Use docobjdir.
($(srcdir)/treelang/treelang.info): Replace with ...
($(docobjdir)/treelang/treelang.info): ... this.
(install-info): New target.
2003-10-12 Andreas Jaeger <aj@suse.de>
* Make-lang.in (treelang.install-info): Remove reference to
treelang.info.
(treelang.): Removed.
2003-10-06 Mark Mitchell <mark@codesourcery.com>
* Make-lang.in (treelang.info): Replace with ...
(info): ... this.
* Make-lang.in (treelang.dvi): Replace with ...
(dvi): ... this.
2003-09-21 Richard Henderson <rth@redhat.com>
* treetree.c: Revert.
2003-09-21 Richard Henderson <rth@redhat.com>
* treetree.c: Update for DECL_SOURCE_LOCATION rename and
change to const.
2003-07-28 Andreas Jaeger <aj@suse.de>
* treetree.c: Convert remaining K&R prototypes to ISO C90.
* tree1.c: Likewise.
* parse.y: Likewise.
* tree-convert.c: Likewise.
2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* treetree.c: Remove unnecessary casts.
2003-07-15 Neil Booth <neil@daikokuya.co.uk>
* lang-options.h: Remove.
* lang.opt: Document some options. Remove --help.
* tree1.c (treelang_handle_option): Remove OPT__help case.
2003-07-12 Andreas Jaeger <aj@suse.de>
* Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
2003-07-10 Neil Booth <neil@daikokuya.co.uk>
* Make-lang.in: Update.
* tree1.c: Don't include c-common.h.
(c_language): Remove.
2003-07-10 Fergus Henderson <fjh@cs.mu.oz.au>
Steven Bosscher <steven@gcc.gnu.org>
* tree-convert.c: New file.
* treetree.c: Don't include c-tree.h. Include target.h.
(struct lang_identifier, union lang_tree_node, struct lang_type,
struct lang_function): New, minimal language-specific datastructs.
(tree_lang_truthvalue_conversion, tree_mark_addressable,
tree_lang_type_for_size, tree_lang_type_for_mode,
tree_lang_unsigned_type, tree_lang_signed_type,
tree_lang_signed_or_unsigned): New functions.
(LANG_HOOKS_*): Don't use C front end langhooks. Use new functions.
(pushlevel, poplevel, global_bindings_p, insert_block, set_block,
pushdecl, getdecls, kept_level_p, tree_push_type_decl,
tree_push_atomic_type_decl): New functions.
(struct resword, struct reswords): Remove.
* Make-lang.in: Update. Don't depend on C front end objects.
* config-lang.in: Likewise.
2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
* treelang/treetree.c (tree_code_if_start, tree_code_if_else,
tree_code_if_end, tree_code_create_function_initial,
tree_code_create_function_wrapup, tree_code_generate_return,
tree_code_output_expression_statement): Adjust emit_line_note
calls.
2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
* Make-lang.in: Replace PWD with PWD_COMMAND.
2003-07-02 Neil Booth <neil@daikokuya.co.uk>
* tree1.c (treelang_init_options): Update prototype.
* treelang.h (treelang_init_options): Update prototype.
2003-07-01 Neil Booth <neil@daikokuya.co.uk>
* Make-lang.in: Update.
* tree1.c: Include c-common.h. Define c_language.
2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
* treetree.c (tree_code_create_function_wrapup): Adjust
expand_function_end call.
2003-06-18 Nathan Sidwell <nathan@codesourcery.com>
* treetree.c (build_stmt): Remove VPARAMS.
(pedwarn_c99): Likewise.
2003-06-15 Neil Booth <neil@daikokuya.co.uk>
* lang.opt: Declare Treelang. Update.
* tree1.c (treelang_init_options): Update.
2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
* treetree.c (tree_code_create_function_initial): Adjust
init_function_start call.
2003-06-14 Neil Booth <neil@daikokuya.co.uk>
* Make-lang.in: Update to use options.c and options.h.
* tree1.c: Include options.h not t-options.h.
(treelang_init_options): New.
(treelang_handle_option): Abort on unrecognized switch.
* treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
* treetree.h (treelang_init_options): New.
2003-06-12 Andreas Jaeger <aj@suse.de>
* treetree.c: Remove cl_options-count and cl_options.
2003-06-11 Neil Booth <neil@daikokuya.co.uk>
* Make-lang.in: Update for option handling.
* lang.opt: New.
* tree1.c: Include opts.h and t-options.h.
(treelang_decode_option): Remove.
(treelang_handle_option): New.
* treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
(LANG_HOOKS_HANDLE_OPTION): Override.
* treetree.h (treelang_decode_option): Remove.
(treelang_handle_option): New.
2003-06-08 Andreas Jaeger <aj@suse.de>
* Make-lang.in: Update.
* treetree.c: Include opts.h. Define cl_options_count and cl_options.
2003-06-08 Tim Josling <tej@melbpc.org.au>
* treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
2003-06-05 Jan Hubicka <jh@suse.cz>
* Make-lang.in: Add support for stageprofile and stagefeedback
2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
* treetree.c (reswords): Remove __bounded__, __unbounded__.
2003-05-09 Tim Josling <tej@melbpc.org.au>
* Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
to link (needed by some front ends such as PPC).
* treetree.c (tree_code_create_function_initial): Fix long line.
Initialize tree_code_int_size and tree_code_char_size to
meaningful values.
(tree_code_get_numeric_type): Add check that size1 parameter is
valid.
* parse.y: Fix extra long lines in prototypes.
* treelang.h: Fix extra long lines in macro definitions.
2003-05-07 Zack Weinberg <zack@codesourcery.com>
* Make-lang.in: Set -Wno-error for treelang/lex.o.
2003-05-06 Nathan Sidwell <nathan@codesourcery.com>
* Make-lang.in (treelang/tree1.o): Depends on input.h
(treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
* treelang.h: #include input.h.
(in_fname): Remove.
(struct token_part): Remove lineno, add location.
* lex.l (next_tree_lineno): Remove.
(update_lineno_charno): Adjust.
(dump_lex_value): Adjust.
* parse.y (variable_def, function_prototype, function, statement,
if_statement, return, function_invocation, variable_ref): Adjust.
(print_token, yyerror, ensure_not_void): Adjust.
tree1.c (in_fname): Remove.
(treelang_init): Setup input_location.
(lookup_tree_name): Adjust.
(insert_tree_name): Adjust.
* treetree.c (tree_code_if_start): Replace filename and lineno
parms with loc. Adjust.
(tree_code_if_else, tree_code_if_end,
tree_code_create_function_prototype,
tree_code_create_function_initial,
tree_code_create_function_wrapup, tree_code_create_variable,
tree_code_output_expression_statement): Likewise.
* treetree.h (tree_code_if_start): Replace filename and lineno
parms with loc.
(tree_code_if_else, tree_code_if_end,
tree_code_create_function_prototype,
tree_code_create_function_initial,
tree_code_create_function_wrapup, tree_code_create_variable,
tree_code_output_expression_statement): Likewise.
2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
* tree1.c (treelang_init): Rename lineno to input_line.
2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
* parse.y (make_plus_expression): New function.
(expression production): Use make_plus_expression for PLUS,
MINUS, ASSIGN and EQUALS.
* tree1.c (treelang_decode_option): Don't fall through to
options that start with a different character when an option
was not recognized.
2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
* Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
* treetree.c: Do not #include parse.h.
2003-03-21 Andreas Jaeger <aj@suse.de>
* treetree.c (cpp_create_reader): Follow prototype change in
cpplib.h.
2003-03-17 Andreas Jaeger <aj@suse.de>
* Make-lang.in (treelang.tags): Remove duplicate entry.
2003-03-15 Andreas Jaeger <aj@suse.de>
* treetree.c (cpp_handle_option): Remove.
2003-03-13 Andreas Jaeger <aj@suse.de>
* Make-lang.in (tree1$(exeext)): Fix previous patch.
2003-03-12 Andreas Jaeger <aj@suse.de>
* Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
2003-03-08 Neil Booth <neil@daikokuya.co.uk>
* tree1.c (in_fname): Fix type.
(treelang_init): Update prototype and use of in_fname.
* treelang.h (in_fname): Fix type.
* treetree.c (tree_code_if_start, tree_code_if_else,
tree_code_if_end, tree_code_create_function_prototype,
tree_code_create_function_initial, tree_code_create_funciton_wrapup,
tree_code_create_variable, tree_code_output_expression_statement)
: Fix prototypes and use of filenames.
* treetree.h: Similarly.
2003-03-05 Andreas Jaeger <aj@suse.de>
* treetree.c (init_c_lex): Follow change to c-common.h.
2003-03-04 Tom Tromey <tromey@redhat.com>
* Make-lang.in (treelang.tags): New target.
2003-03-01 Tim Josling <tej@melbpc.org.au>
Name clashes with rtl.h fixed.
* lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
tl_RETURN.
* parse.y: Ditto.
2003-02-24 Tim Josling <tej@melbpc.org.au>
* parse.y (my_yylex): New - ensure lexer time is charged to
TV_LEX.
(yylex): redefine as invocation of my_yylex which then calls
flex-generated yylex.
(timevar.h): include.
2003-02-23 Tim Josling <tej@melbpc.org.au>
Fix garbage collection, add more error checking, force GC always.
* Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
(treelang/treetree.o): Depend on treelang/parse.h
* lex.l: include "treetree.h"
* lex.l (update_yylval): Allocate string using get_string so GC
works.
* parse.y (function_prototype): Set category correctly so GC works.
(function): Set category in search so checking works.
(function_invocation): Ditto.
(variable_ref): Ditto.
* tree1.c (lookup_tree_name): Call sanity_check for passed
production and associated token and for symbol table entries.
* tree1.c (sanity_check): New, basic check that struct is valid.
* treelang.h: Prototype for sanity_check.
2003-01-27 Tim Josling <tej@melbpc.org.au>
* treetree.c (treelang_init_decl_processing): Change memory
allocation to use GC.
2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
* treelang.texi: Update to GFDL 1.2.
2003-01-26 Michael Matz <matz@suse.de>
* Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
2003-01-14 Andreas Jaeger <aj@suse.de>
* Make-lang.in (treelang.install-info): Depend only on info files
if BUILD_INFO is set. Fix install rules.
(treelang.): New.
2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
* Make-lang.in (treelang.install.common.done,
treelang.install-info, treelang.uninstall): Prepend
$(DESTDIR) to destination paths in all (un)installation
commands.
2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
* treelang.texi: Use @copying.
2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
* treelang.texi: Include gcc-common.texi.
* Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
Depend on gcc-common.texi. Add other missing dependencies.
(treelang.dvi): Use texi2dvi.
2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
* treelang.texi: Use @ifnottex instead of @ifinfo.
2002-11-30 Zack Weinberg <zack@codesourcery.com>
* lex.l: Move "%{" below copyright notice; get rid of "/*"
embedded in comment. Do not #undef IN_GCC; do not include
stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
Do include coretypes.h and tm.h.
* parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
ansidecl.h. Do include coretypes.h and tm.h.
* tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
* treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
or ansidecl.h. Do include coretypes.h and tm.h.
* Make-lang.in: Update dependencies.
2002-09-09 Tim Josling <tej@melbpc.org.au>
* treetree.c (objc_is_id): New.
2002-08-16 Tim Josling <tej@melbpc.org.au>
Remove variables and functions now defined elsewhere.
* treetree.c (maybe_objc_comptypes): Remove.
(warn_format, warn_format_y2k, warn_format_extra_args,
warn_format_nonliteral, warn_format_security,
warn_format_zero_length): Remove.
(maybe_building_objc_message_expr): Remove.
(cpp_post_options): Remove.
(maybe_objc_check_decl): Remove.
(integer_types): Remove.
2002-08-13 Neil Booth <neil@daikokuya.co.uk>
* treelang.c: Remove cpp_post_options.
2002-08-13 Tim Josling <tej@melbpc.org.au>
* parse.y: Provide dummy definition of rtx for use by config.h.
* Make-lang.in (treetree.o): Remove dependency on non-existent
gt-treelang-treelang.h.
(gt-treelang-treelang.h): Remove.
2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
* treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
2002-07-11 Tim Josling <tej@melbpc.org.au>
Remove front end hard coding from gengtype.c.
* config-lang.in (gtfiles): Add files needed for this front
end.
2002-07-09 Tim Josling <tej@melbpc.org.au>
Support new attributes regime (Fix for PR c++/7099).
* treetree.c (handle_format_attribute): Return NULL_TREE instead
of aborting.
(top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
2002-06-21 Andreas Jaeger <aj@suse.de>
* Make-lang.in (treelang/tree1.o, treelang/treetree.o,
treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
2002-06-19 Paolo Bonzini <bonzini@gnu.org>
* lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
than STATIC.
2002-06-10 Tim Josling <tej@melbpc.org.au>
Cleanup
* Make-lang.in (check-treelang). Add. Remove direct dependency of
'check' on 'treelang.check' as redundant.
PCH Garbage collection regime (gengtypes.c) phase 1.
* Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
gt-treelang-treelang.h gtype-treelang.h.
(gt-treelang-tree1.h) Depend on s-gtype.
(gt-treelang-treelang.h) Depend on s-gtype.
(gtype-treelang.h) Depend on s-gtype.
* config-lang.in (gtfiles): Define.
* lex.l (main): Remove '#if 0' dead code.
(main): Move undef of IN_GCC so define of tree typedef works.
(all): Replace token and production by prod_token_parm_item.
* parse.y
(all): Replace token and production by prod_token_parm_item.
* tree1.c (main): Remove include of "output.h".
(symbol_table): Add GTY details.
(symbol_table_ggc): Remove.
(treelang_init): Remove root definitions for garbage collection.
(mark_production_used): Remove.
(mark_token_used): Remove.
(main, at end): include generated garage collection routines.
* treelang.h (category_enum ): Add parameter_category.
(all): Replace token and production and parameters by union
prod_token_parm_item containing production_part, token_part,
parameter_part.
(STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
treetree.h.
* treetree.c
(tm_p.h): Do not include.
(ansidecl.h): Move include after config.h.
(treelang.h): Include it.
(ADDROOT): Remove.
(all): Replace token, production and parameter by prod_token_parm_item.
(tree_parameter_list): Move to treelang.h as part of
prod_token_parm_item.
(STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
treelang.h.
2002-05-19 Tim Josling <tej@melbpc.org.au>
* treetree.c (warn_format_zero_length): Add.
2002-05-14 Tim Josling <tej@melbpc.org.au>
* Make-lang.in: Fix build for .info files, add target for manpages.
A bug report and a suggested patch came from Magnus Fromreide
<magfr@lysator.liu.se>.
2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
2002-05-11 Tim Josling <tej@melbpc.org.au>
* treetree.c: (cpp_define) Add.
(cpp_get_callbacks) Add.
2002-05-07 Tim Josling <tej@melbpc.org.au>
* treetree.c: (cpp_get_options) Add.
2002-05-06 Tim Josling <tej@melbpc.org.au>
* .cvsignore: Add.
2002-05-05 Tim Josling <tej@melbpc.org.au>
* Updated for gcc3.2 experimental. Major changes throughout.
2002-03-31 Tim Josling <tej@melbpc.org.au>
* Make-lang.in: Changes so build and check work more reliably
2001-07-30 Tim Josling <tej@melbpc.org.au>
* root.texi: remove
* treelang.texi: updates based on feedback
2001-06-11 Tim Josling <tej@melbpc.org.au>
* all (all) Revamp code to conform to GCC coding standards, fix
typos in texi files.
2001-05-11 Tim Josling <tej@melbpc.org.au>
Create the new language.
|