1. 03 Aug, 2000 13 commits
  2. 02 Aug, 2000 23 commits
    • geoffk's avatar
      * lib/objc.exp (objc_target_compile): Look for libobjc.a in · 99d5607a
      geoffk authored
      libobjc/.libs to allow for libtool.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35437 138bc75d-0d04-0410-961f-82ee72b054a4
      99d5607a
    • zack's avatar
      * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop. · 385b48fc
      zack authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35436 138bc75d-0d04-0410-961f-82ee72b054a4
      385b48fc
    • tromey's avatar
      * Makefile.in: Rebuilt. · 8e7328b6
      tromey authored
      	* Makefile.am (libgcj_la_SOURCES): Added posix.cc.
      	* java/net/natPlainSocketImpl.cc: Include posix.h.
      	(accept): Use _Jv_select.
      	* java/net/natPlainDatagramSocketImpl.cc: Include posix.h.
      	(receive): Use _Jv_select.
      	* java/io/natFileDescriptorPosix.cc: Include posix.h.
      	(available): Use _Jv_select.
      	* java/lang/natSystem.cc: Include posix.h.
      	(currentTimeMillis): Use _Jv_gettimeofday.
      	* include/posix.h: New file.
      	* posix.cc: New file.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35435 138bc75d-0d04-0410-961f-82ee72b054a4
      8e7328b6
    • jakub's avatar
      * gcc.c-torture/compile/20000802-1.c: New test. · 7559fcc7
      jakub authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35434 138bc75d-0d04-0410-961f-82ee72b054a4
      7559fcc7
    • zack's avatar
      * gcc.h (lang_specific_driver): Constify second argument. · 826f6505
      zack authored
      	* gcc.c (translate_options, process_command, main): Likewise.
      	Constify variables to match.  Cast second argument to
      	pexecute.
      
      	* cppspec.c, gccspec.c, g++spec.c, g77spec.c, jvspec.c: Adjust
      	type of second argument to lang_specific_driver, and update
      	code as necessary.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35433 138bc75d-0d04-0410-961f-82ee72b054a4
      826f6505
    • tromey's avatar
      * scripts/encodings.pl: New file. · 65d0fdfa
      tromey authored
      	* Makefile.in: Rebuilt.
      	* Makefile.am (convert_source_files): Added IOConverter.java.
      	* gnu/gcj/convert/UnicodeToBytes.java (UnicodeToBytes): Extend
      	IOConverter.
      	(getDefaultDecodingClass): Canonicalize default encoding name.
      	(getEncoder): Likewise.
      	* gnu/gcj/convert/BytesToUnicode.java (BytesToUnicode): Extend
      	IOConverter.
      	(getDefaultDecodingClass): Canonicalize default encoding name.
      	(getDecoder): Likewise.
      	* gnu/gcj/convert/IOConverter.java: New file.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35432 138bc75d-0d04-0410-961f-82ee72b054a4
      65d0fdfa
    • tromey's avatar
      * gc_priv.h (GC_generic_malloc_inner): Prototype. · b191757f
      tromey authored
      	(GC_generic_malloc): Likewise.
      	(GC_add_to_black_list_normal): Likewise.
      	(GC_find_header): Likewise.
      	(GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
      	* gc_mark.h (GC_find_start): Prototype.
      	(GC_signal_mark_stack_overflow): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35431 138bc75d-0d04-0410-961f-82ee72b054a4
      b191757f
    • manfred's avatar
      2000-08-02 Manfred Hollstein <manfredh@redhat.com> · f3efc960
      manfred authored
      	* configure.in: Re-enable all references to libg++ and librx.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35429 138bc75d-0d04-0410-961f-82ee72b054a4
      f3efc960
    • jakub's avatar
      * loop.c (scan_loop): Ensure update_end label does not · 5338d8ac
      jakub authored
      	go away until reg_scan_update is run.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35428 138bc75d-0d04-0410-961f-82ee72b054a4
      5338d8ac
    • zack's avatar
      * c-common.h: Prototype min_precision and c_build_qualified_type here... · 83e32a86
      zack authored
      	* c-tree.h: ... not here.
      	* errors.h: Prototype fancy_abort.
      
      	* emit-rtl.c (gen_lowpart_common): Move variable 'c' into
      	HOST_BITS_PER_WIDE_INT == 64 ifdef block.
      	* regrename.c (regrename_optimize): Make control flow explicit.
      	(replace_reg_in_block): Initialize reg_use to 0.
      
      	* i386.c (legitimate_address_p): Rename error label to
      	report_error to avoid namespace clash.
      
      cp:
      	* cp-tree.h: Don't prototype min_precision here.
      	(my_friendly_assert): Cast expression to void.
      	* semantics.c (do_poplevel): Initialize scope_stmts.
      
      f:
      	* expr.c (ffeexpr_finished_): Cast signed side of ?:
      	expression to bool.
      
      java:
      	* class.c (build_dtable_decl): Initialize dummy.
      
      intl:
      	* dcgettext.c (find_msg): Initialize act before loop.
      	(guess_category_value): Add dummy uses of both parameters.
      	* localealias.c (read_alias_file): Cast arg of strchr to char *.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35427 138bc75d-0d04-0410-961f-82ee72b054a4
      83e32a86
    • mmitchel's avatar
      * cp-tree.h (DECL_NEEDED_P): Tweak. · c8e28f0b
      mmitchel authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35426 138bc75d-0d04-0410-961f-82ee72b054a4
      c8e28f0b
    • law's avatar
      * fold-const.c: Fix formatting. · cc049fa3
      law authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35425 138bc75d-0d04-0410-961f-82ee72b054a4
      cc049fa3
    • hubicka's avatar
      * i386.c (legitimate_address_p): Accept other bases than · 2c6c81f5
      hubicka authored
      	pic_offset_table_rtx for GOTOFF constructs.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35424 138bc75d-0d04-0410-961f-82ee72b054a4
      2c6c81f5
    • hubicka's avatar
      · aca111af
      hubicka authored
      	* i386.md (shift to lea splitter): Use const_int_operand.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35423 138bc75d-0d04-0410-961f-82ee72b054a4
      aca111af
    • law's avatar
      Daily bump. · 57c931d2
      law authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35422 138bc75d-0d04-0410-961f-82ee72b054a4
      57c931d2
    • zack's avatar
      * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c, · e0a859f1
      zack authored
      	cppspec.c: Do not use 'legal' or 'illegal' in error messages
      	and comments.
      
      	* cppmain.c (cb_define, cb_undef): Don't generate any output
      	if not done_initializing.
      	* cpplex.c (maybe_paste_with_next): When the token after a ##
      	is an omitted rest argument, only delete the token before it
      	if that token is a comma.  Do not warn about bogus token
      	pastes for , ## rest_arg.
      
      	* cpp.texi: Update.
      	* cpp.1: Regenerate.
      
      	* gcc.dg/cpp/macsyntx.c: Fix error regexp.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35421 138bc75d-0d04-0410-961f-82ee72b054a4
      e0a859f1
    • jason's avatar
      * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o · 9518dbb5
      jason authored
              when user gives -p option.  Add init_term_dyn.o for BeOS 5.0
              and later.
      
              * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
              Be directories to search path.
      
              Remove support for __declspec(dllimport) and __declspec(dllexport).
              This is leftover cruft from the earlier BeOS gcc port when BeOS
              used Microsoft's PE object file format.
              * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
              * config/i386/t-beos (winnt.o): Remove Makefile frag.
              * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
              (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
              (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
              (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
              (REDO_SECTION_INFO_P): Remove.
              (ASM_EXPORT_DECL): Remove.
              (ASM_DECLARE_FUNCTION_NAME): Remove.
              (ASM_DECLARE_OBJECT_NAME): Remove.
              (ASM_OUTPUT_ALIGNED_COMMON): Remove.
              (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
              (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
              (STRIP_NAME_ENCODING): Remove.
      
              Remove support for obsolete version of BeOS that is no longer
              supported by Be.
              * configure.in (i*86-*-beospe*): Remove.
              * config/i386/beos-pe.h: Remove.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35420 138bc75d-0d04-0410-961f-82ee72b054a4
      9518dbb5
    • mmitchel's avatar
      * Makefile.in (OBJS): Added dce.o. · 1deb248e
      mmitchel authored
      	(ssa.o): Updated target to include ssa.h.
      	(flow.o): Likewise.
      	(toplev.o): Likewise.
      	(dce.o): Created target.
      	* basic-block.h: Added comments.
      	(INVALID_BLOCK): Added definition.
      	(connect_infinite_loops_to_exit): Added declaration.
      	Moved SSA declarations to ssa.h.
      	* flow.c: Added inclusion of ssa.h.
      	(struct depth_first_search_dsS, depth_first_search_ds):
      	Added definitions.
      	(compute_immediate_postdominators): Added definition.
      	(connect_infinite_loops_to_exit): Likewise.
      	(flow_dfs_compute_reverse_init): Likewise.
      	(flow_dfs_compute_reverse_add_bb): Likewise.
      	(flow_dfs_compute_reverse_execute): Likewise.
      	(flow_dfs_compute_reverse_finish): Likewise.
      	* rtl.h (rtx/in_struct): Added use to determine insn necessity.
      	(LABEL_P): Added definition.
      	(JUMP_P): Likewise.
      	(NOTE_P): Likewise.
      	(BARRIER_P): Likewise.
      	(JUMP_TABLE_DATA_P): Likewise.
      	(INSN_DEAD_CODE_P): Likewise.
      	* ssa.c: Replaced inclusions with ssa.h inclusion.
      	(CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
      	(rename_registers): Removed unnecessary variables.
      	* ssa.h: Created by moving declarations from ssa.c and
      	basic-block.h.
      	* timevar.def: Defined TV_DEAD_CODE_ELIM.
      	* toplev.c: Added ssa.h inclusion.
      	(dump_file_index): Added DFI_dce.
      	(dump_file): Added "dce" entry.
      	Defined flag_ssa.
      	(f_options): Added dce entry.
      	* invoke.texi: Document -fdce.  Emphasize experimental status of
      	-fssa.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35419 138bc75d-0d04-0410-961f-82ee72b054a4
      1deb248e
    • bryce's avatar
      2000-08-02 Bryce McKinlay <bryce@albatross.co.nz> · 76c0b418
      bryce authored
              * interpret.cc (_Jv_InterpMethod::continue1): Type of `fun' changed
      	to match C declaration in ffi.h.
      	* Makefile.am: Add java/awt/Button.java.
      	* Makefile.in: Rebuilt.
      
      2000-07-29  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Type of the
              cast of the second argument to `ffi_raw_call' changed to match
              prototype.
      
      2000-07-26  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * jni.cc (_Jv_JNIMethod::call): Type of the cast of the second
              argument to `ffi_raw_call' changed to match prototype.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35418 138bc75d-0d04-0410-961f-82ee72b054a4
      76c0b418
    • zack's avatar
      Resurrect - accidentally deleted in previous commit · 40b20370
      zack authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35417 138bc75d-0d04-0410-961f-82ee72b054a4
      40b20370
    • zack's avatar
      argh, forgot to save file · 2d6ae253
      zack authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35416 138bc75d-0d04-0410-961f-82ee72b054a4
      2d6ae253
    • zack's avatar
      * cpperror.c (v_message): Split into _cpp_begin_message and · 6cae2504
      zack authored
      	v_message macro.  All callers updated.
      	(_cpp_begin_message): Do inhibit_errors/inhibit_warnings
      	checks here.
      
      	* cppfiles.c (cpp_syshdr_flags): New function.
      	(read_include_file): Don't call cpp_output_tokens.  Call
      	enter_file hook.
      	* cppinit.c (dump_macros_helper): Moved to cppmain.c.
      	(cpp_reader_init): Don't initialize token_buffer.  Call
      	_cpp_init_internal_pragmas.
      	(cpp_cleanup): Don't clear token_buffer.
      	(cpp_start_read): Don't worry about output from -D processing.
      	Don't call cpp_output_tokens.
      	(cpp_finish): Don't dump macros here.  Don't call
      	cpp_output_tokens.
      	* cppmacro.c (_cpp_dump_definition): Rename
      	cpp_dump_definition.  Write directly to a FILE *.
      	(dump_funlike_macro): Delete.
      	(dump_macro_args): New.
      
      	* cpplex.c (TOKEN_LEN): Convert to inline function.
      	(_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
      	cpp_scan_line, _cpp_dump_list): Delete.
      	(cpp_printf, cpp_output_list): New.
      	(output_line_command): Don't worry about entering or leaving files.
      	(cpp_scan_buffer): Just output each token as we hit it.
      	(process_directive): Don't call cpp_output_tokens.
      	(_cpp_glue_header_name): Don't use token_buffer.
      	(output_token, dump_param_spelling): Write directly to a FILE *.
      
      	* cpplib.c (pass_thru_directive, dump_macro_name,
      	pragma_dispatch, do_pragma_gcc): Delete.
      	(do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
      	do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
      	functions.
      	(do_error, do_warning, pragma_dependency): Call
      	_cpp_begin_message, then cpp_output_list.
      	(cpp_register_pragma, cpp_register_pragma_space,
      	_cpp_init_internal_pragmas): New.
      	(do_pragma): Walk the pragmas table here.
      	(do_pragma_once, do_pragma_poison, do_pragma_system_header,
      	do_pragma_dependency): Return void.
      	(do_pragma_implementation): Moved to cppmain.c.
      
      	* cpplib.h: Update prototypes.
      	 (struct cpp_reader): Remove printer, token_buffer,
      	token_buffer_size, and limit.  Add struct cb, and pragmas.
      	(struct cpp_printer): Remove last_id and written.
      	(CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
      	CPP_ADJUST_WRITTEN): Delete.
      	* cpphash.h: Update prototypes.
      	(ufputs): New wrapper.
      
      	* cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
      	cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
      	(main): Set up callbacks.  Register #pragma implementation.
      	Dump macros from here.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35415 138bc75d-0d04-0410-961f-82ee72b054a4
      6cae2504
    • geoffk's avatar
      * rtl.h (enum reg_note): Add REG_MAYBE_DEAD. · efc2922d
      geoffk authored
      * rtl.c (reg_note_name): Add REG_MAYBE_DEAD.
      * flow.c (propagate_one_insn): Allow deletion of prologue/epilogue
      insns if they have a REG_MAYBE_DEAD note attached.
      * config/rs6000/rs6000.c (rs6000_maybe_dead): New function.
      (rs6000_emit_load_toc_table): TOC loads may go dead.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35414 138bc75d-0d04-0410-961f-82ee72b054a4
      efc2922d
  3. 01 Aug, 2000 4 commits