1. 26 Jan, 1999 9 commits
    • tweak formatting · 1b528097
      From-SVN: r24874
      Jason Merrill committed
    • add comments · eb686064
      From-SVN: r24873
      Jason Merrill committed
    • Fix i960 build failure with unrecognizable insn. · ea0f9a85
      	* function.c (expand_function_end): Pass arg_pointer_save_area to
      	validize_mem before using it.  Emit code into a sequence.
      
      From-SVN: r24872
      Jim Wilson committed
    • rs6000.md (doz + set cr and or + set cr patterns): Add missing '#' to split patterns. · aa9bc2fc
      	* rs6000.md (doz + set cr and or + set cr patterns): Add missing
      	'#' to split patterns.  Correct indentation of some new patterns.
      
      From-SVN: r24871
      David Edelsohn committed
    • cppfiles.c (safe_read): Deleted. · 554fbeef
      1999-01-26 12:11 -0500  Zack Weinberg  <zack@midnite.ec.rhno.columbia.edu>
      	* cppfiles.c (safe_read): Deleted.
      	(read_and_prescan): New function, replaces safe_read, converts
      	and/or warns about trigraphs, silently converts odd line
      	terminators (\r, \n\r, \r\n).  Warns about no newline at EOF.
      	(finclude): Use read_and_prescan; turn off nonblocking mode on
      	the input descriptor; remove file-size-examination and
      	no-newline-at-EOF gunk which is	longer necessary; be more
      	careful about checking that we've been handed a legitimate
      	file to read (only real files, pipes, and ttys are acceptable).
      	* cpplib.h (cpp_options): Rename no_trigraphs flag to
      	`trigraphs' and invert its sense.
      	(trigraph_table): Declare.
      	(cpp_warning_with_line): Prototype.
      	* cpplib.c: Remove all references to trigraph_pcp. Define
      	trigraph_table; initialize it in initialize_char_syntax.  Open
      	files in nonblocking mode.  s/no_trigraphs/trigraphs/
      	throughout, and invert sense.  Put cpp_warning_with_line back
      	in and export it.
      
      From-SVN: r24870
      Zack Weinberg committed
    • tree.c (equal_functions): Fix name in prototype. · 0034cf72
      	* tree.c (equal_functions): Fix name in prototype.
      	* decl.c (push_local_binding): Add FLAGS argument.
      	(pushdecl, push_overloaded_decl): Pass it.
      	* decl2.c (do_local_using_decl): Likewise.
      	* cp-tree.h: Adjust prototype.
      	* decl.c (poplevel): Fix logic.
      
      From-SVN: r24869
      Jason Merrill committed
    • c4x.h (COUNTER_REGS): New register class. · 4a6330ac
      Tue Jan 26 23:21:49 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
      	* config/c4x/c4x.h (COUNTER_REGS): New register class.
      	* config/c4x/c4x.md (*rptb_init): Change constraints.
      	(rptb_end): Emit alternate looping instructions if
      	RC register not allocated for loop counter.
      	(decrement_and_branch_on_count): Allow other registers
      	for loop counter.
      
      From-SVN: r24868
      Michael Hayes committed
    • decl.c (push_local_binding): Also wrap used decls in a TREE_LIST. · a06d48ef
      	* decl.c (push_local_binding): Also wrap used decls in a TREE_LIST.
      	(poplevel): Handle that.  Fix logic for removing TREE_LISTs.
      	(cat_namespace_levels): Don't loop forever.
      Fixes 733Y14.
      	* typeck.c (build_reinterpret_cast): Fix typo in duplicated test.
      
      From-SVN: r24867
      Jason Merrill committed
    • Daily bump. · 9602dbfb
      From-SVN: r24866
      Jeff Law committed
  2. 25 Jan, 1999 8 commits
  3. 24 Jan, 1999 10 commits
  4. 23 Jan, 1999 10 commits
    • Update copyrights for the last patch · 9b318a74
      From-SVN: r24837
      Kaveh Ghazi committed
    • Update copyrights · f573e6fc
      From-SVN: r24836
      Kaveh Ghazi committed
    • Warning fixes: · d4476be2
              * Makefile.in (parse.o): Depend on $(CONFIG_H) and
              $(srcdir)/../system.h.
              (class.o): Depend on $(PARSE_H) and $(srcdir)/../output.h.
              (jcf-parse.o): Depend on $(srcdir)/../toplev.h.
              (jcf-write.o): Likewise.
              (jv-scan.o): Depend on $(CONFIG_H) and $(srcdir)/../system.h.
              (mangle.o): Depend on $(srcdir)/../toplev.h.
              (parse-scan.o): Depend on $(CONFIG_H) and $(srcdir)/../system.h.
              (zextract.o): Depend on $(CONFIG_H) and $(srcdir)/../system.h.
              * class.c: Include output.h and parse.h.
              (mangled_classname): Add the `const' keyword to a char*.
              (find_named_method): Hide unused function definition.
              (build_utf8_ref): Change type of variable `c' to unsigned char.
              Use ISALPHA/ISDIGIT instead of isalpha/isdigit.
              (build_class_ref): Add the `const' keyword to a char*.
              (layout_class_method): Remove unused variable `buf'.
              * decl.c (find_local_variable): Remove unused variable `rtl'.
              (pushdecl): Likewise for variables `different_binding_level' and
              `oldglobal'.
              (pushlevel): Mark parameter `unused' with ATTRIBUTE_UNUSED.
              (maybe_build_cleanup): Likewise for parameter `decl'.
              * except.c (expand_start_java_handler): Mark parameter `range'
              with ATTRIBUTE_UNUSED.
              * expr.c: Include except.h.
              (pop_type): Remove unused variable `i'.
              (pop_value): Likewise for variables `n_words' and `i'.
              (expand_java_arrayload): Likewise for variable `convert'.
              (java_lang_expand_expr): Likewise for variables `op0', `type',
              `mode', `unsignedp', `node' and `elements'.
              (expand_byte_code): Likewise for variables `prev_eh_ranges' and
              `eh_ranges'.
              (process_jvm_instruction): Add a `const' qualifier to a char*.
              * gjavah.c (output_directory): Add the `const' keyword to a char*.
              (temp_directory): Likewise.
              (print_c_decl): Likewise.
              (print_method_info): Likewise.
              (decode_signature_piece): Likewise.
              (print_mangled_classname): Likewise.
              * java-except.h: Provide prototypes for maybe_start_try,
              maybe_end_try and add_handler.
              * java-tree.h (mangled_classname): Add the `const' keyword to a char*.
              (parse_error_context): Likewise.  Also add ATTRIBUTE_PRINTF_2.
              (pushdecl_top_level, alloc_class_constant, unicode_mangling_length,
              init_expr_processing, push_super_field, init_class_processing,
              can_widen_reference_to, class_depth, verify_jvm_instructions,
              maybe_pushlevels, maybe_poplevels, process_jvm_instruction,
              set_local_type, merge_type_state, push_type, load_type_state,
              add_interface, find_in_current_zip, append_gpp_mangled_classtype,
              emit_unicode_mangled_name): Add prototypes.
              * jcf-dump.c (print_constant): Add the `const' keyword to a char*.
              (print_signature_type): Use ISDIGIT, not isdigit.
              (print_signature): Remove unused variable `j'.
              * jcf-io.c (jcf_filbuf_from_stdio): Cast the result of `fread' to
              int when comparing against one.
              * jcf-parse.c: Include toplev.h.
              * jcf-write.c: Likewise.  Don't include <string.h> or <sys/stat.h>.
              (localvar_free): Remove unused variable `i'.
              (generate_bytecode_conditional): Likewise for variable `kind'.
              * jv-scan.c: Include config.h and system.h.  Remove redundant
              OS header and gansidecl.h includes.
              (warning): Add the `const' keyword to a char*.  Also add
              ATTRIBUTE_PRINTF_1 to the prototype.  Check ANSI_PROTOTYPES, not
              __STDC__, when determining whether to use ANSI-isms.
              (fatal): Likewise.  Also add ATTRIBUTE_UNUSED.
              (xmalloc): Don't redundantly prototype here.
              (main): Remove unused parameter `envp'.  Also fix the arguments
              passed to function `fatal' to match the format specifier.
              * lang.c (java_tree_code_name): Add the `const' keyword to a char*.
              * mangle.c: Include toplev.h.
              (emit_unicode_mangled_name): Declare parameter `len'.
              * parse.y (parse_warning_context): Add the `const' keyword to a
              char*.  Also add ATTRIBUTE_PRINTF_2 to the prototype.  Check
              `ANSI_PROTOTYPES' not `__STDC__' for whether to use ANSI-isms.
              (issue_warning_error_from_context): Add the `const' keyword to
              a char*.
              (parse_error_context): Likewise.  Also check `ANSI_PROTOTYPES'
              not `__STDC__' for whether to use ANSI-isms.
              * typeck.c (incomplete_type_error): Mark parameters `value' and
              `type' with ATTRIBUTE_UNUSED.
              (parse_signature_type): Use ISDIGIT, not isdigit.
              * verify.c (check_pending_block): Add the `const' keyword to a char*.
              (verify_jvm_instructions): Likewise.  Remove unused variables
              `field_name' and `default_val'.
              * zextract.c: Include config.h and system.h.  Remove redundant
              OS header includes.
              * zipfile.h: Prototype `read_zip_archive'.
      
      From-SVN: r24835
      Kaveh R. Ghazi committed
    • final.c (bb_str): Qualify a char* with the keyword `const'. · 9b3142b3
              * final.c (bb_str): Qualify a char* with the keyword `const'.
              (add_bb_string, final_scan_insn, output_asm_insn): Likewise.
              * fix-header.c (read_scan_file): Likewise.
              * genoutput.c (output_epilogue, process_template): Likewise.
              * local-alloc.c (requires_inout, block_alloc): Likewise.
              * output.h (output_asm_insn, assemble_string): Likewise.
              * recog.c (recog_constraints, check_asm_operands,
              decode_asm_operands, extract_insn, preprocess_constraints,
              constrain_operands): Likewise.
              * recog.h (operand_alternative, recog_constraints, insn_template,
              insn_outfun, insn_operand_constraint, insn_name): Likewise.
              * regclass.c (record_reg_classes, scan_one_insn): Likewise.
              * regmove.c (find_matches): Likewise.
              * reload.c (alternative_allows_memconst): Likewise.
              * reload1.c (constraint_accepts_reg_p,
              reload_cse_simplify_operands): Likewise.
              * rtl.h (decode_asm_operands): Likewise.
              * scan.h (fn_decl): Likewise.
              * varasm.c (assemble_string): Likewise.
      
      From-SVN: r24834
      Kaveh R. Ghazi committed
    • configure.in (gcc_tooldir): Handle case where exec_prefix has not been explicitly set. · 5949a9fc
              * configure.in (gcc_tooldir): Handle case where exec_prefix has
              not been explicitly set.
              * configure: Rebuilt.
      Check it in now that it's tested.
      
      From-SVN: r24831
      Jeffrey A Law committed
    • fold-const.c (lshift_double): Mark 'prec' arguments as possibly unused. · ac4d524d
              * fold-const.c (lshift_double): Mark 'prec' arguments as possibly
              unused.
      
      From-SVN: r24830
      Jeffrey A Law committed
    • Copyright update. · 967ce1c0
      From-SVN: r24829
      Jeff Law committed
    • bitmap.h (bitmap_head_def): Make indx field unsigned. · 83fb95ed
              * bitmap.h (bitmap_head_def): Make indx field unsigned.
      Fixes a couple minor warnings.
      
      From-SVN: r24828
      Jeffrey A Law committed
    • Daily bump. · 975f9e90
      From-SVN: r24825
      Jeff Law committed
    • configure.in (gcc_tooldir): When not making a relative gcc_tooldir... · 82cbf8f7
              * configure.in (gcc_tooldir): When not making a relative gcc_tooldir,
              use $exec_prefix/$target_alias for gcc_tooldir.
      
      From-SVN: r24824
      Jeffrey A Law committed
  5. 22 Jan, 1999 3 commits