1. 12 Feb, 2000 4 commits
  2. 11 Feb, 2000 31 commits
  3. 10 Feb, 2000 5 commits
    • cppexp.c: Don't include cpphash.h. · cf4ed945
      	* cppexp.c: Don't include cpphash.h.
      	(parse_charconst, cpp_lex): Use cpp_defined.
      	(cpp_lex): Use get_directive_token throughout.  Remove
      	unnecessary cases from switch.  Move assertion-handling code
      	down to OTHER case.
      	(cpp_parse_expr): If we see '+' or '-', check the context to
      	determine if they are unary or binary operators.  Streamline
      	the jumps a bit.  Do not call skip_rest_of_line.
      
      	* cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
      	static.  Export get_directive_token.  Update commentary.
      	(cpp_defined): New function.
      	(do_define): Remove reference to T_PCSTRING.  Call
      	free_definition to release memory for old definition, when
      	redefining a macro.
      	(eval_if_expression): Set only_seen_white to 0 before calling
      	cpp_parse_expr.  Call skip_rest_of_line after it returns.
      	(cpp_read_check_assertion): Don't preserve a pointer into the
      	token buffer across a call to cpp_get_token.
      
      	* Makefile.in (cppexp.o): Don't depend on cpphash.h.
      	* cppfiles.c (redundant_include_p): Use cpp_defined.
      	* cpphash.c (free_definition): New function.
      	(delete_macro): Use it.  Update commentary.
      	* cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
      	free_definition.
      	* cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
      	from enum node_type.  Prototype cpp_defined and get_directive_token.
      	Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
      
      	* fix-header.c (check_macro_names): Use cpp_defined.
      	(read_scan_file): Set inhibit_warnings and inhibit_errors in
      	the options structure.
      
      From-SVN: r31908
      Zack Weinberg committed
    • jni.h (JNI_FALSE): Renamed from JNI_TRUE; oops. · 26439cc5
      	* include/jni.h (JNI_FALSE): Renamed from JNI_TRUE; oops.
      	(jboolean): Declare as an attributed int, not a bool.
      	(_Jv_func): Declare differently for C.
      
      From-SVN: r31907
      Tom Tromey committed
    • c-pragma.c (maximum_field_alignment): Remove duplicate declaration. · 75cdca5b
      	* c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
      	* ch/except.c (maximum_field_alignment): Remove duplicate declaration.
      
      From-SVN: r31906
      Franz Sirl committed
    • dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin) rather than die->die_tag. · d10b8e05
              * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
              rather than die->die_tag.
      
      From-SVN: r31905
      Jason Merrill committed
    • combine.c (make_extraction, [...]): Avoid warning on mixed-signedness conditionals. · 729a2125
      	* combine.c (make_extraction, force_to_mode): Avoid warning on
      	mixed-signedness conditionals.
      	(make_field_assignment, nonzero_bits): Likewise.
      	* expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
      	(store_split_bit_field, extract_split_bit_field): Likewise.
      	(extract_fixed_bit_field, store_bit_field,
      	* expr.c: Change alignment to be unsigned everywhere.
      	(move_by_pieces, store_constructor_field, store_constructor):
      	Alignment parm is unsigned.
      	(emit_block_move, emit_group_load, emit_group_store): Likewise.
      	(clear_storage, emit_push_insn, compare_from_rtx): Likewise.
      	(do_compare_rtx_and_jump): Likewise.
      	(move_by_pieces_ninsns, clear_by_pieces): Likewise.
      	Compare align with GET_MODE_ALIGNMENT.
      	(expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
      	(get_inner_reference): Likewise.
      	(copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
      	(expand_assignment): Local vars for alignment now unsigned.
      	(store_constructor, store_field, expand_expr, do_jump): Likewise.
      	(do_compare_and_jump): Likewise.
      	(store_field): Call new function expr_align.
      	* expr.h (emit_block_move, emit_group_load, emit_group_store):
      	Alignment arg now unsigned.
      	(clear_storage, emit_push_insn, compare_from_rtx): Likewise.
      	(do_compare_rtx_and_jump, store_bit_field): Likewise.
      	(extract_bit_field): Likewise.
      	* fold-const.c (add_double): Add cast to eliminate signedness warning.
      	* machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
      	(get_best_mode): Alignment arg is unsigned.
      	* rtl.h (move_by_pieces): Likewise.
      	* store-layout.c (maximum_field_alignment, set_alignment):
      	Now unsigned.
      	(layout_decl): Alignment arg is now unsigned.
      	Remove unneeded casts.
      	(layout_record, layout_union, layout_type): Remove unneeded casts.
      	Local alignment variables now unsigned.
      	(get_best_mode): Alignment arg now unsigned.
      	* tree.c (expr_align): New function.
      	* tree.h (expr_align): Likewise.
      	(maximum_field_alignment, set_alignment): Now unsigned.
      	(get_inner_reference): Alignment argument is now pointer to unsigned.
      	* varasm.c (assemble_variable): Add cast to eliminate warning.
      
      From-SVN: r31904
      Richard Kenner committed