📄 changelog
字号:
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. (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 `indent'. (lang_decode_option): Explicitly declare `explicit_ignore_case'. (incomplete_type_error): Mark parameters `value' and `type' with ATTRIBUTE_UNUSED. * lex.c: Include system.h and toplev.h. Remove redundant 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. (push_back): Remove unused function. (readstring): Change variable `i' to unsigned. (yywrap): Remove unused variable `node'. * loop.c: Include system.h and toplev.h. Remove redundant prototypes. (chill_unsigned_type): Hide prototype and definition. (begin_loop_scope): Remove unused variable `firstp'. (nonvalue_begin_loop_scope): Likewise. * parse.c: Include system.h and toplev.h. Remove redundant prototypes. (quasi_signal): Hide. (PEEK_TOKEN): Change return type to `enum terminal'. (parse_mode_definition_statement): Remove unused variable `names'. (parse_formpar): Remove unused parameter `in_spec_module'. All callers changed. (parse_formparlist): Likewise. (parse_processpar): Remove unused variable `parms'. (parse_definition): Add explicit braces to avoid ambiguous `else'. (parse_multi_dimension_case_action): Initialize variable `begin_test_label'. Remove unused variable `new_test'. (parse_case_action): Remove unused variable `caseaction_flag'. (parse_asm_clobbers): Remove unused variable `expr'. (parse_delay_case_action): Initialize variable `label_cnt'. (parse_action): Make function static. (parse_tuple_element): Remove unused variable `list'. (parse_primval): Add default case in switch. (parse_variant_alternative): Remove unused variables `x' and `variant_fields'. * satisfy.c: Include system.h and toplev.h. Remove redundant prototypes. * tasking.c Include system.h and toplev.h. Remove redundant prototypes. (data_name): Hide. (get_struct_variable_name): Likewise. (validate_process_parameters): Mark parameter `parms' with ATTRIBUTE_UNUSED. (build_start_process): Initialize variable `tuple'. (build_receive_buffer_case_end): Remove unused variable `buffer_ptr'. * timing.c: Include system.h and toplev.h. (build_after_timeout_start): Remove unused variable `goto_where'. * tree.c: Include system.h and toplev.h. Remove redundant prototypes. * 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'. (expand_constant_to_buffer): Likewise. (build_chill_slice): remove unused variable `is_static'. (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.Mon Sep 14 16:46:36 1998 Dave Brolley <brolley@cygnus.com> * typeck.c (build_chill_slice): Always use TYPE_DOMAIN to get the domain type of the array. * expr.c (build_chill_function_call): Remove redundant call to chill_convert_to_assignmentThu Sep 10 17:52:36 1998 Dave Brolley <brolley@cygnus.com> * actions.c (chill_convert_for_assignment): Make a copy of the result node before modifying it.Sat Sep 5 16:55:37 1998 John Carr <jfc@mit.edu> * Make-lang.in: Comment ^L characters. Sun make doesn't like them.Sat Sep 5 23:49:50 1998 Jeffrey A Law (law@cygnus.com) * Makefile.in (INCLUDES): Update after recent reorganization at the toplevel gcc directory.Sat Sep 5 22:25:51 1998 Richard Henderson <rth@cygnus.com> * Makefile.in: Update dependancies for top-level gcc files that moved.Sat Sep 5 02:21:08 1998 Jeffrey A Law (law@cygnus.com) * Makefile.in: Tweak to avoid building runtime. It's built elsewhere now.Thu Sep 3 15:32:03 1998 Dave Brolley <brolley@cygnus.com> * typeck.c (layout_chill_range_type): set TYPE_SIZE_UNIT.Wed Sep 02 09:25:29 1998 Nick Clifton <nickc@cygnus.com> * lex.c (check_newline): Change how HANDLE_PRAGMA is called. Generate warning messages if unknown pragmas are encountered. (pragma_getc): New function: retrieves characters from the input stream. Defined when HANDLE_PRAGMA is defined. (pragma_ungetc): New function: replaces characters back into the input stream. Defined when HANDLE_PRAGMA is defined.Mon Aug 31 15:35:16 1998 Dave Brolley <brolley@cygnus.com> * decl.c (layout_chill_variants): Calculate nlables properly.Mon Jul 27 17:21:01 1998 Dave Brolley <brolley@cygnus.com> * typeck.c (apply_chill_array_layout): Don't set TYPE_SIZE of the element type.Mon Jul 13 14:20:12 1998 Nick Clifton <nickc@cygnus.com> * lang-options.h: Format changed to match changes in gcc/toplev.c to implement a --help option.Wed Jul 8 02:58:35 1998 Jeffrey A Law (law@cygnus.com) * lang.c (lang_init_options): New function.Wed Jun 10 12:08:09 1998 Dave Brolley <brolley@cygnus.com> * lang-options.h: Remove -I. * ch-tree.h (c_decode_option): New argc/argv interface. * decl.c (c_decode_option): New argc/argv interface. * lang.c (lang_decode_option): New argc/argv interface.Wed May 27 10:33:41 1998 Dave Brolley <brolley@cygnus.com> * actions.c (chill_handle_multi_case_label): Arguments 1 and 2 to chill_handle_multi_case_label_range were reversed. * Make-lang.in (chill): Use the correct gcc in the driver script.Thu May 21 14:40:44 1998 Dave Brolley <brolley@cygnus.com> * convert.c (digest_array_tuple): Move conversion to chill_convert_for_assignment. * actions.c (chill_convert_for_assignment): Allow conversion of array constructor to bitstring constructor for assignment to array of packed bits.Thu May 14 13:57:51 1998 Dave Brolley <brolley@cygnus.com> * Make-lang.in (chill-runtime): Depend on stmp-headers to build float.h.Wed May 13 14:07:51 1998 Dave Brolley <brolley@cygnus.com> * typeck.c (build_chill_slice): Adjust slice index to account for the lower bound of the array. * actions.c (chill_expand_assignment): Convert function arguments to the correct types. (chill_expand_assignment): Ditto.Mon May 11 16:20:57 1998 Dave Brolley <brolley@cygnus.com> * typeck.c (build_chill_slice): Propogate the TYPE_PACKED setting of the array_type to the slice_type. (build_chill_slice): Use SLICE_EXPR to represent a slice of an array of bits. * loop.c (build_loop_iterator): Disallow location enumeration for bit-packed arrays. * convert.c (digest_array_tuple): Allow conversion of an array tuple to a bitstring for assignment to a packed array of bits.Mon May 4 16:28:58 1998 Dave Brolley <brolley@cygnus.com> * ch-tree.def (PACKED_ARRAY_REF): New tree code. * typeck.c (build_chill_array_ref_1): Build PACKED_ARRAY_REF if array is packed. (chill_location): Handle PACKED_ARRAY_REF. (apply_chill_array_layout): Allow PACK for arrays of single bits. * expr.c (chill_expand_expr): Expand PACKED_ARRAY_REF. (invalid_operand): Check PACKED_ARRAY_REF operands. * actions.c (chill_expand_assignment): Expand PACKED_ARRAY_REF.Thu Apr 23 15:33:20 1998 Dave Brolley <brolley@cygnus.com> * typeck.c (apply_chill_field_layout): Only integral fields can be packed to the bit level.Tue Apr 21 14:30:10 1998 Jeffrey A Law (law@cygnus.com) * decl.c (intTI_type_node, unsigned_intTI_type_node): Define. (init_decl_processing): Handle TI types. * typeck.c (intTI_type_node, unsigned_intTI_type_node): Declare. (type_for_size): Handle TI types. (type_for_mode): Handle TI types.Mon Apr 20 13:12:26 1998 Dave Brolley <brolley@cygnus.com> * typeck.c (layout_chill_struct_type): Don't promote bitfield types to int. * actions.c (chill_convert_for_assignment): Check that the rhs is not a type declaration.Tue Apr 14 13:17:44 1998 Dave Brolley <brolley@cygnus.com> * lex.c (init_parse): Now returns char* containing the filename. * typeck.c (get_type_precision): Declare. (apply_chill_field_layout): Use the minimum number of bits necessary to represent discrete types as the natural length of the field.Thu Apr 9 12:46:55 1998 Dave Brolley <brolley@cygnus.com> * lex.c (finput): Move definition here from toplev.c (init_parse): New function replaces init_lex. (init_parse): Add code to open source file. (finish_parse): New function. (close_input_file): File was being closed more than once. * lang.c (finput): Declare. * ch-tree.h (init_lex): Remove. Wed Apr 8 14:47:33 1998 Dave Brolley <brolley@cygnus.com> * actions.c (compute_else_range): Fix loop index error. (chill_handle_multi_case_label_range): Move error checking to chill_handle_multi_case_label. (chill_handle_multi_case_else_label): Convert ELSE range values to the type of the corrersponding CASE selector.Wed Apr 8 13:02:50 1998 Jeffrey A Law (law@cygnus.com) * actions.c (sizetype_tab): Do not declare. * lang.c (lang_print_xnode): New function.Mon Mar 23 14:43:06 1998 Dave Brolley <brolley@cygnus.com> * grant.c (decode_layout): New function. (grant_array_type): Call decode_layout to export layout information to the grant file. (decode_decl): DittoFri Mar 20 16:06:41 1998 Dave Brolley <brolley@cygnus.com> * parse.c (parse_tuple_element): Call had arguments in wrong order.Thu Mar 19 13:42:33 1998 Dave Brolley <brolley@cygnus.com> * typeck.c (apply_chill_array_layout): Use 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 <brolley@cygnus.com> * typeck.c (apply_chill_field_layout): Only set DECL_BIT_FIELD for discrete fields. * parse.c (parse_multi_dimension_case_action): Call emit_line_note at the proper places.Tue Mar 17 14:16:08 1998 Dave Brolley <brolley@cygnus.com> * parse.c (gen_label_rtx): Declare before use. (emit_jump): Declare before use. (emit_label): Declare before use. (parse_case_label_list): Pass in CASE selector so we can mark it as having an (ELSE) label if necessary. (parse_case_label_specification): Pass in the CASE selector list so that the CASE selectors can be passed to parse_case_label_list. (parse_multi_dimension_case_action): Modify to generate branching code in one pass. (parse_case_expression): Compute (ELSE) range before generating CASE expression. (parse_variant_alternative): Remove error for (ELSE) specified. * expr.c (check_case_selector_list): Preserve TREE_PURPOSE of selector list. * decl.c (layout_chill_variants): Add code to check compatibility of ranges and discrete mode names. * ch-tree.h (ELSE_LABEL_SPECIFIED): New Chill specific flag. * actions.h (build_multi_case_selector_expression): Make it extern. (chill_handle_multi_dimension_case_label): Remove. (compute_else_ranges): New function. * actions.c (update_else_range_for_int_const): New function. (update_else_range_for_range): New function. (update_else_range_for_range_expr): New function. (update_else_range_for_type): New function. (compute_else_range): New function. (compute_else_ranges): New function. (chill_handle_multi_case_else_label): New function (chill_handle_multi_case_label_range): Don't generate tests for conditions which are always true or false. (chill_handle_multi_case_label): Ditto. (chill_handle_multi_case_label): Implement (ELSE) label support. (chill_handle_multi_case_label): First argument is now the selector tree not its VALUE. (chill_handle_multi_dimension_case_label): Removed. (build_chill_multi_dimension_case_expr): List of CASE alternatives is no longer reversed on entry, so reverse it here.Tue Mar 10 15:02:26 1998 Dave Brolley <brolley@cygnus.com> * actions.c (chill_handle_multi_case_label_range): Add more error checking. (chill_handle_multi_case_label): Implement (*) for multi dimensional CASE. (chill_handle_multi_case_label): Improve Error handling.Mon Mar 9 12:39:00 1998 Dave Brolley <brolley@cygnus.com> * actions.c (chill_handle_multi_case_label_range): Added. (chill_handle_multi_case_label): Add support for discrete ranges and discrete modes. * typeck.c (apply_chill_array_layout): Added more error checking. (apply_chill_field_layout): Added more error checking.Wed Mar 4 16:08:26 1998 Dave Brolley <brolley@cygnus.com> * convert.c (convert): Call build_simple_array_type with new argument.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -