X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fch%2FChangeLog;h=5dafdbb353f7c70f435edf21df44d0e33000bf36;hp=fe842119b9b101d7cba23d68dbccfbea9d82f42e;hb=5b7ad4b3706e93aee2aed8d0b8c1f3a96b926922;hpb=2f5d30d928ca07598d5f3fbcda66c21843c587ea diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog index fe842119b9b..5dafdbb353f 100644 --- a/gcc/ch/ChangeLog +++ b/gcc/ch/ChangeLog @@ -1,3 +1,340 @@ +2002-03-22 Zack Weinberg + + * grant.c: Always use REAL_VALUE_TO_DECIMAL; don't test + REAL_IS_NOT_DOUBLE. + +2002-03-12 Kaveh R. Ghazi + + * decl.c (chill_tree_code_type, chill_tree_code_length, + chill_tree_code_name): Delete. + (tree_code_type, tree_code_length, tree_code_name): Define. + (init_decl_processing): Don't try to copy into the various + tree_code arrays. + +2002-02-27 Zack Weinberg + + * ch-tree.h, decl.c: Delete traditional-mode-related code + copied from the C front end but not used, or used only to + permit the compiler to link. + +2002-01-11 Craig Rodrigues + + PR other/5299 + * decl.c (layout_enum): Fix spelling mistake of "than". + * inout.c (check_text_length): Same. + +2001-12-20 Joseph S. Myers + + * config-lang.in (diff_excludes): Remove. + +2001-12-15 Joseph S. Myers + + * expr.c: Use "built-in" spelling in messages. + +2001-12-15 Joseph S. Myers + + * decl.c, parse.c, typeck.c: Use American spelling in messages. + +2001-12-10 Joseph S. Myers + + * chill.texi: Don't condition menus on @ifinfo. + +2001-12-04 Zack Weinberg + + * Makefile.in: Don't set ALL. Delete @cross_defines@, + @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS + is now @CROSS@ -DIN_GCC; update comment. + +2001-12-03 Neil Booth + + * actions.c: Remove leading capital from diagnostic messages, as + per GNU coding standards. + * decl.c: Similarly. + * expr.c: Similarly. + * inout.c: Similarly. + * lang.c: Similarly. + * loop.c: Similarly. + * nloop.c: Similarly. + * parse.c: Similarly. + * satisfy.c: Similarly. + * tasking.c: Similarly. + * tree.c: Similarly. + * typeck.c: Similarly. + +2001-11-29 Joseph S. Myers + + * Make-lang.in (CHILL.generated-manpages): New dummy target. + +2001-10-31 Joseph S. Myers + + * ChangeLog, actions.c, ch-tree.def, decl.c, except.c, inout.c, + tasking.c, typeck.c: Fix spelling errors. + +2001-10-29 Zack Weinberg + + * convert.c, inout.c, loop.c, nloop.c, tasking.c, timing.c, + typeck.c: Use /* */ for all commentary, not #if 0 ... #endif. + Change the nested comments this creates to // notation. + Un-double apostrophes. + +Sat Sep 22 09:15:08 2001 Richard Kenner + + * Make-lang.in (cc1chill): Add attribs.o. + +2001-08-18 Kaveh R. Ghazi + + * tree.c (TYPE_HASH): Moved to ../tree.h. + +2001-08-11 Zack Weinberg + + * lex.c: Don't include setjmp.h. + +2001-08-09 Richard Henderson + + * grant.c (chill_finish_compile): Use target hooks instead of + assemble_constructor. + +2001-08-06 Richard Henderson + + * grant.c (chill_finish_compile): Pass a symbol_ref and priority + to assemble_constructor. + +2001-07-19 Neil Booth + + * Makefile.in (lex.o): No dependence on dwarfout.h. + * lex.c: Don't include dwarfout.h. + +2001-07-10 Jan van Male + + * ch-tree.h: Remove prototype for combine_parm_decls, unused + function. + +2001-06-28 Gabriel Dos Reis + + * lang.c: #include diagnostic.h + (chill_print_error_function): Add a dummy `diagnostic_context *'. + * Makefile.in (lang.o): Depend on diagnostic.h + +2001-06-10 Gabriel Dos Reis + + * decl.c: #include diagnostic.h + * actions.c: #include diagnostic.h + * Makefile.in (actions.o): Depend on diagnostic.h + (decl.o): Depend on diagnostic.h + +2001-06-02 Joseph S. Myers + + * chill.texi: Move contents to just after title page. + +2001-05-23 Theodore Papadopoulo + + * Make-lang.in (dvi): Use ch/chill.dvi not chill.dvi. + (ch/chill.dvi): Use TEXI2DVI instead of custom tex calls. Create + the dvi file in the ch directory. + +2001-05-26 Zack Weinberg + + * configure: Remove obsolete file. + +2001-05-25 Sam TH + + * ch-tree.h tasking.h: Fix header include guards. + +2001-05-20 Joseph S. Myers + + * Make-lang.in (chill.dvi): Remove bogus dependencies. Don't cd + to ch; include both $(srcdir)/ch and $(srcdir) in TEXINPUTS. + Don't move chill.dvi after creating it. Fixes PR other/567 and + PR other/1018. + +Fri Feb 23 15:28:39 2001 Richard Kenner + + * decl.c (set_block): Set NAMES and BLOCKS from BLOCK. + +2001-02-15 Jim Meyering + + * Make-lang.in (CHILL.install-common): Depend on `installdirs'. + (CHILL.install-info): Likewise. + +Sun Feb 4 15:52:44 2001 Richard Kenner + + * convert.c (convert): Call abort instead of fatal. + * except.c (pop_handler, chill_check_no_handlers): Likewise. + * expr.c (chill_expand_expr): Likewise. + * parse.c (peek_token_, pushback_token, require): Likewise. + * grant.c (write_grant_file): Call fatal_io_error instead of + pfatal_with_name. + * lex.c (init_parse, same_file, yywrap): Likewise. + * lang.c (GNU_xref_begin, GNU_xref_end): Deleted. + * lex.c (convert_bitstring): Delete check for alloca failure. + +2001-01-28 Kaveh R. Ghazi + + * ch-tree.h (integer_minus_one_node): Moved to top level gcc + directory. + + * decl.c (integer_minus_one_node): Likewise. + (init_decl_processing): Don't set integer_minus_one_node. + +2001-01-27 Kaveh R. Ghazi + + * Makefile.in: Remove all dependencies on defaults.h. + * decl.c: Don't include defaults.h. + * timing.c: Likewise. + +2000-12-08 Joseph S. Myers + + * Make-lang.in (CHILL.info): Depend on info files in source + directory. + (ch/chill.info): Build info files in source directory. + (CHILL.install-info): Install info files from source directory. + +2000-12-07 Zack Weinberg + + * lex.c: Don't bother checking whether ISUPPER(c) before + calling TOLOWER(c). Don't bother checking whether isascii(c) + before testing ISSPACE(c); ISSPACE(c) includes '\n'. + +2000-12-06 Rodney Brown + + * actions.h: Standarize copyright statement. + * except.c inout.c lang.c lex.c lex.h loop.c nloop.c: Likewise. + * parse.c tasking.c tasking.h timing.c xtypeck.c: Likewise. + +2000-11-07 Joseph S. Myers + + * actions.c (check_missing_cases), typeck.c (build_chill_slice, + build_chill_cast): Use memset () instead of bzero (). + +2000-11-05 Joseph S. Myers + + * Make-lang.in (CHILL.distdir): Remove. + +2000-11-02 Geoffrey Keating + + * Make-lang.in: Remove 'CYGNUS LOCAL' markers. + * Makefile.in: Likewise. + * configure: Likewise. + +2000-10-07 Joseph S. Myers + + * Makefile.in ($(srcdir)/hash.h): Refer to GNU FTP site for + updated gperf. + +2000-10-05 Richard Henderson + + * decl.c (finish_chill_function): Don't init can_reach_end. + +2000-09-10 Zack Weinberg + + * decl.c, timing.c: Include defaults.h if not already included. + Don't define the *_TYPE_SIZE macros. + * Makefile.in: Update dependencies. + +2000-08-29 Zack Weinberg + + * inout.c (add_enum_to_list): Use DECL_NAME directly, don't get + its IDENTIFIER_POINTER and immediately call get_identifier on it. + * lex.c (yywrap): Constify a char *. + +2000-08-24 Mark Mitchell + + * Make-lang.in (cc1chill): Don't depend on c-iterate.o. + +2000-08-21 Nix + + * lang-specs.h: Do not process -o or run the assembler if + -fsyntax-only. + +2000-08-07 Kazu Hirata + + * decl.c: Fix a comment typo. + +2000-08-04 Zack Weinberg + + * Make-lang.in (cc1chill): Depend on $(BACKEND), not stamp-objlist. + * Makefile.in (cc1chill): Link with $(BACKEND). Define BACKEND, + eliminate C_OBJS (was commented out), OBJS, OBJDEPS. + +2000-07-31 Zack Weinberg + + * lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0. + +Mon Jul 31 07:58:31 2000 Casper Dik + + * Makefile.in: Remove naked "^L". + +2000-07-13 Zack Weinberg + + * lang-specs.h: Use the new named specs. Remove unnecessary braces. + +2000-06-13 Jakub Jelinek + + * decl.c (init_decl_processing): Set TYPE_USER_ALIGN. + (layout_enum): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN. + * typeck.c (layout_chill_range_type): Set TYPE_USER_ALIGN. + (apply_chill_field_layout): Set DECL_USER_ALIGN. + (layout_chill_struct_type): Set TYPE_USER_ALIGN. + +Tue Jun 13 15:30:46 2000 Maciej W. Rozycki + + * Make-lang.in (CHILL.install-common): Use $(INSTALL_SCRIPT), not + $(INSTALL_PROGRAM) for chill.install. + +2000-06-11 Kaveh R. Ghazi + + * Makefile.in (EXPR_H): New dependency variable. + (actions.o, expr.o): Use EXPR_H. + (lang.o): Depend on RTL_H and EXPR_H. + + * lang.c: Include rtl.h and expr.h. + (lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED. + +2000-06-04 Philipp Thomas + + * Makefile.in(INTLLIBS): New macro. + (LIBS): Add INTLLIBS. + (DEPLIBS): Likewise. + * config-lang(outputs): Specify ch/Makefile. + +Sat Jun 3 15:31:07 2000 Jeffrey A Law (law@cygnus.com) + + * chill.texi (INFO-DIR-ENTRY): Fix chill entry. + +2000-06-02 Richard Henderson + + * lang.c (lang_get_alias_set): New. + +Sat May 27 11:24:26 2000 Richard Kenner + + * lang.c (deep_const_expr): Use first_rtl_op. + * satisfy.c (satisfy): Use TREE_CODE_LENGTH. + +2000-05-18 Chris Demetriou + + * Makefile.in (hash.h): Delete a redundant use of gawk and sed. + +Wed May 17 17:27:44 2000 Andrew Cagney + + * decl.c (c_decode_option): Update -Wall unused flags by + calling set_Wunused. + (poplevel): Replace warn_unused with warn_unused_label. + +2000-05-09 Zack Weinberg + + * ch-tree.h: Update prototypes. Remove prototypes for + functions declared elsewhere. + * decl.c (define_label): Constify filename parameter. + * grant.c (globalize_decl, set_default_grant_file): Constify + local char * variables. Don't declare + first_global_object_name or asm_out_file. + * lang.c (chill_real_input_filename): Constify. + * lex.c (init_parse): Constify parameter and return value. + * parse.c: Don't declare input_filename. + (ch_expand_asm_operands): Constify filename parameter. + (parse_multi_dimension_case_action): Constify local char *. + * satisfy.c (safe_satisfy_decl): Constify local char *. + 2000-05-04 Kaveh R. Ghazi * ch-tree.h (init_function_start): Constify. @@ -77,7 +414,7 @@ Sun Feb 27 16:40:33 2000 Richard Kenner Sat Feb 19 18:43:13 2000 Richard Kenner - * decl.c (layout_enum): Set DECL_SIZE_UNIT. + * decl.c (layout_enum): Set DECL_SIZE_UNIT. * satisfy.c (safe_satisfy_decl): Likewise. 2000-02-15 Jonathan Larmour @@ -144,9 +481,9 @@ Sat Feb 19 18:43:13 2000 Richard Kenner * expr.c (build_chill_function_call): Don't call a variadic function with a non-literal format string. - + * grant.c (write_spec_module): Likewise. - + * parse.c (require, expect): Likewise. * tasking.c (get_struct_type_name, get_struct_debug_type_name, @@ -172,7 +509,7 @@ Fri Sep 24 10:48:10 1999 Bernd Schmidt * ch-tree.h (builtin_function): Don't declare. * decl.c (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of - type int. All callers changed. + type int. All callers changed. Set the builtin's DECL_BUILT_IN_CLASS. 1999-09-20 Nick Clifton @@ -427,10 +764,10 @@ Tue Sep 7 15:59:56 1999 Dave Brolley 1999-08-09 Kaveh R. Ghazi - * actions.c (lang_identify): Constify a char*. + * actions.c (lang_identify): Constify a char*. - * lang.c (chill_print_error_function): Likewise. - (lang_init): Remove redundant prototype for `print_error_function'. + * lang.c (chill_print_error_function): Likewise. + (lang_init): Remove redundant prototype for `print_error_function'. 1999-07-25 Richard Henderson @@ -469,14 +806,14 @@ Wed Apr 14 21:07:30 1999 Mumit Khan Fri Apr 2 15:49:44 1999 Jeffrey A Law (law@cygnus.com) - * Make-lang.in (CHILL_FLAGS_TO_PASS): Do not pass $(CC). + * Make-lang.in (CHILL_FLAGS_TO_PASS): Do not pass $(CC). Wed Mar 31 10:44:47 1999 Kaveh R. Ghazi - * Makefile.in (hash.h): Generate using gperf language 'C', not - 'KR-C', so gperf uses the `const' keyword on strings. - - * gperf (resword): Const-ify a char*. + * Makefile.in (hash.h): Generate using gperf language 'C', not + 'KR-C', so gperf uses the `const' keyword on strings. + + * gperf (resword): Const-ify a char*. Sun Mar 28 00:30:36 1999 Jeffrey A Law (law@cygnus.com) @@ -515,7 +852,7 @@ Tue Jan 19 23:24:36 1999 Jeffrey A Law (law@cygnus.com) (parse_multi_dimension_case_action): Initialize "end_case_label". * tasking.c (build_start_process): Initialize "struct_type_node". * typeck.c (apply_chill_field_layout): Initialize "word". - (type_for_mode); Unconditionally cast RHS & LHS to ints to shut up + (type_for_mode); Unconditionally cast RHS & LHS to ints to shut up signed/unsigned comparison warning. Mon Jan 18 11:55:06 1999 Kaveh R. Ghazi @@ -532,7 +869,7 @@ Wed Jan 6 02:53:38 1999 Jeffrey A Law (law@cygnus.com) * Makefile.in: Add some missing $(exeext). Remove some obsolete runtime stuff. * Make-lang.in: Similarly. - + Tue Nov 24 09:57:34 1998 Jeffrey A Law (law@cygnus.com) * Makefile.in (lex.c): Do not depend on hash.h. @@ -554,7 +891,7 @@ Thu Oct 15 09:25:21 1998 Kaveh R. Ghazi * parse.c (parse_spec_module): Remove unused variable `module_name', but preserve function call from initialization. (parse_operand6): Mark variable `location' with ATTRIBUTE_UNUSED. - + * inout.c (init_text_location): Remove unused variable `textlength'. Wed Oct 14 22:19:48 1998 Kaveh R. Ghazi @@ -599,10 +936,10 @@ Wed Oct 7 12:19:21 1998 Kaveh R. Ghazi Thu Oct 1 10:43:45 1998 Nick Clifton - * lex.c: Replace occurances of HANDLE_SYSV_PRAGMA with + * lex.c: Replace occurrences of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS. (handle_generic_pragma): New function: Parse generic pragmas. - + Wed Sep 30 20:22:34 1998 Kaveh R. Ghazi * parse.c (emit_label): Fix return-type of prototype. @@ -610,7 +947,7 @@ Wed Sep 30 20:22:34 1998 Kaveh R. Ghazi Wed Sep 30 19:41:36 1998 Kaveh R. Ghazi * actions.c (chill_handle_multi_case_label): Always return a value - in function returning non-void. + in function returning non-void. * except.c: Include OS headers before any local ones. @@ -625,7 +962,7 @@ Wed Sep 30 19:41:36 1998 Kaveh R. Ghazi Wed Sep 30 19:24:41 1998 Kaveh R. Ghazi * actions.c (id_cmp): Do pointer arithmetic as `long' not `int' to - ensure enough bits for calculation. + ensure enough bits for calculation. * ch-tree.h (check_text_length): Remove unused parameter. @@ -693,23 +1030,23 @@ Sun Sep 20 09:25:13 1998 Kaveh R. Ghazi (grant.o): Depend on system.h, toplev.h and output.h. * actions.c: Include system.h and toplev.h. Remove redundant - prototypes. + prototypes. (build_cause_exception): Add default case in switch. (update_else_range_for_range): Add parentheses around && within ||. (chill_handle_multi_case_label_list): Remove unused variable `selector_value'. (print_missing_cases): Reconcile format specifiers vs arguments in - calls to sprintf. + calls to sprintf. * ch-tree.h: Don't include stdio.h. Wrap prototypes using FILE* - with macro BUFSIZ. Add missing prototypes. + with macro BUFSIZ. Add missing prototypes. * convert.c: Include system.h and toplev.h. Remove redundant prototypes. - (convert): Remove unused variable `errstr'. + (convert): Remove unused variable `errstr'. * decl.c: Include system.h and toplev.h. Remove redundant - prototypes. + prototypes. (builtin_scope): Add missing initializers. (clear_scope): Likewise. (allocate_lang_decl): Mark parameter `t' with ATTRIBUTE_UNUSED. @@ -723,7 +1060,7 @@ Sun Sep 20 09:25:13 1998 Kaveh R. Ghazi (finish_decl): Remove unused variable `type'. (maybe_build_cleanup): Mark parameter `decl' with ATTRIBUTE_UNUSED. (complete_array_type): Mark parameters `type', `initial_value' and - `do_default' with ATTRIBUTE_UNUSED. + `do_default' with ATTRIBUTE_UNUSED. (start_struct): Mark parameter `name' with ATTRIBUTE_UNUSED. (start_enum): Likewise. (shadow_record_fields): Remove unused variables `type' and `parent'. @@ -731,7 +1068,7 @@ Sun Sep 20 09:25:13 1998 Kaveh R. Ghazi * except.c: Include toplev.h. Remove redundant prototypes. * expr.c: Include system.h and toplev.h. Don't define NULL. - Remove redundant prototypes. + Remove redundant prototypes. (internal_build_compound_expr): Mark parameter `first_p' with ATTRIBUTE_UNUSED. (build_allocate_getstack): Remove unused variable `init'. @@ -745,19 +1082,19 @@ Sun Sep 20 09:25:13 1998 Kaveh R. Ghazi (powersetlen): Remove unused variables `domain' and `temp'. * grant.c: Include system.h, toplev.h and output.h. Don't handle - strchr/strrchr. Remove redundant prototypes. - (decode_constant_selective): Remove unused variables `op' and `wrk'. + strchr/strrchr. Remove redundant prototypes. + (decode_constant_selective): Remove unused variables `op' and `wrk'. (push_granted): Mark parameters `name' and `decl' with - ATTRIBUTE_UNUSED. + ATTRIBUTE_UNUSED. * inout.c: Include system.h and toplev.h. Remove redundant - prototypes. + prototypes. (textlocation_mode): Use &&, not &, when comparing two truth values. (scanformcont): Remove unused label `do_the_action'. * lang.c: Include system.h and toplev.h. Remove redundant - prototypes. + prototypes. (lookup_interface): Mark parameter `arg' with ATTRIBUTE_UNUSED. (maybe_objc_comptypes): Likewise for parameters `lhs' and `rhs'. (lang_print_xnode): Likewise for parameters `file', `node' and @@ -767,7 +1104,7 @@ Sun Sep 20 09:25:13 1998 Kaveh R. Ghazi ATTRIBUTE_UNUSED. * lex.c: Include system.h and toplev.h. Remove redundant - prototypes. Don't handle strchr/strrchr. Use CAPITALIZED + prototypes. Don't handle strchr/strrchr. Use CAPITALIZED versions of ctype macros from system.h. Cast ctype arguments to unsigned char when necessary. (last_token, RETURN_TOKEN): Hide definition. @@ -823,10 +1160,10 @@ Sun Sep 20 09:25:13 1998 Kaveh R. Ghazi * typeck.c: Include system.h and toplev.h. Remove redundant prototypes. (extract_constant_from_buffer): Make function static. Add - explicit braces to avoid ambiguous `else'. + explicit braces to avoid ambiguous `else'. (expand_constant_to_buffer): Likewise. (build_chill_slice): remove unused variable `is_static'. - (chill_compatible): Add explicit braces to avoid ambiguous `else'. + (chill_compatible): Add explicit braces to avoid ambiguous `else'. (apply_chill_array_layout): Remove unused variable `offset'. (smash_dummy_type): Remove unused variable `save_lang_specific'. (initializer_constant_valid_p): Add default case in switch. @@ -837,7 +1174,7 @@ Mon Sep 14 16:46:36 1998 Dave Brolley domain type of the array. * expr.c (build_chill_function_call): Remove redundant call to - chill_convert_to_assignment + chill_convert_to_assignment Thu Sep 10 17:52:36 1998 Dave Brolley @@ -855,7 +1192,7 @@ Sat Sep 5 23:49:50 1998 Jeffrey A Law (law@cygnus.com) Sat Sep 5 22:25:51 1998 Richard Henderson - * Makefile.in: Update dependancies for top-level gcc files that moved. + * Makefile.in: Update dependencies for top-level gcc files that moved. Sat Sep 5 02:21:08 1998 Jeffrey A Law (law@cygnus.com) @@ -903,7 +1240,7 @@ Wed Jun 10 12:08:09 1998 Dave Brolley Wed May 27 10:33:41 1998 Dave Brolley * actions.c (chill_handle_multi_case_label): Arguments 1 and 2 to - chill_handle_multi_case_label_range were reversed. + chill_handle_multi_case_label_range were reversed. * Make-lang.in (chill): Use the correct gcc in the driver script. @@ -990,7 +1327,7 @@ Thu Apr 9 12:46:55 1998 Dave Brolley * lang.c (finput): Declare. * ch-tree.h (init_lex): Remove. - + Wed Apr 8 14:47:33 1998 Dave Brolley @@ -1019,13 +1356,13 @@ Fri Mar 20 16:06:41 1998 Dave Brolley Thu Mar 19 13:42:33 1998 Dave Brolley * typeck.c (apply_chill_array_layout): Use - TYPE_PRECISION (chill_integer_type_node) in stead of BITS_PER_WORD for + TYPE_PRECISION (chill_integer_type_node) in stead of BITS_PER_WORD for the word size. Wed Mar 18 16:25:48 1998 Dave Brolley * typeck.c (apply_chill_field_layout): Only set DECL_BIT_FIELD for discrete - fields. + fields. * parse.c (parse_multi_dimension_case_action): Call emit_line_note at the proper places. @@ -1097,7 +1434,7 @@ Wed Mar 4 16:08:26 1998 Dave Brolley (build_simple_array_type): Attach array layout to TYPE_ATTRIBUTES. (apply_chill_array_layout): New function to implement array layout. (layout_chill_array_type): Call apply_chill_array_layout and reset - TYPE_ATTRIBUTES to NULL_TREE. + TYPE_ATTRIBUTES to NULL_TREE. (build_chill_array_type): Extend to handle one array layout per index mode. (smash_dummy_type): Call build_simple_array_type with new argument. @@ -1131,14 +1468,14 @@ Thu Feb 19 17:33:06 1998 Dave Brolley Wed Feb 18 23:48:57 1998 Richard Henderson - * Make-lang.in (cc1chill): Kill lingering bc-opcode.h dependancy. + * Make-lang.in (cc1chill): Kill lingering bc-opcode.h dependency. Wed Feb 18 17:35:05 1998 Dave Brolley * parse.c (parse_field): Get rid of warning for multiple case selectors. * decl.c (layout_chill_variants): Fix loop indexing error. - + Mon Feb 16 15:54:47 1998 Dave Brolley * parse.c (parse_case_expression): Remove code which checked for @@ -1170,7 +1507,7 @@ Thu Feb 12 15:44:50 1998 Dave Brolley * parse.c (parse_case_action): Implement multi-dimension CASE action. (parse_multi_dimension_case_action): Added. (parse_single_dimension_case_action): Added based on code moved from - parse_case_action. + parse_case_action. * expr.c (check_case_selector_list): Added. @@ -1192,7 +1529,7 @@ Fri Feb 6 16:43:41 1998 Dave Brolley Thu Feb 5 14:03:00 1998 Dave Brolley * decl.c (chill_tree_code_type): Change this to be an array of char like - the tree_code_type in the rest of gcc. + the tree_code_type in the rest of gcc. * ch-tree.def (chill_tree_code_type): See decl.c. @@ -1209,11 +1546,11 @@ Thu Jan 29 15:34:18 1998 Dave Brolley * decl.c (init_decl_processing): Don't allocate chill_tree_code_... (init_decl_processing): Change last argument to 'sizeof(char)'. - + Tue Nov 25 10:44:19 1997 Nick Clifton - * Make-lang.in (mostlyclean): Use && to separate commands, so that + * Make-lang.in (mostlyclean): Use && to separate commands, so that if the directory change fails, the rule will not loop. Mon Mar 3 12:08:19 1997 Fred Fish @@ -1224,38 +1561,38 @@ Mon Mar 3 12:08:19 1997 Fred Fish Tue Nov 26 05:12:40 1996 Wilfried Moser - * tasking.c (build_receive_buffer_case_label): Rework in a manner, - that the buffer location gets evaluated only once, in - build_receive_buffer_case_end. + * tasking.c (build_receive_buffer_case_label): Rework in a manner, + that the buffer location gets evaluated only once, in + build_receive_buffer_case_end. - * typeck.c (build_chill_bin_type): Rework. - (layout_chill_range_type): Process BIN mode. - (build_chill_array_type): Remove checking of layout. This is done - at the parse. + * typeck.c (build_chill_bin_type): Rework. + (layout_chill_range_type): Process BIN mode. + (build_chill_array_type): Remove checking of layout. This is done + at the parse. - * parse.c (parse_on_exception_list): Don't allow ON name:. - (parse_opt_layout): Parse POS and STEP and return a tree instead - of int. + * parse.c (parse_on_exception_list): Don't allow ON name:. + (parse_opt_layout): Parse POS and STEP and return a tree instead + of int. - * lex.c (init_lex), lex.h: Define and initialise RID_BIN. + * lex.c (init_lex), lex.h: Define and initialise RID_BIN. - * grant.c (print_integer_type): Take care of BIN. + * grant.c (print_integer_type): Take care of BIN. - * expr.c (build_chill_descr): Make descr static if requested - location is static. - (build_chill_length): Process text mode name and text location as - described in Z.200/1992. - (build_compare_expr): Don't allow < <= > >= for composite modes. + * expr.c (build_chill_descr): Make descr static if requested + location is static. + (build_chill_length): Process text mode name and text location as + described in Z.200/1992. + (build_compare_expr): Don't allow < <= > >= for composite modes. - * decl.c (grok_chill_fixedfields): Remove checking of - layout. This is done at the parser. + * decl.c (grok_chill_fixedfields): Remove checking of + layout. This is done at the parser. - * convert.c (digest_structure_tuple): Take care of wrong (probably - array) tuple. Printing error may cause sigsegv. + * convert.c (digest_structure_tuple): Take care of wrong (probably + array) tuple. Printing error may cause sigsegv. - * ch-tree.h: Change prototypes of grok_chill_fixedfields and - build_chill_array_type (layout is passed now as a tree instead of - int). + * ch-tree.h: Change prototypes of grok_chill_fixedfields and + build_chill_array_type (layout is passed now as a tree instead of + int). Fri Nov 15 15:17:44 1996 Per Bothner @@ -1265,22 +1602,22 @@ Fri Nov 15 15:17:44 1996 Per Bothner Mon Oct 28 12:48:06 1996 Jeffrey A Law (law@cygnus.com) - * typeck.c (signed_or_unsigned_type): If the given type already - as the correct signedness, then just return it. + * typeck.c (signed_or_unsigned_type): If the given type already + as the correct signedness, then just return it. - * typeck.c ({un,}signed_type): If can't do anything, call - signed_or_unsigned_type. + * typeck.c ({un,}signed_type): If can't do anything, call + signed_or_unsigned_type. Fri Sep 6 02:50:08 1996 Wilfried Moser - * typeck.c (build_chill_cast): In case of rangecheck, take care of + * typeck.c (build_chill_cast): In case of rangecheck, take care of constant expression (when defining a SYN). Thu Sep 5 04:30:32 1996 Wilfried Moser * parse.c (define__PROCNAME__): New function to define a SYNONYM __PROCNAME__ (__procname__) which is a character string containing - the name of the current procedure. This is quit the same as + the name of the current procedure. This is quit the same as __FUNCTION__ in C. (parse_proc_body): Add call to define__PROCNAME__. @@ -1390,7 +1727,7 @@ Tue Mar 5 22:31:20 1996 Per Bothner * tree.c (build_string_type): Generalize to also create bitstrings. Return error_mark_node if an argument is an ERROR_MARK. - (build_bitstring_type): Simplify - just call build_string_type. + (build_bitstring_type): Simplify - just call build_string_type. Tue Mar 5 03:48:32 1996 Wilfried Moser @@ -1408,7 +1745,7 @@ Thu Feb 29 23:39:54 1996 Per Bothner Simplify NOVELTY representation. * ch-tree.h (CH_NOVELTY): Re-implement as plain TYPE_CONTEXT. - (CH_NOVELTY_FLAG): Removed. (Just use CH_NOVELTY.) + (CH_NOVELTY_FLAG): Removed. (Just use CH_NOVELTY.) * decl.c (push_modedef): Make copy even for SYNMODE. but not for internal typedefs (indicated by make_newmode==-1). * tasking.c: Call push_modedef with make_newmode==-1. @@ -1429,7 +1766,7 @@ Thu Feb 29 23:39:54 1996 Per Bothner (build_chill_function_call): Error if OUT/INOUT arg is TREE_READONLY. * actions.c (chill_expand_assignment): Also error if TREE_READONLY. Use convert_from_reference. - + Thu Feb 29 11:14:09 1996 Per Bothner * parse.c (parse_do_action): DO WITH expressions are evaluated in @@ -1497,7 +1834,7 @@ Mon Feb 5 22:17:13 1996 Per Bothner * tree.c (discrete_count), ch-tree.h: New function. * expr.c (build_concate_expr, build_chill_repetition_op, chill_expand_expr): Use discrete_count; make sure arguments - to size_binop are sizetype. + to size_binop are sizetype. (powersetlen): Trvialize using discrete_count. * inout.c (process_io_list): Use new assign_temp function. @@ -1538,7 +1875,7 @@ Wed Jan 24 05:10:08 1996 Wilfried Moser * Make-lang.in: Change GNUCHILL_VERSION to 1.5.2. * decl.c (layout_enum): Add check for negative values if - enum is numbered and duplicate values in an enum. + enum is numbered and duplicate values in an enum. Mon Jan 15 06:21:52 1996 Wilfried Moser @@ -1566,7 +1903,7 @@ Mon Dec 11 17:36:44 1995 Per Bothner * inout.c (build_chill_associate, assoc_call, build_chill_readrecord, build_chill_getassociation, build_chill_getusage, - build_chill_gettextrecord, build_chill_gettextaccess: Simplify + build_chill_gettextrecord, build_chill_gettextaccess: Simplify - modify TREE_TYPE of CALL_EXPR, instead of building a CONVERT_EXPR. * parse.c (parse_action): Minor simplification. @@ -1696,7 +2033,7 @@ Mon Nov 6 04:12:06 1995 Wilfried Moser given. This is also not allowed. Add initialisation of variables of the above modes during runtime. This influence the mechanism for detecting to - build a constructor. + build a constructor. (push_modedef): NEW- or SYNMODES of ASSOCIATION, ACCESS, TEXT, BUFFER, and EVENT mode must not be READonly. (start_chill_function): Arguments of modes ASSOCIATION, ACCESS, @@ -1724,7 +2061,7 @@ Mon Nov 6 04:12:06 1995 Wilfried Moser * inout.c: Completely rewritten for implementing Chapter 7 of Z.200 (input and output). - + * lex.c (yylex): An '_' after a '.' doesn't mean, that we are parsing numbers. @@ -1743,7 +2080,7 @@ Mon Nov 6 04:12:06 1995 Wilfried Moser ACCESS, TEXT, BUFFER, or EVENT and print an error in this case. (satisfy (case RECORD_TYPE)): If exp is TEXT mode, check the text length. - * typeck.c (extract_constant_from_buffer): Fix thinko in case + * typeck.c (extract_constant_from_buffer): Fix thinko in case of ! BYTES_BIG_ENDIAN. (build_chill_cast): Implement representation conversion between INT's and REAL's. @@ -1760,11 +2097,11 @@ Mon Nov 6 04:12:06 1995 Wilfried Moser CH_IS_USAGE_MODE, CH_IS_WHERE_MODE, and CH_IS_TEXT_MODE. Add some prototypes. (enum chill_built_in_function): Add BUILT_IN_ARCCOS, BUILT_IN_ARCSIN, - BUILT_IN_CH_DELETE, BUILT_IN_LOG, BUILT_IN_SQRT. + BUILT_IN_CH_DELETE, BUILT_IN_LOG, BUILT_IN_SQRT. Remove BUILT_IN_READLEN, BUILT_IN_ROUND, BUILT_IN_SKIPRECORD. * gperf, hash.h: Remove definition of WHERE. - + Thu Oct 5 06:22:19 1995 Wilfried Moser * grant.c (decode_constant_selective): Add some newlines @@ -1778,7 +2115,7 @@ Wed Oct 4 05:14:00 1995 Wilfried Moser * grant.c (print_integer_selective): In case of a RANGE of a SET mode, try to find and grant the parent mode. - (grant_seized_identifier): Dont write it out, if the identifier + (grant_seized_identifier): Don't write it out, if the identifier doesn't have a seize file (it may come from a SPEC MODULE defined in the compilation unit). @@ -1842,7 +2179,7 @@ Wed Sep 13 14:24:12 1995 Per Bothner CH_IS_INSTANCE_MODE, not CH_COMPATIBLE. * actions.c, convert.c (instance_type_node): Remove redundant extern declaration. - + Wed Sep 13 14:19:37 1995 Per Bothner * regression.awk2: Use \ line-continuation-markers @@ -1960,7 +2297,7 @@ Thu Jul 27 23:08:51 1995 Per Bothner set proper value of CH_DECL_FLAG on both the decl and its value. * convert.c (digest_array_tuple); Slightly better errors. - + Wed Jul 26 22:13:39 1995 Per Bothner * expr.c (expand_packed_set): Also allocate the CONSTRUCTOR itself. @@ -1994,9 +2331,9 @@ Tue Jun 27 05:00:04 1995 Wilfried Moser code for reraising the exceptions (call chill_reraise_exceptions). * except.c (chill_reraise_exceptions): New function to generate - code for reraising exceptions are specified at the function + code for reraising exceptions are specified at the function definition. - + * ch-tree.h: Add prototype for chill_reraise_exceptions. * decl.c (build_chill_function_type): When the function (type) @@ -2058,16 +2395,16 @@ Mon Jun 19 06:01:42 1995 Wilfried Moser New marco CH_ALREADY_GRANTED. Used in grant.c to determine if an identifier already has been written to grant file. - * grant.c (write_spec_module): If not GRANT ALL specified, - write only this identifiers to grant file which are - neccessary to form a prober grant file. This will shorten - grant files and speed up compilation. - (decode_constant_selective, decode_mode_selective, - get_type_selective, decode_decl_selective, - grant_array_type_selective, get_tag_value_selective, - print_enumeral_selective, print_integer_selective, - print_struct_selective, print_proc_tail_selective, - grant_one_decl_selective): New functions. + * grant.c (write_spec_module): If not GRANT ALL specified, + write only this identifiers to grant file which are + necessary to form a prober grant file. This will shorten + grant files and speed up compilation. + (decode_constant_selective, decode_mode_selective, + get_type_selective, decode_decl_selective, + grant_array_type_selective, get_tag_value_selective, + print_enumeral_selective, print_integer_selective, + print_struct_selective, print_proc_tail_selective, + grant_one_decl_selective): New functions. * lex.c (yywrap): Remove writing of not yet written USE_SEIZE_FILE directives to grant file. @@ -2366,7 +2703,7 @@ Thu Mar 30 02:51:59 1995 Wilfried Moser EMPTY_ON and EMPTY_OFF. * lex.c: New variables empty_checking and runtime_checking_flag. - (ch_lex_init): Initialize empty_checking and range_checking + (ch_lex_init): Initialize empty_checking and range_checking when switching from pass 1 to 2. (read_directive): Add processing of EMPTY_OFF/ON. @@ -2384,7 +2721,7 @@ Thu Mar 30 02:51:59 1995 Wilfried Moser * ch-tree.h: Change prototype of build_chill_indirect_ref. Add declaration of runtime_checking_flag and empty_checking. - * actions.c (check_non_null): Do null pointer checking only + * actions.c (check_non_null): Do null pointer checking only when enabled (empty_checking != 0). Wed Mar 29 15:18:23 1995 Per Bothner @@ -2599,7 +2936,7 @@ Tue Feb 28 16:00:03 1995 Per Bothner Tue Feb 28 00:29:51 1995 Per Bothner * configure: Merge in code for calculating host, build, and - target and canon_{host,build,target} from ../configure. + target and canon_{host,build,target} from ../configure. Fix calculation of mainsrcdir. Host canon_* variables to merge in build-make (as in ../configure). @@ -2613,7 +2950,7 @@ Tue Feb 21 01:41:56 1995 Wilfried Moser * inout.c (build_chill_writetext): Add processing of conditional expressions in argument list. - * parse.c (parse_opt_name_string): Print error message only + * parse.c (parse_opt_name_string): Print error message only in pass 1. * chill.texi: Add chapter about compiler directives. @@ -2628,7 +2965,7 @@ Tue Feb 14 16:45:19 1995 Per Bothner Fri Feb 3 04:30:28 1995 Wilfried Moser * grant.c (really_grant_this, search_in_list): New static - functions to determine if a decl should be written to + functions to determine if a decl should be written to grant file. (write_spec_module): Add call to really_grant_this. @@ -2700,7 +3037,7 @@ Fri Jan 13 13:04:41 1995 Per Bothner Wed Jan 11 14:03:47 1995 Per Bothner * parse.c (parse_modulion): Undo yesterday's change (to allow - an ON-handler to follow) until we re-implement module. + an ON-handler to follow) until we re-implement module. Tue Jan 10 17:23:55 1995 Per Bothner @@ -2730,7 +3067,7 @@ Tue Jan 10 04:46:42 1995 Wilfried Moser * expr.c (chill_expand_expr): When calling __psslice take care of a newmoded min_value. - * parse.c (parse_name_string): Print error message only in + * parse.c (parse_name_string): Print error message only in pass 1. Tue Jan 3 19:56:36 1995 Per Bothner @@ -2990,7 +3327,7 @@ Fri Nov 11 13:06:29 1994 Wilfried Moser (moser@rtl.cygnus.com) * inout.c (build_chill_writetext, build_chill_readtext): Use stack temporary variables for the iolist so that they can get reused in - subsequent calls. Emit code immediately instead of building a + subsequent calls. Emit code immediately instead of building a compound expr. Fri Nov 4 12:00:54 1994 Per Bothner @@ -3027,7 +3364,7 @@ Wed Nov 2 05:33:03 1994 Wilfried Moser (moser@rtl.cygnus.com) * ch-tree.h: Add new prototypes. - * decl.c (init_decl_processing): Remove timing related + * decl.c (init_decl_processing): Remove timing related initialisations. Add call to timing_init. * parse.c (parse_action): Process AFTER action. @@ -3036,7 +3373,7 @@ Wed Nov 2 05:33:03 1994 Wilfried Moser (moser@rtl.cygnus.com) build_receive_signal_case_label, build_receive_buffer_case_label, build_delay_case_start, build_delay_action, expand_send_buffer): Add processing of timesupervision. - (tasking_init): Change definitions of runtime functions. + (tasking_init): Change definitions of runtime functions. * timing.c (timing_init): New function for initialisation of timing related stuff. @@ -3047,7 +3384,7 @@ Wed Nov 2 05:33:03 1994 Wilfried Moser (moser@rtl.cygnus.com) (build_timeout_preface, build_timesupervised_call): New functions to handle timesupervision in case of blocking system calls (i.e. SEND buffer action, RECEIVE CASE action etc.). - + Thu Oct 27 12:50:24 1994 Per Bothner * expr.c (build_chill_repetition_op): Fix repeating all-zero @@ -3085,7 +3422,7 @@ Thu Oct 20 05:37:17 1994 Wilfried Moser (moser@rtl.cygnus.com) Mon Oct 17 02:30:38 1994 Wilfried Moser (moser@rtl.cygnus.com) - * decl.c (init_decl_processing): Set CH_DERIVED_FLAG for + * decl.c (init_decl_processing): Set CH_DERIVED_FLAG for boolean_true_node and boolean_false_node. TRUE and FALSE have the BOOL derived class. @@ -3260,7 +3597,7 @@ Tue Sep 13 06:19:42 1994 Wilfried Moser (moser@rtl.cygnus.com) * expr.c (compare_records): In case of -fpack do always a memcmp instead of comparing each field of the - structure. If the structure is a variant structure, + structure. If the structure is a variant structure, issue a warning. Mon Sep 12 13:15:09 1994 Per Bothner (bothner@cygnus.com) @@ -3278,7 +3615,7 @@ Fri Sep 9 01:53:30 1994 Wilfried Moser (moser@rtl.cygnus.com) like arguments of a function. There will be a wrapper which is the real entry point for a PROCESS. This wrapper is automatically build after a PROCESS definition and gets - as argument a pointer to a structure looking like the + as argument a pointer to a structure looking like the arguments of the PROCESS. This wrapper will call the PROCESS (see build_process_wrapper). (build_process_wrapper): New function (see above). @@ -3305,12 +3642,12 @@ Fri Sep 9 01:53:30 1994 Wilfried Moser (moser@rtl.cygnus.com) * grant.c (write_spec_module): Write GNUCHILL and gcc version into grant file. - * Make-lang.in (CHILL_FLAGS_TO_PASS): Add passing of CC and + * Make-lang.in (CHILL_FLAGS_TO_PASS): Add passing of CC and GNUCHILL_VERSION to ch/Makefile. * Make-lang.in (CHILL.mostlyclean): Add ch/ch-version.c. * Makefile.in (CHILL_OBJS): Add ch-version.o. ch-version.c - will get generated every time a new Makefile will get + will get generated every time a new Makefile will get generated. * Makefile.in (GNUCHILL_VERSION): Remove it, its defined in Make-lang.in. @@ -3432,8 +3769,8 @@ Fri Aug 19 07:10:43 1994 Wilfried Moser (moser@rtl.cygnus.com) * inout.c (build_chill_io_list_type, build_enum_tables), tasking.c (build_tasking_struct): Temporarily reset - maximum_field_alignment to 0, so that the compiler-built - data structures needed by the RTS can be independent of -fpack. + maximum_field_alignment to 0, so that the compiler-built + data structures needed by the RTS can be independent of -fpack. Thu Aug 18 13:39:51 1994 Per Bothner (bothner@kalessin.cygnus.com) @@ -3449,7 +3786,7 @@ Wed Aug 17 23:48:33 1994 Wilfried Moser (moser@rtl.cygnus.com) Wed Aug 17 13:47:50 1994 Per Bothner (bothner@kalessin.cygnus.com) * decl.c (switch_to_pass_2): Revert June 13 change, - (Don't exit after pass 1 if an error was found.) + (Don't exit after pass 1 if an error was found.) * ch-tree.def (SLICE_EXPR): New tree-code. * typeck.c (build_chill_slice): For building a slice of a @@ -3541,7 +3878,7 @@ Thu Aug 4 17:40:38 1994 Per Bothner (bothner@kalessin.cygnus.com) Thu Jul 28 04:00:11 1994 Wilfried Moser (moser@rtl.cygnus.com) - * expr.c (build_allocate_global_memory_call, build_allocate_memory_call): + * expr.c (build_allocate_global_memory_call, build_allocate_memory_call): Add new checks. Tue Jul 26 22:48:15 1994 Michael Tiemann (tiemann@blues.cygnus.com) @@ -3605,7 +3942,7 @@ Wed Jul 6 20:12:13 1994 Per Bothner (bothner@kalessin.cygnus.com) * expr.c, ch-tree.h (finish_chill_unary_op): New function, based on code ripped out of build_chill_unary_op. (build_chill_unary_op): Call finish_chill_unary_op unless pass==1. - * satisfy.c (satisfy): Call finish_chill_unary_op when needed. + * satisfy.c (satisfy): Call finish_chill_unary_op when needed. Mon Jun 27 11:29:18 1994 Per Bothner (bothner@kalessin.cygnus.com) @@ -3659,7 +3996,7 @@ Tue Jun 14 16:44:14 1994 Per Bothner (bothner@kalessin.cygnus.com) Therefore we must check for ignoring here. * parse.c (parse_loc_declaration): Set ignoring in pass 2 when parsing the mode. - + * tasking.c (generate_tasking_code_variable): Do arithmetic on signal_code etc using unsigned rather than signed shorts. @@ -3773,7 +4110,7 @@ Tue May 31 18:12:00 1994 Per Bothner (bothner@kalessin.cygnus.com) Tue May 31 04:33:28 1994 Wilfried Moser (moser@rtl.cygnus.com) - * inout.c (build_chill_writetext): Add correct processing + * inout.c (build_chill_writetext): Add correct processing of POWERSET RANGE (setmode). * lex.l (same_file): Add searching for file(s) in @@ -3872,7 +4209,7 @@ Tue May 24 22:36:51 1994 Per Bothner (bothner@kalessin.cygnus.com) * grant.c (chill_grant): Set it here instead. * expr.c (fold_set_expr): Use int_size_in_bytes instead of - TYPE_PRECISION (which is not defined for a SET_TYPE). + TYPE_PRECISION (which is not defined for a SET_TYPE). Fri May 20 15:21:26 1994 Per Bothner (bothner@kalessin.cygnus.com) @@ -3945,7 +4282,7 @@ Thu May 5 18:58:22 1994 Per Bothner (bothner@kalessin.cygnus.com) Mon May 2 14:33:44 1994 Per Bothner (bothner@kalessin.cygnus.com) * parse.y (sendaction): Fix thinko (in sense of condition). - * tasking.c (build_receive_case_label): Another thinko. + * tasking.c (build_receive_case_label): Another thinko. * parse.y (optsigdest): Force ignore_exprs to 0 while parsing the (signal-)name. @@ -3955,7 +4292,7 @@ Mon May 2 14:33:44 1994 Per Bothner (bothner@kalessin.cygnus.com) properly satisfied). * satisfy.c (satisfy): Layout FUNCTION_TYPEs. * parse.y (procmode): Call build_chill_pointer_type, rather - than build_pointer_type (which incorrectly sets TYPE_SIZE). + than build_pointer_type (which incorrectly sets TYPE_SIZE). * parse.y (get_type_of): Handle TYPE_DECL (again). * parse.y (optresultspec): Call build_chill_reference_type, rather @@ -4057,7 +4394,7 @@ Thu Apr 28 15:21:56 1994 Wilfried Moser (moser@rtl.cygnus.com) * parse.y (sendaction): Add code for SEND buffer. * parse.y (rccase_label): Change error processing. * tasking.c (build_gen_inst): More checks. - * tasking.c (build_gen_code): Add checking for argument is a + * tasking.c (build_gen_code): Add checking for argument is a PROCESS or a SIGNAL. * tasking.c (struct rc_state_type): Add new fields for easier error processing. @@ -4197,7 +4534,7 @@ Thu Apr 14 13:30:19 1994 Wilfried Moser (moser@phishhead.cygnus.com) * expr.c (build_chill_inttime_type): New function to built type for the INTTIME builtin. * expr.c (build_chill_inttime): New function to process builtin - INTTIME. + INTTIME. * expr.c (build_chill_duration): New function to process builtin's MILLISECS, SECS, MINUTES, HOURS and DAYS. @@ -4249,7 +4586,7 @@ Mon Apr 4 22:06:31 1994 Per Bothner (bothner@cygnus.com) * actions.c (chill_expand_result): Save result in saved_result_rtx or assign to DECL_RESULT as appropriate. * decl.c, ch-tree.h (current_function_returns_value, - current_function_returns_null, current_extern_inline): + current_function_returns_null, current_extern_inline): Don't use. Only define first two to allow linking with ch-typeck.c. * typeck.c (chill_l_equivalent): Add forward declaration. @@ -4291,7 +4628,7 @@ Tue Mar 29 13:24:27 1994 Wilfried Moser (fs_moser at rcsw1h) * Makefile.in: Change version string to 1.2.1 * ch-tree.h (enum chill_built_in_function): Delete no longer valid - entries. + entries. * ch-tree.h: Change prototype for build_chill_readtext. * decl.c (init_decl_processing): Add builtin_function _readstring, _readunixstd and READTEXT. @@ -4300,7 +4637,7 @@ Tue Mar 29 13:24:27 1994 Wilfried Moser (fs_moser at rcsw1h) * gperf: Remove keyword READTEXT. * parse.y: Remove token READTEXT. * inout.c (build_chill_io_list_type): Add building type for - READTEXT. + READTEXT. * inout.c (build_chill_readtext): Implement the function (partial). * inout.c (build_chill_writetext): Do some cleanups. @@ -4324,7 +4661,7 @@ Tue Mar 29 12:30:59 1994 Per Bothner (bothner@kalessin.cygnus.com) * ch-tree.h, decl.c (shadow_record_fields), decl.c (shadow_record_fields), expr.c (chill_expand_case_expr, build_chill_function_call), grant.c (chill_finish_compile), - typeck.c (build_empty_string, build_init_struct): Rename magic + typeck.c (build_empty_string, build_init_struct): Rename magic identifiers of the form "<...>" to "__..." for better portability. * actions.c (adjust_parm_or_field): Remove extraneous @@ -4424,7 +4761,7 @@ Tue Mar 22 10:17:58 1994 Bill Cox (bill@rtl.cygnus.com) string assignment case. * expr.c (chill_expand_expr): Now that we're using build_chill_function_call, the actual parameters need to be converted to the unsigned long - type explicitly. Do that. + type explicitly. Do that. * satisfy.c (safe_satisfy_decl): Correct range-checking code. Mon Mar 21 16:25:07 1994 Bill Cox (bill@rtl.cygnus.com) @@ -4445,7 +4782,7 @@ Mon Mar 21 13:29:23 1994 Per Bothner (bothner@kalessin.cygnus.com) * expr.c (chill_expand_expr): Code to expand SET_IN_EXPR, moved from expand_expr in ../expr.c. Also add some extra conversions (because we're now using build_chill_function-call). - * actions.c, decl.c, expr.c, grant.c, parse.y, typeck.c: + * actions.c, decl.c, expr.c, grant.c, parse.y, typeck.c: Use SET_IN_EXPR in place of IN_EXPR. * expr.c (build_compare_discrete_expr), ch-tree.h: New function, @@ -4503,14 +4840,14 @@ Sun Mar 20 11:48:10 1994 Per Bothner (bothner@kalessin.cygnus.com) Sun Mar 20 08:54:27 1994 Bill Cox (bill@rtl.cygnus.com) - * actions.c (expand_assignment_to_varying_array): + * actions.c (expand_assignment_to_varying_array): Call build_chill_array_ref to get index checking. - (chill_convert_for_assignment): Delete unused errstr - variable. + (chill_convert_for_assignment): Delete unused errstr + variable. (chill_expand_assignment): Call build_chill_array_ref to get runtime index checking. (expand_varying_length_assignment): Use new interface - to varying_array_index_p. + to varying_array_index_p. * ch-tree.h (varying_array_index_p): New proto. * convert.c (convert): Call build_chill_array_ref to get runtime index checking. @@ -4554,7 +4891,7 @@ Fri Mar 18 00:12:48 1994 Per Bothner (bothner@deneb.cygnus.com) Thu Mar 17 17:29:43 1994 Bill Cox (bill@rtl.cygnus.com) * expr.c (build_chill_function_call): Give function call the correct - type tree. + type tree. * typeck.c (build_chill_slice_with_length): Restore dynamic range checking, so it doesn't obscure the CONSTANTness of the length. @@ -4570,7 +4907,7 @@ Wed Mar 16 17:23:31 1994 Per Bothner (bothner@kalessin.cygnus.com) * typeck.c (valid_array_index_p): Check compatibility using correct types. * typeck.c (build_chill_slice_with_length); For now revert - calling valid_array_index_p on length. (It makes it harder + calling valid_array_index_p on length. (It makes it harder to realize when the slice is constant length.) * expr.c (build_chill_indirect_expr): Minor tweak. (This seems to work around a weird C compiler bug. ??) @@ -4610,11 +4947,11 @@ Tue Mar 15 08:42:12 1994 Bill Cox (bill@rtl.cygnus.com) * actions.c: Fix comment. (build_rts_call): Ifdef it out - never used. (expand_varying_length_assignment): call valid_array_index_p. - rather than validate_varying_array_ref. + rather than validate_varying_array_ref. * ch-tree.h: Fix prototype for valid_array_index_p. * expr.c (chill_expand_expr): Call build_chill_array_ref to get index validation. - (build_hill_lower, build_chill_upper): Return value now inherits + (build_hill_lower, build_chill_upper): Return value now inherits the novelty of the input parameter. (varying_to_slice): Use CH_NOVELTY macro rather than calling chill_novelty directly. @@ -4631,7 +4968,7 @@ Tue Mar 15 08:42:12 1994 Bill Cox (bill@rtl.cygnus.com) build_loop_iterator parameter, etc. * tasking.c (build_receive_case_end): Chack cond_stack before popping. * typeck.c (validate_varying_array_ref, chill_max_vary_array_index, - valid_array_index): Delete them. They're now unused. + valid_array_index): Delete them. They're now unused. (valid_array_index_p): Add function, call it everywhere that an array index is checked. (build_chill_slice): Restore old functionality where varying_to_slice @@ -4662,10 +4999,10 @@ Thu Mar 10 09:41:37 1994 Bill Cox (bill@rtl.cygnus.com) derived files. This allows the gcc/configure list of CHILL files machinery to work. * ch-tree.h (permanent_allocation): Add a parameter flag. - * decl.c (finish_chill_function, finish_decl): Provide the + * decl.c (finish_chill_function, finish_decl): Provide the new permanent_allocation flag. (poplevel): Return early, avoid a seg fault. - * lex.l (NORMAL): Replace this whole state with the predefined + * lex.l (NORMAL): Replace this whole state with the predefined INITIAL state. Force compilation state to global level after compiler directive error - prevents endless loop on error. (handle_use_seizefile_directive): Rewrite for readability. @@ -4702,12 +5039,12 @@ Tue Mar 8 11:51:10 1994 Bill Cox (bill@rtl.cygnus.com) Mon Mar 7 19:14:05 1994 Bill Cox (bill@rtl.cygnus.com) - * Makefile.in: Use the 'all' target to build the runtime + * Makefile.in: Use the 'all' target to build the runtime library and chillrt0.o. * README: Explain rules for files in this directory. - * addtest, addtest.man, build-release, + * addtest, addtest.man, build-release, chill.regress.cron: Move to utils subdirectory. - * expr.c (build_chill_function_call): Mark the INOUT + * expr.c (build_chill_function_call): Mark the INOUT temporary so it doesn't get optimized into a register. Fixes the execute/inout.ch bug. * typeck.c (layout_chill_range_type): Restrict it @@ -4772,7 +5109,7 @@ Wed Mar 2 16:49:05 1994 Bill Cox (bill@rtl.cygnus.com) * actions.c (adjust_return_value): Simplify. Delete references to CH_RETURNS_LOC, extra parameters to - push_extern_function and start_chill_functions. + push_extern_function and start_chill_functions. (convert_for_assignment): Check whether to generate runtime range-checking code. Handle reference_type in convert call. (chill_expand_assignment): Produce an INDIRECT_REF for a @@ -4784,7 +5121,7 @@ Wed Mar 2 16:49:05 1994 Bill Cox (bill@rtl.cygnus.com) extra parameters, references to CH_RETURNS_LOC. * grant.c (chill_finish_compile): Delete extra parameter. * parse.y: Delete references to CH_RETURNS_LOC, extra parameters to - push_extern_function and start_chill_functions. + push_extern_function and start_chill_functions. * regression.sh (checkprms): Skip PRMS discrepancies if we can't access PRMS for some reason. * satisfy.c: Correct indentation. @@ -4805,24 +5142,24 @@ Tue Mar 1 16:24:20 1994 Wilfried Moser (fs_moser at rcsw1h) Tue Mar 1 07:34:56 1994 Bill Cox (bill@rtl.cygnus.com) - RETURN of LOC value is only half-baked. Stay tuned... + RETURN of LOC value is only half-baked. Stay tuned... * actions.c (adjust_parm_or_field): Add to comment. - (adjust_return_value): New function for issuing errors about + (adjust_return_value): New function for issuing errors about RETURN and RESULT expressions. Also converts them. (chill_expand_result, chill_expand_return): Call new adjust_return_value function. * ch-tree.h (CH_RETURNS_LOC): Add new flag for function types. - New parameter for push_extern_function and start_chill_function. + New parameter for push_extern_function and start_chill_function. * decl.c (push_extern_function, start_chill_function): New parameter to say whether return value is a LOC. * expr.c (build_chill_indirect_ref): Further qualify the issuing of the error message. - * grant.c (raw_decode_mode): Move test for instance mode under + * grant.c (raw_decode_mode): Move test for instance mode under STRUCT handling. (start_chill_module_code, chill_finish_compile): Add new parameter to start_chill_function calls. * parse.y (get_type_of): Do lookup_name more often. - (quasi_pdef, procedure, procmode, optresultspec): Set + (quasi_pdef, procedure, procmode, optresultspec): Set CH_RETURNS_LOC flag. (optresultattr): Code keywords as a bitmask. * tasking.c (build_process_header): Add new parameter to @@ -4832,8 +5169,8 @@ Sat Feb 26 12:49:05 1994 Bill Cox (bill@rtl.cygnus.com) * Makefile.in: Replace undefined $(RM) with rm -f. * configure: Make sure scripts are executable. - * regression.sh: Make variables to invoke make - and awk. Don't process a directory if it + * regression.sh: Make variables to invoke make + and awk. Don't process a directory if it doesn't exist. Fri Feb 25 14:48:48 1994 Bill Cox (bill@rtl.cygnus.com) @@ -4922,12 +5259,12 @@ Mon Feb 21 13:24:02 1994 Bill Cox (bill@rtl.cygnus.com) * grant.c (chill_finish_compile): Bypass handling module-level code if an earlier error has made is useless. - * tasking.c (build_start_process): Generate error, + * tasking.c (build_start_process): Generate error, return if process name unknown. Mon Feb 21 14:29:41 1994 Wilfried Moser (fs_moser at rcsw47) - * expr.c (build_generalized_call): Use + * expr.c (build_generalized_call): Use build_arrow_expr semantics for ADDR () builtin. Mon Feb 21 12:49:14 1994 Bill Cox (bill@rtl.cygnus.com) @@ -4943,9 +5280,9 @@ Sun Feb 20 19:58:14 1994 Bill Cox (bill@rtl.cygnus.com) * regression.sh: Fix cvs update-related commands. Have cron job always perform the update, so it's - always reporting on the current state of the + always reporting on the current state of the sources. - * typeck.c (string_assignment_condition): Allow a + * typeck.c (string_assignment_condition): Allow a mis-match if the LHS is varying. Fri Feb 18 18:10:04 1994 Bill Cox (bill@rtl.cygnus.com) @@ -5047,9 +5384,9 @@ Sat Feb 12 16:24:22 1994 Bill Cox (bill@rtl.cygnus.com) * actions.c, convert.c, decl.c, expr.c, lex.l, tasking.c, typeck.c: gcc -Wall cleanups. - * ch-tree.h: Change loop-related prototypes. + * ch-tree.h: Change loop-related prototypes. * loop.c, parse.y: Rewrite to set up correct loop scope. - Fix error path where loop variable not declared. + Fix error path where loop variable not declared. Fri Feb 11 11:12:29 1994 Bill Cox (bill@rtl.cygnus.com) @@ -5125,7 +5462,7 @@ Wed Feb 2 11:24:57 1994 Wilfried Moser (fs_moser at rcsw47) Wed Feb 2 09:31:37 1994 Bill Cox (bill@rtl.cygnus.com) - * configure: Add ${srcdir} to Makefile.in's path. + * configure: Add ${srcdir} to Makefile.in's path. * loop.c: Delete unused whitespace. Tue Feb 1 17:09:41 1994 Bill Cox (bill@rtl.cygnus.com) @@ -5189,7 +5526,7 @@ Sun Jan 30 12:01:07 1994 Bill Cox (bill@rtl.cygnus.com) (expand_varying_length_assignment): Clean up bitrot. * convert.c (convert): Revert most recent change. * loop.c (maybe_skip_loop): New function, split out of - begin_chill_loop. Add conditional to skip processing an empty + begin_chill_loop. Add conditional to skip processing an empty VARYING array. * parse.y (assignaction): Delete code to recognize LENGTH on left-hand-side. @@ -5242,7 +5579,7 @@ Thu Jan 27 14:12:07 1994 Mike Stump (mrs@cygnus.com) Thu Jan 27 10:37:33 1994 Bill Cox (bill@rtl.cygnus.com) * decl.c (bind_sub_modules): Need a parameter on the recursive call. - Thanks, Zoo! + Thanks, Zoo! Thu Jan 27 10:37:33 1994 Bill Cox (bill@rtl.cygnus.com) @@ -5277,7 +5614,7 @@ Tue Jan 25 14:00:02 1994 Wilfried Moser (fs_moser at rcsw1j) build the type the DESCR builtin returns. Add function build_chill_descr, which process the DESCR builtin. * ch-expr.c (build_chill_length): Add code to enable - LENGTH (bitstring). + LENGTH (bitstring). * ch-expr.ch (build_generalized_call): Add processing of DESCR builtin. * ch-grant.c: Add code to avoid producing of unnecessary grant @@ -5353,7 +5690,7 @@ Sat Jan 15 09:15:22 1994 Bill Cox (bill@rtl.cygnus.com) << This set of CHILL frontend sources is now the maintainable and master set. Accept no substitutes! >> * Makefile.in, configure: Completely rewritten - to be invoked by gcc/Makefile.in and + to be invoked by gcc/Makefile.in and gcc/configure. * addtest (update_ChangeLog): Fix insertion of the '*'. @@ -5362,10 +5699,10 @@ Sat Jan 15 09:15:22 1994 Bill Cox (bill@rtl.cygnus.com) * cpy.sh: Add necessary edits to files as they are copied down. * actions.c, ch-tree.def, ch-tree.h, convert.c, - decl.c, except.c, expr.c, grant.c, inout.c, + decl.c, except.c, expr.c, grant.c, inout.c, lang.c, lex.h, lex.l, loop.c, parse.y, satisfy.c, tasking.c, typeck.c: Latest - versions from the repository. + versions from the repository. Fri Jan 14 12:28:39 1994 Bill Cox (bill@rtl.cygnus.com) @@ -5415,7 +5752,7 @@ Wed Dec 8 09:35:54 1993 Bill Cox (bill@rtl.cygnus.com) Sun Nov 21 08:34:33 1993 Bill Cox (bill@rtl.cygnus.com) - * Makefile.in: Adjust gperf rule for names in this directory. + * Makefile.in: Adjust gperf rule for names in this directory. * ch_decomment.l: New file. Ignores CHILL comments. Executable is used bu ch_makedepend. * ch_makedepend: New script. Makes CHILL dependencies for @@ -5430,7 +5767,7 @@ Sun Nov 21 08:34:33 1993 Bill Cox (bill@rtl.cygnus.com) Sat Oct 30 15:02:24 1993 Per Bothner (bothner@kalessin.cygnus.com) - * chill.texi: Add new node about conversions. + * chill.texi: Add new node about conversions. Fri Oct 29 14:17:31 1993 Bill Cox (bill@cygnus.com) @@ -5525,7 +5862,7 @@ Fri Jan 14 21:09:44 1994 Per Bothner (bothner@kalessin.cygnus.com) Wed Jan 12 10:19:35 1994 Bill Cox (bill@rtl.cygnus.com) - * ch-lex.l (WS): Add BS, VT and CR to definition of + * ch-lex.l (WS): Add BS, VT and CR to definition of whitespace. (convert_number): Allow for uppercase hex digits. @@ -5554,7 +5891,7 @@ Mon Jan 10 18:29:36 1994 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (chill_convert_for_assignment): Avoid seg fault. * ch-expr.c (expand_packed_set): Add new parameter to pass set's minimum ordinal value. Fix loop invariant problem. - (fold_set_expr): Change to add new parameter to + (fold_set_expr): Change to add new parameter to expand_packed_set call. * ch-grant.c: Move extern declaration to ch-tree.h. * ch-lex.l (convert_bitstring): Also output the bitstring @@ -5725,7 +6062,7 @@ Tue Jan 4 00:24:14 1994 Bill Cox (bill@cygnus.com) * ch-actions.c: Fix comments. * ch-parse.y: Define caseaction_flag. - (caseaction): Create new caseaction_flag node at the start, + (caseaction): Create new caseaction_flag node at the start, then free it at the end. Check it before the ELSE code. (expanded_case_label): Check the flag here. If set in either place, generate a jump to the end of the case. @@ -5757,9 +6094,9 @@ Mon Jan 3 21:49:04 1994 Michael Tiemann (tiemann@blues.cygnus.com) Mon Jan 3 21:24:44 1994 Bill Cox (bill@cygnus.com) * c-typeck.c: Fix comment. - * ch-actions.c (chill_expand_assignment): Error assigning to - READONLY location. (PR_3903) Pass filename, linenumber - to setbitpowerset runtime routine. + * ch-actions.c (chill_expand_assignment): Error assigning to + READONLY location. (PR_3903) Pass filename, linenumber + to setbitpowerset runtime routine. * ch-decl.c (init_decl_processing): Add filename, linenumber parameters to setbitpowerset prototype. * ch-expr.c (build_chill_function_call): Error when passing a @@ -5779,7 +6116,7 @@ Mon Jan 3 19:03:55 1994 Michael Tiemann (tiemann@blues.cygnus.com) * ch-typeck.c (validate_varying_array_ref): Simplify interface since INDEX parameter can never meaningfully be an INDEXLIST. * ch-actions.c (expand_varying_length_assignment): Caller changed. - + Mon Jan 3 07:29:45 1994 Michael Tiemann (tiemann@blues.cygnus.com) * ch-typeck.c (build_chill_cast): Set TREE_CONSTANT on NOP_EXPRs. @@ -5853,7 +6190,7 @@ Sat Jan 1 10:29:19 1994 Michael Tiemann (tiemann@blues.cygnus.com) TREE_CONSTANT not being set by calling `build1' when `build_unary_op' should have been called. - * ch-convert.c (digest_struct_tuple): Restore code which tracks + * ch-convert.c (digest_struct_tuple): Restore code which tracks field initializations so that the compiler can deduce what variant initializations to assume. @@ -5913,9 +6250,9 @@ Fri Dec 31 11:31:01 1993 Michael Tiemann (tiemann@blues.cygnus.com) Fri Dec 31 15:32:56 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-lex.l (convert_number): Output the converted number if + * ch-lex.l (convert_number): Output the converted number if yydebug is enabled. - * ch-parse.y (signaldef): Set ignore_exprs correctly for a + * ch-parse.y (signaldef): Set ignore_exprs correctly for a SIGNAL declaration. Fri Dec 31 13:17:48 1993 Bill Cox (bill@cygnus.com) @@ -5945,10 +6282,10 @@ Thu Dec 30 14:28:25 1993 Bill Cox (bill@rtl.cygnus.com) (build_receive_case_label): Move between start and end functions. (build_delay_case_start): Pass SET name and priority also. Generally update to correct functioning. - (build_delay_case_label): Move between start and end fucntions, + (build_delay_case_label): Move between start and end fucntions, correct its functioning. (build_delay_case_end): Correct the code. - (tasking_init): Lots of tasking-related code moved here from + (tasking_init): Lots of tasking-related code moved here from init_decl_processing. * ch-tree.h: Update, add prototypes. @@ -5990,7 +6327,7 @@ Tue Dec 28 18:20:14 1993 Bill Cox (bill@rtl.cygnus.com) (build_receive_case_start, build_receive_case_label): Defer calling runtime routine until we know whether we have a signal or a buffer to wait for. - (build_delay_case_start, build_delay_case_end, + (build_delay_case_start, build_delay_case_end, build_delay_case_label, build_delay_action, process_event_decls): Added functions. * ch-typeck.c (chill_similar): Allow all integers of differing @@ -6099,7 +6436,7 @@ Tue Dec 14 15:41:32 1993 Per Bothner (bothner@kalessin.cygnus.com) Mon Dec 13 16:44:43 1993 Per Bothner (bothner@kalessin.cygnus.com) - * ch-expr.c (build_chill_addr_expr, build_chill_addr_expr): Don't re-write + * ch-expr.c (build_chill_addr_expr, build_chill_addr_expr): Don't re-write * ch-tree.h (chill_root_resulting_mode): Fix typo (missing '_'). @@ -6131,7 +6468,7 @@ Mon Dec 13 14:57:55 1993 Bill Cox (bill@rtl.cygnus.com) variable. * ch-tasking.c: Use expand_expr_stmt to avoid C-specific conversions. - (build_buffer_decl): Save the tasking_code_variable's decl + (build_buffer_decl): Save the tasking_code_variable's decl in the buffer decl tree. (build_buffer_descriptor): Real, working version. @@ -6144,7 +6481,7 @@ Mon Dec 13 03:13:36 1993 Bill Cox (bill@rtl.cygnus.com) (locdec): Enable building of a buffer decl. (optresultspec, optresultattr): Add optional result attributes such as LOC. Semantics - not enabled yet. + not enabled yet. * ch-tasking.c (expand_send_buffer): Renamed. * ch-tree.h (build_send_buffer): Renamed. * ch-typeck.c (chill_expr_class): Do more complete, @@ -6172,7 +6509,7 @@ Fri Dec 10 10:00:42 1993 Bill Cox (bill@rtl.cygnus.com) * ch-grant.c (decode_decl): Restore code mistakenly deleted. Move instance-handling code to raw_decode_mode. * ch-parse.y (formpar): Allow READ modifier in SPEC MODULE. - Add rough draft of DELAY statement handling. + Add rough draft of DELAY statement handling. * ch-tasking.c (build_event_type): New function. * ch-tree.h (build_event_type): Add prototype. * ch-typeck.c (smash_dummy_type): Add buffer & event handling. @@ -6240,14 +6577,14 @@ Mon Dec 6 14:35:31 1993 Per Bothner (bothner@kalessin.cygnus.com) Sat Dec 4 22:16:19 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-actions.c (cond_range_exception, + * ch-actions.c (cond_range_exception, cond_type_range_exception): Check command-line flag before generating code. Fix comments. * ch-expr.c (build_chill_num): Add generation of OVERFLOW code, commented out. * ch-loop.c (build_chill_iterator): Comment out exception code generation. - * ch-parse.y: Delete quasi_signal flag, use + * ch-parse.y: Delete quasi_signal flag, use current_module->is_spec_module instead. * ch-tasking.c (build_buffer_decl, build_buffer_descriptor): Delete quasi_decl flag. Look at current_module @@ -6333,7 +6670,7 @@ Tue Nov 30 14:05:23 1993 Bill Cox (bill@rtl.cygnus.com) * ch-decl.c (init_decl_processing): Add filename, line number parameters to tasking-related runtime routines. * ch-grant.c (decode_decl): Check for BUFFER mode differently. - * ch-parse.y (BUFFER_CODE, EVENT_CODE): Move token to + * ch-parse.y (BUFFER_CODE, EVENT_CODE): Move token to lex-only list. (quasi_locdec): Set/reset quasi_decl flag. * ch-tasking.c (build_start_process, expand_send_signal, @@ -6424,7 +6761,7 @@ Sat Nov 20 20:17:15 1993 Bill Cox (bill@rtl.cygnus.com) * ch-decl.c (init_decl_processing): Add filename and linenumber to allocate, free memory calls. * ch-expr.c (build_allocate_memory_call, - (build_allocate_global_memory_call): Add + (build_allocate_global_memory_call): Add filename, linenumber to call. * ch-loop.c: Complete rewrite for maintainability. @@ -6466,7 +6803,7 @@ Wed Nov 17 16:40:05 1993 Bill Cox (bill@rtl.cygnus.com) of powerset runtime routines. * ch-expr.c (chill_expand_expr): Change parameters to powerset runtimes so bitlengths are long unsigned ints. - * ch-inout.c (build_chill_writetext): Add filename and linenumber + * ch-inout.c (build_chill_writetext): Add filename and linenumber as runtime parameters, for better error messages. * ch-loop.c: general pre-rewrite cleanup. * expr.c (store_constructor): Rewrite set interface to @@ -6551,7 +6888,7 @@ Fri Nov 12 13:27:12 1993 Per Bothner (bothner@rtl.cygnus.com) * ch-expr.c (chill_expand_expr, build_concat_expr): Simplify string concatenation by treating varying strings as slices. - (varying_to_slice): New function. + (varying_to_slice): New function. * ch-typeck.c (build_chill_slice): Changed to support the above. Fri Nov 12 12:07:28 1993 Bill Cox (bill@rtl.cygnus.com) @@ -6575,7 +6912,7 @@ Thu Nov 11 07:49:53 1993 Bill Cox (bill@rtl.cygnus.com) word. It's only predefined. * ch-inout.c: Add special_UC to conditionals to determine case of reserved words. - (build_chill_writetext): Change for call from + (build_chill_writetext): Change for call from build_generalized_call. Add code to format integers. * ch-lang.c (lang_decode_option): Add special_UC and @@ -6615,8 +6952,8 @@ Wed Nov 10 02:29:53 1993 Bill Cox (bill@rtl.cygnus.com) token before checking for reserved words. * ch-parse.y: Delete ADDR as a reserved word. (mode2, optlayout): Allow PACK/UNPACK specifier. - (call): Use build_generalized_call for - primval LPRN modename RPRN. + (call): Use build_generalized_call for + primval LPRN modename RPRN. (primval): Delete ADDR reference. It's now only predefined, not reserved. * ch-tree.h: Add BUILT_IN_ADDR as a predefined. @@ -6633,8 +6970,8 @@ Tue Nov 9 15:07:02 1993 Bill Cox (bill@rtl.cygnus.com) (init_decl_processing): Add builtin_function calls for lots of predefined functions. * ch-expr.c: Change builtin function handlers back to accepting - args, not a treelist. - (route_to_predefined_function): Delete it and its call. + args, not a treelist. + (route_to_predefined_function): Delete it and its call. (build_generalized_call): Add lots of builtin functions. * ch-gperf (backwards, duration, inttime, null): Delete them. * ch-hash.h: New version. @@ -6646,7 +6983,7 @@ Tue Nov 9 15:07:02 1993 Bill Cox (bill@rtl.cygnus.com) * ch-parse.y: Delete lots of stuff which should only be predefined. * ch-tasking.c: Change special_UC to ignore_case everywhere. Change builtin function handlers back to accepting args, - not a treelist. + not a treelist. * ch-tree.h: Add lots of builtin functions to the enumerator. Mon Nov 8 18:08:27 1993 Bill Cox (bill@rtl.cygnus.com) @@ -6662,7 +6999,7 @@ Mon Nov 8 17:30:22 1993 Bill Cox (bill@rtl.cygnus.com) function. (lookup_name): Check for a CONST_DECL, don't ask about DECL_NESTING stuff for builtin constant like TRUE. - * ch-expr.c (route_to_predefined_function): Add a bunch of + * ch-expr.c (route_to_predefined_function): Add a bunch of predefined functions to the list. * ch-gperf: Define the list of reserved words, minus the predefined words, using the special_UC flag. Remove NULL, TRUE, FALSE - @@ -6674,10 +7011,10 @@ Mon Nov 8 17:30:22 1993 Bill Cox (bill@rtl.cygnus.com) * ch-lex.h: Add enumerators for TRUE, FALSE, NULL. * ch-lex.l: Total rewrite of reserved-word recognition, using the ch-hash.h lookup routines. - * ch-parse.y: Delete a bunch of unused rules for predefined + * ch-parse.y: Delete a bunch of unused rules for predefined procedures and their parameters. * ch-tasking.c (tasking_init): Build predefined functions - for COPY_NUMBER, GEN_CODE, GEN_INST, and GEN_PTYPE. Not + for COPY_NUMBER, GEN_CODE, GEN_INST, and GEN_PTYPE. Not complete yet. Change interface to builtin handlers to accept just an expression list. @@ -6700,7 +7037,7 @@ Wed Nov 3 18:07:08 1993 Bill Cox (bill@rtl.cygnus.com) * ch-lex.l (init_lex): Initialize ridpointers to uppercase if special_UC flag is set. (downcase, getlc, check_newline): Don't do this if ignore_case - flag is set. + flag is set. * ch-parse.y (variantdef, case_expr): Report 'sorry' for use of multiple selector expressions. @@ -6770,7 +7107,7 @@ Thu Oct 28 16:43:36 1993 Bill Cox (bill@rtl.cygnus.com) Check for invalid parameters, issue errors. * expr.c (store_constructor): Calculate bitlength, startrtx and endrtx of powerset correctly. Define targetx, use it - and XEXP correctly. + and XEXP correctly. Wed Oct 27 08:25:56 1993 Bill Cox (bill@rtl.cygnus.com) @@ -6797,7 +7134,7 @@ Wed Oct 27 08:25:56 1993 Bill Cox (bill@rtl.cygnus.com) Tue Oct 26 00:12:19 1993 Per Bothner (bothner@kalessin.cygnus.com) - * ch-typeck.c (build_chill_array_ref): Check for and complain + * ch-typeck.c (build_chill_array_ref): Check for and complain if there are more index expressions than the array rank. * ch-actions.c (chill_expand_assignment): Emit appropriate @@ -6837,7 +7174,7 @@ Wed Oct 20 09:52:44 1993 Bill Cox (bill@rtl.cygnus.com) (decl_tasking_code_var): Delete it. Its calls are replaced woth generate_tasking_code_variable calls, plus a little glue. (push_extern_process): generate tasking_code_variable as local - static variable, point the process' function_decl at it for later + static variable, point the process' function_decl at it for later reference by build_start_process. (print_mode): Use CHILL upper-case convention to print modes. * ch-lex.l: Must initialize tasking-related trees to NULL at start @@ -6845,7 +7182,7 @@ Wed Oct 20 09:52:44 1993 Bill Cox (bill@rtl.cygnus.com) specify a value for each of them. * ch-parse.y (check_end_label, action, exceptlist): Only output error message in pass 1. - (sendaction): Add comments. + (sendaction): Add comments. (sigdef): Comment out special handling for external signals. Chain tasking_variable_decl onto signal structure decl, for easier non-symbol-table access later. @@ -6860,7 +7197,7 @@ Wed Oct 20 09:52:44 1993 Bill Cox (bill@rtl.cygnus.com) function decl. (build_signal_struct_type): Return the type decl, to be accessed by ... (build_signal_descriptor): .. this function. - (build_receive_case_label): Get data buffer pointer not from hash + (build_receive_case_label): Get data buffer pointer not from hash table, but from Tiemann's current rc_state structure instead. * ch-tree.h: Change prototype, fix comment, add DECL_TASKING_CODE_DECL macro for tasking_code_variable storage. @@ -6917,7 +7254,7 @@ Sun Oct 17 23:15:00 1993 Bill Cox (bill@cygnus.com) * ch-decl.c (do_decl): Revert bogus initializer type change. * ch-grant.c (chill_finish_module_code): Put module's decl onto the module_init_list, for chill_finish_compile's possible use. - (chill_finish_compile): Rename variables for clarity, add + (chill_finish_compile): Rename variables for clarity, add commented-out code as example for assignment of module address to its init_list entry. @@ -6954,7 +7291,7 @@ Fri Oct 15 21:44:11 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) Fri Oct 15 10:30:09 1993 Bill Cox (bill@cygnus.com) - * ch-expr.c (finish_chill_binary_op): Activate some + * ch-expr.c (finish_chill_binary_op): Activate some type-setup code. * expr.c (store_constructor): Subtract arrays minimum element. Makes orientexpress work. @@ -6966,7 +7303,7 @@ Fri Oct 15 09:26:24 1993 Bill Cox (bill@cygnus.com) Thu Oct 14 13:20:02 1993 Bill Cox (bill@cygnus.com) - * ch-actions.c (build_chill_cause_exception): Pass the + * ch-actions.c (build_chill_cause_exception): Pass the *address* of the filename string to the runtime routine, rather than passing the string by value. @@ -7020,7 +7357,7 @@ Mon Oct 11 17:23:02 1993 Bill Cox (bill@cygnus.com) * ch-decl.c (init_decl_processing): Define __whoami and __wait_buffer functions. * ch-lex.l (ch_lex_init): Reset tasking numbers to zero. - * ch-parse.y (sigdef): Add new add_taskstuff_to_list + * ch-parse.y (sigdef): Add new add_taskstuff_to_list parameter. * ch-tasking.c (get_tasking_code): Search tasking_list for tasking code name match. Can't use lookup_name. @@ -7033,7 +7370,7 @@ Mon Oct 11 17:23:02 1993 Bill Cox (bill@cygnus.com) list entries no built by .. (add_taskstuff_to_list): Accept new parameter, add it to the list. - * ch-tree.h (add_taskstuff_to_list): Add new + * ch-tree.h (add_taskstuff_to_list): Add new parameter. Mon Oct 11 14:54:50 1993 Per Bothner (bothner@kalessin.cygnus.com) @@ -7053,7 +7390,7 @@ Sun Oct 10 09:11:52 1993 Bill Cox (bill@rtl.cygnus.com) Fri Oct 8 16:00:04 1993 Bill Cox (bill@cygnus.com) - * ch-actions.c (adjust_parm_or_field): Add parameter to + * ch-actions.c (adjust_parm_or_field): Add parameter to decl_temp1 call. *ch-decl.c (decl_tasking_code_var): Replace do_decl call with decl_temp1 call. @@ -7061,14 +7398,14 @@ Fri Oct 8 16:00:04 1993 Bill Cox (bill@cygnus.com) (shadow_record_fields): Add parameter to decl_temp1 call. * ch-expr.c (chill_expand_case_expr): Add parameter to decl_temp1 call. - * ch-grant.c (chill_finish_compile): Add code to spoof + * ch-grant.c (chill_finish_compile): Add code to spoof get_file_function_name, so we don't get __tmp_s1_code, for example, as the module-level code's name. * ch-loop.c (build_temporary_variable, begin_for_range, - init_loop_counter): Add parameter to decl_temp1 call. + init_loop_counter): Add parameter to decl_temp1 call. * ch-parse.y (quasi_signaldef): Clear quasi_signal flag here, for easier maintenance. - (sendaction): Rewrite to receive SIGNALNAME token correctly + (sendaction): Rewrite to receive SIGNALNAME token correctly from ch-lex.l (name_type_signal). (signaldef): Don't clear quasi_signal here. * ch-tasking.c (generate_tasking_code_variable): Tell decl_temp1 @@ -7076,7 +7413,7 @@ Fri Oct 8 16:00:04 1993 Bill Cox (bill@cygnus.com) (build_start_process): Add parameter to decl_temp1 call. (tasking_setup): Comment out band-aid hack which calls generate_tasking_code_variable. Shouldn't be necessary. - Use null_pointer_node rather than integer_zero_node in + Use null_pointer_node rather than integer_zero_node in entry_point. More rewrites. (build_signal_descriptor): Name the non-signal in the error msg. Rewrite the building of the signal envelope - avoid seg fault. @@ -7092,7 +7429,7 @@ Tue Oct 5 13:51:27 1993 Bill Cox (bill@cygnus.com) * ch-grant.c: Standardize indentation. * ch-parse.y (end_function): Unconditionally poplevel for processes. * ch-tasking.c (build_process_header): Unconditionally pushlevel. - (generate_tasking_code_variable): Stop using pass number to + (generate_tasking_code_variable): Stop using pass number to force a one-time action. * ch-tree.h (build_chill_slice): Delete proto since function went static. @@ -7110,7 +7447,7 @@ Mon Oct 4 13:52:36 1993 Bill Cox (bill@cygnus.com) (generate_tasking_code_variable): Return the var's decl. (build_signal_struct_type): Move generate_tasking_code_variable and add_taskstuff_to_list calls to .. - * ch-parse.y (sigdef): .. here. And make indentation changes. + * ch-parse.y (sigdef): .. here. And make indentation changes. * ch-tree.h: Rename functions, add return values. Mon Oct 4 15:43:56 1993 Per Bothner (bothner@kalessin.cygnus.com) @@ -7196,7 +7533,7 @@ Wed Sep 29 13:36:23 1993 1993 Bill Cox (bill@cygnus.com) fault. (procedure, process): Change calls to end_function, remove code saving value from build_process_header. Delete redundant chill_ - phrases from some function calls. + phrases from some function calls. * ch-tasking.c: Remove some redundant _chill phrases from function names. * ch-tree.h: Remove some redundant _chill phrases from function @@ -7354,11 +7691,11 @@ Fri Sep 24 15:27:13 1993 Bill Cox (bill@cygnus.com) * ch-decl.c (lookup_remembered_names): Removed. It was being misused in ch-lex.l. * ch-lex.l (name_type_signal): Revert last change. Basically, - we cannot use the C typedef/variable name trick in CHILL, due + we cannot use the C typedef/variable name trick in CHILL, due due to the language's 2-pass nature. * ch-parse.y (arrayindex): Rewrite for correctness, and to avoid a seg fault. - * ch-tree.h (lookup_remembered_name): Comment out the prototype. + * ch-tree.h (lookup_remembered_name): Comment out the prototype. Fri Sep 24 11:01:31 1993 Michael Tiemann (tiemann@blues.cygnus.com) @@ -7382,9 +7719,9 @@ Fri Sep 24 11:01:31 1993 Michael Tiemann (tiemann@blues.cygnus.com) (build_tasking_message_type): Layout the type. (rc_state_type): New structure to keep nested receive-case info in. - (build_chill_receive_case_start, build_chill_receive_case_end): + (build_chill_receive_case_start, build_chill_receive_case_end): Use the new struct. - + Fri Sep 24 04:19:15 1993 Michael Tiemann (tiemann@blues.cygnus.com) @@ -7460,10 +7797,10 @@ Thu Sep 23 09:18:35 1993 Bill Cox (bill@cygnus.com) * ch-decl.c (print_lang_decl): Make weak name output more standard. (print_lang_identifier): Make signal-data flag output more standard. - (push_chill_extern_process): Pass correct arg tree to + (push_chill_extern_process): Pass correct arg tree to push_chill_extern_function. - (push_syn_decls, fixup_unknown_type, chill_modes_equiv): - Standardize function header layouts (Makes the tcov script + (push_syn_decls, fixup_unknown_type, chill_modes_equiv): + Standardize function header layouts (Makes the tcov script work better). * ch-except.c (chill_finish_on): Standardize function header. * ch-expr.c (fold_set_or): Standardize function header. @@ -7503,7 +7840,7 @@ Wed Sep 22 10:42:31 1993 Per Bothner (bothner@kalessin.cygnus.com) (CH_CLASS_IS_XXX, TYPE_NEWMODE, CH_CLASS_MODE): Removed. * ch-typeck.c (classify_chill_expr renamed to chill_expr_class): Take extra output parameter (for M, as in M-value class). - * ch-typeck.c (chill_novelty): New function. (Also de-references.) + * ch-typeck.c (chill_novelty): New function. (Also de-references.) * ch-expr.c (resolve_component_ref, build_chill_component_ref): New functions. Handle 2-pass and variant records. @@ -7552,20 +7889,20 @@ Tue Sep 21 14:19:11 1993 Bill Cox (bill@cygnus.com) * ch-grant.c (decode_decl): Write proper header for a process. * ch-parse.y (quasi_pdef): process now uses processparlist, which doesn't change with the passes. - (quasi_locdec): Call build_chill_reference_type to defer + (quasi_locdec): Call build_chill_reference_type to defer doing the type's layout. (processpar): Use paramnamelist, but reformat it into a list of identifiers in pass 2, so a processpar is the same structure in both passes. - (locdec): Call build_chill_reference_type to defer doing the - type's layout. + (locdec): Call build_chill_reference_type to defer doing the + type's layout. * ch-tasking.c (generate_tasking_code_variable): Call do_decl to build the decl. Only update the variable's tree in pass 2. - (make_process_struct): Call build_chill_reference_type to defer + (make_process_struct): Call build_chill_reference_type to defer doing the type's layout. - (build_process_header): New code to call make_process_struct. + (build_process_header): New code to call make_process_struct. New pass-2 code to make a PARM_DECL for start_chill_function. - Pass a void_type_node, not a NULL_TREE for an empty list. + Pass a void_type_node, not a NULL_TREE for an empty list. Get input for shadow_record_fields from current_function_decl. (build_buffer_decl): Call do_decl not decl_temp1. * ch-typeck.c: Reindent to standards. @@ -7696,8 +8033,8 @@ Sun Sep 12 21:10:10 1993 Per Bothner (bothner@kalessin.cygnus.com) * ch-parse.y (labellist): Don't do anything if ignore_exprs. - * c-typeck.c (output_pending_init_elements): Handle - !constructor_incremental case of filling in empty positions. + * c-typeck.c (output_pending_init_elements): Handle + !constructor_incremental case of filling in empty positions. (Patch by Jim Wilson. CYGNUS LOCAL until we have approval.) * ch-decl.c (pop_module): Don't grant a seized name. * ch-grant.c (decode_constant): Support CALL_EXPR. @@ -7729,11 +8066,11 @@ Sun Sep 12 18:06:23 1993 Bill Cox (bill@rtl.cygnus.com) * ch-parse.y (rccase_label_flag): Renamed from rccase_ifs. All uses renamed also. (end_function): Always poplevel, not just in pass 2. - (quasi_pdef): Check for end-label matching. + (quasi_pdef): Check for end-label matching. (quasi_formparlist): Write more clearly. (rcaltlist, optelsercvcase, optstartset): Add ignore_actions guards. - (rccase_label, sendaction): Use NAME, not SIGNALNAME + (rccase_label, sendaction): Use NAME, not SIGNALNAME or BUFFERNAME. (process): Handle like procedure. (mode): Add SIGNAL as a generic signal parameter. This @@ -7746,7 +8083,7 @@ Sun Sep 12 15:03:21 1993 Per Bothner (bothner@kalessin.cygnus.com) * c-typeck.c (digest_init): Compare types using comptypes instead of comparing pointers. (Helps Chill front end.) - * ch-expr.c (finish_chill_binary_op): + * ch-expr.c (finish_chill_binary_op): * ch-typeck.c (build_chill_array_ref, build_chill_bitref), ch-expr.c (finish_chill_binary_op): For now, prefer IN_EXPR over BIT_FIELD_REF because of various problems with BIT_FIELD_REF @@ -7801,7 +8138,7 @@ Fri Sep 10 15:47:52 1993 Per Bothner (bothner@kalessin.cygnus.com) Thu Sep 9 18:21:46 1993 Bill Cox (bill@rtl.cygnus.com) * ch-typeck.c (my_build_array_ref): Delete pedantic - C-specific error message. + C-specific error message. Thu Sep 9 17:44:20 1993 Jeffrey Wheat (cassidy@eclipse.cygnus.com) @@ -7814,7 +8151,7 @@ Thu Sep 9 12:22:22 1993 Per Bothner (bothner@kalessin.cygnus.com) Wed Sep 8 13:03:49 1993 Per Bothner (bothner@kalessin.cygnus.com) - * ch-except.c (finish_handler_array), ch-decl.c (finish_decl): + * ch-except.c (finish_handler_array), ch-decl.c (finish_decl): Don't use store_init_value, since it calls digest_init instead of chill_digest_init. * ch-except.c (finish_handler_array): Use build1 (ADDR_EXPR, ...) @@ -7873,7 +8210,7 @@ Tue Sep 7 11:16:10 1993 Bill Cox (bill@rtl.cygnus.com) * ch-decl.c (chill_digest_init): New function. Calls were changed, since it has fewer parameters than old digest_init. * ch-parse.y (untyped_expr, primval, tupleelement): Calls to - new init stuff. + new init stuff. (elementlist): Delete unused code. * ch-satisfy.c (safe_satisfy_decl): Just return if decl == NULL. * ch-tasking.c (build_tasking_enum): Attempt to adapt to 2-pass. @@ -7883,7 +8220,7 @@ Tue Sep 7 11:16:10 1993 Bill Cox (bill@rtl.cygnus.com) Tue Sep 7 12:06:28 1993 Bill Cox (bill@rtl.cygnus.com) * ch-decl.c, ch-parse.y, ch-tree.h, ch-typeck.c: Revert - files to their pre-init-change state. + files to their pre-init-change state. Mon Sep 6 15:28:27 1993 Bill Cox (bill@rtl.cygnus.com) @@ -7912,16 +8249,16 @@ Wed Sep 1 13:21:53 1993 Per Bothner (bothner@kalessin.cygnus.com) Tue Aug 31 14:57:35 1993 Bill Cox (bill@rtl.cygnus.com) * ch-decl.c (print_lang_decl): Print weak-name status. - (print_lang_identifier): Print signal_data as T or F. + (print_lang_identifier): Print signal_data as T or F. * ch-lex.l (convert_bitstring, convert_charliteral, - convert_float, convert_number): Pass string directly to convert + convert_float, convert_number): Pass string directly to convert as a parameter. Return token code consistently, return 0 for error. - (equal_number): Parse differently, allowing hex, binary + (equal_number): Parse differently, allowing hex, binary and octal constants. * ch-parse.y (dowithaction, structured_variable): Only - push/pop scopes once per DO WITH. - (structured_variable_list): Check ignore_actions flag here. + push/pop scopes once per DO WITH. + (structured_variable_list): Check ignore_actions flag here. * gcc.c: Delete 'traditional' from string, add 'itu' as the standard flag's name. @@ -7952,7 +8289,7 @@ Wed Aug 25 16:58:13 1993 Bill Cox (bill@rtl.cygnus.com) * .cvsignore: Add g++.sum * ch-actions.c (chill_expand_result): Stop building a temp. Assign the expression directly into function's DECL_RESULT. - * ch-decl.c: Add formfeeds. + * ch-decl.c: Add formfeeds. (start_chill_function): Don't need to zero DECL_RESULT's pointer any more. (push_chill_function_context): Delete C pedwarn message. * ch-expr.c: Move builtin functions together. @@ -7974,7 +8311,7 @@ Wed Aug 25 13:24:06 1993 Bill Cox (bill@rtl.cygnus.com) Wed Aug 25 08:34:36 1993 Bill Cox (bill@rtl.cygnus.com) * ch-lex.l, ch-parse.y: Delete CONTINUE_EVENT token. - It wasn't used anyway. + It wasn't used anyway. Tue Aug 24 17:51:18 1993 Bill Cox (bill@rtl.cygnus.com) @@ -7988,7 +8325,7 @@ Tue Aug 24 16:38:24 1993 Per Bothner (bothner@kalessin.cygnus.com) * ch-tree.c (build_bitstring_type): Remove all layout-like stuff, and defer that to layout_powerset_type. * ch-expr.c (chill_expand_expr): For various SET_xxx_EXPRs, - allocate stack temp for target using correct mode. + allocate stack temp for target using correct mode. Tue Aug 24 10:27:19 1993 Bill Cox (bill@rtl.cygnus.com) @@ -8012,7 +8349,7 @@ Mon Aug 23 12:15:11 1993 Bill Cox (bill@rtl.cygnus.com) * Makefile.in: Add dependency lines for ch-except.o and ch-satisfy.o. Correct dependency lines for ch-convert.o, ch-expr.o, ch-inout.o, and ch-loop.o. - (chill, install-common): Add clean-up commands. + (chill, install-common): Add clean-up commands. Sat Aug 21 17:11:26 1993 Bill Cox (bill@rtl.cygnus.com) @@ -8023,7 +8360,7 @@ Sat Aug 21 17:11:26 1993 Bill Cox (bill@rtl.cygnus.com) Sat Aug 21 13:59:40 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-decl.c (init_decl_processing): Define setbitpowerset + * ch-decl.c (init_decl_processing): Define setbitpowerset runtime function. * ch-expr.c (chill_expand_assignment): Call setbitpowerset to set a bit. @@ -8037,7 +8374,7 @@ Fri Aug 20 17:29:56 1993 Bill Cox (bill@rtl.cygnus.com) * ch-typeck.c: Indent to standard. * stor-layout.c: Fix comment. * toplev.c: Change -L option ti -I. - * varasm.c (emit_set_data): Align set constant to word + * varasm.c (emit_set_data): Align set constant to word boundary. Fri Aug 20 08:20:07 1993 Bill Cox (bill@rtl.cygnus.com) @@ -8062,8 +8399,8 @@ Wed Aug 18 17:36:53 1993 Bill Cox (bill@cygnus.com) * ch-parse.y (dowithaction): Always compute & save # of 'with' variables seen (both passes), and always pop that number of levels. - (structured_variable_list): Always chain variables into a list. - (structured_variable): Put pushlevel here (from shadow_record_fields). + (structured_variable_list): Always chain variables into a list. + (structured_variable): Put pushlevel here (from shadow_record_fields). * ch-tasking.c: Indentation fixes. * ch-tree.h: Change proto. * chill.texi: Add Blue Book section numbers to unimplemented @@ -8124,7 +8461,7 @@ Mon Aug 16 14:41:29 1993 Per Bothner (bothner@kalessin.cygnus.com) * ch-decl.c (temp_pushdecl, struct shadowing): Removed. * ch-decl.c (bind_saved_names): Remove blevel parameter; use current_scope global instead. Do some other cleanups. - * ch-decl.c (save_expr_under_name): Create an ALIAS_DECL. + * ch-decl.c (save_expr_under_name): Create an ALIAS_DECL. * ch-decl.c (pushdecllist, save_expr_under_name): Use proclaim_decl. * ch-satisfy.c (satisfy, safe_satisfy_decl): Be more careful to not do inappropriate things (e.g. type layout) if LOOKUP_ONLY. @@ -8134,11 +8471,11 @@ Mon Aug 16 14:41:29 1993 Per Bothner (bothner@kalessin.cygnus.com) Mon Aug 16 11:13:07 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-actions.c (chill_comptypes): Correct handling reference - of type 1. - (build_chill_length, build_chill_num, + * ch-actions.c (chill_comptypes): Correct handling reference + of type 1. + (build_chill_length, build_chill_num, build_chill_sizeof): Convert result to CHILL integer. - (build_chill_function_call): Clean up INOUT and OUT + (build_chill_function_call): Clean up INOUT and OUT parameter handling. * ch-decl.c (build_chill_function_type): Handle INOUT and OUT parameters. @@ -8162,7 +8499,7 @@ Sun Aug 15 15:06:01 1993 Bill Cox (bill@rtl.cygnus.com) * ch-parse.y (doaction): Unconditionally make a scope for a loop, pop it later. (controlpart, iteration): Save return from - build_chill_iterator. + build_chill_iterator. * expr.c: Readability changes. Sat Aug 14 19:42:32 1993 Bill Cox (bill@rtl.cygnus.com) @@ -8223,7 +8560,7 @@ Fri Aug 13 16:36:36 1993 Per Bothner (bothner@kalessin.cygnus.com) * ch-parse.y (optprogendname, optname): Rename to opt_end_label. * ch-parse.y: Add support for compound name strings, but defer using all over teh place, due to parser ambiguities. - Howver, do use defining_occurrence where appropriate. + However, do use defining_occurrence where appropriate. * ch-parse.y: Re-write syntax and semantics of GRANT and SEIZE statements to support Blue Book functionality. Neato! @@ -8243,37 +8580,37 @@ Fri Aug 13 13:39:59 1993 Bill Cox (bill@rtl.cygnus.com) * ch-decl.c (decl_temp): Break the chain of decls. This prevents an infinite loop. * ch-lang.c (make_chill_pointer_type): Fix compiler warning. - * ch-lex.l (equal_number): Check passes in looking up a + * ch-lex.l (equal_number): Check passes in looking up a symbolic value. * ch-parse.y: Fix comments. * ch-tasking.c (tasking_setup): Only act in pass 2. - (make_signal_struct, build_signal_decl, + (make_signal_struct, build_signal_decl, build_chill_receive_case_label): Don't go indirect thru NULL decl pointer. Thu Aug 12 11:02:34 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (route_to_predefined_function): New function called - from build_chill_function_call, to call the proper predefined routine. - (build_chill_card, build_chill_length, build_chill_lower, - build_chill_max, build_chill_min, build_chill_num, - build_chill_pred, build_chill_sizeof, build_chill_succ, - build_chill_upper): Rewritten to run only in pass 2. + from build_chill_function_call, to call the proper predefined routine. + (build_chill_card, build_chill_length, build_chill_lower, + build_chill_max, build_chill_min, build_chill_num, + build_chill_pred, build_chill_sizeof, build_chill_succ, + build_chill_upper): Rewritten to run only in pass 2. * ch-decl.c (init_decl_processing): Build predefined functions for card, - length, lower, max, min, num, pred, sizeof, succ and upper. Delete - unused builtin_function calls. + length, lower, max, min, num, pred, sizeof, succ and upper. Delete + unused builtin_function calls. * ch-grant.c (chill_finish_module_code): Save current_function_decl before calling finish_chill_function, and use that to build the - initializer structure. + initializer structure. * ch-lex.l: Remove following tokens, since they're now just predefined, - not reserved: card, length, lower, max, min, num, pred, sizeof, succ - and upper. + not reserved: card, length, lower, max, min, num, pred, sizeof, succ + and upper. * ch-loop.c: Readability, indentation changes. * ch-parse.y: Delete tokens for card, length, lower, max, min, num, pred, - sizeof, succ and upper. Delete special rules for calls to these. - Delete mode_location and upper_lower_arg non-terminals. + sizeof, succ and upper. Delete special rules for calls to these. + Delete mode_location and upper_lower_arg non-terminals. (pmodearg): Eliminate convolutions. - (call): Add rule for typename parameter. + (call): Add rule for typename parameter. * ch-tasking.c: Readability changes. * ch-tree.h: Add prototypes. @@ -8355,7 +8692,7 @@ Tue Aug 10 21:33:10 1993 Per Bothner (bothner@kalessin.cygnus.com) * ch-parse.y (modename): Changed to yield identifier, not type. This allows following changes, which work better for 2-pass: (location): primval ARROW optmodename -> primval ARROW optname. - (primval): Tuple can now be prefixed by unsatisfied name. + (primval): Tuple can now be prefixed by unsatisfied name. * ch-actions.c (chill_grant_only): Renamed to grant_only_flag. * ch-lex.l (yywrap): Don't read seizefiles if grant_only_flag. @@ -8452,7 +8789,7 @@ Mon Aug 9 15:44:01 1993 Bill Cox (bill@rtl.cygnus.com) structure's decl. (chill_finish_compile): Clear module_init_list to NULL. * ch-parse.y (quasi_formparlist): Rewrite to avoid seg fault. - Rename reverse_scopes to switch_to_pass_2, delete setting + Rename reverse_scopes to switch_to_pass_2, delete setting of pass = 2. * ch-tree.h: Rename reverse_scopes proto. @@ -8492,13 +8829,13 @@ Mon Aug 9 01:00:33 1993 Per Bothner (bothner@kalessin.cygnus.com) Sun Aug 8 16:26:40 1993 Per Bothner (bothner@kalessin.cygnus.com) * ch-lex.h: Add some missing RID_'s. - * ch-decl.c (init_decl_processing): + * ch-decl.c (init_decl_processing): Sun Aug 8 15:32:54 1993 Bill Cox (bill@rtl.cygnus.com) * ch-grant.c (module_has_actions): Delete this and all references. It was a botch. - (chill_finish_module_code): Move finish_chill_function_call inside + (chill_finish_module_code): Move finish_chill_function_call inside the test whether actions were found at module level. Use current_function_name in the initializer build, and init_entry_id in the module_list setup. @@ -8520,7 +8857,7 @@ Sun Aug 8 13:13:29 1993 Per Bothner (bothner@kalessin.cygnus.com) Sun Aug 8 10:31:04 1993 Bill Cox (bill@rtl.cygnus.com) - Generally, replace 'function' with 'procedure' + Generally, replace 'function' with 'procedure' and 'type' with 'mode' in error/warning messages. * ch-actions.c: See Generally. Fix up 'too many' and 'too few' error msgs. * ch-decl.c: See Generally. @@ -8545,11 +8882,11 @@ Sun Aug 8 08:59:23 1993 Bill Cox (bill@rtl.cygnus.com) (init_decl_processing): Build __tmp_initializer_type. Code moved from chill_finish_module_code. * ch-grant.c: New flag module_has_actions. Set TRUE by push_actions, - used, reset by chill_finish_module_code. Replaces test of - module_function_name. Shuffled finish-up code to end of module. - (chill_finish_module_code): Use global_bindings_p to determine + used, reset by chill_finish_module_code. Replaces test of + module_function_name. Shuffled finish-up code to end of module. + (chill_finish_module_code): Use global_bindings_p to determine 'nested' parameter for finish_chill_function. Use new - module_has_actions flag to trigger generation of module_init list + module_has_actions flag to trigger generation of module_init list entry. We now can handle not only multiple modules per file, but modules nested inside functions (I think). * ch-lang.c (build_chill_pointer_type): Restore missing assignment. @@ -8557,7 +8894,7 @@ Sun Aug 8 08:59:23 1993 Bill Cox (bill@rtl.cygnus.com) (modulion, spec_module): Save possibly-generated module name returned by push_module. * ch-satisfy.c (satisfy): Put switch cases into alpha order, add - case for POINTER_TYPE. + case for POINTER_TYPE. * ch-tasking.c: Replace build_pointer_type calls with build_chill_pointer_type calls. * ch-tree.h: Fix, add prototypes. @@ -8606,7 +8943,7 @@ Sat Aug 7 09:28:17 1993 Bill Cox (bill@rtl.cygnus.com) (decl_temp, decl_temp1): Delete unused code. (init_decl_processing): Call build_instance_type and build_tasking_type in both passes. - Generally change current_scope comparisons against + Generally change current_scope comparisons against global_scope to global_biidings_p calls. * ch-except.c (push_handler): Add space before parameter paren. * ch-grant.c (chill_start_module, chill_finish_module, @@ -8863,11 +9200,11 @@ Thu Jul 22 18:56:16 1993 Bill Cox (bill@rtl.cygnus.com) * c-decl.c (pushdecllist): Standardize loop for readability. * ch-decl.c (decl_temp): Call pushdecllist to store decl - into hash table, move after current_scope declaration. + into hash table, move after current_scope declaration. (decl_temp1): Move also. * ch-lex.l (getlc): New function. Force char to lower case. (check_newline): Call it, so comparisons work on uppercase - keywords. + keywords. Wed Jul 21 22:17:22 1993 Bill Cox (bill@rtl.cygnus.com) @@ -8878,7 +9215,7 @@ Wed Jul 21 22:17:22 1993 Bill Cox (bill@rtl.cygnus.com) * ch-loop.c (build_temporary_variable, begin_for_range): Replace start_decl, finish_decl pairs with decl_temp1 calls. * ch-parse.y (parnamelist): Eliminate warning by eliminating - the %type for now. + the %type for now. * ch-actions.c, ch-tasking.c: Replace do_decls calls with decl_temp1 calls. * ch-tree.h: New prototypes. @@ -8892,7 +9229,7 @@ Wed Jul 21 21:06:18 1993 Bill Cox (bill@rtl.cygnus.com) * ch-lex.l (RETURN_TOKEN): Don't use the 'do { .. return } while 0' in the macro - Sun's compiler throws warnings. Thanks, Brendan. * ch-satisfy.c (satisfy): Add forward declaration. - (SATISFY): Add outer parens for greater safety. + (SATISFY): Add outer parens for greater safety. Wed Jul 21 12:59:20 1993 Per Bothner (bothner@kalessin.cygnus.com) @@ -8943,10 +9280,10 @@ Wed Jul 21 14:23:25 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (lang_decode_option): Add option -Lpath to specify seize file path. - (ch_singleton_set): Readability formatting. + (ch_singleton_set): Readability formatting. Add comment, move functions to easier found places. * ch-lex.l (setup_seizefile_read): Check for *no* slashes. - (register_seize_path): Use memcpy so pathlen has an effect. + (register_seize_path): Use memcpy so pathlen has an effect. * gcc.c (default_compilers): Add -L option to chill compiler SPECs. @@ -8963,13 +9300,13 @@ Wed Jul 21 12:16:51 1993 Bill Cox (bill@rtl.cygnus.com) Wed Jul 21 09:29:24 1993 Bill Cox (bill@rtl.cygnus.com) * ch-grant.c: #undef strchr and strrchr names in extern - declarations, to prevent RS6000 compiler from reporting - their misuse as macros. + declarations, to prevent RS6000 compiler from reporting + their misuse as macros. * ch-lex.l (setup_seizefile_read): Refer to list of paths for seizefiles specified by -L options on command line. - (register_seize_path): Add a new path to the seize file list. + (register_seize_path): Add a new path to the seize file list. * toplev.c (strip_off_ending): Recognize chill suffix. - (main): Recognize -L option, specifying a seize file path. + (main): Recognize -L option, specifying a seize file path. Tue Jul 20 12:41:52 1993 Bill Cox (bill@rtl.cygnus.com) @@ -8986,14 +9323,14 @@ Tue Jul 20 11:01:30 1993 Bill Cox (bill@rtl.cygnus.com) * ch-lex.l (convert_float): Give variable `d' correct type so build_real call is correct. Should remove vxworks portability problem. - (convert_float): Re-indent to standards. + (convert_float): Re-indent to standards. Mon Jul 19 17:32:10 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (build_char_array_expr): Add field decls to constructor. Now, it generates the library call. * ch-expr.c (chill_expand_array_assignment): Make sure that all - error messages say 'mode' not 'type'. + error messages say 'mode' not 'type'. Mon Jul 19 14:44:46 1993 Bill Cox (bill@rtl.cygnus.com) @@ -9033,11 +9370,11 @@ Thu Jul 15 13:25:33 1993 Bill Cox (bill@rtl.cygnus.com) varying array to be assigned to a smaller, with a runtime test (to be provided). * ch-parse.y (locdec): Comment out bogus error msg. - (elementlist): Replace several lines with chainon call. + (elementlist): Replace several lines with chainon call. * ch-tree.h (SCALAR_P): New macro. New prototype for build_array_type_for_scalar. * ch-typeck.c (build_chill_cast): Re-indent. - (chill_expand_tuple): Comment out strange addition of + (chill_expand_tuple): Comment out strange addition of varying string's length to front of constructor list. Thu Jul 15 05:58:46 1993 Bill Cox (bill@rtl.cygnus.com) @@ -9053,12 +9390,12 @@ Mon Jul 12 16:07:53 1993 Bill Cox (bill@rtl.cygnus.com) * c-typeck.c (build_function_call): Bypass default parameter promotions, format param syntax check for CHILL; they've already been converted in - build_chill_function_call. + build_chill_function_call. * ch-actions.c (chill_expand-return): Correct tests for function which returns no value. * ch-convert.c (base_type_size_in_bytes): Check for NULL type parameter, just return. - (convert): Allow conversion of CHAR to varying array + (convert): Allow conversion of CHAR to varying array of CHAR. Change error msg to "conversion" from "assignment". Remove default from case, which short-circuited before @@ -9072,12 +9409,12 @@ Sun Jul 11 11:27:08 1993 Bill Cox (bill@cygnus.com) * ch-actions.c (chill_expand_result, chill_expand_return): Move here from ch-typeck.c. Add a temporary to remember the - result value in. Change return handler to fetch that + result value in. Change return handler to fetch that temporary value, if there is one. * ch-parse.y (pdef): Call chill_expand_return to fetch the temp's value. * ch-tree.h, ch-typeck.c: Move return, result functions to - ch-actions.c. And their prototypes. + ch-actions.c. And their prototypes. Fri Jul 9 15:47:51 1993 Bill Cox (bill@rtl.cygnus.com) @@ -9089,10 +9426,10 @@ Fri Jul 9 15:47:51 1993 Bill Cox (bill@rtl.cygnus.com) Fri Jul 9 09:41:05 1993 Bill Cox (bill@rtl.cygnus.com) * ch-grant.c (decode_decl): Grant BUFFER, INSTANCE variables. - (print_integer): Delete old non-working INSTANCE code. + (print_integer): Delete old non-working INSTANCE code. * ch-lex.l (name_type_signal): Recognize BUFFER name, too. * ch-parse.y (rccase_label): Move all actions inside if. - Use BUFFERNAME to recognize receice case buffer clause, + Use BUFFERNAME to recognize receice case buffer clause, eliminate one shift-reduce conflict. * ch-tasking.c (build_buffer_descriptor): Check for CH_DECL_BUFFER flag, remove unused code. @@ -9106,14 +9443,14 @@ Thu Jul 8 11:17:32 1993 Bill Cox (bill@rtl.cygnus.com) isn't hidden. * ch-lex.l: Clean up prototypes for readability. * ch-parse.y (sendaction): Add send buffer action. - (locdec): Add rule for buffer declaration. + (locdec): Add rule for buffer declaration. * ch-tasking.c (generate_tasking_code): standardize indentation. - (make_signal_struct): Readability changes. - (build_chill_send_buffer, build_buffer_decl, - build_buffer_descriptor): New functions. + (make_signal_struct): Readability changes. + (build_chill_send_buffer, build_buffer_decl, + build_buffer_descriptor): New functions. * ch-tree.h (IDENTIFIER_BUFFER_SIZE): Add place to save buffer's maximum queue length in buffer decl. - (CH_DECL_BUFFER): Add flag in decl. Clean up for + (CH_DECL_BUFFER): Add flag in decl. Clean up for readability. Add prototypes. * ch-typeck.c (build_chill_cast): Call convert rather than storing directly into TREE_TYPE field. @@ -9130,7 +9467,7 @@ Mon Jul 5 10:02:27 1993 Wilfried Moser (fs_moser at rcsw1j) * ch-lex.l: Add compiler directive SUPPORT_CAUSING_ADDRESS. * ch-except.c (initialize_exceptions): Change the layout of the - structure __ch_handler. The entry __jbuf is moved to the end + structure __ch_handler. The entry __jbuf is moved to the end of the structure and its size was changed to _JBLEN+10. * ch-decl.c (push_chill_extern_process): Add processing of processes with no arguments. @@ -9139,12 +9476,12 @@ Mon Jul 5 10:02:27 1993 Wilfried Moser (fs_moser at rcsw1j) * ch-tasking.c (build_process_header, build_chill_start_process): Add processing of processes with no arguments. (make_process_struct): Add processing of IN attribute for - process arguments. + process arguments. (tasking_setup): Add NUL-character to name of a tasking - element. The name must be NUL terminated. + element. The name must be NUL terminated. (build_chill_send_signal): Default SEND_SIGNAL_PRIORITY - to 0 with a warning if -Wall specified on command-line. - + to 0 with a warning if -Wall specified on command-line. + Fri Jul 2 16:01:57 1993 Bill Cox (bill@rtl.cygnus.com) * ch-parse.y: Change 'empty' comments to new non-terminal @@ -9153,15 +9490,15 @@ Fri Jul 2 16:01:57 1993 Bill Cox (bill@rtl.cygnus.com) Fri Jul 2 12:43:25 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-parse.y (action): Catch and report actions which - shouldn't have exception clauses, but do. Unfortunately, - catching more than one of these per compilation will - have to await the general addition of syntax error - recovery to the parser. + * ch-parse.y (action): Catch and report actions which + shouldn't have exception clauses, but do. Unfortunately, + catching more than one of these per compilation will + have to await the general addition of syntax error + recovery to the parser. Fri Jul 2 10:45:35 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-parse.y (locdec): Issue error for initialization + * ch-parse.y (locdec): Issue error for initialization of bitstring with tuple, not for powerset init with tuple. @@ -9188,10 +9525,10 @@ Wed Jun 30 14:02:23 1993 Bill Cox (bill@rtl.cygnus.com) * ch-grant.c (print_an_int): New function to print a decimal integer string or the CONST_DECL (SYN) which best matches it. - (print_integer): Call the above function. Replace + (print_integer): Call the above function. Replace calls to SAME_TYPE macro with TYPE_MAIN_VARIANT comparisons, as suggested by Jim Wilson. - (decode_decl): Set current_grant_modename sooner, + (decode_decl): Set current_grant_modename sooner, be sure to clear it when done. Wed Jun 30 10:10:57 1993 Bill Cox (bill@rtl.cygnus.com) @@ -9199,7 +9536,7 @@ Wed Jun 30 10:10:57 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (build_max_min): Change interface to accept just a max/min flag. Get min/max values from an enumeral constructor. - (build_chill_max, build_chill_min): Change calls to + (build_chill_max, build_chill_min): Change calls to build_max_min. * ch-lang.c (deep_const_expr): Check for NULL_TREE arguments, don't seg fault. @@ -9221,34 +9558,34 @@ Tue Jun 29 13:13:46 1993 Bill Cox (bill@rtl.cygnus.com) optional ELSE clause, error for multiple case-selector expressions, error for missing ELSE clause. * ch-expr.c (chill_expand_assignment): Error if multiple - location assignment and locations not novelty + location assignment and locations not novelty equivalent. * ch-parse.y (caseaction): Add range_list_clause non- - terminal, sorry message for it. - (assignaction): error if operator used on multiple + terminal, sorry message for it. + (assignaction): error if operator used on multiple assignment. - (case_expr): Pass optional ELSE tree to + (case_expr): Pass optional ELSE tree to build_chill_case_expr for checking. * ch-tree.h (build_chill_case_expr): Change proto. Fri Jun 25 17:22:41 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (chill_comptypes, build_chill_binary_op): - Allow PROC mode variables. + Allow PROC mode variables. * ch-convert.c (convert): Turn a NULL literal into a zero valued pointer-to-function, given such a type. Also build the ADDR_EXPR of a function variable. * ch-grant.c: Pervasive -Wall -pedantic cleanup. - (print_enumeral, print_integer, print_struct) Moved these + (print_enumeral, print_integer, print_struct) Moved these large functions out of the switch in raw_decode_mode for readability, and to encourage future code-sharing. - (print_proc_tail, print_proc_exceptions): Moved these out + (print_proc_tail, print_proc_exceptions): Moved these out of decode_decl, to share them. They're used also to output PROC modes. * ch-parse.y (mode2): Enable PROC modes. (procmode): Represent PROC mode as a ptr-to-function type. - (call): Recognize ptr-to-function as indirect call. - Cleanup 'primval LPRN untyped_exprlist RPRN' action code. + (call): Recognize ptr-to-function as indirect call. + Cleanup 'primval LPRN untyped_exprlist RPRN' action code. Thu Jun 24 15:59:20 1993 Bill Cox (bill@rtl.cygnus.com) @@ -9261,11 +9598,11 @@ Thu Jun 24 13:52:10 1993 Bill Cox (bill@rtl.cygnus.com) Explicitly convert a varying array's length field to an integer_type_node, now that it's only a chill_integer_ type_node. - * ch-expr.c (chill_expand_expr, - expand_assignment_to_varying_array, - chill_expand_array_assignment, - expand_varying_length_assignment): Explicitly - convert a varying array's length field to an integer_type_node, + * ch-expr.c (chill_expand_expr, + expand_assignment_to_varying_array, + chill_expand_array_assignment, + expand_varying_length_assignment): Explicitly + convert a varying array's length field to an integer_type_node, now that it's only a chill_integer_type_node. * ch-loop.c (init_loop_counter, top_of_loop_test): Change to handle varying array location iterations. @@ -9273,16 +9610,16 @@ Thu Jun 24 13:52:10 1993 Bill Cox (bill@rtl.cygnus.com) as opposed to '*' members. Issue error if there were none. (setelement): Count named set members. Generate a unique identifier for the '*' element. - * ch-typeck.c (validate_varying_array_ref): Explicitly - convert a varying array's length field to an integer_type_node, + * ch-typeck.c (validate_varying_array_ref): Explicitly + convert a varying array's length field to an integer_type_node, now that it's only a chill_integer_type_node. Wed Jun 23 19:18:28 1993 Bill Cox (bill@rtl.cygnus.com) * ch-lang.c (finish_chill_enum): Change test for too- - large enumerations. + large enumerations. * ch-parse.y (setelement, optsetvalue): Allow numbered, - unnamed set elements. + unnamed set elements. Wed Jun 23 16:25:06 1993 Bill Cox (bill@rtl.cygnus.com) @@ -9291,7 +9628,7 @@ Wed Jun 23 16:25:06 1993 Bill Cox (bill@rtl.cygnus.com) array is VARYING, as signaled by C_TYPE_VARIABLE_SIZE. * ch-actions.c (lang_init): Set flag_short_enums, so that CHILL enumerations *can* be only a byte in size. - (adjust_parm_or_field): Convert untyped parameter before + (adjust_parm_or_field): Convert untyped parameter before looking at its type to process it. * ch-convert.c (convert): Generate [ -1, -1 ] value for an INSTANCE type. @@ -9303,24 +9640,24 @@ Wed Jun 23 16:25:06 1993 Bill Cox (bill@rtl.cygnus.com) enumeration values exceeds 256. * ch-parse.y (check_end_label): Error, not warning if start and end labels don't match. - (assignaction): Convert RHS. Allows untyped tuples to be + (assignaction): Convert RHS. Allows untyped tuples to be passed to stabilize_reference. - (exceptlist, onexceptprefix): Error if non-unique exception + (exceptlist, onexceptprefix): Error if non-unique exception name is coded. * ch-tree.c: Added form feeds, comment reformatted. * ch-typeck.c (chill_expand_tuple): Compare tree value to NULL_TREE, not zero. Add a constructor element for a VARYING array's length to the constructor list. - (build_varying_struct): Mark the type as VARYING for + (build_varying_struct): Mark the type as VARYING for process_init_constructor. * toplev.c (lang_options): Add '-lang-chill' and - '-fchill-grant-only' options to table. + '-fchill-grant-only' options to table. Tue Jun 22 13:13:41 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (build_chill_function_call): Add check to prevent calling a PROCESS like a PROCEDURE. - * ch-parse.y (rcalternative): Add check for an + * ch-parse.y (rcalternative): Add check for an receive case alternative after a RECEIVE CASE statement. * ch-tree.h: Fix macro ENCAPSULATED_ARRAY_P. @@ -9333,24 +9670,24 @@ Mon Jun 21 17:56:48 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (lang_init): Add else_clause flag to __wait_signal parameter list. * ch-lex.l: Add SIGNALNAME token, return when appropriate. - * ch-parse.y (SIGNALNAME): New token. Delete - empty_untyped_exprlist token, no longer used. Add + * ch-parse.y (SIGNALNAME): New token. Delete + empty_untyped_exprlist token, no longer used. Add name_or_signal non-terminal. Standardize a few NULL tests. Add real RECEIVE CASE semantics. Add checks that SIGNALS, BUFFERs are only declared at global scope. (call): Add signal declarations with/without data fields. * ch-tasking.c (get_tasking_code_name, get_tasking_code, - build_chill_receive_case_start, build_chill_receive_case_end, - build_chill_receive_case_label): New functions. - Replace build (CONSTRUCTOR, ... calls with build_nt - (CONSTRUCTOR, calls. + build_chill_receive_case_start, build_chill_receive_case_end, + build_chill_receive_case_label): New functions. + Replace build (CONSTRUCTOR, ... calls with build_nt + (CONSTRUCTOR, calls. * ch-tree.h: New prototypes. Thu Jun 17 18:36:38 1993 Bill Cox (bill@rtl.cygnus.com) SIGNAL declaration compilation, seizing & granting, - SENDing also. - * ch-actions.c (lang_init): Move instance_type_node + SENDing also. + * ch-actions.c (lang_init): Move instance_type_node build to ch-tasking.c. Call build_tasking_message_type. Build a type for send_signal. Put builtin_function calls into alpha order. @@ -9365,18 +9702,18 @@ Thu Jun 17 18:36:38 1993 Bill Cox (bill@rtl.cygnus.com) * ch-loop.c (get_unique_identifier): Standardize loop temporary's name to assure that it's not granted. * ch-parse.y (SIG_NAME): Delete unused token. - (spec_declist): Delete silly printf. + (spec_declist): Delete silly printf. (quasi_signaldef): Add non-terminal. (sendaction, optsendwith, optsendto, optpriority): - Implement actual working semantics. - (call, empty_untyped_exprlist): Allow empty signal - fields between parens. + Implement actual working semantics. + (call, empty_untyped_exprlist): Allow empty signal + fields between parens. * ch-tasking.c: Rename adjust_proc_param calls, add is_signal flag to calls. Make instance_type_node a - type, not a TYPE_DECL, change references. Fix all + type, not a TYPE_DECL, change references. Fix all CONSTRUCTOR builds. Add make_signal_struct function. - Move build_instance_type here from lang_init. - (build_tasking_message-type, build_signal_descriptor, + Move build_instance_type here from lang_init. + (build_tasking_message-type, build_signal_descriptor, build_chill_send_signal): New functions. * ch-tree.h: Add, update protos. * ch-typeck.c (build_chill_cast): Check for NULL expression @@ -9392,7 +9729,7 @@ Wed Jun 16 07:12:53 1993 Bill Cox (bill@rtl.cygnus.com) to ch-tasking.c. * ch-decl.c (push_chill_extern_function): Drop is_process parameter, and marking process decl trees. - (push_chill_extern_process): New function for + (push_chill_extern_process): New function for SEIZEd processes. Lotsa form feeds added for print readability. * ch-grant.c (decode_decl): Handle GRANTing of SIGNAls. @@ -9422,25 +9759,25 @@ Mon Jun 14 18:17:13 1993 Bill Cox (bill@rtl.cygnus.com) * ch-lex.l (equal_number): Also accept synonym name for numeric value. * ch-parse.y (primval): Add process-related - function calls. - (signaldef, etc.): Rough draft of SIGNAL definition - processing. - (stopaction): Call runtime function. - (pdef): Pop symbol level if ending a process - and there were parameters. - (primval): Call `whoami' runtime function for THIS. + function calls. + (signaldef, etc.): Rough draft of SIGNAL definition + processing. + (stopaction): Call runtime function. + (pdef): Pop symbol level if ending a process + and there were parameters. + (primval): Call `whoami' runtime function for THIS. * ch-tasking.c (build_process_header): Be sure - to define the tasking enum, if it hasn't already + to define the tasking enum, if it hasn't already been done. Only call shadow_record_fields if there - are parameters. - (build_tasking_enum): Only call start_enum *after* - checking the already_built flag. - (build_copy_number, get_tasking_code, + are parameters. + (build_tasking_enum): Only call start_enum *after* + checking the already_built flag. + (build_copy_number, get_tasking_code, build_gen_code, build_gen_inst, build_get_ptype, build_proc_type): New functions for process-related builtins. - (build_signal_decl): New function for SIGNAL - declaration - rough draft. + (build_signal_decl): New function for SIGNAL + declaration - rough draft. * ch-tree.def (INSTANCE_TYPE): new tree code. * ch-tree.h: New prototypes. Defines for instance type field access. @@ -9451,53 +9788,53 @@ Sat Jun 12 21:15:02 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (adjust_proc_param): new function, extracted from build_chill_function_call and called from there. - * ch-tree.h, ch-grant.c (do_seize): Add process_type + * ch-tree.h, ch-grant.c (do_seize): Add process_type parameter to add_taskstuff_to_list call, prototype. * ch-parse.y (start_parlist): New non-terminal for START action. - (startaction): Reference start_parlist, check for + (startaction): Reference start_parlist, check for integer-valued process copy-number. - (optstartset): Check instance parameter - must be + (optstartset): Check instance parameter - must be an INSTANCE_TYPE location. * ch-tasking.c (generate_tasking_code_variable): New - function, extracted from tasking_setup and called - from there. Also called from build_process_header. + function, extracted from tasking_setup and called + from there. Also called from build_process_header. (build_process_header): Add process_type parameter to add_taskstuff_to_list call. Remove incrementing of process_type (moved into generate_tasking_code _variable). - (build_chill_start_process): Complete rewrite. + (build_chill_start_process): Complete rewrite. (add_tasking_stuff_to_list): Add stuffnumber parameter - putit on the list. + putit on the list. Sat Jun 12 06:08:09 1993 Bill Cox (bill@rtl.cygnus.com) Getting processes compiled, initialized and granted: * .cvsignore: Add chill file. * c-decl.c (shadow_record_fields): Allow PARM_DECL - as well as VAR_DECL. + as well as VAR_DECL. * ch-actions.c (lang_init): Move build of initializer_type into ch-tasking.c. Change definition of THIS to function call. * ch-decl.c (massage_param_node): Add comments. (start_chill_function): Set nested flag in - start_function call based upon current_function_decl, + start_function call based upon current_function_decl, not as constant zero. * ch-grant.c (decode_decl): lotsa code by Wilfried to - GRANT process decls. - (finish_chill_module): Completely rewrote interface - to runtime. + GRANT process decls. + (finish_chill_module): Completely rewrote interface + to runtime. * ch-lex.l (THIS): Just return the token code. * ch-parse: Add THIS token. (processpar, processparlist): New rules, to collect - process parameters. - (pdef): Add code to pop the process' WITH scope. - (procedure): Set process WITH scope flag to zero. - (process): Move most code into build_process_header. - (primval): Output function call for THIS. + process parameters. + (pdef): Add code to pop the process' WITH scope. + (procedure): Set process WITH scope flag to zero. + (process): Move most code into build_process_header. + (primval): Output function call for THIS. * ch-tasking.c (add_taskstuff_to_list, build_tasking_enum, - make_process_struct, build_process_header): New code - to handle process translation and interface to runtime. + make_process_struct, build_process_header): New code + to handle process translation and interface to runtime. * ch-tree.h: New prototypes. Thu Jun 10 13:32:51 1993 Bill Cox (bill@rtl.cygnus.com) @@ -9543,7 +9880,7 @@ Wed Jun 9 09:03:55 1993 Bill Cox (bill@rtl.cygnus.com) * ch-grant.c (chill_start_module_code): Rename actual module-level code to just the modulename, which is *not* public. - (chill_finish_module_code): Allocate space for initializer + (chill_finish_module_code): Allocate space for initializer list entry, build real initializer function, which puts the list entry on the runtime list. Name the init function as the module's constructor function. @@ -9556,10 +9893,10 @@ Thu Jun 3 17:04:01 1993 Bill Cox (bill@rtl.cygnus.com) * c-decl.c: Fix comment. * ch-actions.c, ch-grant.c: Standardize front end: - #define first, etc. Add comments. + #define first, etc. Add comments. (lang_init): Delete unused flag, code for inapplicable - gen-decls option. (lang_decode_option): Delete - gen-decls option, add grant-only option, flag. + gen-decls option. (lang_decode_option): Delete + gen-decls option, add grant-only option, flag. * ch-convert.c, ch-decl.c, ch-except.c, ch-tree.c, ch-typeck.c: Add form feed after front end. * ch-expr.c: Standardize testing for error_mark node. @@ -9595,11 +9932,11 @@ Wed May 19 16:45:54 1993 Bill Cox (bill@rtl.cygnus.com) better name to unsigned flag. * ch-expr.c (chill_expand_assignment): Correct calling sequence for setpowersetbits runtime routine. - * ch-grant.c (raw_decode_mode): Give better name to - unsigned flag. (decode_constant): Check for null - 'val' ptr, avoid seg fault. - * ch-lex.l (convert_number): Give better name to - unsigned flag. (convert_bitstring): Move increment + * ch-grant.c (raw_decode_mode): Give better name to + unsigned flag. (decode_constant): Check for null + 'val' ptr, avoid seg fault. + * ch-lex.l (convert_number): Give better name to + unsigned flag. (convert_bitstring): Move increment of bl counter to emphasize that it increments once per loop. * ch-tree.h: (NO_SOURCE_UNARY_MINUS): Define new flag. @@ -9613,8 +9950,8 @@ Thu May 13 17:03:04 1993 Bill Cox (bill@rtl.cygnus.com) TREE_UNSIGNED flag FALSE for raw_decode_mode. * ch-grant.c (grant_array_type): Correct the May 12 check for circularity. - (raw_decode_mode): Use TREE_UNSIGNED flag to - control range's printing. + (raw_decode_mode): Use TREE_UNSIGNED flag to + control range's printing. (chill_grant): Remove useless, bogus code. * ch-lex.l (convert_number): Set the TREE_UNSIGNED flag TRUE for raw_decode_mode. @@ -9624,7 +9961,7 @@ Wed May 12 18:04:01 1993 Bill Cox (bill@rtl.cygnus.com) * ch-decl.c (push_syndecls, push_modedef): Comment reminders to check for circular definitions. Later! * ch-grant.c (grant_array_type, decode_decl): Prevent - circular definitions in the use of the array's + circular definitions in the use of the array's type name. Wed May 12 16:06:13 1993 Bill Cox (bill@rtl.cygnus.com) @@ -9637,11 +9974,11 @@ Wed May 12 16:06:13 1993 Bill Cox (bill@rtl.cygnus.com) Wed May 12 07:49:00 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-actions.c (fold_set_*): Correct tests for + * ch-actions.c (fold_set_*): Correct tests for range set-constructor list entries. (lang_init): Define setpowersetbits function. * expr.c (store_constructor): Handle non-constant - set constructors. + set constructors. Tue May 11 18:25:40 1993 Per Bothner (bothner@cygnus.com) @@ -9663,12 +10000,12 @@ Tue May 11 15:24:31 1993 Bill Cox (bill@rtl.cygnus.com) Mon May 10 18:45:18 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (invalid{left right}_operand): Add - handlers for REPLICATE_EXPR. + handlers for REPLICATE_EXPR. (build_chill_repetition_op): Build constructor list for repetition of bitstring. * ch-parse.y (call): Recognize more trees as arrays, to avoid error msg. - (operand5): Add count, string temporaries, use them. + (operand5): Add count, string temporaries, use them. Mon May 10 16:49:08 1993 Per Bothner (bothner@cygnus.com) @@ -9682,10 +10019,10 @@ Mon May 10 10:54:57 1993 Bill Cox (bill@rtl.cygnus.com) * ch-grant.c (do_seize, seize_implied_types): Move result and parameter processing to proper place. - (chill_seize): Mark unseized identifier with - error_mark_node, to avoid excessive errors. - * ch-parse.y (call): Check for ERROR_MARK before - reporting an error. + (chill_seize): Mark unseized identifier with + error_mark_node, to avoid excessive errors. + * ch-parse.y (call): Check for ERROR_MARK before + reporting an error. Sun May 9 17:21:24 1993 Bill Cox (bill@rtl.cygnus.com) @@ -9711,20 +10048,20 @@ Sun May 9 17:11:33 1993 Per Bothner (bothner@cygnus.com) Fri May 7 10:30:34 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (lang_init): Add definition of psslice - runtime routine. (build_chill_binary_op_1, - build_chill_binary_op): Have result type of - TRUTH_ANDIF_EXPR be boolean, not integer. Some + runtime routine. (build_chill_binary_op_1, + build_chill_binary_op): Have result type of + TRUTH_ANDIF_EXPR be boolean, not integer. Some reindenting. * ch-convert.c (convert): Use consistent notation for expression. * ch-parse.y: Add front-end pass count. (locdec): - Add syntax for other BASED declaration. + Add syntax for other BASED declaration. * ch-tree.c: Fix comment. * ch-typeck.c (build_chill_slice): Implement a runtime call for bitstring slices. (build_chill_cast): - Add code for BITS_BIG_ENDIAN bit loop. + Add code for BITS_BIG_ENDIAN bit loop. (chill_expand_tuple): Don't pass ref type to - digest_init, only underlying type. + digest_init, only underlying type. Thu May 6 12:52:14 1993 Per Bothner (bothner@cygnus.com) @@ -9734,16 +10071,16 @@ Thu May 6 12:52:14 1993 Per Bothner (bothner@cygnus.com) Wed May 5 19:02:55 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c: Break out separate routines for set - folding, handle ranges in set_fold_eq and set_fold_ne. - Fix folding as req'd by TTC test. + folding, handle ranges in set_fold_eq and set_fold_ne. + Fix folding as req'd by TTC test. * ch-grant.c (raw_decode_more): Check for content match to decide output mode, not pointer identity. * ch-typeck.c: Add cross-reference comment. * varasm.c (emit_set_data): Clarify parameter name. Handle INTEGER_CST as set constructor. - (output_constant): Handle CONSTRUCTOR node for sets. + (output_constant): Handle CONSTRUCTOR node for sets. Apparently forgot to actually 'checkin' this one last - time. + time. Wed May 5 12:23:58 1993 Jim Wilson (wilson@sphagnum.cygnus.com) @@ -9752,26 +10089,26 @@ Wed May 5 12:23:58 1993 Jim Wilson (wilson@sphagnum.cygnus.com) Tue May 4 15:47:44 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (fold_set_expr): new function to fold - set expressions. Calls inserted into + set expressions. Calls inserted into build_chill_binary_op and build_chill_unary_op. - (build_chill_repetition_op): New function, called + (build_chill_repetition_op): New function, called from build_chill_function_call. - * ch-expr.c (chill_expand_assignment): Call + * ch-expr.c (chill_expand_assignment): Call build_chill_repetition_op. * ch-grant.c (decode_constant): Comment out deep_fold call. The earlier fold_set_expr calls should make this one unnecessary. Prevent seg fault when name of structure field is NULL. Standardize for loop. * ch-parse.y: Fix comments. - (operand5): build a REPLICATE_EXPR. Don't call + (operand5): build a REPLICATE_EXPR. Don't call build_repetition_op until we have a type. * ch-tree.def (REPLICATE_EXPR): Define tree-code. * ch-tree.h (build_chill_repetiton_op): Fix proto. - * ch-typeck.c (chill_expand_result): Call + * ch-typeck.c (chill_expand_result): Call build_chill_repetition_op if needed. * varasm.c (emit_set_data): Clarify parameter name. Handle INTEGER_CST as set constructor. - (output_constant): Handle CONSTRUCTOR node for sets. + (output_constant): Handle CONSTRUCTOR node for sets. Mon May 3 13:06:47 1993 Per Bothner (bothner@cygnus.com) @@ -9784,7 +10121,7 @@ Mon May 3 13:06:47 1993 Per Bothner (bothner@cygnus.com) Mon May 3 08:22:45 1993 Bill Cox (bill@rtl.cygnus.com) * ch-grant.c (decode_constant): Revert interpretation - of SET_TYPE as integer. + of SET_TYPE as integer. Mon May 3 07:55:46 1993 Bill Cox (bill@rtl.cygnus.com) @@ -9801,28 +10138,28 @@ Sat May 1 14:55:58 1993 Bill Cox (bill@rtl.cygnus.com) Redefine __inpowerset to take a 'minval' parameter that matches the new runtime. Added comments. * ch-expr.c (chill_handle_case_label): Handle - NULL or ERROR trees. + NULL or ERROR trees. * ch-grant.c (get_type): Survive bogus type params, return empty string. * ch-tree.c (build_powerset_type): Diagnose powerset - of non-discrete type. + of non-discrete type. * ch-typeck.c (discrete_type_p): Reindent. Fri Apr 30 16:08:54 1993 Bill Cox (bill@rtl.cygnus.com) * ch-grant.c (decode_constant): Interpret SET_TYPE - with integer value, so we output the same stuff as - the user gave us. + with integer value, so we output the same stuff as + the user gave us. * ch-parse.y: Fix indentation. Fri Apr 30 09:34:03 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (chill_comptypes): Simplify, correct - integer subrange analysis. + integer subrange analysis. * ch-grant.c (seize_implied_names): Add handling for PROCESS_DECL, PROCESS_TYPE. - (do_seize): Call seize_implied_names for process, - procedure parameters and return value. + (do_seize): Call seize_implied_names for process, + procedure parameters and return value. * ch-lang.c (finish_chill_enum): Canonicalize enum types. * ch-tree.def (PROCESS_TYPE): Add. @@ -9833,11 +10170,11 @@ Fri Apr 30 09:34:03 1993 Bill Cox (bill@rtl.cygnus.com) Thu Apr 29 13:07:55 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (build_chill_lower, build_chill_upper): - Handle enumeration types. + Handle enumeration types. (build_chill_binary_op): Call chill_comptypes to error check IN arguments. Change error - messages to say 'mode' rather than 'type'. Cast - tree codes when build is called. + messages to say 'mode' rather than 'type'. Cast + tree codes when build is called. * ch-expr.c (chill_expand_array_assignment): Call chill_comptypes to validate assignment args. * ch-lex.l: Add newline for readability. @@ -9847,18 +10184,18 @@ Wed Apr 28 15:22:18 1993 Bill Cox (bill@rtl.cygnus.com) * Makefile.in (ch-hash.h): Add rule to build this from chill.gperf. Not yet used. * ch-actions.c (build_chill_binary_op): Allow enum - subranges on RHS of IN operator. - * ch-grant.c (decode_constant): Recognize + subranges on RHS of IN operator. + * ch-grant.c (decode_constant): Recognize error_mark_node as empty powerset initializer, re-indent a bit. * ch-lang.c (deep_fold): Return error_mark_node for - NULL input pointer or incoming error_mark_node. + NULL input pointer or incoming error_mark_node. * ch-lex.l: Ignore PACK and UNPACK keywords. Return POS, ROW, and STEP as user-defined names. - (name_or_type): New function for above. + (name_or_type): New function for above. * ch-parse.y: Move token defs for following, comment them separately: NOPACK, PACK, POS, ROW, STEP - * varasm.c (output_constant): Check for VAR_DECLs in + * varasm.c (output_constant): Check for VAR_DECLs in records & unions, like arrays. Don't abort. Tue Apr 27 17:42:29 1993 Bill Cox (bill@rtl.cygnus.com) @@ -9871,25 +10208,25 @@ Tue Apr 27 17:42:29 1993 Bill Cox (bill@rtl.cygnus.com) IDENTIFIER_GLOBAL_VALUE, for full generality. * ch-expr.c (chill_expand_assignment): Need to handle non-NOP modify codes here, since C code - in build_modify_expr won't understand powersets, + in build_modify_expr won't understand powersets, etc. Tue Apr 27 09:05:31 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (build_max_min): Assign the set's base type to the function's return type. - (build_chill_function_call): Before complaining - about parameter mismatches, convert certain actual - parameters. - * ch-expr.c (chill_expand_assignment): Before - complaining about LHS/RHS mismatches, convert - certain RHS expressions. - * ch-grant.c (decode_constant): Deep-fold incoming + (build_chill_function_call): Before complaining + about parameter mismatches, convert certain actual + parameters. + * ch-expr.c (chill_expand_assignment): Before + complaining about LHS/RHS mismatches, convert + certain RHS expressions. + * ch-grant.c (decode_constant): Deep-fold incoming expression, so we can output it. * ch-lang.c (deep_const_expr): New function, called - from const_expr, actually traverses the tree + from const_expr, actually traverses the tree looking at its leaves for 'const'ness. - (deep_fold): New function to fold already-built + (deep_fold): New function to fold already-built trees. * ch-parse.y (case_expr): Add whitespace. * ch-tree.h: Add prototype for deep_fold. @@ -9897,22 +10234,22 @@ Tue Apr 27 09:05:31 1993 Bill Cox (bill@rtl.cygnus.com) Tue Apr 27 07:21:43 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (chill_comptypes): Allow enumeration - subranges as compatible with the parent enum. - (build_chill_function_call): Before checking type - compatibility, use convert on typeless expressions, - like constructors. - * ch-expr.c (chill_expand_assignment): Before - checking type compatibility, use convert on - typeless expressions, like constructors. + subranges as compatible with the parent enum. + (build_chill_function_call): Before checking type + compatibility, use convert on typeless expressions, + like constructors. + * ch-expr.c (chill_expand_assignment): Before + checking type compatibility, use convert on + typeless expressions, like constructors. * ch-lex.l: Add comment. Thu Apr 22 17:23:25 1993 Bill Cox (bill@rtl.cygnus.com) * .cvsignore: Add genopinit, insn-opinit.c * c-common.c (binary_op_error): Prevent seg fault on - unknown node code. + unknown node code. * ch-typeck.c (build_chill_array_ref): Remove old - lower-bound-of-array-index-nonzero code. + lower-bound-of-array-index-nonzero code. * expr.c (expand-expr, get_inner_reference): Remove old lower-bound-of-array-index-nonzero code. @@ -9921,14 +10258,14 @@ Thu Apr 22 16:01:09 1993 Bill Cox (bill@rtl.cygnus.com) * c-decl.c (shadow_record_fields): Add pushlevel for each PROCESS parameter, too. * ch-process.c (make_process_struct): First working - version. + version. * ch-tree.def: Add PROCESS_DECL definition. * ch-tree.h: Add CH_IS_EVENT_MODE macro, change proto - for make_process_struct. - * expr.c (expand_expr): Add references to - PROCESS_DECL. Add #include of ch-tree.h. + for make_process_struct. + * expr.c (expand_expr): Add references to + PROCESS_DECL. Add #include of ch-tree.h. * tree.c (decl_function_context): Add check for a - PROCESS_DECL, and #include for ch-tree.h. + PROCESS_DECL, and #include for ch-tree.h. Thu Apr 22 09:25:08 1993 Bill Cox (bill@rtl.cygnus.com) @@ -9944,67 +10281,67 @@ Wed Apr 21 16:17:07 1993 Bill Cox (bill@rtl.cygnus.com) Thu Apr 22 09:25:08 1993 Bill Cox (bill@rtl.cygnus.com) * ch-expr.c (chill_expand_expr): Add missing - parameters to expand_expr calls. Some trivial + parameters to expand_expr calls. Some trivial reformatting for readability. Wed Apr 21 16:17:07 1993 Bill Cox (bill@rtl.cygnus.com) * ch-lex.l: Make send_*_prio externally visible, - default them to zero, eliminate the init flags. - Same for process_type. + default them to zero, eliminate the init flags. + Same for process_type. Sat Apr 17 10:59:50 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (build_chill_binary_op): Build a - BIT_FIELD_REF tree for IN_EXPR operations. + BIT_FIELD_REF tree for IN_EXPR operations. * ch-typeck.c (build_chill_array_ref): Build a - BIT_FIELD_REF tree for access to packed array of + BIT_FIELD_REF tree for access to packed array of bits. Fri Apr 16 12:33:34 1993 Bill Cox (bill@rtl.cygnus.com) * ch-parse.y (EXIT action): Improve error checking, - messages. + messages. * ch-typeck.c (chill_expand_tuple): Remove code to pack sets (moved to varasm.c long ago). * varasm.c (unpack_set_constructor): Rename size to - bit_size, since 'size' always means bytes. - (pack_set_constructor): Rename size to wd_size, - since 'size' always means bytes. + bit_size, since 'size' always means bytes. + (pack_set_constructor): Rename size to wd_size, + since 'size' always means bytes. (output_constant): Set size to zero, so that extra - bytes of padding aren't output after set constants. + bytes of padding aren't output after set constants. Fri Apr 16 11:57:50 1993 Bill Cox (bill@rtl.cygnus.com) * .cvsignore: Add .gdbinit. * ch-decl.c (start_chill_bindings): Add function name - to binding contour's exit_label for EXIT stmt. + to binding contour's exit_label for EXIT stmt. * ch-parse.y (EXIT action): Call lookup_name to avoid - inserting label for function name. Also check - IDENTIFIER_LABEL_VALUE for label's decl. - (caseaction, beginendblock, ifaction): Call - stamp_nesting_label to put action's label into - contour for EXIT to find. + inserting label for function name. Also check + IDENTIFIER_LABEL_VALUE for label's decl. + (caseaction, beginendblock, ifaction): Call + stamp_nesting_label to put action's label into + contour for EXIT to find. Thu Apr 15 17:17:05 1993 Bill Cox (bill@rtl.cygnus.com) * expr.c (expand_expr): Unify, clean up handling of - IN_EXPR, and handling of bit-string element ref. + IN_EXPR, and handling of bit-string element ref. Now, all goes through IN_EXPR handler. * stmt.c (stamp_nesting_label, expand_exit_labelled): - New functions, which allow either label or - function decls. + New functions, which allow either label or + function decls. Thu Apr 15 17:17:05 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c ch-actions.h ch-convert.c ch-decl.c ch-except.c - ch-expr.c ch-grant.c ch-inout.c ch-lang.c ch-lex.h ch-lex.l + ch-expr.c ch-grant.c ch-inout.c ch-lang.c ch-lex.h ch-lex.l ch-loop.c ch-parse.y ch-process.c ch-tree.c ch-tree.def ch-tree.h ch-typeck.c: Add 1993 copyright, fix titles. * ch-actions.c (build_chill_binary_op): Move runtime function call to expr.c. Just build a tree here. Clean up error checking. * ch-convert.c (convert): Simply store a type into an expression if - TREE_TYPE (expr) == NULL. Prevent error if an enum is to be + TREE_TYPE (expr) == NULL. Prevent error if an enum is to be converted to a set of such enums. * ch-loop.c (init_loop_counter): Restore error msg for undeclared variable if no local scope is to be created for the loop. @@ -10017,7 +10354,7 @@ Wed Apr 14 07:54:00 1993 Bill Cox (bill@rtl.cygnus.com) * ch-convert.c (convert): Check pointers better - avoid NULL reference. Remove redundant check for ERROR_MARK - already checked earlier. * ch-parse.y (get_type_of): Add parameter checks for NULL ptrs and - error_mark_node. + error_mark_node. Tue Apr 13 16:00:37 1993 Per Bothner (bothner@cygnus.com) @@ -10043,32 +10380,32 @@ Tue Apr 13 16:00:37 1993 Per Bothner (bothner@cygnus.com) Tue Apr 13 15:48:25 1993 Bill Cox (bill@rtl.cygnus.com) * ch-loop.c (begin_chill_loop): Also stamp the user's loop name into - current contour for DO FOR EVER loops. + current contour for DO FOR EVER loops. Tue Apr 13 14:37:39 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-parse.y (actionstatement): Add error rule. Delete - POP_UNUSED_ON_CONTEXT. Add comments about label name usage. + * ch-parse.y (actionstatement): Add error rule. Delete + POP_UNUSED_ON_CONTEXT. Add comments about label name usage. (nohandleraction): Better error check in EXIT processing. - (optexprlist): Comment out make_function_rtl call. - (seizestatement): Change error to warning. + (optexprlist): Comment out make_function_rtl call. + (seizestatement): Change error to warning. Tue Apr 13 08:29:31 1993 Bill Cox (bill@rtl.cygnus.com) * ch-grant.c (raw_decode_mode): Supply missing parameter in get_type - call. + call. * ch-loop.c (begin_chill_loop): Take loop label as parameter. Stamp - its name into the current contour's exit_label, for EXIT to use. + its name into the current contour's exit_label, for EXIT to use. * ch-parse.y: (actionlabel): Save label tree in global variable. - (actionstatement): Clear label to NULL when action is finished. - (handlerstatement, nohandlerstatement): Split actions into - categories which do/don't permit exception handlers. - (exitaction): Move code into nohandleraction, make it work. - (doaction): Pass (possibly NULL) label tree to begin_chill_loop. + (actionstatement): Clear label to NULL when action is finished. + (handlerstatement, nohandlerstatement): Split actions into + categories which do/don't permit exception handlers. + (exitaction): Move code into nohandleraction, make it work. + (doaction): Pass (possibly NULL) label tree to begin_chill_loop. * ch-tree.h: Add parameter to begin_chill_tree prototype. * stmt.c (stamp_nesting_label, expand_exit_labelled): Add functions. - Note: This implementation of EXIT only exits from loops, not yet - from other bracketted statements. + Note: This implementation of EXIT only exits from loops, not yet + from other bracketted statements. Mon Apr 12 13:41:55 1993 Per Bothner (bothner@rtl.cygnus.com) @@ -10086,45 +10423,45 @@ Mon Apr 12 08:10:34 1993 Bill Cox (bill@rtl.cygnus.com) * ch-loop.c: Diffuse cleanup after big functional changes. * ch-parse.y: Eliminate temporary variables, now unnecessary. Use - parse-time stack instead. + parse-time stack instead. * ch-tree.h: Change build_chill_iterator prototype. Sun Apr 11 15:50:33 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-convert.c (convert): Replace an ERROR_MARK type - from a + * ch-convert.c (convert): Replace an ERROR_MARK type - from a untyped_expr with the given type. Move chill_expand_case_expr call inside chill_expand_expr. - * ch-expr.c, ch-tree.h, ch-typeck.c (chill_handle_case_default, - chill_handle_case_label, chill_expand_case_expr): Move to ch-expr.c - from ch-typeck.c. + * ch-expr.c, ch-tree.h, ch-typeck.c (chill_handle_case_default, + chill_handle_case_label, chill_expand_case_expr): Move to ch-expr.c + from ch-typeck.c. * ch-loop.c: Major reorganization to support multiple iterators in - DO FOR loop, very little new code, just a re-org. + DO FOR loop, very little new code, just a re-org. * ch-parse.y (iterationlist): Add handling for multiple loop iterators. Sat Apr 10 14:40:12 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (build_chill_lower, build_chill_upper): Clean up. * ch-grant.c (chill_grant): Avoid making strange SYNMODE for enum - member. + member. * ch-lex.l (equal_number): Add function to look in the input for '=' - followed by a decimal literal. Call it from directive scanning. - (start state 'ccitt'): Deleted, unused. Moved unused, but reserved, - tokens to NORMAL state. - (compiler_directive): Replaced by equal_number. Now the only - recursive call to yylex happens in check_newline at the beginning - of a compilation. + followed by a decimal literal. Call it from directive scanning. + (start state 'ccitt'): Deleted, unused. Moved unused, but reserved, + tokens to NORMAL state. + (compiler_directive): Replaced by equal_number. Now the only + recursive call to yylex happens in check_newline at the beginning + of a compilation. Sat Apr 10 09:55:50 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (build_chill_case_expr): Added from ch-parse.y. * ch-lex.l (ENTRY, PERVASIVE, ROW, STEP): Add token recognition to - 'reserve' them. + 'reserve' them. * ch-parse.y (case_expr): Move code into ch-actions.c. There will - need to be much more written. + need to be much more written. * ch-tree.def (VARY_ARRAY_REF): Add comment. * ch-tree.h (build_chill_case_expr): Add prototype. * ch-typeck.c (build_chill_cast): Allow untyped_expr - just assign the - type to the expr. Check for CASE_EXPR, call expand_case_expr. + type to the expr. Check for CASE_EXPR, call expand_case_expr. Sat Apr 10 01:10:51 1993 Per Bothner (bothner@rtl.cygnus.com) @@ -10158,9 +10495,9 @@ Sat Apr 10 01:10:51 1993 Per Bothner (bothner@rtl.cygnus.com) Fri Apr 9 09:37:38 1993 Bill Cox (bill@rtl.cygnus.com) * ch-expr.c (chill_expand_array_assignment): Remove false error about - arrays that are too small. + arrays that are too small. * ch-parse.y (callaction): Don't pass an error_mark_node to - c_expand_expr_stmt. + c_expand_expr_stmt. Fri Apr 9 00:26:54 1993 Per Bothner (bothner@rtl.cygnus.com) @@ -10188,12 +10525,12 @@ Fri Apr 9 00:26:54 1993 Per Bothner (bothner@rtl.cygnus.com) Thu Apr 8 16:56:52 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (build_char_array_expr): Add handling of varying - arrays in relational expressions. + arrays in relational expressions. * ch-decl.c: Add prototype for lookup_name_current_level. - * ch-expr.c (chill_expand_expr): Make concat_expr's temp a BLKmode, - so its length is used as the temp's size. + * ch-expr.c (chill_expand_expr): Make concat_expr's temp a BLKmode, + so its length is used as the temp's size. (chill_expand_array_assignment): Correct for varying := varying - assignment, clean up. + assignment, clean up. * ch-typeck.c: Add prototype for require_complete_type. Wed Apr 7 16:41:29 1993 Bill Cox (bill@rtl.cygnus.com) @@ -10228,24 +10565,24 @@ Tue Apr 6 18:05:40 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c: Move build_varying_struct to ch-typeck.c. * ch-parse.y (formpar): Turn ARRAY_TYPE parms into structure. * ch-parse.y (location): Do build_component_ref for an array wrapped - in a structure. + in a structure. * ch-tree.h: Add prototype, #define for build_chill_array_parm_type. * ch-typeck.c (build_chill_array_parm_type): Add function, move build_varying_struct here from ch-actions.c. Mon Apr 5 19:56:56 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-actions.c, ch-decl.c: Use tree_int_cst_equal and integer_zerop + * ch-actions.c, ch-decl.c: Use tree_int_cst_equal and integer_zerop rather than in-line code - tests LOW and HIGH values. * ch-lang.c: Use tree_int_cst_lt rather than inline code. * ch-typeck.c (my_build_array_ref): Handle case where array low bound - isn't zero. + isn't zero. Mon Apr 5 15:45:10 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-typeck.c (my_build_array_ref): Add some more code from - build_array_ref. Change checks, error messages to mention - 'discrete types'. I.E. types which don't kiss and tell.. + * ch-typeck.c (my_build_array_ref): Add some more code from + build_array_ref. Change checks, error messages to mention + 'discrete types'. I.E. types which don't kiss and tell.. Sat Apr 3 09:27:03 1993 Bill Cox (bill@rtl.cygnus.com) @@ -10253,7 +10590,7 @@ Sat Apr 3 09:27:03 1993 Bill Cox (bill@rtl.cygnus.com) * ch-grant.c (chill_grant): Remove orphan #else. * ch-tree.h: Add prototype for build_chill_bin_type. * ch-typeck.c: Turn externs into prototypes, delete code which - was commented out in chill_expand_return; it will never be used. + was commented out in chill_expand_return; it will never be used. Fri Apr 2 21:55:14 1993 Per Bothner (bothner@rtl.cygnus.com) @@ -10261,7 +10598,7 @@ Fri Apr 2 21:55:14 1993 Per Bothner (bothner@rtl.cygnus.com) Now, a grantfile is a spec module and contains all the top-level declarations of the granting module, not just those that are granted. It also contains explicit grant - statments naming those declared names that are granted. + statements naming those declared names that are granted. It also has seize statements and use_seize_file directives to correctly handle transitive dependencies. @@ -10301,7 +10638,7 @@ Fri Apr 2 21:55:14 1993 Per Bothner (bothner@rtl.cygnus.com) * ch-lex.l (struct input_state, current_input_state, push_input_file, pop_input_file): New (type, variable, - function*2). Used to save and restore state on an input file. + function*2). Used to save and restore state on an input file. * ch-lex.l: Clean up to handle nested input seizefiles (needed by new grant/seize mechanism. * ch-lex.l (skip_to_end_of_directive): New function. @@ -10366,7 +10703,7 @@ Fri Apr 2 21:55:14 1993 Per Bothner (bothner@rtl.cygnus.com) "-f[no-]local-loop-counter". * toplev.c (lang_options): Add Chill flags -f[no-]local-loop-counter. - * varasm.c (make_function_rtl): Due to problems with forward + * varasm.c (make_function_rtl): Due to problems with forward references, don't rename nested functions in Chill. (Kudge!) Sun Mar 28 10:12:45 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com) @@ -10376,7 +10713,7 @@ Sun Mar 28 10:12:45 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com) Fri Mar 26 18:32:15 1993 Bill Cox (bill@rtl.cygnus.com) * ch-parse.y: Put %type directives back into alpha order. - (variant_alternative): Simplify error_mark test. + (variant_alternative): Simplify error_mark test. (variantfields, varianthack): Add error_mark checks. Fri Mar 26 13:36:23 1993 Bill Cox (bill@rtl.cygnus.com) @@ -10384,21 +10721,21 @@ Fri Mar 26 13:36:23 1993 Bill Cox (bill@rtl.cygnus.com) * ch-lex.l (convert_charliteral): Rewrite to avoid bogus error msg. * ch-parse.y (get_type_of): Add function to deal with possible fwd declared type name. Call it from lotsa places. Add lotsa checks - for error_mark_node. Standardize indentations. + for error_mark_node. Standardize indentations. Thu Mar 25 15:00:11 1993 Bill Cox (bill@rtl.cygnus.com) * ch-expr.c (chill_expand_assignment): Avoid seg fault while checking - for array assignments. + for array assignments. * ch-parse.y (action): Add recognition for allocate_memory and - allocate_global_memory system calls. - (mode2): Remove ill-conceived error check that broke REFs to - as-yet-undeclared types. Check for IDENTIFIER_NODE, lookup its - DECL if there, pass TREE_TYPE of decl to build_pointer_type. - (variantfields, varianthack): Clean up. - (variantfield): Check for IDENTIFIER_NODE, lookup its DECL if - there, pass TREE_TYPE of decl to grok_fixedfields. - (labellist): Explicitly assign error_mark_node to signal error. + allocate_global_memory system calls. + (mode2): Remove ill-conceived error check that broke REFs to + as-yet-undeclared types. Check for IDENTIFIER_NODE, lookup its + DECL if there, pass TREE_TYPE of decl to build_pointer_type. + (variantfields, varianthack): Clean up. + (variantfield): Check for IDENTIFIER_NODE, lookup its DECL if + there, pass TREE_TYPE of decl to grok_fixedfields. + (labellist): Explicitly assign error_mark_node to signal error. * ch-typeck.c (chill_compatible): Report FALSE for bad parameters, rather than seg faulting. @@ -10406,7 +10743,7 @@ Thu Mar 25 10:35:58 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (lang_init): build_function_type for allocate_memory and allocate_global_memory runtime routines. Move discrete_type_p - into ch-typeck.c. + into ch-typeck.c. * ch-typeck.c (discrete_type_p): Move here, where it belongs, call it in build_chill_cast. @@ -10418,14 +10755,14 @@ Tue Mar 23 15:25:39 1993 Bill Cox (bill@rtl.cygnus.com) * Makefile.in (ch-actions.o): Add dependencies (expr.h insn-codes.h) * dwarfout.c (fundamental_type_code): Add handling of BOOLEAN_TYPEs, - avoid abort. + avoid abort. Tue Mar 23 09:03:35 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (build_char_array_expr): Just build a type for the - result of a CONCAT_EXPR, and pass the tree back. - chill_expand_array_assignment can do a better job of - code-generation. + result of a CONCAT_EXPR, and pass the tree back. + chill_expand_array_assignment can do a better job of + code-generation. * ch-expr.c (chill_expand_array_assignment): Generate the CONCAT_EXPR code. @@ -10452,14 +10789,14 @@ Mon Mar 22 12:42:58 1993 Per Bothner (bothner@rtl.cygnus.com) Fri Mar 19 11:55:35 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c: Add prototypes, remove unused variables. Attempt to - continue generating grant file in presence of error (Wilfried's - patch to lang_finish). + continue generating grant file in presence of error (Wilfried's + patch to lang_finish). * ch-expr.c: Change assign_stack_temp calls so temps get recovered - after each statement. Move convert call into - chill_expand_assignment from ch-parse.y. + after each statement. Move convert call into + chill_expand_assignment from ch-parse.y. * ch-grant.c: Generally re-order, clean up. Include Per's decode_mode - simplification. Include commented-out hack in decode_mode to return - type's name if type SEIZEd or already GRANTed in this file. + simplification. Include commented-out hack in decode_mode to return + type's name if type SEIZEd or already GRANTed in this file. * ch-lex.l: Add prototypes. * ch-parse.y (assignaction): Move convert call into chill_expand_assignment. @@ -10468,7 +10805,7 @@ Thu Mar 18 16:04:45 1993 Bill Cox (bill@rtl.cygnus.com) * ch-convert.c (convert): Remove unused variable, fix int_size_in_bytes comparison. - * ch-decl.c: Add prototypes, correct error message spelling, remove + * ch-decl.c: Add prototypes, correct error message spelling, remove unused variables. * ch-lang.c (build_chill_range_type): Add error message. Add prototypes. Correct comment spelling. @@ -10481,7 +10818,7 @@ Thu Mar 18 16:04:45 1993 Bill Cox (bill@rtl.cygnus.com) * ch-parse.y (label_spec): Correct assignment within IF expression which was intended to be equality test. Remove unused variables. * ch-tree.h: Add prototype. Remove unused EXCP_CODE enumeration, and - prototyping editorial comments. + prototyping editorial comments. * ch-typeck.c: Disable generation of code to validate array index for now. Should be done as a call-back from more generic array_ref code. Clean up parameter checking. Remove unused variables. @@ -10508,14 +10845,14 @@ Thu Mar 11 21:06:55 1993 Bill Cox (bill@rtl.cygnus.com) Thu Mar 11 19:20:37 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (build_set_expr, build_chill_binary_op): Calculate - *BIT* length of powersets and arrays of BOOLs. + *BIT* length of powersets and arrays of BOOLs. (invalid_left_operand, invalid_right_operand): Disallow relationals with arrays of BOOL as operands. - * ch-convert.c (convert): Test TREE_CODE for ERROR_MARK rather than + * ch-convert.c (convert): Test TREE_CODE for ERROR_MARK rather than comparing pointers. * ch-decl.c (push_newmode): Re-indent. * ch-expr.c (chill_expand_expr): Calculate *BIT* length of powersets - and arrays of BOOLs. + and arrays of BOOLs. * ch-lang.c (build_chill_array_type): Add parameter error checking. Mon Mar 8 17:13:00 1993 Bill Cox (bill@rtl.cygnus.com) @@ -10533,7 +10870,7 @@ Mon Mar 8 17:13:00 1993 Bill Cox (bill@rtl.cygnus.com) Mon Mar 8 13:16:05 1993 Bill Cox (bill@rtl.cygnus.com) * fold-const.c (fold_convert): Allow CHAR_TYPE CONVERT_EXPR to - be folded. + be folded. Mon Mar 8 10:13:57 1993 Bill Cox (bill@rtl.cygnus.com) @@ -10555,9 +10892,9 @@ Thu Mar 4 18:05:43 1993 Bill Cox (bill@rtl.cygnus.com) * ch-loop.c (end_chill_loop): Output end-of-loop marker. * ch-parse.y (label_spec): redefine variant structure label_spec to agree with the Z.200 spec. - (locdec): Error if set/bitstring initialized with a tuple. - (case_label, arrayindex): Use new discrete_type_p - function. + (locdec): Error if set/bitstring initialized with a tuple. + (case_label, arrayindex): Use new discrete_type_p + function. * ch-process.c: Fix typo. Wed Mar 3 14:30:53 1993 Per Bothner (bothner@rtl.cygnus.com) @@ -10591,7 +10928,7 @@ Thu Feb 25 17:35:46 1993 Bill Cox (bill@rtl.cygnus.com) Fri Feb 26 07:14:34 1993 Bill Cox (bill@rtl.cygnus.com) - * c-decl.c (finsh_decl): Don't output non-constant storage size + * c-decl.c (finsh_decl): Don't output non-constant storage size error for CHILL * ch-actions.c: Call build_temporary_variable, fix build_tree_list call in build_chill_cause_exception. @@ -10611,7 +10948,7 @@ Thu Feb 25 12:09:01 1993 Bill Cox (bill@rtl.cygnus.com) * stor-layout.c (variable_size): Disable complaint about variable- size type or decl at file scope. Perhaps later this s.b. a warning. * varasm.c (emit_set_data): Add function. - (output_constant): Call new emit_set_data function for VAR_DECLs, + (output_constant): Call new emit_set_data function for VAR_DECLs, in addition to CONSTRUCTORs. Thu Feb 25 11:34:36 1993 Bill Cox (bill@rtl.cygnus.com) @@ -10621,7 +10958,7 @@ Thu Feb 25 11:34:36 1993 Bill Cox (bill@rtl.cygnus.com) to references to the TREE_CODE == BOOLEAN_TYPE, to follow the convention. build_set_expr: Remove length parameter, call powersetlen() instead. - remove handling of CHAR arrays - they're handled in build_char_array_expr. + remove handling of CHAR arrays - they're handled in build_char_array_expr. Call __eqpowerset to test for equality - we can't use a byte-length - need bitcount instead. build_chill_compound_expr, internal_build_compound_expr: Copy from C @@ -10732,7 +11069,7 @@ Thu Feb 18 12:40:56 1993 Michael Tiemann (fs_tie@rcvie.co.at) Thu Feb 18 09:30:11 1993 Michael Tiemann (fs_tie@rcvie.co.at) * ch-actions.c (chill_comptypes): Figure out which newmode or - synmode decls look most canonical. + synmode decls look most canonical. * ch-convert.c (convert): handle location conversions of records, unions and arrays. * ch-decl.c (fixup_unknown_type): changes for variant records @@ -10855,7 +11192,7 @@ Fri Feb 12 10:32:37 1993 Bill Cox (bill@rtl.cygnus.com) assignments to handle INOUT and OUT parameters. * ch-decl.c (build_chill_function_type): better parameter name. * ch-parse.y (action): keep rules in alpha order. - (pmodearg): turn INOUT, OUT parameter types into reference types. + (pmodearg): turn INOUT, OUT parameter types into reference types. * ch-typeck.c (build_tree_slice): indentation change. Thu Feb 11 23:16:34 1993 Per Bothner (bothner@rtl.cygnus.com) @@ -10943,7 +11280,7 @@ Tue Feb 9 08:27:18 1993 Bill Cox (bill@rtl.cygnus.com) Sun Feb 7 18:20:49 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-tree.def: add a new tree type - just for varying array + * ch-tree.def: add a new tree type - just for varying array references. We were using ARRAY_REF, but the underlying C code also generates that one. * ch-convert.c, ch-expr.c, ch-typeck.c: use the new tree type. @@ -10964,7 +11301,7 @@ Fri Jan 29 17:18:22 1993 Per Bothner (bothner@rtl.cygnus.com) * Makefile.in (install-libchill, install-librmt): Removed. * ch-actions.c (build_chill_exception_decl): Change decl - to initialized char array, rather than unitialized common. + to initialized char array, rather than uninitialized common. (Simplifies extracting string name of exception.) * ch-actions.c: Adjust interface to cause_exception accordingly. * ch-typeck.c (build_chill_array_ref): Cause rangefail if @@ -11001,20 +11338,20 @@ Thu Jan 28 17:41:58 1993 Per Bothner (bothner@rtl.cygnus.com) Thu Jan 28 16:16:00 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-convert.c (convert): correct fixed->varying conversion. - * ch-parse.y (mode2): delete unesthetic newline. + * ch-convert.c (convert): correct fixed->varying conversion. + * ch-parse.y (mode2): delete unesthetic newline. Thu Jan 28 10:32:55 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c: delete maybe_array_ref() - * ch-expr.c (chill_expand_assignment): handle RHS array_ref, delay - calling convert(). - * ch-lex.l, ch-parse.y, chill.gperf: add keywords, syntax for time + * ch-expr.c (chill_expand_assignment): handle RHS array_ref, delay + calling convert(). + * ch-lex.l, ch-parse.y, chill.gperf: add keywords, syntax for time supervision actions & builtins - * ch-parse.y (call): eliminate optlocarrayidx, call build_chill_slice, - smaller actions directly (maybe_array_ref() used to call them). - * ch-tree.h: add build_chill_function_call, build_chill_slice - * ch-typeck.c: add build_chill_slice() + * ch-parse.y (call): eliminate optlocarrayidx, call build_chill_slice, + smaller actions directly (maybe_array_ref() used to call them). + * ch-tree.h: add build_chill_function_call, build_chill_slice + * ch-typeck.c: add build_chill_slice() Thu Jan 28 08:44:28 1993 Bill Cox (bill@rtl.cygnus.com) @@ -11044,7 +11381,7 @@ Wed Jan 27 22:28:36 1993 Per Bothner (bothner@rtl.cygnus.com) Wed Jan 27 15:45:20 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c: delete convert_chill_parameter, replace call with - call to convert(). + call to convert(). * ch-convert.c (convert): combine chill_give_type_to_expr in here. * ch-decl.c: call convert rather than chill_give_type_to_expr. * ch-expr.c: delete chill_expand_array_assignment, move code to convert. @@ -11072,7 +11409,7 @@ Wed Jan 27 15:45:20 1993 Bill Cox (bill@rtl.cygnus.com) Wed Jan 27 15:32:21 1993 Bill Cox (bill@rtl.cygnus.com) * ch-actions.c (build_chill_length, build_chill_lower, - build_chill_upper): accept parameters, too. + build_chill_upper): accept parameters, too. * ch-expr.c (chill_expand_assignment): decipher ARRAY_REF on RHS. * ch-typeck.c (chill_give_type_to_expr, build_chill_array_ref): assign proper type to ARRAY_REF expression. @@ -11112,7 +11449,7 @@ Mon Jan 25 17:26:47 1993 Bill Cox (bill@rtl.cygnus.com) Mon Jan 25 14:57:24 1993 Bill Cox (bill@rtl.cygnus.com) * ch-parse.y (mode2): eliminate old method to mark varying arrays. - * ch-expr.c (expand_varying_length_assignment): repair scaling of + * ch-expr.c (expand_varying_length_assignment): repair scaling of RHS expression. Mon Jan 25 11:44:21 1993 Per Bothner (bothner@cygnus.com) @@ -11153,9 +11490,9 @@ Wed Jan 20 17:11:05 1993 Bill Cox (bill@rtl.cygnus.com) Wed Jan 20 16:48:13 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-tree.h, ch-process.c, ch-inout.c, Makefile.in: + * ch-tree.h, ch-process.c, ch-inout.c, Makefile.in: create new modules for I/O and process-related stuff. - * ch-actions.c: move routines to new modules. + * ch-actions.c: move routines to new modules. call xmalloc, not malloc. * ch-lang.c (build_chill_struct_type): add parameter checking. * ch-lex.l (init_lex): remove redundant cast. @@ -11164,7 +11501,7 @@ Tue Jan 19 16:33:56 1993 Bill Cox (bill@rtl.cygnus.com) * ch-parse.y (operand5): delete unnecessary argument to build_chill_unary_op. Add rule for string repetition. - * ch-parse.y (primval): delete string repetition attempt. + * ch-parse.y (primval): delete string repetition attempt. * ch-parse.y (start_process): rough draft of action. * ch-actions.c (build_repetition_op): add it * ch-actions.c (build_chill_binary_op): handle constant arguments @@ -11176,7 +11513,7 @@ Tue Jan 19 16:33:56 1993 Bill Cox (bill@rtl.cygnus.com) Tue Jan 19 15:03:29 1993 Fred Fish (fnf@cygnus.com) * dwarfout.c (output_type): Add hack that matches the one in the - chill front end to distinquish between true string types and + chill front end to distinquish between true string types and arrays of char, since it uses ARRAY_TYPE for both, rather than trying to use the existing support for STRING_TYPE. @@ -11184,8 +11521,8 @@ Tue Jan 19 13:54:27 1993 Bill Cox (bill@rtl.cygnus.com) * ch-tree.h: added prototypes for all non-static CHILL functions. * ch-actions.c (lang_init): declare builtin type for start_process - * ch-actions.c (build_chill_binary_op): combine string literals when - concatenated. + * ch-actions.c (build_chill_binary_op): combine string literals when + concatenated. * ch-actions.c (formpars2struct): added for later start_process implementation. * ch-actions.h: remove un-needed function declarations. @@ -11210,11 +11547,11 @@ Mon Jan 18 08:24:21 1993 Bill Cox (bill@rtl.cygnus.com) Mon Jan 18 08:00:11 1993 Bill Cox (bill@rtl.cygnus.com) - * ch-lex.l, ch-parse.y: make BOOLS synonymous with BIT and + * ch-lex.l, ch-parse.y: make BOOLS synonymous with BIT and CHARS synonymous with CHAR, in the lexer. Delete unnecessary 'bools' non-terminal. * ch-parse.y (assignaction): add lhs version of length() function - * ch-actions.c: add builtin_concat function, lots of support for + * ch-actions.c: add builtin_concat function, lots of support for CONCAT_EXPR. * ch-actions.c, ch-tree.h: make a function out of former macro CH_VARYING_TYPE_P @@ -11322,10 +11659,10 @@ Wed Jan 6 09:48:35 1993 Bill Cox (bill@cygnus.com) New function build_varying_struct, to do just that. Use the macros for the special varying field names. * ch-tree.h: define macros for varying field names. - * ch-expr.c: use macros for varying struct names. Simplify + * ch-expr.c: use macros for varying struct names. Simplify chill_expand_array_assignment. * ch-parse.y: assure that build_varying_struct is called everywhere - that it applies. Add a line-number note before the body of a DO + that it applies. Add a line-number note before the body of a DO loop. * ch-loop.c: #ifdef out creation of new scope for DO loop body. @@ -11482,20 +11819,20 @@ Wed Dec 30 16:06:55 1992 Bill Cox (bill@rtl.cygnus.com) * ch-parse.y, ch-expr.c: add support for declaring & assigning VARYING arrays. - * ch-typeck.c: allow VARYING structures in assign_type_to_expr. + * ch-typeck.c: allow VARYING structures in assign_type_to_expr. Tue Dec 29 15:28:48 1992 Bill Cox (bill@cygnus.com) * ch-actions.c: implement expressions of arrays of char, - ( concatenation, relationals ), correct type of code parameters - * ch-expr.c: correct type of code parameters + ( concatenation, relationals ), correct type of code parameters + * ch-expr.c: correct type of code parameters Tue Dec 29 11:16:19 1992 Bill Cox (bill@cygnus.com) * ch-decl.c: cleanup. - * ch-parse.y: put emit_line_note() calls in lotsa places, - per Fred's request; be sure that statements get counted also. - * ch-lex.l: standardize function headers. + * ch-parse.y: put emit_line_note() calls in lotsa places, + per Fred's request; be sure that statements get counted also. + * ch-lex.l: standardize function headers. Tue Dec 29 10:41:56 1992 Fred Fish (fnf@cygnus.com) @@ -11700,7 +12037,7 @@ Mon Dec 14 00:22:49 1992 Fred Fish (fnf@cygnus.com) * Makefile.in (CHILL, chill, cc1chill, chill-runtime, libchill.a, sublibchill.a, ch-parse.o, ch-parse.c ch-*.o, install-libchill, install-librmt): New targets. - * Makefile.in (install-native): Add install-libchill, + * Makefile.in (install-native): Add install-libchill, install-librmt. Sun Dec 13 15:21:06 1992 Bill Cox (bill@cygnus.com) @@ -11771,7 +12108,7 @@ Mon Dec 7 14:57:46 1992 Bill Cox (bill@cygnus.com) Mon Dec 7 10:42:35 1992 Bill Cox (bill@cygnus.com) * ch-actions.c: implement relational, logic operations - on arrays of BOOLs. + on arrays of BOOLs. Mon Dec 7 08:55:20 1992 Michael Tiemann (tiemann@rtl.cygnus.com) @@ -11795,7 +12132,7 @@ Sun Dec 6 13:12:32 1992 Bill Cox (bill@cygnus.com) Sun Dec 6 11:15:59 1992 Bill Cox (bill@cygnus.com) * ch-parse.y, ch-actions.c, ch-expr.c: Implement set-oriented - relational expressions, including (<, <=, =, /=, >, >=, IN). + relational expressions, including (<, <=, =, /=, >, >=, IN). Fri Dec 4 13:54:58 1992 Brendan Kehoe (brendan@lisa.cygnus.com) @@ -11860,7 +12197,7 @@ Wed Dec 2 09:52:06 1992 Michael Tiemann (tiemann@rtl.cygnus.com) Tue Dec 2 09:44:05 1992 Bill Cox (bill@cygnus.com) * ch-typeck.c: clean up a gcc warning with a forward - declaration of build_string_type. + declaration of build_string_type. Tue Dec 1 16:51:05 1992 Bill Cox (bill@cygnus.com) @@ -11888,8 +12225,8 @@ Tue Dec 1 12:35:56 1992 Bill Cox (bill@cygnus.com) Tue Dec 1 11:10:56 1992 Bill Cox (bill@cygnus.com) - * ch-parse.y, ch-actions: added parsing and processing - for upper, lower, and length built-ins. + * ch-parse.y, ch-actions: added parsing and processing + for upper, lower, and length built-ins. Tue Dec 1 09:40:49 1992 Fred Fish (fnf@cygnus.com) @@ -12008,4 +12345,3 @@ Tue Nov 10 16:30:55 1992 Per Bothner (bothner@rtl.cygnus.com) range_check_disabled into global variable range_checking. * ch-tree.h: Better definitions of CH_CLASS_IS_VALUE CH_CLASS_IS_DERIVED. -