1. 10 Feb, 2000 9 commits
    • Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS. · 7e1878ef
      	* Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
      	Don't link with HOST_LIBS.
      
      From-SVN: r31884
      Robert Lipe committed
    • configure.in: Correct --help text for --with-dwarf2. · 756ee602
      	* configure.in: Correct --help text for --with-dwarf2.
      	Put tm-dwarf2.h after other tm files, if it's requested.
      	* configure: Regenerate.
      	* config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
      	defining it.
      
      From-SVN: r31883
      Zack Weinberg committed
    • cpplib.h: Provide HASHNODE typedef and forward decl of struct hashnode only. · bb52fa7f
      	* cpplib.h: Provide HASHNODE typedef and forward decl of
      	struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
      	DEFINITION, struct hashnode, struct macrodef, struct
      	definition, scan_decls prototype, default defn of
      	INCLUDE_LEN_FUDGE moved elsewhere.
      
      	* cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
      	definition, and struct hashnode moved here. Remove the unused
      	'predefined' field from struct definition.  Replace the 'args'
      	union with its sole member.  All users updated (cpphash.c).
      	Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
      	multiple include guard.
      
      	* cpphash.c (hashf): Make static; use better algorithm; drop
      	HASHSIZE parameter; return an unsigned int.
      	(cpp_lookup): Drop HASH parameter.  PFILE parameter is
      	used. Calculate HASHSIZE modulus here.
      	(cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
      	here.
      	(create_definition): Drop PREDEFINITION parameter.
      	* cpplib.c (do_define): Don't calculate a hash value here.
      	Don't pass (keyword == NULL) to create_definition.
      
      	* scan.h: Prototype scan_decls here.
      	* cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
      	* cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
      	callers of cpp_lookup and cpp_install updated.
      
      From-SVN: r31881
      Zack Weinberg committed
    • cpphash.c (macarg): Hoist all the flag diddling out of the function... · 564ad5f4
      	* cpphash.c (macarg): Hoist all the flag diddling out of the
      	function...
      	(macroexpand): ... and out of the loop that calls macarg.
      	Skip over the initial paren before macro arguments with
      	cpp_get_non_space_token; point may be some distance before
      	that paren.  Abort if it's not there.
      
      	* cpplib.c (parse_clear_mark): Delete function.
      	(parse_set_mark, parse_goto_mark): Make static.
      	(ACTIVE_MARK_P): New macro.
      	(skip_block_comment, skip_line_comment): Do not bump the line
      	if ACTIVE_MARK_P is true.
      	(cpp_pop_buffer): The buffer to be popped may not have an
      	active mark.
      	(cpp_get_token): When looking for the initial paren before
      	macro arguments, only set a mark in a file buffer, Always
      	return to that mark before proceeding to call macroexpand or
      	return a NAME token.
      
      	* cpplib.h: Remove prototypes of parse_set_mark,
      	parse_clear_mark, parse_goto_mark.
      	(struct cpp_options): Rename 'put_out_comments' to
      	'discard_comments' and invert its sense.
      	* cppinit.c, cpphash.c, cpplib.c: All users of
      	put_out_comments changed to use discard_comments, with
      	opposite sense.
      
      From-SVN: r31879
      Zack Weinberg committed
    • function.c (thread_prologue_and_epilogue_insns): Don't delete the edge from a… · 3a75e42e
      function.c (thread_prologue_and_epilogue_insns): Don't delete the edge from a block that both jumps and falls through to the...
      
      	* function.c (thread_prologue_and_epilogue_insns): Don't delete
      	the edge from a block that both jumps and falls through to the
      	fallthru block.
      
      From-SVN: r31878
      Clinton Popetz committed
    • natRuntime.cc (_load): Call add_library. · 7e3b6e31
      	* java/lang/natRuntime.cc (_load): Call add_library.
      	(loadLibraryInternal): Likewise.
      
      From-SVN: r31877
      Tom Tromey committed
    • natIconv.cc (Input_iconv::finalize): Call iconv_close when handle is not NULL. · c56c8c43
      	* gnu/gcj/convert/natIconv.cc (Input_iconv::finalize): Call
      	iconv_close when handle is not NULL.  Thanks to Andrew Haley.
      	(Output_iconv::finalize): Likewise.
      
      From-SVN: r31876
      Tom Tromey committed
  2. 09 Feb, 2000 10 commits
  3. 08 Feb, 2000 14 commits
  4. 07 Feb, 2000 7 commits
    • decl.c (store_parm_decls): Don't build cleanups for parameters while processing_template_decl. · ff47d094
      	* decl.c (store_parm_decls): Don't build cleanups for parameters
      	while processing_template_decl.
      
      From-SVN: r31842
      Mark Mitchell committed
    • instinit2.out: New file. · de9127c1
      	* libjava.lang/instinit2.out: New file.
      	* libjava.lang/instinit2.java: New file.
      	* libjava.lang/instinit.out: New file.
      	* libjava.lang/instinit.java: New file.
      	* libjava.lang/anonarray2.out: New file.
      	* libjava.lang/anonarray2.java: New file.
      	* libjava.lang/anonarray.out: New file.
      	* libjava.lang/anonarray.java: New file.
      	* libjava.lang/nested_with_ctor.out: New file.
      	* libjava.lang/nested_with_ctor.java: New file.
      	* libjava.lang/anfi.out: New file.
      	* libjava.lang/anfi.java: New file.
      	* libjava.lang/stub.out: New file.
      	* libjava.lang/stub.java: New file.
      
      From-SVN: r31841
      Alexandre Petit-Bianco committed
    • cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a carriage return after a macro name. · f81f5a9d
      	* cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
      	carriage return after a macro name.
      
      From-SVN: r31840
      Mark Mitchell committed
    • jni.cc (add_char): Conditional on INTERPRETER. · f39b788a
      	* jni.cc (add_char): Conditional on INTERPRETER.
      	(mangled_name): Likewise.
      	(call): Likewise.
      	* include/java-interp.h (class _Jv_MethodBase): Conditional on
      	INTERPRETER.
      	(class _Jv_JNIMethod): Likewise.
      
      From-SVN: r31839
      Tom Tromey committed
    • beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing so the gcc2_compiled symbol doesn't... · f766bd46
              * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
              so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
      
      From-SVN: r31838
      Fred Fish committed
    • cp-tree.h (struct saved_scope): Add incomplete field. · 70adf8a9
              * cp-tree.h (struct saved_scope): Add incomplete field.
              (namespace_scope_incomplete): New macro.
              * decl.c (pushdecl): Use it.
              (hack_incomplete_structures): Use it.  See through artificial
              binding levels.
              (mark_saved_scope): Mark it.
      
              Implement access control for nested types.
              * search.c (type_access_control): New fn.
              (accessible_p): Now we do perform access control for types.
              * semantics.c (deferred_type_access_control): New fn.
              (initial_deferred_type_access_control): New fn.
              (begin_function_definition): Call it.  Add lookups parm.
              * decl.c (struct binding_level): Add this_class field.
              (pushlevel_class): Set it.
              (mark_binding_level): Mark it.
              (lookup_name_real): Use it.  Call type_access_control.
              (mark_saved_scope): Mark lookups field.
              * cp-tree.h (flagged_type_tree): Add lookups field.
              (struct saved_scope): Add lookups field.
              (type_lookups): New macro.
              * parse.y (declmods): Now <ftype>.
              (parse_decl): Add lookups parm.  Call
              initial_deferred_type_access_control.
              (lang_extdef): Clear type_lookups.
              (typed_declspecs, declmods, typespec): Set lookups field.
              (initdcl): Call deferred_type_access_control.
              (fn.def1, fn.def2, typed_declspecs1, initdcl0_innards, nomods_initdcl0,
              component_decl_1, named_parm): Adjust.
              * friend.c (is_friend): Nested classes are friends of their
              enclosing classes.
      
              * class.c (currently_open_derived_class): New fn.
              * method.c (hack_identifier): Use it.
      
              * lex.c (do_identifier): Remove obsolete code.
      
              * parse.y (typed_typespecs): Propagate new_type_flag properly.
      
      From-SVN: r31837
      Jason Merrill committed
    • update · dd8216e1
      From-SVN: r31836
      Jason Merrill committed