1. 26 Jun, 2003 10 commits
    • value-prof.c: New. · 1c72f4ef
      	* value-prof.c: New.
      	* value-prof.h: New.
      
      From-SVN: r68521
      Zdenek Dvorak committed
    • sh.md (push_fpscr): Enable for TARGET_SH2E. · 603ff6b5
      * gcc/config/sh/sh.md (push_fpscr): Enable for TARGET_SH2E.
      (pop_fpscr, fpu_switch): Likewise.
      
      From-SVN: r68520
      Dhananjay Deshpande committed
    • value-prof.c: New. · af166e5d
      	* value-prof.c: New.
      	* value-prof.h: New.
      	* Makefile.in (value-prof.o): New.
      	(LIBGCOV): Add _gcov_merge_single and _gcov_merge_delta
      	(profile.o): Add value-prof.h and tree.h dependency.
      	* flags.h (flag_profile_values): Declare.
      	* gcov-io.h (GCOV_COUNTERS, GCOV_COUNTER_NAMES, GCOV_MERGE_FUNCTIONS):
      	Add new counters.
      	(GCOV_COUNTER_V_INTERVAL, GCOV_COUNTER_V_POW2, GCOV_COUNTER_V_SINGLE,
      	GCOV_COUNTER_V_DELTA): New counter sections.
      	(__gcov_merge_single, __gcov_merge_delta): Declare.
      	* flow.c (mark_used_regs): Set subregs_of_mode only when the
      	structure is initialized.
      	* libgcov.c (__gcov_merge_single, __gcov_merge_delta): New functions.
      	* profile.c: Include value-prof.h and tree.h.
      	(gen_interval_profiler, gen_pow2_profiler, gen_one_value_profiler,
      	gen_const_delta_profiler, instrument_values): New static functions.
      	(get_exec_counts): Fix comment.
      	(branch_prob): Invoke instrument_values.
      	* toplev.c (flag_profile_values): New flag.
      	* doc/invoke.texi (-fprofile-values): Document.
      
      From-SVN: r68519
      Zdenek Dvorak committed
    • Makefile.in (cfgrtl.o): Add expr.h dependency. · ff25ef99
      	* Makefile.in (cfgrtl.o): Add expr.h dependency.
      	* cfgrtl.c: Include expr.h.
      	(mark_killed_regs, safe_insert_insn_on_edge): New
      	functions.
      	* config/i386/i386.h (AVOID_CCMODE_COPIES): Define.
      	* basic-block.h (safe_insert_insn_on_edge): Declare.
      
      From-SVN: r68518
      Zdenek Dvorak committed
    • c-opts.c (missing_arg): Make non-static. · 9eee5e72
      	* c-opts.c (missing_arg): Make non-static.
      	(c_common_handle_option): Don't check for missing arguments.
      	* opts.c (handle_option): Check for missing arguments.
      ada:
      	* misc.c (gnat_handle_option): Don't check for missing arguments.
      f:
      	* top.c (ffe_handle_option): Don't check for missing arguments.
      java:
      	* lang.c (java_handle_option): Don't check for missing arguments.
      testsuite:
      	* const-str-2.m: Update.
      
      From-SVN: r68517
      Neil Booth committed
    • configure.in (ld_vers): Portability [sed]. · beda3471
      	* configure.in (ld_vers): Portability [sed].
      	* configure: Regenerate with autoconf213.
      
      From-SVN: r68515
      Loren J. Rittle committed
    • Daily bump. · 28ba16e3
      From-SVN: r68510
      GCC Administrator committed
    • re PR c++/10990 (Cannot convert with dynamic_cast<> to a private base class from… · e80706c4
      re PR c++/10990 (Cannot convert with dynamic_cast<> to a private base class from within a member function)
      
      	PR c++/10990
      	* search.c (lookup_base_r): Rely on accessible_p, rather than
      	trying to emulate that logic here.
      
      	PR c++/10990
      	* g++.dg/rtti/dyncast1.C: New test.
      	* g++.dg/abi/mangle4.C: Correct base-specifier access.
      	* g++.dg/lookup/scoped1.C: Remove XFAIL.
      	* g++.old-deja/g++.martin/pmf1.C: Correct base-specifier access.
      
      From-SVN: r68507
      Mark Mitchell committed
    • re PR c++/10931 (valid conversion static_cast<const unsigned int&>(lvalue-of-type-int) is rejected) · 3fe18f1d
      	PR c++/10931
      	* g++.dg/expr/static_cast1.C: New test.
      
      	PR c++/10931
      	* call.c (convert_like): Pass issue_conversion_warnings.
      	(convert_like_with_context): Likewise.
      	(convert_like_real): Add issue_conversion_warnings parameter.
      	(perform_direct_initialization_if_possible): New function.
      	* cp-tree.h (perform_direct_initialization_if_possible): Declare it.
      	* typeck.c (check_for_casting_away_constness): New function.
      	(build_static_cast): Rewrite.
      
      From-SVN: r68506
      Mark Mitchell committed
  2. 25 Jun, 2003 30 commits