1. 10 Mar, 2000 12 commits
    • linux.h: Undefine MD_EXEC_PREFIX and MD_STARTFILE_PREFIX since those are not needed on linux. · 602f9606
      	* config/mips/linux.h: Undefine MD_EXEC_PREFIX and
      	MD_STARTFILE_PREFIX since those are not needed on linux.
      	(ASM_FILE_START): New, from mips/gnu.h.
      
      From-SVN: r32470
      Andreas Jaeger committed
    • lang-options.h, decl2.c: Add -fno-enforce-eh-specs. · 1660cb3a
              * lang-options.h, decl2.c: Add -fno-enforce-eh-specs.
              * cp-tree.h: Declare flag_enforce_eh_specs.
              * decl.c (store_parm_decls, finish_function): Check it.
      
              C library functions don't throw.
              * Makefile.in (cfns.h): New target.
              (except.o): Depend on it.
              * Make-lang.in (cc1plus): Depend on cfns.gperf.
              * cfns.gperf: New file.
              * cfns.h: Generated.
              * except.c: Include it.
              (nothrow_libfn_p): New fn.
              * decl.c (grokfndecl): Use it.
              * cp-tree.h: Declare it.
      
      From-SVN: r32469
      Jason Merrill committed
    • decl.c (push_overloaded_decl_1, [...]): Lose. · 0c11ada6
              * decl.c (push_overloaded_decl_1, auto_function,
              define_function): Lose.
              (build_library_fn_1): New static fn.
              (builtin_function): Use it.
              (get_atexit_node): Use build_library_fn_ptr.
              (build_library_fn, build_cp_library_fn, build_library_fn_ptr,
              build_cp_library_fn_ptr, push_library_fn, push_cp_library_fn,
              push_void_library_fn, push_throw_library_fn): New fns.
              * cp-tree.h: Declare them.
              (cp_tree_index): Remove CPTI_BAD_CAST, CPTI_BAD_TYPEID.
              (throw_bad_cast_node, throw_bad_typeid_node): Lose.
              * except.c (init_exception_processing, call_eh_info, do_pop_exception,
              (expand_end_eh_spec, alloc_eh_object, expand_throw): Use above fns.
              * rtti.c (build_runtime_decl): Lose.
              (throw_bad_cast, throw_bad_typeid, get_tinfo_decl,
              build_dynamic_cast_1, expand_si_desc, expand_class_desc,
              expand_ptr_desc, expand_attr_desc, expand_generic_desc): Use above fns.
      
              * call.c (build_call): Remove result_type parm.
              Call mark_used on unused artificial fns.
              * init.c, method.c, typeck.c, except.c, rtti.c: Adjust.
      
      From-SVN: r32468
      Jason Merrill committed
    • Daily bump. · c3ab7a40
      From-SVN: r32467
      Jeff Law committed
    • Changes in include: · d9d4fb43
      	* partition.h: New file.
      
      Changes in libiberty:
      
      	* Makefile.in (CFILES): Add partition.c.
      	(REQUIRED_OFILES): Add partition.o.
      	(partition.o): New rule.
      	* partition.c: New file.
      
      Changes in gcc:
      
      	* Makefile.in (ssa.o): New rule.
      	(OBJS): Add ssa.o.
      	(STAGESTUFF): Add *.ssa and *.ussa.
      	(mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
      	* rtl.def (PHI): New RTL expression.
      	* rtl.h (clear_log_links): New declaration.
      	(convert_to_ssa): Likewise.
      	(convert_from_ssa): Likewise.
      	* flow.c (split_edge): If the entry node falls through to the
      	split edge's source block, split the entry edge.
      	(clear_log_links): New function.
      	* toplev.c (ssa_dump): New variable.
      	(flag_ssa): Likewise.
      	(f_options): Add "ssa".
      	(compile_file): Create SSA dump files.
      	(rest_of_compilation): Go to and from SSA if enabled.
      	(decide_d_option): Handle -de for SSA dump files.
      	* ssa.c: New file.
      
      From-SVN: r32465
      Alex Samuel committed
    • Key.java (serialVersionUID): Set to 0 for now. · ea7f51a4
      	* java/security/Key.java(serialVersionUID): Set to 0 for now.
      	* java/security/interfaces/DSAPrivateKey.java(serialVersionUID): Ditto.
      	* java/security/interfaces/DSAPublicKey.java(serialVersionUID): Ditto.
      
      From-SVN: r32464
      Warren Levy committed
    • Fix ia64 spec95 134.perl miscompilation. · 1858863b
      	* expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
      	same as VAR_DECL.
      
      From-SVN: r32463
      Jim Wilson committed
    • linux.h (WCHAR_TYPE): Make consistent. · 4ed442c9
      2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
      
      	* config/alpha/linux.h (WCHAR_TYPE): Make consistent.
      
      From-SVN: r32462
      Benjamin Kosnik committed
    • AlgorithmParameterGeneratorSpi.java: New file. · 8560e497
      	* java/security/AlgorithmParameterGeneratorSpi.java: New file.
      	* java/security/DigestException.java: New file.
      	* java/security/GeneralSecurityException.java: New file.
      	* java/security/InvalidAlgorithmParameterException.java: New file.
      	* java/security/InvalidKeyException.java: New file.
      	* java/security/InvalidParameterException.java: New file.
      	* java/security/Key.java: New file.
      	* java/security/KeyException.java: New file.
      	* java/security/KeyPair.java: New file.
      	* java/security/KeyPairGenerator.java: New file.
      	* java/security/KeyPairGeneratorSpi.java: New file.
      	* java/security/NoSuchProviderException.java: New file.
      	* java/security/PrivateKey.java: New file.
      	* java/security/Provider.java: New file.
      	* java/security/PublicKey.java: New file.
      	* java/security/SecureRandom.java: New file.
      	* java/security/Security.java: New file.
      	* java/security/Signature.java: New file.
      	* java/security/SignatureException.java: New file.
      	* java/security/interfaces/DSAKey.java: New file.
      	* java/security/interfaces/DSAParams.java: New file.
      	* java/security/interfaces/DSAPrivateKey.java: New file.
      	* java/security/interfaces/DSAPublicKey.java: New file.
      	* java/security/interfaces/RSAPrivateCrtKey.java: New file.
      	* java/security/interfaces/RSAPrivateKey.java: New file.
      	* java/security/interfaces/RSAPublicKey.java: New file.
      	* java/security/spec/AlgorithmParameterSpec.java: New file.
      	* java/security/spec/InvalidKeySpecException.java: New file.
      	* java/security/spec/InvalidParameterSpecException.java: New file.
      	* java/security/spec/KeySpec.java: New file.
      	* java/security/spec/RSAPrivateCrtKeySpec.java: New file.
      	* java/security/spec/RSAPrivateKeySpec.java: New file.
      	* java/security/spec/RSAPublicKeySpec.java: New file.
      	* Makefile.am: Added above java.security files.
      	* Makefile.in: Rebuilt.
      
      	* java/security/MessageDigest.java: Rewritten.
      	* java/security/SecureClassLoader.java: Added JDK1.2 comment.
      
      From-SVN: r32461
      Warren Levy committed
    • pa-hpux11.h (LIB_SPEC): Correct typo in !p case. · 7238ae53
              * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
              (MD_STARTFILE_PREFIX_1): New macro.
      
      From-SVN: r32460
      Jeffrey A Law committed
    • hashtab.h (struct htab): Add del_f. · 5dc9cffd
      	* hashtab.h (struct htab): Add del_f.
      	(htab_del): New type.
      	(htab_create): Add fourth argument.
      
      	* hashtab.c (htab_create): Set del_f.
      	(htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
      	Use it.
      
      From-SVN: r32459
      Zack Weinberg committed
  2. 09 Mar, 2000 20 commits
  3. 08 Mar, 2000 8 commits
    • hashtab.c: Remove debugging variables (all_searches, all_collisions, all_expansions). · 5194cf08
      	* hashtab.c: Remove debugging variables (all_searches,
      	all_collisions, all_expansions). Delete
      	all_hash_table_collisions.
      	(create_hash_table, delete_hash_table, empty_hash_table,
      	find_hash_table_entry, remove_element_from_hash_table_entry,
      	clear_hash_table_slot, traverse_hash_table, hash_table_size,
      	hash_table_elements_number, hash_table_collisions): Rename to:
      	htab_create, htab_delete, htab_empty, htab_find_slot,
      	htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
      	htab_elements, htab_collisions.
      	(htab_find): New function, handles common case where you don't
      	plan to add or delete an entry.
      	(htab_expand): Don't create a whole new table, just a new
      	entry vector.
      	(htab_find_slot): Simplify logic.
      
      	* hashtab.h (hash_table_t): Rename to htab_t.
      	(struct hash_table): Rename to struct htab.  Shorten element
      	names.  Reorder elements by size.
      	(htab_hash, htab_eq, htab_trav): New typedefs for the callback
      	function pointers.
      	(hash_table_entry_t): Discard; just use void * for element
      	type.
      
      From-SVN: r32437
      Zack Weinberg committed
    • oops - meant to commit with last batch of cpplib changes · 8ebb00d5
      From-SVN: r32436
      Zack Weinberg committed
    • Makefile.in (LIBCPP_DEPS): New macro. · 88ae23e7
      	* Makefile.in (LIBCPP_DEPS): New macro.
      	(cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
      	it to declare deps.
      	* cpperror.c: Include cpphash.h.
      	* cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
      	dingleberry.
      	(lex): Don't use CPP_WARN_UNDEF.
      	(_cpp_parse_expr): Return an int, the truth value.
      	* cppfiles.c: Include cpphash.h.
      	(_cpp_merge_include_chains): Move to cppinit.c and make static.
      	* cppinit.c (include_defaults_array): Disentangle.
      	(cpp_cleanup): Don't free the if stack here.
      	(cpp_finish): Pop off all buffers, not just one.
      	* cpplib.c (eval_if_expr): Return int.
      	(do_xifdef): Rename do_ifdef.
      	(handle_directive): Don't use CPP_PREPROCESSED.
      	(cpp_get_token): Don't use CPP_C89.
      	* fix-header.c: Don't use CPP_OPTIONS.
      
      	* cpplib.h: Move U_CHAR, enum node_type, struct
      	file_name_list, struct ihash, is_idchar, is_idstart,
      	is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
      	CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
      	CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
      	CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
      	CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
      	of _cpp_simplify_pathname, _cpp_find_include_file,
      	_cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
      	Move struct if_stack to cpplib.c.  Move struct cpp_pending to
      	cppinit.c.
      	Change all uses of U_CHAR to be unsigned char instead.
      	Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
      
      From-SVN: r32435
      Zack Weinberg committed
    • dwarf2out.c (dw_fde_struct): Add 'nothrow'. · 737faf14
              * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
              (dwarf2out_begin_prologue): Set it.
              (output_call_frame_info): Don't emit EH unwind info for leaves.
      
      From-SVN: r32434
      Jason Merrill committed
    • g++.exp (g++_init): Don't put { } around -fmessage-length=0. · 602b1b13
              * lib/g++.exp (g++_init): Don't put { } around -fmessage-length=0.
              (g++_target_compile): Put test-specific options last.
      
      From-SVN: r32433
      Jason Merrill committed
    • flow.c (count_basic_blocks, [...]): A rethrow can occur outside of an EH region. · 6814a8a0
              * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
              can occur outside of an EH region.
              * except.c: Correct comments about rethrow behavior.
              (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
      
              * flow.c (make_edges): Always call make_eh_edge for calls.
      
      From-SVN: r32432
      Jason Merrill committed
    • cpp-mi.c: Fix switches. · 2b01d2d9
      cpp-redef-2.c: New.
      
      From-SVN: r32431
      Zack Weinberg committed
    • cpplib.h (parse_underflow_t, [...]): Delete. · 38b24ee2
      	* cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
      	(struct cpp_buffer): Remove fname and underflow fields.
      	(struct cpp_reader): Remove get_token field.
      	(struct include_hash): Rename to struct ihash.  Add typedef to
      	IHASH.
      	(struct if_stack): Remove fname field.
      	(IF_STACK_FRAME): Rename to IF_STACK.
      
      	* cpperror.c (print_containing_files): Trust that there are no
      	macro buffers below the top file buffer.
      	* cppfiles.c: Replace all references to 'struct include_hash'
      	with 'IHASH'.  Rename initialize_input_buffer to
      	init_input_buffer.  Don't set or reference cpp_buffer->fname,
      	use buffer->ihash->name instead.
      	* cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
      	not CPP_NULL_BUFFER.
      	* cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
      	IF_STACK_FRAME, IHASH not struct include_hash.
      	* cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
      	null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
      	struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
      	references to cpp_buffer->fname (delete entirely, or use
      	->ihash->name instead) and IF_STACK->fname.
      	(cpp_push_buffer): Don't set new->underflow.
      	(do_include): Use cpp_file_buffer.
      
      	* cpphash.c (collect_formal_parameters): Remove duplicate
      	increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
      	used as a macro argument name.  Don't append "..." to namebuf
      	for varargs macros.  After we're done scanning, go through
      	namebuf and make it NUL separated, not comma separated.
      	(_cpp_compare_defs): Remove register tag from variables.
      	Expect defn->argnames to be NUL separated.
      	(_cpp_dump_definition): Expect defn->argnames to be NUL
      	separated and in forward order.
      	* cpphash.h: Update documentation of argnames field.
      
      From-SVN: r32430
      Zack Weinberg committed