1. 03 Aug, 2001 17 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 4 commits