12007-07-19 Release Manager 2 3 * GCC 4.2.1 released. 4 52007-05-13 Release Manager 6 7 * GCC 4.2.0 released. 8 92007-02-26 Brooks Moses <brooks.moses@codesourcery.com> 10 11 * treelang.texi: Standardize title page, remove version number 12 from copyright page. 13 142006-10-10 Brooks Moses <bmoses@stanford.edu> 15 16 * Make-lang.in: Added "treelang.pdf" target support. 17 182006-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de> 19 20 * Make-lang.in: Use $(HEADER_H) instead of header.h in dependencies. 21 222006-06-17 Karl Berry <karl@gnu.org> 23 24 * treelang.texi (@dircategory): Use "Software development" 25 instead of "Programming", following the Free Software Directory. 26 272006-06-06 Mike Stump <mrs@apple.com> 28 29 * Make-lang.in: Rename to gcc_htmldir to build_htmldir to avoid 30 installing during build. 31 322006-05-23 Carlos O'Donell <carlos@codesourcery.com> 33 34 * Make-lang.in: Rename htmldir to gcc_htmldir. 35 362006-05-16 H.J. Lu <hongjiu.lu@intel.com> 37 38 PR driver/26885 39 * Make-lang.in (gtreelang$(exeext)): Replace gcc.o with 40 $(GCC_OBJS). 41 422006-05-14 H.J. Lu <hongjiu.lu@intel.com> 43 44 * Make-lang.in (treelang/treetree.o): Add dependency on 45 $(TARGET_H). 46 472006-04-22 Matthias Klose <doko@debian.org> 48 49 * Make-lang.in (treelang.check): Don't set and pass TRANSFORM. 50 512006-03-29 Carlos O'Donell <caros@codesourcery.com> 52 53 * Make-lang.in: Rename docdir to gcc_docdir. 54 552006-02-20 Rafael �vila de Esp�ndola <rafael.espindola@gmail.com> 56 57 * Make-lang.in (.phony): Remove TREELANG. 58 (TREELANG): Remove. 59 602006-01-21 Joseph S. Myers <joseph@codesourcery.com> 61 62 * spec.c (lang_specific_driver): Update copyright notice date. 63 642006-01-16 Rafael �vila de Esp�ndola <rafael.espindola@gmail.com> 65 66 * spec.c (lang_specific_spec_functions): Remove. 67 682005-12-28 Rafael �vila de Esp�ndola <rafael.espindola@gmail.com> 69 70 * Make-lang.in (treelang.distdir): Remove. 71 722005-12-07 Rafael �vila de Esp�ndola <rafael.espindola@gmail.com> 73 74 * Make-lang.in (treelang.all.build, treelang.install-normal): Remove. 75 762005-12-07 Rafael �vila de Esp�ndola <rafael.espindola@gmail.com> 77 78 * Make-lang.in: Remove all dependencies on s-gtype. 79 802005-12-05 Richard Guenther <rguenther@suse.de> 81 82 * treetree.c (tree_code_if_start, tree_code_create_variable, 83 tree_code_generate_return, tree_code_get_expression, 84 tree_code_add_parameter): Use fold_convert where appropriate. 85 862005-11-07 James A. Morrison <phython@gcc.gnu.org> 87 88 PR treelang/24066 89 * treetree.c (LANG_HOOKS_ATTRIBUTE_TABLE): Set to 90 treelang_attribute_table. 91 (handle_attribute): New function. 92 (treelang_attribute_table): New attribute table. 93 942005-09-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com> 95 96 * parse.y : Changed pointer declaration from "type* var" to "type *var" 97 Removed trailing space. Wrap long lines. 98 992005-09-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com> 100 101 * parse.y : Fixed two compile warnings in "error" and "warning" 102 invocations. Removed trailing periods in messages. Decapitalized the 103 first word of each. 104 1052005-08-07 James A. Morrison <phython@gcc.gnu.org> 106 107 * tree-convert.c (convert): Use fold_build1 instead of 108 fold (build1. 109 1102005-08-06 James A. Morrison <phython@gcc.gnu.org> 111 112 PR treelang/23072 113 * Make-lang.in: Remove old testing cruft. 114 1152005-06-25 Kelley Cook <kcook@gcc.gnu.org> 116 117 * all files: Update FSF address in copyright headers. 118 1192005-06-15 James A. Morrison <phython@gcc.gnu.org> 120 121 * parse.y (function_invocation): Reverse parameter list. 122 * treetree.c (tree_code_get_expression): Don't reverse parameter list. 123 1242005-06-12 Rafael ?vila de Esp?ndola <rafael.espindola@gmail.com> 125 126 * treetree.c (tree_code_get_expression): Call build_function_call_expr 127 to build function calls. 128 1292005-05-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 130 131 * treelang/lex.l, treelang/parse.y: Don't include errors.h and 132 include toplev.h. 133 * treelang/Make-lang.in: Updates dependencies. 134 1352005-05-02 Andrew Pinski <pinskia@physics.uc.edu> 136 137 PR treelang/21345 138 * parse.y (parameters_opt): Add semicolon at the end. 139 1402005-04-29 Tom Tromey <tromey@redhat.com> 141 142 * treetree.c (poplevel): Updated for change to build_block. 143 1442005-04-23 DJ Delorie <dj@redhat.com> 145 146 * parse.y: Adjust warning() callers. 147 1482005-04-11 Richard Sandiford <rsandifo@redhat.com> 149 150 * lang.opt: Refer to the GCC internals documentation instead of c.opt. 151 1522005-04-01 Andrew Pinski <pinskia@physics.uc.edu> 153 154 PR treelang/20604 155 * lang-spec.c: Simplify @treelang to what the other 156 languages do. 157 1582005-04-01 Kazu Hirata <kazu@cs.umass.edu> 159 160 * treelang/treelang.texi: Fix typos. 161 * treelang/treetree.c: Fix comment typos. 162 1632005-03-23 Joseph S. Myers <joseph@codesourcery.com> 164 165 * treetree.c (LANG_HOOKS_TRUTHVALUE_CONVERSION, 166 tree_lang_truthvalue_conversion): Remove. 167 * tree-convert.c: Don't call truthvalue_conversion. 168 1692005-03-22 James A. Morrison <phython@gcc.gnu.org> 170 171 * treetree.c (tree_code_if_start): Use fold_buildN. 172 (tree_code_create_variable): Likewise. 173 (tree_code_generate_return): Likewise. 174 (tree_code_get_expression): Likewise. 175 (tree_code_add_parameter): Likewise. 176 1772005-03-22 James A. Morrison <phython@gcc.gnu.org> 178 179 * treelang.h (struct parameter_part): Skip WHERE_TO_PUT_VAR_TREE 180 during GC. 181 1822005-03-15 Zack Weinberg <zack@codesourcery.com> 183 184 * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi. 185 1862005-03-06 James A. Morrison <phython@gcc.gnu.org> 187 188 PR other/20326 189 * Make-lang.in (gtreelang, treelang/spec.o): New targets. 190 * spec.c: New file. 191 1922005-02-27 Kazu Hirata <kazu@cs.umass.edu> 193 194 * treelang.texi: Fix a typo. 195 1962005-02-26 James A. Morrison <phython@gcc.gnu.org> 197 198 * parse.y (function_invocation, variable-ref, make_plus_expression): 199 Pass location to tree_code_get_expression. 200 * treetree.c (tree_code_generate_return): Set EXPR_LOCUS on retval. 201 (tree_code_get_expression): Wrap variable references in NOP_EXPRs and 202 set EXPR_LOCATION on ret1. 203 * treetree.h (tree_code_get_expression): Take the location of the 204 expression as an argument. 205 2062005-02-26 James A. Morrison <phython@gcc.gnu.org> 207 208 * treelang.texi: Treelang does have warnings. 209 * treetree.c (tree_code_create_function_prototype): Don't set 210 TREE_USED and set TREE_PUBLIC, DECL_EXTERNAL, and TREE_STATIC 211 as few times as needed on the function declaration. 212 (tree_code_create_function_initial): Don't set TREE_USED, 213 TREE_ADDRESSABLE, but set TREE_STATIC on the function declaration. 214 (tree_code_create_variable): Don't set TREE_USED on VAR_DECL. 215 (tree_code_get_expression): Set TREE_USED for variable references 216 and function calls. 217 2182005-02-26 James A. Morrison <phython@gcc.gnu.org> 219 220 * parse.y: Do comparisons as the type of the first expression. 221 * treetree.c (tree_code_get_integer_value): Build integer constants 222 with the proper type. 223 2242005-02-26 James A. Morrison <phython@gcc.gnu.org> 225 226 * Make-lang.in: Remove commented out code. 227 * lang-specs.h: Always pass -dumpbase to tree1. 228 2292005-02-25 James A. Morrrison <phython@gcc.gnu.org> 230 231 * treelang.texi: Remove extra contribution notice. 232 Split up some run-on sentences. Document function parameters 233 as optional. Indicate automatic variables can now be at any scope. 234 Mention literals are only signed if they are preceded by a unary 235 plus or minus. Clarify interoperability with C. 236 2372005-02-25 James A. Morrison <phython@gcc.gnu.org> 238 239 * treelang.texi: Fix whitespacing. 240 2412005-02-24 James A. Morrison <phython@gcc.gnu.org> 242 243 PR other/19896 244 * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL, 245 TREE_PUBLIC, and TREE_STATIC for var_decl to zero. Don't call 246 rest_of_decl_compilation on static variables. 247 (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic 248 variables. 249 2502005-02-24 James A. Morrison <phython@gcc.gnu.org> 251 252 PR other/19897 253 * parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE. 254 Move function parameters check from ... 255 (function): ...Here. Update call to tree_code_create_function_initial. 256 (function_invocation): Use expressions_with_commas_opt instead of 257 expressions_with_commas. 258 (expressions_with_commas_opt): New rule. 259 * treetree.c (tree_code_create_function_prototype): Create PARM_DECLs 260 for function parameters. 261 (tree_code_create_function_initial): Remove PARMS parameter. 262 Don't create PARM_DECLs for function parameters. 263 * treetree.h (tree_code_create_function_initial): Remove PARMS 264 parameter. 265 2662005-02-23 Kazu Hirata <kazu@cs.umass.edu> 267 268 * parse.y: Update copyright. 269 2702005-02-13 James A. Morrison <phython@gcc.gnu.org> 271 272 * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non 273 scalar integer types. 274 2752005-02-09 Richard Henderson <rth@redhat.com> 276 277 * treetree.c (treelang_init_decl_processing): Call 278 build_common_builtin_nodes. 279 2802005-02-06 Joseph S. Myers <joseph@codesourcery.com> 281 282 * treelang.texi: Don't use local treelang version number. Don't 283 give last update date. 284 2852005-02-01 James A. Morrison <phython@gcc.gnu.org> 286 287 * lex.l: Undef LINEMAP_POSITION_FOR_COLUMN before defining it. 288 2892005-02-01 James A. Morrison <phython@gcc.gnu.org> 290 291 * parse.y: Reformat comments. 292 * treetree.c: Likewise. 293 * treetree.h: Likewise. 294 2952004-10-24 James A. Morrison <phython@gcc.gnu.org> 296 297 * treetree.c (tree_code_generate_return): Wrap param declaration in 298 ENABLE_CHECKING. 299 3002004-10-05 Zack Weinberg <zack@codesourcery.com> 301 302 * parse.y: Add list of diagnostic messages to insulate 303 translation template from version of yacc/bison used to 304 compile the grammar. 305 3062004-10-02 James A. Morrison <phython@gcc.gnu.org> 307 308 PR other/17762 309 * lex.l: Include input.h and errors.h 310 (lineno): New variable. 311 (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION 312 is not defined. 313 Set column position with LINEMAP_POSITION_FOR_COLUMN. 314 Use error instead of fprintf. 315 Set input_location with the value returned by linemap_start_line when 316 USE_MAPPED_LOCATION is defined. 317 (dump_lex_value): Use LOCATION_LINE. 318 * parse.y: Include errors.h. 319 Use error and warning instead of fprintf. 320 (return): Move exp to rule scope and always set to $2. Test against 321 exp instead of $2. 322 (init): Set $$ to $2. 323 (print_token): Use LOCATION_LINE. 324 * tree1.c (treelang_init): Call treelang_init_decl_processing last. 325 Call linemap_add to set input_filename when USE_MAPPED_LOCATION is 326 defined. 327 (treelang_parse_file): Always start at line one. 328 Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is 329 defined. 330 Leave main_input_filename when done parsing the input. 331 (insert_tree_name): Use error instead of fprintf. 332 * treetree.c (tree_code_get_expression): Wrap long line. 333 (tree_mark_addressable): Use %qD to print out DECLs. 334 3352004-10-02 James A. Morrison <phython@gcc.gnu.org> 336 337 * parse.y: Use gcc_assert and gcc_unreachable instead of abort. 338 * tree1.c: Likewise. 339 * treetree.c: Likewise. 340 3412004-10-02 James A. Morrison <phython@gcc.gnu.org> 342 343 * lex.l: Remove random whitespace. 344 * parse.y: Reformat copyright notice. Indent declarations. 345 Wrap long lines, unwrap short lines. 346 * tree1.c: Reformat copyright notice. Wrap long lines. 347 Remove random whitespace. 348 (lookup_tree_name): Use LOCATION_LINE. 349 * treetree.c: Reformat copyright notice. Wrap long lines. 350 Remove random whitespace. 351 3522004-10-01 James A. Morrison <phython@gcc.gnu.org> 353 354 * parse.y (ELSE): Set tok to $1. 355 * treelang.texi: Wrap comments in @r{}. Indent example comments. 356 Use gcc when refering to the command line or website. Update function 357 definition. 358 3592004-10-01 Jan Hubicka <jh@suse.cz> 360 361 * treetree.c (treeland_expand_function): Update call of 362 tree_rest_of_compilation. 363 3642004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com> 365 Zack Weinberg <zack@codesourcery.com> 366 367 * treetree.c: Update for new tree-class enumeration constants. 368 3692004-09-15 Zack Weinberg <zack@codesourcery.com> 370 371 * Make-lang.in (treelang-warn): Set to $(STRICT_WARN). 372 3732004-08-26 Nathan Sidwell <nathan@codesourcery.com> 374 375 * treetree.c (tree_code_get_integer_value): Fix build_int_cst call. 376 3772004-08-24 Nathan Sidwell <nathan@codesourcery.com> 378 379 * treelang/treetree.c (treelang_init_decl_processing): Adjust 380 build_common_tree_nodes call. 381 3822004-08-14 Nathan Sidwell <nathan@codesourcery.com> 383 384 * treetree.c (tree_code_get_integer_value): Use build_int_cst. 385 3862004-07-31 James A. Morrison <phython@gcc.gnu.org> 387 388 * Make-lang.in (TREE_BE_LIBS): Remove. 389 (tree1): Depend on BACKEND and LIBDEPS. Use BACKEND and LIBS instead 390 of TREE_BE_LIBS. 391 * parse.y: Add variable_defs_opt before statements_opt. 392 Use tree_code_get_type instead of get_type_for_numeric_type. 393 Reformat long lines. 394 (parameters_opt): New rule. 395 (function_prototype): Use parameters_opt. 396 (return): Remove calls to print_token in error cases. Use VOID_TYPE. 397 (check_type_match): Use VOID_TYPE. 398 * lex.l (update_lineno_charno): Ensure INPUT_LINE starts at 1. 399 * tree1.c: Include version.h and cgraph.h 400 (treelang_parse_file): Call cgraph_finalize_compilation_unit and 401 cgraph_optimize. 402 * treelang.h (item): Remove extraneous GTY. 403 * treetree.h (get_type_for_numeric_type): Remove. 404 * treetree.c: Include tree-dump.h, tree-iterator.h, tree-gimple.h, 405 function.h, and cgraph.h. Don't include rtl.h 406 (keep_level_p): Remove. 407 (tree_push_atomic_type_decl): Remove. 408 (get_type_for_numeric_type): Remove. 409 (tree_code_get_numeric_type): Remove. 410 (global_bindings_p): Make static. 411 (getdecls): Likewise. 412 (insert_block): Likewise. 413 (tree_code_if_start): Create a COND_EXPR and add it to the tree 414 instead of creating rtl. 415 (tree_code_if_else): Create a BIND_EXPR if any variables were created 416 in the if statement. 417 (tree_code_end_if): Likewise. 418 (tree_code_create_function_prototype): Use tree_code_get_type. 419 Don't use SET_DECL_ASSEMBLER_NAME. 420 (tree_code_create_function_initial): Set DECL_ARTIFICIAL and 421 DECL_IGNORING_P on RESULT_DECL. Use tree_code_get_type. Don't call 422 layout_decl on RESULT_DECL. Don't call rtl expand functions. 423 (tree_code_create_function_wrapup): Don't call rtl expand functions. 424 Create a BIND_EXPR for each function. Dump original and gimplified 425 copies of the function tree. Gimplify function. 426 (tree_code_create_variable): Use tree_code_get_type. Don't call 427 layout_decl or expand_decl. Fold CONVERT_EXPRs. 428 (tree_code_generate_return): Fold CONVERT_EXPRs and MODIFY_EXPRs. 429 Add RETURN_EXPR to the current statement list. Don't call rtl expand 430 functions. 431 (tree_code_output_expression_statement): Append CODE to current 432 statement list. 433 (tree_code_get_expression): Fold expressions. Build a pointer to 434 a FUNCTION_TYPE intead of the called functions return type. 435 (struct binding_level): Add statement list STMTS. 436 (getstmtlist): New Function. 437 (pushlevel): Make static. Allocate an empty statement list. 438 (poplevel): Make static. Don't clear BLOCK_NODE's BLOCK_VARS. 439 Don't use DECL_ASSEMBLER_NAME. 440 (tree_push_type_decl): Set TYPE_NAME of TYPE_NODE to ID. 441 (treelang_init_decl_processing): Define basic types after unused types. 442 Don't call tree_push_atomic_type_decl. 443 (builtin_function): Don't call make_decl_rtl. 444 (treelang_expand_function). New Function. 445 4462004-07-11 Joseph S. Myers <jsm@polyomino.org.uk> 447 448 * treetree.c (set_block): Remove. 449 (struct binding_level): Remove block_created_by_back_end. 450 (clear_binding_level): Likewise. 451 (tree_code_create_function_initial, 452 tree_code_create_function_wrapup): Call pushlevel and poplevel 453 directly rather than through hooks. 454 (poplevel): Don't handle block_created_by_back_end. 455 4562004-04-07 Richard Henderson <rth@redhat.com> 457 458 * treetree.c (tree_mark_addressable): Don't put_var_into_stack. 459 4602004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 461 462 * treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED, 463 not TREE_UNSIGNED. 464 4652004-03-21 Joseph S. Myers <jsm@polyomino.org.uk> 466 467 * treelang.texi: Update link to "G++ and GCC". 468 4692004-02-20 Richard Henderson <rth@redhat.com> 470 471 * Make-lang.in (treelang-warn): Add -Wno-variadic-macros. 472 4732004-01-30 Kelley Cook <kcook@gcc.gnu.org> 474 475 * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir). 476 4772004-01-20 Kelley Cook <kcook@gcc.gnu.org> 478 479 * Make-lang.in: Replace $(docdir) with doc. 480 (treelang.info, treelang.srcinfo): New rules. 481 (treelang.man, treelang.man): Dummy entries. 482 4832004-01-15 Kelley Cook <kcook@gcc.gnu.org> 484 485 * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir). 486 (treelang/parse.o, treelang/lex.o): Look for sources in build 487 directory. Use implicit rule. 488 (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in 489 doc directory. 490 (treelang.srcextra): Copy above back to source directory if requested. 491 4922004-01-07 Zack Weinberg <zack@codesourcery.com> 493 494 * parse.y (yyerror): Mark the definition static. 495 4962003-12-04 James A. Morrison <ja2morri@uwaterloo.ca> 497 498 * lex.l: Add \t as a whitespace character. 499 * treelang.texi (Lexical Syntax): Document a tab as whitespace. 500 501 * treelang.texi (What is GNU Treelang?): Fix a typo. 502 (Lexical Syntax): Create an itemize list of keywords. Add commas to 503 paragraph defining names. 504 5052003-11-26 Jason Merrill <jason@redhat.com> 506 507 * Make-lang.in (treelang.tags): Create TAGS.sub files in each 508 directory and TAGS files that include them for each front end. 509 5102003-11-21 Kelley Cook <kcook@gcc.gnu.org> 511 512 * .cvsignore: Delete. 513 5142003-11-20 Joseph S. Myers <jsm@polyomino.org.uk> 515 516 * Make-lang.in (treelang.extraclean): Delete. 517 5182003-11-20 Joseph S. Myers <jsm@polyomino.org.uk> 519 520 * Make-lang.in: Remove obsolete comment. 521 5222003-11-03 Kelley Cook <kcook@gcc.gnu.org> 523 524 * Make-lang.in (dvi): Move targets to $(docobjdir). 525 (treelang.dvi): Simplify rule and adjust target. 526 (treelang.info): Simplify rule. 527 (parse.o): Correct dependencies. 528 (TREE_EXE): Delete doubled suffix append. 529 5302003-10-21 Kelley Cook <kcook@gcc.gnu.org> 531 532 * Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h. 533 (lex.o): Likewise. 534 5352003-10-21 Kelley Cook <kcook@gcc.gnu.org> 536 537 * Make-lang.in (parse.o): Honor $(parsedir). 538 (lex.o): Likewise. 539 (lex.c): Likewise 540 (parse.c, parse.h): Likewise. 541 ($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir). 542 (dvi): Likewise. 543 5442003-10-20 Mark Mitchell <mark@codesourcery.com> 545 546 * Make-lang.in ($(docobjdir)/treelang/treelang.info): Depend on 547 stmp-docobjdir. 548 549 * Make-lang.in (info): Use docobjdir. 550 ($(srcdir)/treelang/treelang.info): Replace with ... 551 ($(docobjdir)/treelang/treelang.info): ... this. 552 (install-info): New target. 553 5542003-10-12 Andreas Jaeger <aj@suse.de> 555 556 * Make-lang.in (treelang.install-info): Remove reference to 557 treelang.info. 558 (treelang.): Removed. 559 5602003-10-06 Mark Mitchell <mark@codesourcery.com> 561 562 * Make-lang.in (treelang.info): Replace with ... 563 (info): ... this. 564 * Make-lang.in (treelang.dvi): Replace with ... 565 (dvi): ... this. 566 5672003-09-21 Richard Henderson <rth@redhat.com> 568 569 * treetree.c: Revert. 570 5712003-09-21 Richard Henderson <rth@redhat.com> 572 573 * treetree.c: Update for DECL_SOURCE_LOCATION rename and 574 change to const. 575 5762003-07-28 Andreas Jaeger <aj@suse.de> 577 578 * treetree.c: Convert remaining K&R prototypes to ISO C90. 579 * tree1.c: Likewise. 580 * parse.y: Likewise. 581 * tree-convert.c: Likewise. 582 5832003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 584 585 * treetree.c: Remove unnecessary casts. 586 5872003-07-15 Neil Booth <neil@daikokuya.co.uk> 588 589 * lang-options.h: Remove. 590 * lang.opt: Document some options. Remove --help. 591 * tree1.c (treelang_handle_option): Remove OPT__help case. 592 5932003-07-12 Andreas Jaeger <aj@suse.de> 594 595 * Make-lang.in (treelang/tree-convert.o): Depend on TM_H. 596 5972003-07-10 Neil Booth <neil@daikokuya.co.uk> 598 599 * Make-lang.in: Update. 600 * tree1.c: Don't include c-common.h. 601 (c_language): Remove. 602 6032003-07-10 Fergus Henderson <fjh@cs.mu.oz.au> 604 Steven Bosscher <steven@gcc.gnu.org> 605 606 * tree-convert.c: New file. 607 * treetree.c: Don't include c-tree.h. Include target.h. 608 (struct lang_identifier, union lang_tree_node, struct lang_type, 609 struct lang_function): New, minimal language-specific datastructs. 610 (tree_lang_truthvalue_conversion, tree_mark_addressable, 611 tree_lang_type_for_size, tree_lang_type_for_mode, 612 tree_lang_unsigned_type, tree_lang_signed_type, 613 tree_lang_signed_or_unsigned): New functions. 614 (LANG_HOOKS_*): Don't use C front end langhooks. Use new functions. 615 (pushlevel, poplevel, global_bindings_p, insert_block, set_block, 616 pushdecl, getdecls, kept_level_p, tree_push_type_decl, 617 tree_push_atomic_type_decl): New functions. 618 (struct resword, struct reswords): Remove. 619 * Make-lang.in: Update. Don't depend on C front end objects. 620 * config-lang.in: Likewise. 621 6222003-07-07 Nathan Sidwell <nathan@codesourcery.com> 623 624 * treelang/treetree.c (tree_code_if_start, tree_code_if_else, 625 tree_code_if_end, tree_code_create_function_initial, 626 tree_code_create_function_wrapup, tree_code_generate_return, 627 tree_code_output_expression_statement): Adjust emit_line_note 628 calls. 629 6302003-07-04 H.J. Lu <hongjiu.lu@intel.com> 631 632 * Make-lang.in: Replace PWD with PWD_COMMAND. 633 6342003-07-02 Neil Booth <neil@daikokuya.co.uk> 635 636 * tree1.c (treelang_init_options): Update prototype. 637 * treelang.h (treelang_init_options): Update prototype. 638 6392003-07-01 Neil Booth <neil@daikokuya.co.uk> 640 641 * Make-lang.in: Update. 642 * tree1.c: Include c-common.h. Define c_language. 643 6442003-06-20 Nathan Sidwell <nathan@codesourcery.com> 645 646 * treetree.c (tree_code_create_function_wrapup): Adjust 647 expand_function_end call. 648 6492003-06-18 Nathan Sidwell <nathan@codesourcery.com> 650 651 * treetree.c (build_stmt): Remove VPARAMS. 652 (pedwarn_c99): Likewise. 653 6542003-06-15 Neil Booth <neil@daikokuya.co.uk> 655 656 * lang.opt: Declare Treelang. Update. 657 * tree1.c (treelang_init_options): Update. 658 6592003-06-14 Nathan Sidwell <nathan@codesourcery.com> 660 661 * treetree.c (tree_code_create_function_initial): Adjust 662 init_function_start call. 663 6642003-06-14 Neil Booth <neil@daikokuya.co.uk> 665 666 * Make-lang.in: Update to use options.c and options.h. 667 * tree1.c: Include options.h not t-options.h. 668 (treelang_init_options): New. 669 (treelang_handle_option): Abort on unrecognized switch. 670 * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override. 671 * treetree.h (treelang_init_options): New. 672 6732003-06-12 Andreas Jaeger <aj@suse.de> 674 675 * treetree.c: Remove cl_options-count and cl_options. 676 6772003-06-11 Neil Booth <neil@daikokuya.co.uk> 678 679 * Make-lang.in: Update for option handling. 680 * lang.opt: New. 681 * tree1.c: Include opts.h and t-options.h. 682 (treelang_decode_option): Remove. 683 (treelang_handle_option): New. 684 * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove. 685 (LANG_HOOKS_HANDLE_OPTION): Override. 686 * treetree.h (treelang_decode_option): Remove. 687 (treelang_handle_option): New. 688 6892003-06-08 Andreas Jaeger <aj@suse.de> 690 691 * Make-lang.in: Update. 692 * treetree.c: Include opts.h. Define cl_options_count and cl_options. 693 6942003-06-08 Tim Josling <tej@melbpc.org.au> 695 696 * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend. 697 6982003-06-05 Jan Hubicka <jh@suse.cz> 699 700 * Make-lang.in: Add support for stageprofile and stagefeedback 701 7022003-05-21 Nathan Sidwell <nathan@codesourcery.com> 703 704 * treetree.c (reswords): Remove __bounded__, __unbounded__. 705 7062003-05-09 Tim Josling <tej@melbpc.org.au> 707 708 * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files 709 to link (needed by some front ends such as PPC). 710 711 * treetree.c (tree_code_create_function_initial): Fix long line. 712 Initialize tree_code_int_size and tree_code_char_size to 713 meaningful values. 714 (tree_code_get_numeric_type): Add check that size1 parameter is 715 valid. 716 717 * parse.y: Fix extra long lines in prototypes. 718 719 * treelang.h: Fix extra long lines in macro definitions. 720 7212003-05-07 Zack Weinberg <zack@codesourcery.com> 722 723 * Make-lang.in: Set -Wno-error for treelang/lex.o. 724 7252003-05-06 Nathan Sidwell <nathan@codesourcery.com> 726 727 * Make-lang.in (treelang/tree1.o): Depends on input.h 728 (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise. 729 * treelang.h: #include input.h. 730 (in_fname): Remove. 731 (struct token_part): Remove lineno, add location. 732 * lex.l (next_tree_lineno): Remove. 733 (update_lineno_charno): Adjust. 734 (dump_lex_value): Adjust. 735 * parse.y (variable_def, function_prototype, function, statement, 736 if_statement, return, function_invocation, variable_ref): Adjust. 737 (print_token, yyerror, ensure_not_void): Adjust. 738 tree1.c (in_fname): Remove. 739 (treelang_init): Setup input_location. 740 (lookup_tree_name): Adjust. 741 (insert_tree_name): Adjust. 742 * treetree.c (tree_code_if_start): Replace filename and lineno 743 parms with loc. Adjust. 744 (tree_code_if_else, tree_code_if_end, 745 tree_code_create_function_prototype, 746 tree_code_create_function_initial, 747 tree_code_create_function_wrapup, tree_code_create_variable, 748 tree_code_output_expression_statement): Likewise. 749 * treetree.h (tree_code_if_start): Replace filename and lineno 750 parms with loc. 751 (tree_code_if_else, tree_code_if_end, 752 tree_code_create_function_prototype, 753 tree_code_create_function_initial, 754 tree_code_create_function_wrapup, tree_code_create_variable, 755 tree_code_output_expression_statement): Likewise. 756 7572003-05-01 Nathan Sidwell <nathan@codesourcery.com> 758 759 * tree1.c (treelang_init): Rename lineno to input_line. 760 7612003-04-30 Steven Bosscher <steven@gcc.gnu.org> 762 763 * parse.y (make_plus_expression): New function. 764 (expression production): Use make_plus_expression for PLUS, 765 MINUS, ASSIGN and EQUALS. 766 * tree1.c (treelang_decode_option): Don't fall through to 767 options that start with a different character when an option 768 was not recognized. 769 7702003-04-30 Nathan Sidwell <nathan@codesourcery.com> 771 772 * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT. 773 * treetree.c: Do not #include parse.h. 774 7752003-03-21 Andreas Jaeger <aj@suse.de> 776 777 * treetree.c (cpp_create_reader): Follow prototype change in 778 cpplib.h. 779 7802003-03-17 Andreas Jaeger <aj@suse.de> 781 782 * Make-lang.in (treelang.tags): Remove duplicate entry. 783 7842003-03-15 Andreas Jaeger <aj@suse.de> 785 786 * treetree.c (cpp_handle_option): Remove. 787 7882003-03-13 Andreas Jaeger <aj@suse.de> 789 790 * Make-lang.in (tree1$(exeext)): Fix previous patch. 791 7922003-03-12 Andreas Jaeger <aj@suse.de> 793 794 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o. 795 7962003-03-08 Neil Booth <neil@daikokuya.co.uk> 797 798 * tree1.c (in_fname): Fix type. 799 (treelang_init): Update prototype and use of in_fname. 800 * treelang.h (in_fname): Fix type. 801 * treetree.c (tree_code_if_start, tree_code_if_else, 802 tree_code_if_end, tree_code_create_function_prototype, 803 tree_code_create_function_initial, tree_code_create_funciton_wrapup, 804 tree_code_create_variable, tree_code_output_expression_statement) 805 : Fix prototypes and use of filenames. 806 * treetree.h: Similarly. 807 8082003-03-05 Andreas Jaeger <aj@suse.de> 809 810 * treetree.c (init_c_lex): Follow change to c-common.h. 811 8122003-03-04 Tom Tromey <tromey@redhat.com> 813 814 * Make-lang.in (treelang.tags): New target. 815 8162003-03-01 Tim Josling <tej@melbpc.org.au> 817 818 Name clashes with rtl.h fixed. 819 820 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS 821 tl_RETURN. 822 823 * parse.y: Ditto. 824 8252003-02-24 Tim Josling <tej@melbpc.org.au> 826 827 * parse.y (my_yylex): New - ensure lexer time is charged to 828 TV_LEX. 829 (yylex): redefine as invocation of my_yylex which then calls 830 flex-generated yylex. 831 (timevar.h): include. 832 8332003-02-23 Tim Josling <tej@melbpc.org.au> 834 835 Fix garbage collection, add more error checking, force GC always. 836 837 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h 838 (treelang/treetree.o): Depend on treelang/parse.h 839 840 * lex.l: include "treetree.h" 841 842 * lex.l (update_yylval): Allocate string using get_string so GC 843 works. 844 845 * parse.y (function_prototype): Set category correctly so GC works. 846 (function): Set category in search so checking works. 847 (function_invocation): Ditto. 848 (variable_ref): Ditto. 849 850 * tree1.c (lookup_tree_name): Call sanity_check for passed 851 production and associated token and for symbol table entries. 852 853 * tree1.c (sanity_check): New, basic check that struct is valid. 854 855 * treelang.h: Prototype for sanity_check. 856 8572003-01-27 Tim Josling <tej@melbpc.org.au> 858 859 * treetree.c (treelang_init_decl_processing): Change memory 860 allocation to use GC. 861 8622003-02-04 Joseph S. Myers <jsm@polyomino.org.uk> 863 864 * treelang.texi: Update to GFDL 1.2. 865 8662003-01-26 Michael Matz <matz@suse.de> 867 868 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error. 869 8702003-01-14 Andreas Jaeger <aj@suse.de> 871 872 * Make-lang.in (treelang.install-info): Depend only on info files 873 if BUILD_INFO is set. Fix install rules. 874 (treelang.): New. 875 8762003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> 877 878 * Make-lang.in (treelang.install.common.done, 879 treelang.install-info, treelang.uninstall): Prepend 880 $(DESTDIR) to destination paths in all (un)installation 881 commands. 882 8832002-12-28 Joseph S. Myers <jsm@polyomino.org.uk> 884 885 * treelang.texi: Use @copying. 886 8872002-12-23 Joseph S. Myers <jsm@polyomino.org.uk> 888 889 * treelang.texi: Include gcc-common.texi. 890 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi): 891 Depend on gcc-common.texi. Add other missing dependencies. 892 (treelang.dvi): Use texi2dvi. 893 8942002-12-22 Joseph S. Myers <jsm@polyomino.org.uk> 895 896 * treelang.texi: Use @ifnottex instead of @ifinfo. 897 8982002-11-30 Zack Weinberg <zack@codesourcery.com> 899 900 * lex.l: Move "%{" below copyright notice; get rid of "/*" 901 embedded in comment. Do not #undef IN_GCC; do not include 902 stdio.h, memory.h, or ansidecl.h; do not include config.h twice. 903 Do include coretypes.h and tm.h. 904 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree 905 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or 906 ansidecl.h. Do include coretypes.h and tm.h. 907 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h, 908 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h. 909 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h, 910 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h, 911 or ansidecl.h. Do include coretypes.h and tm.h. 912 * Make-lang.in: Update dependencies. 913 9142002-09-09 Tim Josling <tej@melbpc.org.au> 915 916 * treetree.c (objc_is_id): New. 917 9182002-08-16 Tim Josling <tej@melbpc.org.au> 919 920 Remove variables and functions now defined elsewhere. 921 922 * treetree.c (maybe_objc_comptypes): Remove. 923 (warn_format, warn_format_y2k, warn_format_extra_args, 924 warn_format_nonliteral, warn_format_security, 925 warn_format_zero_length): Remove. 926 (maybe_building_objc_message_expr): Remove. 927 (cpp_post_options): Remove. 928 (maybe_objc_check_decl): Remove. 929 (integer_types): Remove. 930 931 9322002-08-13 Neil Booth <neil@daikokuya.co.uk> 933 934 * treelang.c: Remove cpp_post_options. 935 9362002-08-13 Tim Josling <tej@melbpc.org.au> 937 938 * parse.y: Provide dummy definition of rtx for use by config.h. 939 * Make-lang.in (treetree.o): Remove dependency on non-existent 940 gt-treelang-treelang.h. 941 (gt-treelang-treelang.h): Remove. 942 9432002-08-08 Nathan Sidwell <nathan@codesourcery.com> 944 945 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files. 946 9472002-07-11 Tim Josling <tej@melbpc.org.au> 948 949 Remove front end hard coding from gengtype.c. 950 951 * config-lang.in (gtfiles): Add files needed for this front 952 end. 953 9542002-07-09 Tim Josling <tej@melbpc.org.au> 955 956 Support new attributes regime (Fix for PR c++/7099). 957 958 * treetree.c (handle_format_attribute): Return NULL_TREE instead 959 of aborting. 960 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE 961 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE 962 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines. 963 9642002-06-21 Andreas Jaeger <aj@suse.de> 965 966 * Make-lang.in (treelang/tree1.o, treelang/treetree.o, 967 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H). 968 9692002-06-19 Paolo Bonzini <bonzini@gnu.org> 970 971 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather 972 than STATIC. 973 9742002-06-10 Tim Josling <tej@melbpc.org.au> 975 976 Cleanup 977 978 * Make-lang.in (check-treelang). Add. Remove direct dependency of 979 'check' on 'treelang.check' as redundant. 980 981 PCH Garbage collection regime (gengtypes.c) phase 1. 982 983 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h 984 gt-treelang-treelang.h gtype-treelang.h. 985 (gt-treelang-tree1.h) Depend on s-gtype. 986 (gt-treelang-treelang.h) Depend on s-gtype. 987 (gtype-treelang.h) Depend on s-gtype. 988 989 * config-lang.in (gtfiles): Define. 990 991 * lex.l (main): Remove '#if 0' dead code. 992 (main): Move undef of IN_GCC so define of tree typedef works. 993 (all): Replace token and production by prod_token_parm_item. 994 995 * parse.y 996 (all): Replace token and production by prod_token_parm_item. 997 998 * tree1.c (main): Remove include of "output.h". 999 (symbol_table): Add GTY details. 1000 (symbol_table_ggc): Remove. 1001 (treelang_init): Remove root definitions for garbage collection. 1002 (mark_production_used): Remove. 1003 (mark_token_used): Remove. 1004 (main, at end): include generated garage collection routines. 1005 1006 * treelang.h (category_enum ): Add parameter_category. 1007 (all): Replace token and production and parameters by union 1008 prod_token_parm_item containing production_part, token_part, 1009 parameter_part. 1010 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE 1011 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT 1012 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN 1013 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from 1014 treetree.h. 1015 1016 * treetree.c 1017 (tm_p.h): Do not include. 1018 (ansidecl.h): Move include after config.h. 1019 (treelang.h): Include it. 1020 (ADDROOT): Remove. 1021 (all): Replace token, production and parameter by prod_token_parm_item. 1022 (tree_parameter_list): Move to treelang.h as part of 1023 prod_token_parm_item. 1024 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE 1025 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT 1026 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN 1027 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to 1028 treelang.h. 1029 10302002-05-19 Tim Josling <tej@melbpc.org.au> 1031 1032 * treetree.c (warn_format_zero_length): Add. 1033 10342002-05-14 Tim Josling <tej@melbpc.org.au> 1035 1036 * Make-lang.in: Fix build for .info files, add target for manpages. 1037 A bug report and a suggested patch came from Magnus Fromreide 1038 <magfr@lysator.liu.se>. 1039 10402002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 1041 1042 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. 1043 10442002-05-11 Tim Josling <tej@melbpc.org.au> 1045 1046 * treetree.c: (cpp_define) Add. 1047 (cpp_get_callbacks) Add. 1048 10492002-05-07 Tim Josling <tej@melbpc.org.au> 1050 1051 * treetree.c: (cpp_get_options) Add. 1052 10532002-05-06 Tim Josling <tej@melbpc.org.au> 1054 1055 * .cvsignore: Add. 1056 10572002-05-05 Tim Josling <tej@melbpc.org.au> 1058 1059 * Updated for gcc3.2 experimental. Major changes throughout. 1060 10612002-03-31 Tim Josling <tej@melbpc.org.au> 1062 1063 * Make-lang.in: Changes so build and check work more reliably 1064 10652001-07-30 Tim Josling <tej@melbpc.org.au> 1066 1067 * root.texi: remove 1068 * treelang.texi: updates based on feedback 1069 10702001-06-11 Tim Josling <tej@melbpc.org.au> 1071 1072 * all (all) Revamp code to conform to GCC coding standards, fix 1073 typos in texi files. 1074 10752001-05-11 Tim Josling <tej@melbpc.org.au> 1076 1077 Create the new language. 1078