1. 09 Feb, 2007 39 commits
    • Makefile.in (passes.o, [...]): Add dependencies. · 45a80bb9
      	* Makefile.in (passes.o, ipa-inline.o): Add dependencies.
      	* cgraphbuild.c (build_cgraph_edges): Compute frequencies.
      	(rebuild_cgraph_edges): Likewise.
      	* cgraph.c (cgraph_set_call_stmt): Add new argument frequency.
      	(dump_cgraph_node): Dump frequencies.
      	(cgraph_clone_edge): Add frequency scales.
      	(cgraph_clone_node): Add freuqnecy.
      	* cgraph.h (cgraph_edge): Add freuqnecy argument.
      	(CGRAPH_FREQ_BASE, CGRAPH_FREQ_MAX): New constants.
      	(cgraph_create_edge, cgraph_clone_edge, cgraph_clone_node): Update.
      	* tree-pass.h (TODO_rebuild_frequencies): New constant.
      	* cgraphunit.c (verify_cgraph_node): Verify frequencies.
      	(cgraph_copy_node_for_versioning): Update call of cgraph_clone_edge.
      	(save_inline_function_body): Likewise.
      	* ipa-inline.c: inluce rtl.h
      	(cgraph_clone_inlined_nods): Update call of cgraph_clone_node.
      	(cgraph_edge_badness): Use frequencies.
      	(cgraph_decide_recursive_inlining): Update clonning.
      	(cgraph_decide_inlining_of_small_function): Dump frequency.
      	* predict.c (estimate_bb_frequencies): Export.
      	* predict.h (estimate_bb_frequencies): Declare.
      	* tree-inline.c (copy_bb): Watch overflows.
      	(expand_call_inline): Update call of cgraph_create_edge.
      	(optimize_inline_calls): Use TODO flags to update frequnecies.
      	* passes.h: Include predict.h
      	(init_optimization_passes): Move profile ahead.
      	(execute_function_todo): Handle TODO_rebuild_frequencies.
      
      From-SVN: r121780
      Jan Hubicka committed
    • alpha.c (emit_insxl): Force the first operand of the insbl or inswl pattern into a register. · f2477b06
      
      	* config/alpha/alpha.c (emit_insxl): Force the first operand of
      	the insbl or inswl pattern into a register.
      
      From-SVN: r121779
      Roger Sayle committed
    • re PR bootstrap/30748 (configure broken on trunk) · 44bfc3ac
      	PR bootstrap/30748
      	* configure.ac: Correct syntax for Solaris ksh.
      	* configure: Regenerated.
      
      From-SVN: r121778
      Daniel Jacobowitz committed
    • re PR fortran/30512 ([4.1 only] MAXVAL() incorrect for zero-size int arrays, and… · 88116029
      re PR fortran/30512 ([4.1 only] MAXVAL() incorrect for zero-size int arrays, and for -HUGE-1 maximum values.)
      
      fortran/
      2007-02-09  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/30512
              * trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc,
      	  gfc_conv_intrinsic_minmaxval): Use HUGE-1 for most negative integer.
      
      testsuite/
      2007-02-09  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/30512
              * gfortran.dg/maxlocval_1.f90: New test.
      
      libgfortran/
      2007-02-09  Thomas Koenig  <Thomas.Koenig@online.de>
      	    Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/30512
              * m4/iparm.m4: Use HUGE-1 for most negative integer.
      	* generated/maxloc1_8_i4.c: Regenerate.
      	* generated/maxloc0_8_i8.c: Regenerate.
      	* generated/maxloc1_16_i4.c: Regenerate.
      	* generated/maxloc0_16_i8.c: Regenerate.
      	* generated/maxval_i4.c: Regenerate.
      	* generated/maxloc1_4_i8.c: Regenerate.
      	* generated/maxloc0_16_i16.c: Regenerate.
      	* generated/maxloc1_4_i16.c: Regenerate.
      	* generated/maxloc0_8_i16.c: Regenerate.
      	* generated/maxloc0_4_i4.c: Regenerate.
      	* generated/maxloc1_8_i8.c: Regenerate.
      	* generated/maxloc0_8_i4.c: Regenerate.
      	* generated/maxloc0_16_i4.c: Regenerate.
      	* generated/maxloc1_16_i8.c: Regenerate.
      	* generated/maxloc1_4_i4.c: Regenerate.
      	* generated/maxval_i8.c: Regenerate.
      	* generated/maxloc0_4_i16.c: Regenerate.
      	* generated/maxloc1_8_i16.c: Regenerate.
      	* generated/maxloc0_4_i8.c: Regenerate.
      	* generated/maxloc1_16_i16.c: Regenerate.
      	* generated/maxval_i16.c: Regenerate.
      
      From-SVN: r121777
      Tobias Burnus committed
    • ia64.md (bswapdi2): New define_insn. · ff848f0e
      
      	* config/ia64/ia64.md (bswapdi2): New define_insn.
      
      	* gcc.target/ia64/builtin_bswap-1.c: New test case.
      
      From-SVN: r121776
      Roger Sayle committed
    • re PR libgcj/30647 (build of gcc midi-dssi fails) · 3db2c087
      	PR libgcj/30647:
      	* configure: Rebuilt.
      	* configure.ac: Also check for jack/jack.h.
      
      From-SVN: r121775
      Tom Tromey committed
    • * sysdep/alpha/locks.h (read_barrier): New. · 507a4fd4
      From-SVN: r121774
      Richard Henderson committed
    • re PR fortran/30720 ([4.1 only] runtime: check for empty array slices before… · 999ffb1a
      re PR fortran/30720 ([4.1 only] runtime: check for empty array slices before allocating a negative amount of memory)
      
      	PR fortran/30720
      
      	* trans-array.c (gfc_trans_create_temp_array): Remove use of the
      	function argument. Always generate code for negative extent.
      	Simplify said code.
      	* trans-array.h (gfc_trans_create_temp_array): Change prototype.
      	* trans-expr.c (gfc_conv_function_call): Remove use of last argument
      	of gfc_trans_create_temp_array.
      	* trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Likewise.
      	* trans-stmt.c (gfc_conv_elemental_dependencies): Likewise.
      
      	* gfortran.dg/array_function_1.f90: New test.
      
      From-SVN: r121773
      Francois-Xavier Coudert committed
    • - reindent ChangeLog entries · b964502b
      From-SVN: r121771
      Matthias Klose committed
    • TimeZone.java: Handle default (one hour) daylight savings. · 3b865a2d
      2007-02-09  Jakub Jelinek  <jakub@redhat.com>
      
              * java/util/TimeZone.java: Handle default (one hour) daylight
              savings.
      
      From-SVN: r121770
      Jakub Jelinek committed
    • * gnu/classpath/jdwp/VMVirtualMachine.java · 410b0a2c
              (_stepping_threads): New member.
              * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
              Regenerated.
              * gnu/classpath/jdwp/VMVirtualMachine.h:
              Regenerated.
              * gnu/claspath/jdwp/natVMVirtualMachine.cc
              (get_request_step_filter): New function.
              (DISABLE_EVENT): New macro.
              (initialize): Initialize _stepping_threads.
              (registerEvent): Implement EVENT_SINGLE_STEP.
              (unregisterEvent): Likewise.
      
      From-SVN: r121769
      Keith Seitz committed
    • constraints.md (Ym): New constraint. · ed69105c
              * config/i386/constraints.md (Ym): New constraint.
              * config/i386/i386.md (movsi_1): Change Y2 to Yi constraints.
              (movdi_1_rex64): Split sse and xmm general register moves from
              memory move alternatives.  Use conditional register constraints.
              (movsf_1, movdf_integer): Likewise.
              (zero_extendsidi2_32, zero_extendsidi2_rex64): Likewise.
              (movdf_integer_rex64): New.
              (pushsf_rex64): Fix output constraints.
              * config/i386/sse.md (sse2_loadld): Split rm alternative, use Yi.
              (sse2_stored): Likewise.
              (sse2_storeq_rex64): New.
              * config/i386/i386.c (x86_inter_unit_moves): Enable for not
              amd and not generic.
              (ix86_secondary_memory_needed): Don't bypass TARGET_INTER_UNIT_MOVES
              for optimize_size.  Remove SF/DFmode hack.
      
      From-SVN: r121767
      Richard Henderson committed
    • TimeZone.java: Handle default (one hour) daylight savings. · 8413669b
      2007-02-09  Jakub Jelinek  <jakub@redhat.com>
      
              * java/util/TimeZone.java: Handle default (one hour) daylight
              savings.
      
      From-SVN: r121766
      Jakub Jelinek committed
    • 2007-02-09 Gary Benson <gbenson@redhat.com> · 87a8ec2b
      	* javax/management/ObjectName.java
      	(quote): Initialize StringBuilder correctly.
      
      From-SVN: r121765
      Gary Benson committed
    • driver-i386.c: Turn on -mtune=native for AMDFAM10. · 35a63f21
      2007-02-09  Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
      
      	* config/i386/driver-i386.c: Turn on -mtune=native for AMDFAM10.
      	(bit_SSE4a): New.
      
      From-SVN: r121763
      Dwarakanath Rajagopal committed
    • configure.ac: Sync with src. · 3e19841a
      2007-02-09  Paolo Bonzini  <bonzini@gnu.org>
      
      	* configure.ac: Sync with src.
      	* configure: Regenerate.
      
      From-SVN: r121762
      Paolo Bonzini committed
    • Makefile.in: Regenerate. · 74a48762
      2007-02-09  Paolo Bonzini  <bonzini@gnu.org>
      
      	* Makefile.in: Regenerate.
      
      From-SVN: r121761
      Paolo Bonzini committed
    • config.sub: Sync with src. · d846e52e
      2007-02-09  Paolo Bonzini  <bonzini@gnu.org>
      
      	* config.sub: Sync with src.
      
      From-SVN: r121760
      Paolo Bonzini committed
    • * gcc_update: Update for configure.in -> configure.ac. · 61930fe5
      From-SVN: r121758
      Daniel Jacobowitz committed
    • * libiberty.h (pex_write_input): Remove prototype. · fb6d0a04
      From-SVN: r121755
      Joseph Myers committed
    • Makefile.tpl (build_alias, [...]): Use noncanonical equivalents. · 1c710c3c
      	* Makefile.tpl (build_alias, host_alias, target_alias): Use
      	noncanonical equivalents.
      	* configure.in: Rename to...
      	* configure.ac: ...this.  Update AC_PREREQ.  Prevent error for
      	AS_FOR_TARGET.  Set build_noncanonical, host_noncanonical, and
      	target_noncanonical.  Use them.  Rewrite removal of configure
      	arguments for autoconf 2.59.  Discard variable settings.  Force
      	program_transform_name for native tools.
      
      	* Makefile.in: Regenerated.
      	* configure: Regenerated with autoconf 2.59.
      
      	* src-release (DEVO_SUPPORT, do-proto-toplev): Expect configure.ac.
      
      	* acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Avoid AC_PATH_PROG
      	with an empty path.
      
      From-SVN: r121751
      Daniel Jacobowitz committed
    • gcc/testsuite/ · a5ea7a0b
      	* lib/target-supports.exp (check_effective_target_lax_strtofp)
      	(check_effective_target_dummy_wcsftime): New functions.
      
      libstdc++-v3/testsuite/
      	* 22_locale/time_put/put/wchar_t/1.cc: XFAIL if dummy_wcsftime.
      	* 22_locale/time_put/put/wchar_t/5.cc: Likewise.
      	* 22_locale/time_put/put/wchar_t/9.cc: Likewise.
      	* 22_locale/time_put/put/wchar_t/10.cc: Likewise.
      	* 22_locale/num_get/get/wchar_t/2.cc: XFAIL if lax_strtofp.
      	* 22_locale/num_get/get/char/2.cc: Likewise.
      	* 27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc: Likewise.
      	* 27_io/basic_istream/extractors_arithmetic/wchar_t/09.cc: Likewise.
      	* 27_io/basic_istream/extractors_arithmetic/char/12.cc: Likewise.
      	* 27_io/basic_istream/extractors_arithmetic/char/09.cc: Likewise.
      	* 27_io/basic_ostream/inserters_arithmetic/wchar_t/6.cc: Likewise.
      	* 27_io/basic_ostream/inserters_arithmetic/char/6.cc: Likewise.
      	* 26_numerics/cmath/c99_classification_macros_c++.cc: XFAIL
      	for uClibc.
      	* 26_numerics/cmath/c99_classification_macros_c.cc: Likewise.
      
      From-SVN: r121749
      Richard Sandiford committed
    • 20030125-1.x: Return 1 for uClibc targets. · 2755c056
      gcc/testsuite/
      	* gcc.c-torture/execute/20030125-1.x: Return 1 for uClibc targets.
      	* lib/target-supports.exp (check_effective_target_uclibc): New
      	function.
      
      From-SVN: r121748
      Richard Sandiford committed
    • chk.c: Include <sys/types.h>. · a6a05a5e
      gcc/testsuite/
      	* gcc.c-torture/execute/builtins/lib/chk.c: Include <sys/types.h>.
      	(vsnprintf): Don't define for uClibc targets.
      
      From-SVN: r121747
      Richard Sandiford committed
    • 200x-xx-xx Nathan Sidwell <nathan@codesourcery.com> · a6fb11e2
      gcc/testsuite/
      	* gcc.c-torture/execute/builtins/memops-asm-lib.c: Do the copy or
      	set before checking whether it was allowed.
      	* gcc.c-torture/execute/builtins/lib/memset.c: Do the memset
      	before checking inside_main.
      
      From-SVN: r121746
      Richard Sandiford committed
    • struct-layout-1.h (v16sf): Define to v4sf on uClinux targets. · 4a799f3d
      gcc/testsuite/
      	* gcc.dg/compat/struct-layout-1.h (v16sf): Define to v4sf on
      	uClinux targets.
      	(u16sf): Likewise u4sf.
      	* g++.dg/compat/struct-layout-1.h: Likewise.
      
      From-SVN: r121745
      Richard Sandiford committed
    • target-supports.exp (check_effective_target_coldfire_fpu): New procedure. · 7fc564b7
      gcc/testsuite/
      	* lib/target-supports.exp (check_effective_target_coldfire_fpu): New
      	procedure.
      	* gcc.c-torture/execute/ieee/mul-subnormal-single-1.x: XFAIL on
      	m68k targets if check_effective_target_coldfire_fpu returns true.
      
      From-SVN: r121744
      Richard Sandiford committed
    • 200x-xx-xx Nathan Sidwell <nathan@codesourcery.com> Richard Sandiford <richard@codesourcery.com> · 10e96df4
      gcc/
      200x-xx-xx  Nathan Sidwell  <nathan@codesourcery.com>
      	    Richard Sandiford  <richard@codesourcery.com>
      
      	* config.gcc (m68010-*-netbsdelf*, m68k*-*-netbsdelf*)
      	(m68k*-*-openbsd*, m68k-*-linux*): Set default_cf_cpu.
      	(m68k-*-aout*, m68k-*-coff*, m68k-*-uclinux*, m68k-*-rtems*): Add
      	m68k/t-mlib to tmake_file.
      	(m68020-*-elf*, m68k-*-elf*): Likewise.  Add t-m68kbare as well.
      	(m68k*-*-*): Use --with-arch to pick a default for --with-cpu.
      	(m680[012]0-*-*, m68k*-*-*): Add support for --with-arch.
      	Allow it to be cf or m68k.  Set m68k_arch_family.  If that
      	variable is not empty, add t-$m68k_arch_family to tmake_file.
      	Add t-mlibs to tmake_file.
      	* doc/install.texi: Document --with-arch=m68k and --with-arch=cf.
      	* config/m68k/t-cf: New file.
      	* config/m68k/t-m68k: Likewise.
      	* config/m68k/t-mlibs: Likewise.
      	* config/m68k/t-m68kbare (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
      	(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
      	(M68K_MLIB_DIRNAMES, M68K_MLIB_OPTIONS): Define.
      	* config/m68k/t-m68kelf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
      	(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS, LIBGCC, INSTALL_LIBGCC):
      	Delete.
      	* config/m68k/t-openbsd (MULTILIB_OPTIONS, LIBGCC): Delete.
      	(INSTALL_LIBGCC): Delete.
      	(M68K_MLIB_DIRNAMES, M68K_MLIB_OPTIONS): Define.
      	* config/m68k/t-rtems (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
      	(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
      	(M68K_MLIB_CPU): Define.
      	* config/m68k/t-uclinux (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
      	(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
      	(M68K_MLIB_CPU, M68K_MLIB_OPTIONS, M68K_MLIB_DIRNAMES): Define.
      
      Co-Authored-By: Richard Sandiford <richard@codesourcery.com>
      
      From-SVN: r121743
      Nathan Sidwell committed
    • re PR tree-optimization/23361 (Can't eliminate empty loops with power of two… · b44e7f07
      re PR tree-optimization/23361 (Can't eliminate empty loops with power of two step and variable bounds)
      
      2007-02-09  Zdenek Dvorak  <dvorakz@suse.cz>
      	Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/23361
      	* fold-const.c (fold_comparison): Handle obfuscated comparisons
      	against INT_MIN/INT_MAX.
      	* tree-ssa-loop-ivcanon.c (remove_empty_loop): Print to dump
      	file if a loop is removed.
      
      	* gcc.dg/fold-compare-3.c: New testcase.
      	* gcc.dg/tree-ssa/loop-24.c: Likewise.
      
      Co-Authored-By: Richard Guenther <rguenther@suse.de>
      
      From-SVN: r121742
      Zdenek Dvorak committed
    • testsuite_flags.in: Add back @LIBICONV@ to SECTIONLDFLAGS. · 917fbceb
      2007-02-09  Paolo Carlini  <pcarlini@suse.de>
      
      	* scripts/testsuite_flags.in: Add back @LIBICONV@ to SECTIONLDFLAGS.
      
      From-SVN: r121741
      Paolo Carlini committed
    • re PR classpath/23566 (Need to regenerate TimeZone data against tzdata2006a) · 122c09be
      	PR 23566
      	* scripts/timezones.pl: Parse each file in 2 passes, in one parse
      	just Rule lines, in the other everything else.  Pass 0 instead of
      	$savings as second argument to parseRule when parsing the start
      	rule.
      	* java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
      
      From-SVN: r121740
      Jakub Jelinek committed
    • pr26570.c: Clean up coverage files. · 3553ec04
      	* gcc.dg/pr26570.c: Clean up coverage files.
      	* gcc.dg/pr30172-1.c: Clean up gimple tree dump.
      	* gcc.dg/lower-subreg-1.c: Clean up subreg rtl dump file.
      	* gcc.dg/tree-ssa/tailrecursion-1.c: Clean up all tailr dump files.
      	* gcc.dg/tree-ssa/tailrecursion-2.c: Ditto.
      	* gcc.dg/tree-ssa/tailrecursion-3.c: Ditto.
      	* gcc.dg/tree-ssa/tailrecursion-4.c: Ditto.
      	* gcc.dg/tree-ssa/pr21658.c: Clean up all ccp dump files.
      	* gcc.dg/tree-ssa/pr21829.c: Clean up all phicprop dump files.
      	* gcc.dg/tree-ssa/pr15349.c: Clean up all mergephi dump files.
      	* gcc.dg/tree-ssa/pr25501.c: Ditto.
      	* gcc.dg/fold-compare-2.c: Clean up vrp dump files.
      	* gcc.dg/vect/vect-recip.c: Clean up vect dump file.
      	* gcc.dg/vect/pr28952.c: Ditto.
      	* gcc.dg/vect/pr27151.c: Ditto.
      	* gcc.dg/gomp/macro-3.c: Clean up omplower dump file.
      	* g++.dg/gomp/macro-3.C: Ditto.
      
      From-SVN: r121739
      Uros Bizjak committed
    • sources.am: Regenerate. · 19628083
              * sources.am: Regenerate.
              * Makefile.in: Regenerate.
              * testsuite/Makefile.in: Regenerate.
              * gcj/Makefile.in: Regenerate.
              * include/Makefile.in: Regenerate.
      
              * classpath/lib/javax/management/MBeanServerFactory.class:
              Regenerate.
      
      From-SVN: r121737
      Keith Seitz committed
    • calls.c (store_one_arg): Pass correct alignment to emit_push_insn for non-BLKmode values. · 46bd2bee
      	* calls.c (store_one_arg): Pass correct alignment to
      	emit_push_insn for non-BLKmode values.
      	* expr.c (emit_push_insn): If STRICT_ALIGNMENT, copy to an
      	unaligned stack slot via a suitably aligned slot.
      
      From-SVN: r121736
      Joseph Myers committed
    • re PR libstdc++/17012 ([DR 526] std::list's function, remove, looks like it is… · 687e00ee
      re PR libstdc++/17012 ([DR 526] std::list's function, remove, looks like it is reading memory that has been freed.)
      
      2007-02-08  Howard Hinnant  <hhinnant@apple.com>
      
      	PR libstdc++/17012
      	* include/bits/list.tcc (list<>::remove): Take care of
      	&*__first == &__value.
      	* docs/html/ext/howto.html: Add an entry for DR 526.
      
      From-SVN: r121735
      Howard Hinnant committed
    • sources.am: Regenerate. · 67e1d0f7
              * sources.am: Regenerate.
              * Makefile.in: Regenerate.
      
              * classpath/lib/javax/management/MBeanServerFactory.class:
              Regenerate.
      
      From-SVN: r121734
      Keith Seitz committed
    • m32c.c (m32c_unpend_compare): Add default to silence warnings. · 67fc44cb
      * config/m32c/m32c.c (m32c_unpend_compare): Add default to silence
      warnings.
      (legal_subregs): Use unsigned char, make const.
      (m32c_illegal_subreg_p): Use ARRAY_SIZE.  Delete unused variables.
      
      From-SVN: r121733
      DJ Delorie committed
    • Daily bump. · f88e483d
      From-SVN: r121731
      GCC Administrator committed
  2. 08 Feb, 2007 1 commit