1. 15 Mar, 2001 18 commits
    • Silence warning · 8860ddab
      From-SVN: r40511
      Michael Meissner committed
    • reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not "widen" a… · b216e516
      reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not "widen" a destination that is already wider than a word.
      
              * reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not
              "widen" a destination that is already wider than a word.  Also do
              not widen if LOAD_EXTEND_OP is NIL for the given mode.
      
      From-SVN: r40510
      Jeffrey A Law committed
    • Use only nonvarying rtxs as known values · bb2cf916
      From-SVN: r40505
      Bernd Schmidt committed
    • Remove debugging aids · e06736f4
      From-SVN: r40504
      Bernd Schmidt committed
    • * i960.h (ROUND_TYPE_SIZE_UNIT): Fix typo. · 42edbfa1
      From-SVN: r40503
      John Wehle committed
    • i960.h (i960_maxbitalignment, [...]): Declare. · 43fabf7d
      	* i960.h (i960_maxbitalignment,
      	i960_last_maxbitalignment): Declare.
      	* i960.c (i960_maxbitalignment,
      	i960_last_maxbitalignment): Make global.
      	(process_pragma): Delete.
      	(i960_pr_align, i960_pr_noalign): Move from here ...
      	* i960-c.c: ... to this new file.
      	* t-960bare (i960-c.o): New rule.
      	* t-vxworks960 (i960-c.o): Likewise.
      	* config.gcc (i960-*-*): Define c_target_objs and
      	cxx_target_objs.
      
      From-SVN: r40502
      John Wehle committed
    • Fix hashing of REG/MEM values. · a4f4333a
      From-SVN: r40499
      Bernd Schmidt committed
    • * varasm.c (assemble_variable): Use DECL_RTL_SET_P. · d1d61788
      From-SVN: r40495
      Mark Mitchell committed
    • update_web_docs: Use /usr/local/bin/texi2html rather than gccadmin's local copy. · 285b9231
      	* update_web_docs: Use /usr/local/bin/texi2html rather than
      	gccadmin's local copy.
      
      From-SVN: r40489
      Joseph Myers committed
    • Daily bump. · 69403194
      From-SVN: r40488
      GCC Administrator committed
    • Correct semantics restrictions checking in throw-expression. · d064d75a
      cp/
      	Correct semantics restrictions checking in throw-expression.
      	* except.c (is_admissible_throw_operand): New function.
      	(build_throw): Use it.
      
      testsuite/
      	* g++.old-deja/g++.other/eh4.C: New test.
      
      From-SVN: r40487
      Gabriel Dos Reis committed
    • cpp.texi: Update documentation for -include and -imacros. · ba133c96
      	* cpp.texi: Update documentation for -include and -imacros.
      	* cppfiles.c (struct include_file): Remove "defined" memeber.
      	(find_or_create_entry): Make a copy of the file name, and
      	simplify it.
      	(open_file): Update to ensure we use the simplified filename.
      	(stack_include_file): Don't set search_from.
      	(cpp_included): Don't simplify the path name here.
      	(find_include_file): New prototype.  Call search_from to
      	get the start of the "" include chain.  Don't simplify the
      	filenames here.
      	(_cpp_execute_include): New prototype.  Move diagnostics to
      	do_include_common.  Update.
      	(_cpp_pop_file_buffer): Don't set defined.
      	(search_from): New prototype.  Use the preprocessor's cwd
      	for files included from the command line.
      	(read_name_map): Don't simplify the pathname here.
      	* cpphash.h (enum include_type): New.
      	(struct buffer): Delete search from.  New search_cached.
      	(_cpp_execute_include): Update prototype.
      	* cppinit.c (do_includes): Use _cpp_execute_include.
      	* cpplib.c (do_include_common): New function.
      	(do_include, do_include_next, do_import): Use it.
      
      From-SVN: r40486
      Neil Booth committed
    • decl.c (cp_make_fnname_decl): Set DECL_IGNORED_P on __FUNCTION__ and its ilk. · a3eab619
      	* decl.c (cp_make_fnname_decl): Set DECL_IGNORED_P on __FUNCTION__
      	and its ilk.
      
      From-SVN: r40485
      Mark Mitchell committed
    • varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME... · 19e7881c
      	* varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the
      	contents of the RTL, to determine the name of the object.
      
      	* tree.h (DECL_RTL): Allocate RTL lazily.
      	(SET_DECL_RTL): New macro.
      	(DECL_RTL_SET_P): Likewise.
      	(COPY_DECL_RTL): Likewise.
      	(DECL_RTL_IF_SET): Likewise.
      	* varasm.c (make_decl_rtl): Add assertions about the kind of
      	declaration we are processing.
      	* c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
      	(start_decl): Likewise.
      	(finish_decl): Likewise.
      	* c-semantics.c (emit_local_var): Likewise.
      	* calls.c (expand_call): Likewise.
      	* dbxout.c (dbxout_symbol): Likewise.
      	* emit-rtl.c (unshare_all_rtl): Likewise.
      	(unshare_all_decls): Likewise.
      	(reset_used_decls): Likewise.
      	* expr.c (store_constructor): Likewise.
      	(safe_from_p): Likewise.
      	(expand_expr): Likewise.
      	* function.c (put_var_into_stack): Likewise.
      	(instantiate_decls_1): Likewise.
      	(assign_parms): Likewise.
      	(expand_function_start): Likewise.
      	(expand_function_end): Likewise.
      	* ggc-common.c (gcc_mark_trees): Likewise.
      	* integrate.c (function_cannot_inline_p): Likewise.
      	(copy_decl_for_inlining): Likewise.
      	(expand_inline_function): Likewise.
      	(integrate_parm_decls): Likewise.
      	(integrate_decl_tree): Likewise.
      	* print-tree.c (print_node): Likewise.
      	* reg-stack.c (stack_result): Likewise.
      	* stmt.c (label_rtx): Likewise.
      	(expand_return): Likewise.
      	(expand_decl): Likewise.
      	(expand_decl_cleanup): Likewise.
      	(expand_anon_union_decl): Likewise.
      	* toplev.c (check_global_declarations): Likewise.
      	(rest_of_decl_compilation): Likewise.
      	* tree.c (simple_cst_equal): Likewise.
      	* objc/objc-act.c (generate_static_references): Likewise.
      
      	* class.c (build_clone): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
      	* cp-tree.h (DECL_IN_MEMORY_P): Likewise.
      	* decl.c (duplicate_decls): Likewise.
      	(builtin_function): Likewise.
      	(build_library_fn): Likewise.
      	(build_cp_library_fn): Likewise.
      	(check_initializer): Likewise.
      	(cp_finish_decl): Likewise.
      	* decl2.c (grokfield): Likewise.
      	(grok_function_init): Remove #if 0'd code.
      	(finish_anon_union): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
      	* friend.c (do_friend): Likewise.
      	* init.c (get_temp_regvar): Likewise.
      	* method.c (make_thunk): Likewise.
      	* pt.c (tsubst_friend_function): Likewise.
      	(tsubst_decl): Likewise.
      	(regenerate_decl_from_template): Likewise.
      	* semantics.c (genrtl_named_return_value): Likewise.
      	(expand_body): Likewise.
      	(genrtl_finish_function): Likewise.
      	* tree.c (cp_tree_equal): Likewise.
      
      	* com.c (ffecom_member_phase_2): Use COPY_DECL_RTL,
      	DECL_RTL_SET_P, etc.
      	(duplicate_decls): Likewise.
      	(start_decl): Likewise.
      
      	* class.c (build_static_field_ref): Likewise.
      	(make_method_value): Likewise.
      	(get_dispatch_table): Likewise.
      
      	* decl.c (push_jvm_slot): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
      
      From-SVN: r40482
      Mark Mitchell committed
    • thr.c (objc_thread_add): New function. · b894530e
      2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
      
              * thr.c (objc_thread_add): New function.
              (objc_thread_remove): Ditto.
              * objc/thr.h: Declare them.
              * libobjc.def: Mention them.
      
      From-SVN: r40479
      Nicola Pero committed
    • aclocal.m4 (gcc_AC_C_CHARSET, [...]): New macros. · 84c041a1
      	* aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,
      	gcc_AC_C_FLOAT_FORMAT): New macros.
      	* configure.in: Add AC_PROG_CPP after CC tests;
      	gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof
      	tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT.
      	* configure, config.in: Regenerate.
      
      	* config/a29k/xm-a29k.h, config/arc/xm-arc.h,
      	config/arm/xm-arm.h, config/c4x/xm-c4x.h,
      	config/convex/xm-convex.h, config/d30v/xm-d30v.h,
      	config/i370/xm-linux.h, config/i370/xm-oe.h,
      	config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
      	config/m68k/xm-m68k.h, config/mips/xm-mips.h,
      	config/pa/xm-linux.h, config/pa/xm-pa.h,
      	config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h,
      	config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h,
      	config/sparc/xm-sparc.h, config/vax/xm-vax.h,
      	config/we32k/xm-we32k.h: Delete.
      
      	* config/i370/xm-mvs.h, config/m88k/m88k.h,
      	config/romp/xm-romp.h, config/rs6000/xm-beos.h,
      	config/vax/xm-vms.h: Don't define any of:
      	HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN
      
      	* config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here.
      
      	* config.gcc: Remove references to deleted files.
      	(i370-*-opened*): Use i370/xm-mvs.h (which now defines only
      	FATAL_EXIT_CODE, which is the same between oe and mvs).
      
      From-SVN: r40478
      Zack Weinberg committed
  2. 14 Mar, 2001 21 commits
  3. 13 Mar, 2001 1 commit
    • cppfiles.c (NO_INCLUDE_PATH): New macro. · 41947a54
      	* cppfiles.c (NO_INCLUDE_PATH): New macro.
      	(find_include_file): Decide here which part of the include
      	chain to start the search.  Complain about an empty include
      	chain in all cases apart from an abolsute file name.
      	(_cpp_execute_include): Don't choose the search chain here.
      	Don't call handle_missing_include in the case of an empty
      	include chain.
      	(_cpp_compare_file_date): Don't choose the search chain here.
      	* cpplib.c (do_include_next): Move the in-main-file diagnostic
      	here from _cpp_execute_include.  Behave like #include if
      	we're in the main file.
      
      From-SVN: r40445
      Neil Booth committed