1. 03 Aug, 2001 8 commits
  2. 02 Aug, 2001 19 commits
    • RandomAccessFile.java (seek): Let seek go past end of file. · 8d6a4375
      	* java/io/RandomAccessFile.java (seek): Let seek go past end of
      	file.
      	(skipBytes): Don't fail if seeking past end of file.
      	* java/io/FileInputStream.java (skip): Don't fail if seeking past
      	end of file.
      	* java/io/natFileDescriptorWin32.cc (seek): Handle `eof_trunc'
      	argument.
      	* java/io/natFileDescriptorEcos.cc (seek): Handle `eof_trunc'
      	argument.
      	* java/io/natFileDescriptorPosix.cc (seek): Handle `eof_trunc'
      	argument.
      	* java/io/FileDescriptor.java (seek): Added `eof_trunc' argument.
      
      From-SVN: r44586
      Tom Tromey committed
    • xregex.h (_REGEX_RE_COMP): Define. · ead4cf34
      * xregex.h (_REGEX_RE_COMP): Define.
      (re_comp): Define to xre_comp.
      (re_exec): Define to xre_exec.
      
      From-SVN: r44585
      Mark Kettenis committed
    • line-map.c: New. · d82fc108
      	* line-map.c: New.
      	* line-map.h: New.
      	* Makefile.in (line-map.o): New.
      	(LIBCPP_OBJS, LIBCPP_DEPS): Update.
      	* c-lex.c (cb_file_change): Update for new cpp_file_change structure.
      	* cpperror.c (print_containing_files): Similarly.
      	(print_location): Update.  Don't output a space before _Pragma.
      	* cppfiles.c (stack_include_file): Set to line 1 immediately.
      	(stack_include_filee, cpp_make_system_header): Update.
      	(_cpp_execute_include): Get logical line number right for calling
      	as-yet-unterminated #include.
      	* cpphash.h (struct cpp_reader): Add line_maps.
      	(_cpp_do_file_change): Update.
      	* cppinit.c (cpp_create_reader): Initialize line maps.
      	(cpp_destroy): Destroy line maps.
      	(cpp_start_read): Get logical line number right.
      	* cpplex.c (parse_string): Only warn once for multi-line strings.
      	Use boolean variable for null warning.
      	* cpplib.c (_cpp_handle_directive): End the directive if it isn't
      	already.
      	(do_include_common): End the directive early.
      	(do_line): Don't warn about out-of-range lines in preprocessed
      	source.  Update.  Remove unused variables.
      	(_cpp_do_file_change): Update for new line mapping.
      	(pragma_cb): New typedef.
      	(cpp_register_pragma): Stop looking ahead before calling the
      	handler.  Clean up.
      	(do_pragma_system_header): End directive early.
      	(cpp_get_line_maps): New.
      	(cpp_pop_buffer): Fudge logical line.  Update.
      	* cpplib.h: Include line-map.h
      	(enum cpp_fc_reason): Remove.
      	(struct cpp_file_change): Update.
      	(cpp_get_line_maps): New.
      	* cppmain.c (struct_printer): New member map.
      	(cb_file_change): Update for new mappings.
      	* fix-header.c (cb_file_change): Similarly.
      testsuite:
      	* gcc.dg/cpp/19951025-1.c: Update.
      
      From-SVN: r44584
      Neil Booth committed
    • jni.cc (JNI_CreateJavaVM): Call _Jv_JNI_Init in order to initialize… · 6ff02a95
      jni.cc (JNI_CreateJavaVM): Call _Jv_JNI_Init in order to initialize global_ref_table/local_ref_table.
      
      2001-08-02  Martin Kahlert  <martin.kahlert@infineon.com>
      
      	* jni.cc (JNI_CreateJavaVM): Call _Jv_JNI_Init in order
      	to initialize global_ref_table/local_ref_table.
      
      From-SVN: r44583
      Martin Kahlert committed
    • ff90-1.f (s): Fix reference of variable z, should be x. · d4d3e882
      2001-08-02  Jeffrey Oldham  <oldham@codesourcery.com>
      
      	* g77.dg/ff90-1.f (s): Fix reference of variable z,
      	should be x.
      
      From-SVN: r44582
      Jeffrey Oldham committed
    • repo.c (get_base_filename): Change return value to const char pointer. · 026c3f13
      * repo.c (get_base_filename): Change return value to const char
      pointer.
      
      From-SVN: r44581
      Andrew Cagney committed
    • Use mkinstalldirs instead of mkdir. · 6dda00f0
      From-SVN: r44580
      Nick Clifton committed
    • vax.c: include expr.h. · 215b48a7
      2001-08-02  Lars Brinkhoff  <lars@nocrew.org>
      
      	* config/vax/vax.c: include expr.h.
      
      From-SVN: r44579
      Lars Brinkhoff committed
    • configure: Rebuilt. · 1518ec60
      	* configure: Rebuilt.
      	* configure.in (THREADSPEC): Don't set THREADLIBS on Cygwin.  From
      	David Billinghurst.
      
      From-SVN: r44576
      Tom Tromey committed
    • configure.in: POSIX threads on cygwin does not link with -lpthreads. · a2d6e915
      2001-08-02  David Billinghurst <David.Billinghurst>
      
      	* configure: Rebuilt.
      	* configure.in:  POSIX threads on cygwin does not link with
      	-lpthreads.
      
      From-SVN: r44574
      David Billinghurst committed
    • re PR java/227 (mips-tfile:internal error (when compiling java code)) · 578672a2
      	* gcc.c (set_collect_gcc_options): New function, split out from
      	main.
      	Ignore elided switches.
      	(do_spec_1): Invoke before executing command.
      	(set_input): Export.
      	Move declaration ...
      	* gcc.h (set_input): ... here.
      	* config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
      	file.
      
      	java:
      	* jvspec.c (jvgenmain_spec): Cannot use %umain, breaks
      	ASM_FINAL_SPEC.
      	(lang_specific_pre_link): Use set_input to set input_filename.
      	Append `main' here.
      	* jvgenmain.c (usage): Append literal `main' to CLASSNAME.
      	(main): Fix definition.
      	Strip `main' from classname.
      	Fixes PR java/227.
      
      From-SVN: r44572
      Rainer Orth committed
    • Kill -fhonor-std. · 1dbb6023
      .:	Kill -fhonor-std.
      	* doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
      	interaction.
      	* doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
      cp:
      	Kill -fhonor-std.
      	* NEWS: Document.
      	* cp-tree.h (flag_honor_std): Remove.
      	(CPTI_FAKE_STD): Remove.
      	(std_node): Remove comment about it being NULL.
      	(fake_std_node): Remove.
      	* decl.c (in_fake_std): Remove.
      	(walk_namespaces_r): Remove fake_std_node check.
      	(push_namespace): Remove in_fake_std code.
      	(pop_namespace): Likewise.
      	(lookup_name_real): Remove fake_std_node check.
      	(init_decl_processing): Always create std_node. Always add
      	std:: things there.
      	(builtin_function): Always put non '_' fns in std.
      	* decl2.c (flag_honor_std): Remove.
      	(lang_f_options): Remove honor-std.
      	(unsupported_options): Add honor-std.
      	(set_decl_namespace): Remove fake_std_node check.
      	(validate_nonmember_using_decl): Likewise.
      	(do_using_directive): Likewise.
      	(handle_class_head): Likewise.
      	* dump.c (cp_dump_tree): Likewise.
      	* except.c (init_exception_processing): Adjust.
      	* init.c (build_member_call): Remove fake_std_node check.
      	(build_offset_ref): Likewise.
      	* lang-options.h: Remove -fhonor-std, -fno-honor-std.
      	* rtti.c (init_rtti_processing): Adjust.
      testsuite:
      	Kill -fhonor-std.
      	* g++.old-deja/g++.ns/ns14.C: Remove special options.
      	* g++.old-deja/g++.other/std1.C: Likewise.
      	* g++.old-deja/g++.robertl/eb133.C: Likewise. Add using directive.
      
      From-SVN: r44569
      Nathan Sidwell committed
    • mips.md (movdicc): Make conditional on TARGET_64BIT. · d6b6ba29
      	* mips.md (movdicc): Make conditional on TARGET_64BIT.  Likewise
      	for the unnamed instructions it expands to.
      
      From-SVN: r44568
      Richard Sandiford committed
    • regclass.c (call_really_used_regs): Conditionally define. · d3259baa
              * regclass.c (call_really_used_regs): Conditionally define.
              (init_reg_sets_1): Don't use it if not defined.
              (fix_register): Similarly, don't set it.
      
      From-SVN: r44567
      Richard Henderson committed
    • params.def (PARAM_MAX_INLINE_INSNS): Change default to 600. · eb77eeb3
      	* params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
      	Correct comment that had been missed in the previous change.
      
      From-SVN: r44566
      Gerald Pfeifer committed
    • Daily bump. · a2db29a1
      From-SVN: r44564
      GCC Administrator committed
    • darwin.c (machopic_stub_name): Try matching by name. · 4e08ba6c
              * config/darwin.c (machopic_stub_name): Try matching by name.
              (update_stubs): New function.
              (darwin_encode_section_info):  Call it and update_non_lazy_ptrs
              unconditionally.
      
      From-SVN: r44562
      Stan Shebs committed
  3. 01 Aug, 2001 13 commits
    • except.c (output_function_exception_table): Use assemble_align. · 7a900ebc
              * except.c (output_function_exception_table): Use assemble_align.
              * varasm.c (assemble_eh_label): Remove.
              (assemble_eh_align, assemble_eh_integer): Remove.
      
      From-SVN: r44561
      Richard Henderson committed
    • dwarfout.c: Remove reference to README.DWARF. · 551e8a74
      2001-08-01  Robert Lipe  <robertl@caldera.com>
      
              * dwarfout.c: Remove reference to README.DWARF.
      
      From-SVN: r44560
      Robert Lipe committed
    • regclass.c (call_really_used_regs): New array for registers which are actually used by a call. · fc1296b7
      
      2001-08-01  Andrew MacLeod  <amacleod@redhat.com>
      
      	* regclass.c (call_really_used_regs): New array for registers which
      	are actually used by a call.
      	(init_reg_sets_1): Initialize regs_invalidated_by_call with the
      	new array.
      	(fix_register): Set call_really_used too.
      	* config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
      	* doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
      
      From-SVN: r44558
      Andrew MacLeod committed
    • * read-rtl.c (read_name): Consider \r whitespace. · b38b083a
      From-SVN: r44556
      Richard Henderson committed
    • [multiple changes] · 41ae4ee6
      2001-08-01  David Billinghurst <David.Billinghurst@riotinto.com>
      
      	* lib/g77.exp:  Load gcc-defs.exp for common procedures
      	(g77_pass, g77_fail, g77_finish, g77_exit,
      	${tool}_check_unsupported_p} Now redundant.  Deleted.
      
      2001-08-01 David Billinghurst <David.Billinghurst@riotinto.com>
      
      	* g77.dg/fbackslash.f
      	* g77.dg/fcase-preserve.f
      	* g77.dg/ff90-1.f
      	* g77.dg/ffixed-line-length-0.f
      	* g77.dg/ffixed-line-length-132.f
      	* g77.dg/ffixed-line-length-7.f
      	* g77.dg/ffixed-line-length-72.f
      	* g77.dg/ffixed-line-length-none.f
              * g77.dg/ffree-form-1.f
      	* g77.dg/fno-backslash.f
      	* g77.dg/fno-f90-1.f
      	* g77.dg/fno-fixed-form-1.f
      	* g77.dg/fno-onetrip.f
      	* g77.dg/fno-typeless-boz.f
      	* g77.dg/fno-underscoring.f
      	* g77.dg/fno-vxt-1.f
      	* g77.dg/fonetrip.f
      	* g77.dg/ftypeless-boz.f
      	* g77.dg/fugly-assumed.f
      	* g77.dg/funderscoring.f
      	* g77.dg/fvxt-1.f
      
      From-SVN: r44555
      David Billinghurst committed
    • config.gcc: Recognize powerpc-*-netbsd*. · edf1b3f3
      * config.gcc: Recognize powerpc-*-netbsd*.
      * doc/install.texi (Host/target specific installation notes for
      GCC): Mention powerpc-*-netbsd*.
      * config/rs6000/netbsd.h: New file.
      (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
      (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
      (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
      (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
      (TARGET_VERSION): Redefine.
      * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
      mcall-netbsd as a match for mcall-sysv.
      (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
      (ncrti.S, ncrtn.S): New targets.
      ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
      * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
      "netbsd' as a V4 ABI.
      (ASM_SPEC): Check for -mcall-netbsd.
      (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
      (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
      (LIB_SPEC, ENDFILE_SPEC): Ditto.
      (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
      (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
      (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
      (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
      * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
      (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
      
      From-SVN: r44552
      Andrew Cagney committed
    • unwind-pe.h (base_of_encoded_value, [...]): Define only if NO_BASE_OF_ENCODED_VALUE isn't defined. · bda33a6e
      	* unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
      	only if NO_BASE_OF_ENCODED_VALUE isn't defined.
      	* unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
      	including "unwind-pe.h".
      
      From-SVN: r44550
      Mark Kettenis committed
    • rs6000.md (define_splits): Kill unused constraints. · 75540af0
      	* rs6000.md (define_splits): Kill unused constraints.
      
      	* function.c (thread_prologue_and_epilogue_insns): Kill code
      	dealing with non-existent CFG.
      
      From-SVN: r44548
      Jan Hubicka committed
    • alias.c: Fix comment formatting. · ec5c56db
      	* alias.c: Fix comment formatting.
      	* bitmap.c: Likewise.
      	* builtins.c: Likewise.
      	* calls.c: Likewise.
      	* c-common.c: Likewise.
      	* c-decl.c: Likewise.
      	* c-dump.c: Likewise.
      	* c-lex.c: Likewise.
      	* collect2.c: Likewise.
      	* combine.c: Likewise.
      	* conflict.c: Likewise.
      	* cppfiles.c: Likewise.
      	* cppinit.c: Likewise.
      	* cpplex.c: Likewise.
      	* cpplib.c: Likewise.
      	* cppmacro.c: Likewise.
      	* cppspec.c: Likewise.
      	* c-pragma.c: Likewise.
      	* crtstuff.c: Likewise.
      	* cse.c: Likewise.
      	* cselib.c: Likewise.
      	* c-semantics.c: Likewise.
      	* c-typeck.c: Likewise.
      
      From-SVN: r44547
      Kazu Hirata committed
    • re PR libgcj/3694 (natPlainDatagramSocketImpl.cc doesn't compile in ALPHA OSF1) · 60a78ccf
      	* include/posix.h (_POSIX_PII_SOCKET): Define.
      	* configure.in (HAVE_SOCKLEN_T): Define.
      	* java/net/natPlainSocketImpl.cc [!HAVE_SOCKLEN_T]: Move socklen_t
      	definition up.
      	(_JV_accept): New function, avoids Tru64 UNIX accept macro.
      	(java::net::PlainSocketImpl::accept): Use it.
      	Fixes PRs libgcj/3694, libgcj/3696.
      
      	* configure.in (HAVE_STRUCT_IPV6_MREQ): New test.
      	* acconfig.h (HAVE_STRUCT_IPV6_MREQ): Provide template.
      	* configure, include/config.h.in: Regenerate.
      	* java/net/natPlainDatagramSocketImpl.cc (union McastReq): Use it.
      	(mcastGrp): Likewise.
      	(java::net::PlainDatagramSocketImpl::setOption): Guard against
      	missing IPV6_MULTICAST_IF.
      	Fixes PR libgcj/3694.
      
      From-SVN: r44546
      Rainer Orth committed
    • linux.h (ASM_OUTPUT_IDENT): Defined. · 2a25b23f
      2001-08-01  H.J. Lu <hjl@gnu.org>
      
      	* config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
      
      From-SVN: r44544
      H.J. Lu committed
    • linux.h (ASM_OUTPUT_SOURCE_LINE): Defined. · a8329479
      2001-08-01  H.J. Lu <hjl@gnu.org>
      
      	* gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
      
      From-SVN: r44541
      H.J. Lu committed
    • KeepInline.java: New file. · 868f43d8
      	* libjava.lang/KeepInline.java: New file.
      	* libjava.lang/KeepInline.out: New file.
      
      From-SVN: r44540
      Jeff Sturm committed