1. 13 Aug, 2002 16 commits
    • RandomAccessFile.java (skipBytes): Return number of bytes skipped. · 03496eb1
      2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
      
      	* java/io/RandomAccessFile.java (skipBytes): Return number of
      	bytes skipped.
      
      From-SVN: r56265
      Jesse Rosenstock committed
    • For PR java/7483: · ee1884cb
      2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
      
      	For PR java/7483:
      	* parse.y (build_assertion): Invert return from
      	desiredAssertionStatus.
      
      From-SVN: r56264
      Jesse Rosenstock committed
    • opts.c (c_common_init_options): Extra braces needed. · 29337351
      From-SVN: r56262
      Neil Booth committed
    • sh.c (sh_init_builtins): Add PARAMS to declaration. · 8202c8c4
      	* sh.c (sh_init_builtins): Add PARAMS to declaration.
      	(sh_media_init_builtins, sh_expand_builtin): Likewise.
      	(sh_expand_unop_v2sf): Use PARAMS for variable declaration.
      	(sh_expand_binop_v2sf): Likewise.
      	* sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
      	(sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
      	(sh_initialize_trampoline): Likewise.
      
      From-SVN: r56259
      J"orn Rennecke committed
    • decl.c (pushdecl_class_level): Honor requests to bind names to OVERLOADs. · 22eadedb
      	* decl.c (pushdecl_class_level): Honor requests to bind names to
      	OVERLOADs.
      
      From-SVN: r56258
      Mark Mitchell committed
    • documentation.html: Use HTML entities for punctuation. · b2659518
      2002-08-13  Jonathan Wakely  <jw@kayari.org>
                  Phil Edwards  <pme@gcc.gnu.org>
      
      	* docs/html/documentation.html:  Use HTML entities for punctuation.
      
      Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
      
      From-SVN: r56257
      Jonathan Wakely committed
    • s390-modes.def [...]: Declare new condition code modes. · 07893d4f
      	* s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
      	new condition code modes.
      	s390.c (s390_match_ccmode_set): Handle those new CC modes.
      	(s390_select_ccmode): Likewise.
      	(s390_branch_condition_mask): Likewise.
      
      	* s390-protos.h (s390_tm_ccmode): Declare.
      	s390.c (s390_tm_ccmode): New function.
      	(s390_match_ccmode): Allow VOIDmode as REQ_MODE.
      
      	* s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
      	("*cmpsi_tm2"): Rename to "*tmsi_ext".
      	("*cmpqi_tm2"): Rename to "*tmqi_ext".
      
      	("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
      	"*cmphi_tm_sub","*cmphi_cct_0",  "*cmpqi_tm", "*cmpqi_tm_sub",
      	"*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
      	("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
      	"*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
      
      	("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
      	"*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
      	"*cmpqi_ccs_0"): Remove, replace by ...
      	("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
      	"*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
      	"*tstqi", "*tstqi_cconly"): ... these new patterns.
      
      	("*cmpsidi_ccs"): Remove, replace by ...
      	("*cmpsi_ccs_sign"): ... this new pattern.
      	("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
      
      	("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
      	("*cli"): ... this new pattern.
      
      	("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
      	"*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
      	New patterns.
      	("adddi3_64"): Rename to "*adddi3_64".
      	("adddi3_31"): Replace by insn and splitter "*adddi3_31".
      	("adddi3"): Adapt expander.
      
      	("*addsi3_cc"): Allow "general_operand" for operand 2.
      	("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
      	"*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
      
      	("addhi3", "addqi3"): Remove, replace by ...
      	("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
      
      	("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
      	"*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
      	("subdi3"): Replace by insn and splitter "*subdi3_31".
      	("subdi3"): New expander.
      
      	("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
      
      	("subhi3", "subqi3"): Remove, replace by ...
      	("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
      
      	("*muldi3_sign"): New pattern.
      	("muldi3"): Do not clobber CC.
      	("mulsi3"): Likewise.
      	("mulsi_6432"): Likewise.
      
      From-SVN: r56256
      Ulrich Weigand committed
    • avr.md: Call CC_STATUS_INIT in all peepnoles which can change CC0. · db62867b
      	* config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
              which can change CC0.
      
      From-SVN: r56253
      Denis Chertykov committed
    • gcse.c (adjust_libcall_notes): New function. · 8ba46434
      	* gcse.c (adjust_libcall_notes): New function.
      	(do_local_cprop): Use it.  Add fourth parameter.  Changed caller.
      
      From-SVN: r56252
      J"orn Rennecke committed
    • Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS). · 4320085a
      	* Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
      	Remove $(CONFIG_H) dependency.
      
      From-SVN: r56251
      Rainer Orth committed
    • libgcc2.c (L_bb): Remove unneeded #includes. · 8733892f
      	* libgcc2.c (L_bb): Remove unneeded #includes.
      	(__global_counters, __gthreads_active): Remove unused globals.
      	(__bb_exit_func): Merge counts into files rather than appending.
      	* Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
      	(ALL_CFLAGS): ... to here.
      
      From-SVN: r56250
      Nathan Sidwell committed
    • ip2k.c (commands_in_file): Variable removed. · f4769721
      	* config/ip2k/ip2k.c (commands_in_file): Variable removed.
      	(function_epilogue): Don't calculate function size.
      	(ip2k_set_compare): Don't use lookup_const_double.
      	(asm_file_start): Initialization of commands_in_file removed.
      	(asm_file_end): Output of commands_in_file removed.
      
      	* config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
      	__INT_MAX__.
      
      From-SVN: r56249
      Denis Chertykov committed
    • Daily bump. · 2d7db877
      From-SVN: r56247
      GCC Administrator committed
    • c-opts.c (c_common_init_options): Check option array is sorted if checking enabled. · c31cddfd
      	* c-opts.c (c_common_init_options): Check option array is
      	sorted if checking enabled.
      
      From-SVN: r56241
      Neil Booth committed
    • c-pretty-print.c: #include "c-tree.h". · f076f0ce
              * c-pretty-print.c: #include "c-tree.h".
              (pp_c_simple_type_specifier): Tweak.
              (pp_c_storage_class_specifier): New.
              (pp_c_function_specifier): Likewise.
              (pp_c_declaration_specifiers): Likewise.
              (pp_c_init_declarator): Likewise.
              (pp_c_declaration): Likewise.
              (pp_c_direct_declarator): Stub.
              (pp_c_declarator): Likewise.
              (pp_c_parameter_declaration): Likewise.
      
      From-SVN: r56240
      Gabriel Dos Reis committed
  2. 12 Aug, 2002 13 commits
    • c-opts.c (deps_seen, [...]): New. · f4ff5a69
      	* c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
      	handle_deferred_opts, sanitize_cpp_opts, defer_opt,
      	struct deferred_opt): New.
      	(COMMAND_LINE_OPTIONS): Add -M*.
      	(missing_arg): Update.
      	(c_common_decode_option): Handle -M*.
      	(c_common_post_options): Handle -M*.  Use sanitize_cpp_opts;
      	don't call cpp_post_options.
      	(c_common_finish, check_deps_environment_vars): Update.
      	* cppfiles.c (stack_include_file, handle_missing_header): Update.
      	* cpphash.h (CPP_PRINT_DEPS): Remove.
      	* cppinit.c: Don't include version.h.
      	(cpp_create_reader): Don't call deps_init.  Initialize
      	warn_long_long.
      	(cpp_read_main_file): Init deps if necessary.
      	(cpp_destroy): Conditionally free deps.
      	(cpp_finish): Update.
      	(no_tgt): Remove.
      	(COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
      	(cpp_post_options): Rename post_options.
      	* cpplib.h (struct cpp_options): Remove some dependency options;
      	move others to a new structure.
      	(cpp_post_options): Remove.
      	(cpp_finish): Comment.
      	* fix-header.c (read_scan_file): Don't call cpp_post_options.
      treelang:
      	* treelang.c: Remove cpp_post_options.
      
      From-SVN: r56239
      Neil Booth committed
    • mmix.md (define_constants): Add MMIX_rR_REGNUM. · 34116c2a
      	* config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
      	("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
      	MMIX_rR_REGNUM as clobbered.
      	* config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
      
      From-SVN: r56238
      Hans-Peter Nilsson committed
    • diagnostic.h (output_formatted_scalar): Rename from output_formatted_integer. · 9b32718c
              * diagnostic.h (output_formatted_scalar): Rename from
              output_formatted_integer.
              * diagnostic.def: Add DK_DEBUG.
              * diagnostic.c (output_decimal): Adjust.
              (output_long_decimal): Likewise.
              (output_unsigned_decimal): Likewise.
              (output_octal): Likewise.
              (output_long_octal): Likewise.
              (output_hexadecimal): Likewise.
              (output_long_hexadecimal): Likewise.
              * c-pretty-print.c (pp_c_type_specifier): New function.
              (pp_c_specifier_qualifier_list): Likewise.
              (pp_c_abstract_declarator): Likewise.
              (pp_c_char): Replace pp_format_integer with pp_format_scalar.
      
      From-SVN: r56236
      Gabriel Dos Reis committed
    • - improve wording of previous change · 48c1db3d
      From-SVN: r56235
      David Edelsohn committed
    • trouble.texi (Disappointments): Add static constructor and destructor dependency… · 032613df
      trouble.texi (Disappointments): Add static constructor and destructor dependency information for AIX.
      
      	* doc/trouble.texi (Disappointments): Add static constructor and
      	destructor dependency information for AIX.
      
      From-SVN: r56234
      David Edelsohn committed
    • cpphash.h (struct printer): New from cppmain.c. · a3737481
      	* cpphash.h (struct printer): New from cppmain.c.
      	(cpp_reader): New member.
      	* cppmain.c (struct printer): Move to cpphash.h.
      	(options, print): Remove.
      	(account_for_newlines, print_line, maybe_print_line,
      	cpp_preprocess_file, setup_callbacks, scan_translation_unit,
      	scan_translation_unit_trad, cb_line_change, cb_ident,
      	cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
      	cb_def_pragma): Make reentrant.
      
      From-SVN: r56233
      Neil Booth committed
    • real.c (ieee_64): Always define. · d71f7700
      	* real.c (ieee_64): Always define.
      	(ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
      	(dec_h): Not used yet, hide it.
      	(emdnorm): Mark parameter in ATTRIBUTE_UNUSED.  Guard label with
      	macro controlling use.
      	(TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
      
      From-SVN: r56232
      Kaveh R. Ghazi committed
    • i386.md (tablejump): Sign extend the operand. · c16576e6
      	* i386.md (tablejump): Sign extend the operand.
      	* i386.c (classify_argument): Fix missed case from previous patch.
      
      From-SVN: r56231
      Jan Hubicka committed
    • Daily bump. · cbd1032a
      From-SVN: r56230
      GCC Administrator committed
    • c-common.c (STDC_0_IN_SYSTEM_HEADERS, [...]): Move to c-copts.c. · 460bd0e3
      	* c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
      	to c-copts.c.
      	(warn_multichar): Die.
      	(cb_register_builtins): Export.
      	* c-common.h (warn_multichar, preprocess_file): Remove.
      	(cb_register_builtins): New.
      	* c-lang.c (c_init): Remove.
      	(LANG_HOOKS_INIT): Use c_objc_common_init.
      	* c-lex.c (init_c_lex): Don't canonicalize filename.
      	* c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
      	(preprocess_file): Make static.  Update for cpplib.
      	(c_common_decode_option): Remove warn_multichar.  Use in_fname.
      	(c_common_post_options): Set some cpp options here.
      	(c_common_init): Move from c-common.c.
      	* cppinit.c (cpp_post_options): Don't canonicalize in_fname.
      	* cpplib.h (struct cpp_options): Remove in_fname.
      	(cpp_preprocess_file): Update.
      	* cppmain.c (cpp_preprocess_file): Update for new prototypes.
      
      From-SVN: r56223
      Neil Booth committed
    • * config.gcc (mips*-*-netbsd*): Include ${tm_file}. · f3f268dd
      From-SVN: r56222
      Kaveh R. Ghazi committed
    • i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing backslash in comment… · f0201fba
      i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing backslash in comment preceeding macro definition.
      
      	* i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
      	backslash in comment preceeding macro definition.
      	* i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
      	* i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
      	* i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
      
      From-SVN: r56221
      Kaveh R. Ghazi committed
    • expr.c (store_expr): In condition for checking if value is generated in TARGET... · e56fc090
      	* expr.c (store_expr): In condition for checking if value is
      	generated in TARGET, move call to expr_size last.
      
      From-SVN: r56217
      Hans-Peter Nilsson committed
  3. 11 Aug, 2002 11 commits
    • c-common.c (c_common_init): Call preprocess_file instead. · 76c3e73e
      	* c-common.c (c_common_init): Call preprocess_file instead.
      	(c_common_finish): Move to c-opts.c.
      	* c-common.h (preprocess_file): new.
      	* c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
      	check_deps_environment_vars, c_common_finish): New.
      	(c_common_decode_option): Update for out_fname and dependencies.
      	* cppinit.c (init_dependency_output, output_deps): Remove.
      	(cpp_destroy): Update prototype.
      	(cpp_add_dependency_target): New.
      	(cpp_read_main_file): Don't overlay a buffer.
      	(cpp_finish): Take a deps output stream and write deps to it.
      	Return the error count.
      	(cpp_post_options): Don't canonicalize out_fname, or do anything
      	with dependencies.
      	* cpplib.h (struct cpp_options): Remove out_fname and
      	preprocess_only.
      	(cpp_add_dependency_target): New.
      	(cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
      	* cppmain.c (cpp_preprocess_file): Update prototype.  Don't
      	set preprocess_only.  Don't handle the output stream directly.
      
      From-SVN: r56214
      Neil Booth committed
    • dsp16xx.c (print_operand): Fix format specifier. · e0c32c62
      	* dsp16xx.c (print_operand): Fix format specifier.
      	* dsp16xx.md: Avoid automatic aggregate initialization.
      	* frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
      	* h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
      	integer constant modifier.
      	* ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
      	* mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
      	guards.
      	* sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
      	* v850.c (v850_select_section): Mark parameter with
      	ATTRIBUTE_UNUSED.
      	* global.c (global_alloc): Const-ify.
      	* ra-colorize.c (hardregset_to_string): Fix format specifier.
      
      From-SVN: r56212
      Kaveh R. Ghazi committed
    • darwin-c.c (darwin_pragma_options): Const-ify. · 7ae8cf75
      	* darwin-c.c (darwin_pragma_options): Const-ify.
      	* darwin.c (machopic_non_lazy_ptr_name,
      	machopic_validate_stub_or_non_lazy_ptr): Likewise.
      	(machopic_indirect_data_reference): Wrap variables in macros
      	controlling their use.
      	(machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
      	(machopic_select_section): Use parentheses around && within ||.
      	* i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
      
      From-SVN: r56211
      Kaveh R. Ghazi committed
    • ip2k.c (mdr_resequence_xy_yx, [...]): Make function static to match prototype. · 8819cab5
      	* ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
      	mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
      	ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
      	ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
      	mdr_try_remove_redundant_insns, track_w_reload,
      	mdr_try_wreg_elim): Make function static to match prototype.
      	* mmix.c (mmix_target_asm_function_epilogue): Likewise.  Mark
      	parameter with ATTRIBUTE_UNUSED.
      
      From-SVN: r56210
      Kaveh R. Ghazi committed
    • arc.c (arc_init): Don't use ISO C style function definitions. · ab2877a3
      	* arc.c (arc_init): Don't use ISO C style function definitions.
      	* arm.c (count_insns_for_constant, thumb_far_jump_used_p,
      	arm_get_strip_length, arm_strip_name_encoding): Likewise.
      	* avr.h (progmem_section): Likewise.
      	* h8300.c h8300_asm_insn_count): Likewise.
      	* m32r.c (init_idents): Likewise.
      	* s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
      	* sh.c (sh_cfun_interrupt_handler_p): Likewise.
      	* xtensa.c (xtensa_build_va_list): Likewise.
      
      From-SVN: r56209
      Kaveh R. Ghazi committed
    • decl2.c (build_call_from_tree): Fix uninitialized variable. · e65e6212
      	* decl2.c (build_call_from_tree): Fix uninitialized variable.
      	* parse.y (parse_finish_call_expr): Likewise.
      	* repo.c (old_args, old_dir, old_main): Const-ify.
      
      From-SVN: r56208
      Kaveh R. Ghazi committed
    • decl.c (duplicate_decls): Replace DECL_SOURCE_FILE + DECL_SOURCE_LINE with DECL_SOURCE_LOCATION. · 3e72ec9a
      	* decl.c (duplicate_decls): Replace DECL_SOURCE_FILE +
      	DECL_SOURCE_LINE with DECL_SOURCE_LOCATION.
      	* optimize.c (maybe_clone_body): Likewise.
      	* pt.c (tsubst_enum): Likewise.
      	(lookup_template_class): Likewise.
      	* tree.c (cp_copy_res_decl_for_inlining): Likewise.
      
      From-SVN: r56206
      Gabriel Dos Reis committed
    • * Forgotten commit. · 08767a6f
      From-SVN: r56205
      Neil Booth committed
    • Reenable patch since shared library troubles on powerpc are solved: · caad61a1
      	* gnu/java/security/provider/Gnu.java: Reference all implementation
      	classes by using Class.getName().
      	* gnu/java/security/der/DEREncodingException.java,
      	gnu/java/security/provider/DERReader.java,
      	gnu/java/security/provider/DERWriter.java,
      	gnu/java/security/provider/DSAKeyPairGenerator.java,
      	gnu/java/security/provider/DSAParameterGenerator.java,
      	gnu/java/security/provider/DSAParameters.java,
      	gnu/java/security/provider/DSASignature.java,
      	gnu/java/security/provider/GnuDSAPrivateKey.java,
      	gnu/java/security/provider/GnuDSAPublicKey.java,
      	gnu/java/security/provider/MD5.java,
      	gnu/java/security/util/Prime.java: New classes
      	* Makefile.am (ordinary_java_source_files): Add above files.
      	* Makefile.in: Regenerate.
      	* gnu/java/security/provider/DefaultPolicy.java
      	(getPermissions): Don't maintain static class variable of Permissions.
      	* gnu/java/security/provider/SHA.java
      	(engineUpdate): algorithm change.
      	(engineDigest): algorithm change.
      
      From-SVN: r56203
      Mark Wielaard committed