1. 11 Jan, 2001 20 commits
  2. 10 Jan, 2001 20 commits
    • *** empty log message *** · d0be7718
      From-SVN: r38886
      Alan Lehotsky committed
    • Makefile.in (tradcpp0): Depend on mkdeps.h. · 2f638f96
              * Makefile.in (tradcpp0): Depend on mkdeps.h.  Link mkdeps.o
              * cppinit.c (cpp_start_read): Update comment, remove unneeded
              if statement.
              * tradcpp.c: Include mkdeps.h.
              (deps, print_deps_phony_targets, deps_append, output_deps,
              init_dependency_output, output_deps): New.
              (deps_buffer, deps_allocated_size, deps_size, deps_column,
              deps_output): Delete.
              (print_deps_missing_files): Rename deps_missing_files.
              (inhibit_output): Make global.
              (main): Delete inhibit_output, deps_stream, deps_target.
              Use mkdeps functionality in the same way as cpplib.  Remove
              -g3 handling.  Handle -MF, -MP, -MQ, -MT.  Update handling of
              -M and -MM.  Remove old handling of deps via deps_out, and
              old reading of environment variables.
              (get_filename): Update to use deps_add_dep.
      
      From-SVN: r38885
      Neil Booth committed
    • output.h (make_function_rtl): Remove prototype. · 6c418184
      	* output.h (make_function_rtl): Remove prototype.
      	(make_decl_rtl): Likewise.
      	* varasm.c (make_function_rtl): Remove.
      	(make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
      	than from a third parameter.
      	* tree.h (make_decl_rtl): Remove last parameter.
      	* c-decl.c (builtin_function): Remove last argument in call to
      	make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
      	(start_function): Likewise.
      	* except.c (call_get_eh_context): Likewise.
      	* expr.c (emit_block_move): Likewise.
      	(clear_storage): Likewise.
      	* profile.c (output_func_start_profiler): Likewise.
      	* toplev.c (rest_of_decl_compilation): Likewise.
      	* objc/objc-act.c (create_builtin_decl): Likewise.
      	(synth_module_prologue): Likewise.
      	(generate_static_reference): Likewise.
      	(build_selector_reference_decl): Likewise.
      	(build_class_reference_decl): Likewise.
      	(build_objc_string_decl): Likewise.
      	(build_protocol_reference): Likewise.
      
      	* class.c (finish_struct_1):  Remove last argument in call to
      	make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
      	* decl.c (builtin_function): Likewise.
      	(build_cp_library_fn): Likewise.
      	(check_initializer): Likewise.
      	(make_rtl_for_nonlocal_decl): Likewise.
      	(cp_finish_decl): Likewise.
      	(start_function): Likewise.
      	* decl2.c (finish_anon_union): Likewise.
      	* friend.c (do_friend): Likewise.
      	* init.c (build_java_class_ref): Likewise.
      	* method.c (make_thunk): Likewise.
      	* pt.c (tsubst_friend_function): Likewise.
      	* semantics.c (expand_body): Likewise.
      
      	* com.c (ffecom_init_zero_):  Remove last argument in call to
      	make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
      	(ffecom_lookup_label_): Likewise.
      	(builtin_function): Likewise.
      	(start_function): Likewise.
      
      	* class.c (build_utf8_ref): Remove last argument in call to
      	make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
      	(build_class_ref): Likewise.
      	(build_static_field_ref): Likewise.
      	(get_dispatch_table): Likewise.
      	(layout_class_method): Likewise.
      	(emit_register_classes): Likewise.
      	* constants.c (build_constant_data_ref): Likewise.
      	* decl.c (builtin_function): Likewise.
      	(create_primitive_vtable): Likewise.
      	* expr.c (build_known_method_def): Likewise.
      	(build_jni_stub): Likewise.
      	(java_lang_expand_expr): Likewise.
      
      From-SVN: r38884
      Mark Mitchell committed
    • * hwint.h: Revert yesterday's change. · 4621c640
      From-SVN: r38883
      Richard Henderson committed
    • Remove {save|restore}_machine_status. · 414c4dc4
      Document {init|mark|free}_machine_status.
      
      From-SVN: r38882
      Nick Clifton committed
    • cppinit.c (OPT_g): Remove. · 5c5d1ea0
              * cppinit.c (OPT_g): Remove.
              (cpp_handle_option): Update for removed -g3.
              (print_help): Update.
              * cpplib.h (struct cpp_options): Remove debug_output.
              * cppmain.c (setup_callbacks, cb_define): Update.
              * gcc.c (cpp_options): Translate -g3 to -dD.
      
      From-SVN: r38881
      Neil Booth committed
    • fix constraint for i960.md · d9271ccc
      From-SVN: r38880
      Aldy Hernandez committed
    • fix constraint · c243fc1b
      From-SVN: r38879
      Aldy Hernandez committed
    • std_complex.h: Fix a typo. · 90e420bd
      
      2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
      
               * include/bits/std_complex.h: Fix a typo.
      
      From-SVN: r38878
      Peter Schmid committed
    • alpha.c (alpha_free_machine_status): New. · 37b15744
              * config/alpha/alpha.c (alpha_free_machine_status): New.
              (override_options): Install it.
              (alpha_mark_machine_status): Verify machine non-null.
              * config/i386/i386.c (ix86_free_machine_status): New.
              (override_options): Install it.
              (ix86_init_machine_status): Use xcalloc.
              (ix86_mark_machine_status): Verify machine non-null.
              * config/ia64/ia64.c (ia64_free_machine_status): New.
              (ia64_override_options): Install it.
              (ia64_mark_machine_status): Verify machine non-null.
      
      From-SVN: r38877
      Richard Henderson committed
    • cp-tree.h (DECL_CLONED_FUNCTION_P): Avoid wild reads by not looking at… · 31d95fc6
      cp-tree.h (DECL_CLONED_FUNCTION_P): Avoid wild reads by not looking at DECL_CLONED_FUNCTION for non-functions.
      
      	* cp-tree.h (DECL_CLONED_FUNCTION_P): Avoid wild reads by not
      	looking at DECL_CLONED_FUNCTION for non-functions.
      
      From-SVN: r38876
      Mark Mitchell committed
    • decl2.c (acceptable_java_type): Allow references too. · 23d4e4cc
      2001-01-07  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * decl2.c (acceptable_java_type): Allow references too.
              * init.c (build_java_class_ref): When using the new ABI, search
              `class$' and have it mangled with `mangle_decl.'
              * mangle.c (write_java_integer_type_codes): New function.
              (write_builtin_type): Detect and mangle Java integer and real
              types.
      
      (http://gcc.gnu.org/ml/gcc-patches/2001-01/msg00756.html)
      
      From-SVN: r38875
      Alexandre Petit-Bianco committed
    • function.c (instantiate_virtual_regs): Instantiate virtual registers found in… · 87c61e2d
      function.c (instantiate_virtual_regs): Instantiate virtual registers found in CALL_INSN_FUNCTION_USAGE.
      
              * function.c (instantiate_virtual_regs): Instantiate virtual
              registers found in CALL_INSN_FUNCTION_USAGE.
      
      From-SVN: r38873
      Jeffrey A Law committed
    • i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as equivalent to -ansi in disabling -Di386. · 930bbdd2
      	* i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
      	equivalent to -ansi in disabling -Di386.
      
      From-SVN: r38872
      Joseph Myers committed
    • Fixes for libstdc++/1576 · 469550eb
      
      
      2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
      	                     <kainz@ilm.com>
      
      	Fixes for libstdc++/1576
      	* src/stdstreams.cc: Initialize with NULL filebuf. Delete
      	file, move contents into....
      	* src/ios.cc: ...Here. Put defines for iostreams objects and
      	initialization routines into one file to simplify DSO interaction.
      	* include/bits/std_iostream.h: Touch.
      	* include/bits/ios_base.h (_S_synched_with_stdio): Make static.
      	* src/Makefile.am (sources): Remove stdstreams.cc.
      	* src/Makefile.in: Regenerate.
      
      From-SVN: r38871
      Benjamin Kosnik committed
    • [multiple changes] · 761491c8
      2001-01-08  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* java-tree.h (lang_printable_name_wls): New prototype.
      	* lang.c (put_decl_name): Removed dead code. Use DECL_CONTEXT
      	rather than `current_class' to print type name. Don't prepend type
      	names when printing constructor names.
      	(lang_printable_name_wls): New function.
      	* jcf-parse.c (jcf_parse_source): Pass NULL `file' argument to
      	`build_expr_wfl', alway set EXPR_WFL_FILENAME_NODE.
      	* parse.y (patch_method_invocation): Message tuned for constructors.
      	(not_accessible_p): Grant `private' access from within
      	enclosing contexts.
      
      2001-01-05  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* parse.y (patch_binop): Compute missing type in error situations.
      
      (http://gcc.gnu.org/ml/gcc-patches/2001-01/msg00752.html)
      
      From-SVN: r38870
      Alexandre Petit-Bianco committed
    • error.c (dump_template_parameter): Use parm to determine how to print default value. · 31bb3027
      cp:
      	* error.c (dump_template_parameter): Use parm to determine how
      	to print default value.
      testsuite:
      	* g++.old_deja/g++.pt/error3.C: New test.
      
      From-SVN: r38869
      Nathan Sidwell committed
    • i386.c (ix86_fp_compare_code_to_integer, [...]): new functions. · c0c102a9
      
      	* i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
      	new functions.
      	(ix86_expand_fp_compare): Make trivial use of new infrastructure.
      
      From-SVN: r38868
      Jan Hubicka committed
    • class.c (duplicate_tag_error): Clear more flags. · fd3f43e7
      cp:
      	* class.c (duplicate_tag_error): Clear more flags.
      testsuite:
      	* g++.old_deja/g++.other/crash39.C: New test.
      
      From-SVN: r38867
      Nathan Sidwell committed