1. 11 Jan, 2008 5 commits
  2. 10 Jan, 2008 9 commits
    • m32c.c (m32c_hard_regno_nregs_1): Renamed from... · b8a669d0
      * config/m32c/m32c.c (m32c_hard_regno_nregs_1): Renamed from...
      (m32c_hard_regno_nregs): ...this, which is now a wrapper.
      (m32c_hard_regno_ok): Call the underlying function.
      
      From-SVN: r131449
      DJ Delorie committed
    • re PR fortran/34396 (Length of substrings defined by expressions not correctly… · 32be9f94
      re PR fortran/34396 (Length of substrings defined by expressions not correctly computed in constructors)
      
      2008-01-10  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/34396
      	* trans-array.c (gfc_trans_array_ctor_element):  Use gfc_trans_string_copy
      	to assign strings and perform bounds checks on the string length.
      	(get_array_ctor_strlen): Remove bounds checking.
      	(gfc_trans_array_constructor): Initialize string length checking.
      	* trans-array.h : Add prototype for gfc_trans_string_copy.
      
      2008-01-10  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/34396
      	* gfortran.dg/bounds_check_12.f90: New test.
      
      From-SVN: r131448
      Paul Thomas committed
    • cmov7.c: Add -mbranch-cost=5 to dg-options. · 814252be
              * gcc.target/i386/cmov7.c: Add -mbranch-cost=5 to dg-options.
              * gcc.target/i386/addr-sel-1.c: Require nonpic effective target.
      [
      
      From-SVN: r131447
      Uros Bizjak committed
    • re PR tree-optimization/34683 (SSA rewriting in the loop unroller causes quadratic behavior) · d0f76c4b
      2008-01-10  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/34683
      	* tree-cfg.c (tree_merge_blocks): Do not go through the
      	full-blown folding and stmt updating path if we just deal
      	with virtual operands.
      	* tree-ssa-copy.c (may_propagate_copy): Do not short-cut
      	test for abnormal SSA_NAMEs.
      
      From-SVN: r131446
      Richard Guenther committed
    • re PR target/34641 (ICE in reload_cse_simplify_operands, at postreload.c:395) · 90d12f1f
      2008-01-10  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	PR middle-end/34641
      	* reload.c (push_reload): Add assertions.  All constants from
      	reg_equiv_constant should have been used for replacing the respective
      	pseudo earlier.
      	(find_reloads_address): Invoke find_reloads_address_part for
      	constant taken from the reg_equiv_constant array.
      
      2008-01-10  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	PR middle-end/34641
      	* g++.dg/torture/pr34641.C: New testcase.
      
      From-SVN: r131445
      Andreas Krebbel committed
    • tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed field (valnum) the… · 71ae8557
      tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed field (valnum) the first in the struct.
      
      2008-01-10  Steven Bosscher  <stevenb.gcc@gmail.com>
      
      	* tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed
      	field (valnum) the first in the struct.  Replace bools with
      	unit bit fields.
      
      From-SVN: r131444
      Steven Bosscher committed
    • re PR tree-optimization/34651 (ICE in set_value_range, at tree-vrp.c:321) · 125e025e
      2008-01-10  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/34651
      	* tree-sra.c (sra_build_assignment): Sanitize.  Use the correct
      	types and ordering for masking and converting.
      
      	* g++.dg/torture/pr34651.C: New testcase.
      
      From-SVN: r131442
      Richard Guenther committed
    • multiway_merge.h: Reformat to 80 columns; adjust some inline specifiers; other minor style fixes. · 5817ff8e
      2008-01-09  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/parallel/multiway_merge.h: Reformat to 80 columns;
      	adjust some inline specifiers; other minor style fixes.
      	* include/parallel/losertree.h: Likewise.
      	* include/parallel/list_partition.h: Likewise.
      	* include/parallel/multiseq_selection.h: Likewise.
      	* include/parallel/workstealing.h: Likewise.
      	* include/parallel/base.h: Likewise.
      	* include/parallel/par_loop.h: Likewise.
      	* include/parallel/numeric: Likewise.
      	* include/parallel/quicksort.h: Likewise.
      	* include/parallel/algorithmfwd.h: Likewise.
      	* include/parallel/for_each_selectors.h: Likewise.
      	* include/parallel/omp_loop_static.h: Likewise.
      	* include/parallel/random_shuffle.h: Likewise.
      	* include/parallel/balanced_quicksort.h: Likewise.
      	* include/parallel/set_operations.h: Likewise.
      	* include/parallel/tree.h: Likewise.
      	* include/parallel/merge.h: Likewise.
      	* include/parallel/unique_copy.h: Likewise.
      	* include/parallel/settings.h: Likewise.
      	* include/parallel/multiway_mergesort.h: Likewise.
      	* include/parallel/numericfwd.h: Likewise.
      	* include/parallel/search.h: Likewise.
      	* include/parallel/partition.h: Likewise.
      	* include/parallel/compatibility.h: Likewise.
      	* include/parallel/partial_sum.h: Likewise.
      	* include/parallel/find.h: Likewise.
      	* include/parallel/algo.h: Likewise.
      	* include/parallel/queue.h: Likewise.
      	* include/parallel/omp_loop.h: Likewise.
      	* include/parallel/sort.h: Likewise.
      	* include/parallel/random_number.h: Likewise.
      
      From-SVN: r131440
      Paolo Carlini committed
    • Daily bump. · 299f5734
      From-SVN: r131438
      GCC Administrator committed
  3. 09 Jan, 2008 15 commits
  4. 08 Jan, 2008 11 commits
    • re PR c++/31863 (g++-4.1: out of memory with -O1/-O2) · 3fe2f42a
      2008-01-08  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/31863
      	* tree-ssa-structalias.c (push_fields_onto_fieldstack): Bail
      	out early if the result will be unused.
      
      	* g++.dg/torture/pr31863.C: New testcase.
      
      From-SVN: r131405
      Richard Guenther committed
    • re PR fortran/34706 (FE should reuse array temporaries, reduce temporaties and… · 416a8af4
      re PR fortran/34706 (FE should reuse array temporaries, reduce temporaties and tell ME the array-size type)
      
      2008-01-08  Richard Guenther  <rguenther@suse.de>
      
      	PR fortran/34706
      	PR tree-optimization/34683
      	* trans-types.c (gfc_get_array_type_bounds): Use an array type
      	with known size for accesses if that is known.
      
      From-SVN: r131404
      Richard Guenther committed
    • re PR target/34709 (revision 131342 miscompiled 481.wrf on Linux/Intel64) · 4d869718
              PR target/34709
              Revert:
      
              2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
              * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
              for TARGET_RECIP.
      
      From-SVN: r131403
      Uros Bizjak committed
    • user_facet_hierarchies.cc: Do not include <cassert>. · bcc0edbb
      2008-01-08  Paolo Carlini  <pcarlini@suse.de>
      
      	* testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
      	not include <cassert>.
      	* testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
      	Likewise.
      	* testsuite/util/testsuite_common_types.h: Include <algorithm>.
      
      From-SVN: r131402
      Paolo Carlini committed
    • 2008-01-08 Jan Sjodin <jan.sjodin@amd.com> · cedbd764
             * config/i386/i386.c:
              (k8_cost, amdfam10_cost): Branch costs for vectorization tuned.
      
      From-SVN: r131401
      Jan Sjodin committed
    • re PR tree-optimization/34683 (SSA rewriting in the loop unroller causes quadratic behavior) · a9990582
      2008-01-08  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/34683
      	* tree-ssa-operands.c (operand_build_cmp): Export.
      	* tree-ssa-operands.h (operand_build_cmp): Declare.
      	* tree-vn.c (vuses_compare): Remove.
      	(sort_vuses): Use operand_build_cmp.
      	(sort_vuses_heap): Likewise.
      	* tree-ssa-sccvn.c (vuses_to_vec): Use VEC_reserve, not VEC_alloc
      	to re-use old VEC if available.  Do not sort already sorted VUSEs.
      	(vdefs_to_vec): Do not sort already sorted VDEFs.
      
      From-SVN: r131400
      Richard Guenther committed
    • configure.ac (--enable-linux-futex): Add new configure option. · 0f3e711e
      libstdc++-v3/
      	* configure.ac (--enable-linux-futex): Add new configure option.
      	(HAVE_LINUX_FUTEX): New AC_DEFINE.
      	* Makefile.in: Rebuilt.
      	* aclocal.m4: Rebuilt.
      	* configure: Rebuilt.
      	* config.h.in: Rebuilt.
      	* config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
      	_GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
      	* config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
      	_GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
      	* libsupc++/guard.cc: Include climits and syscall.h.
      	(_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
      	are supported.
      	(_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
      	(__guard_test_bit): New static inline.
      	(__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
      	atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
      config/
      	* futex.m4: New file.
      libgomp/
      	* configure.ac: Move futex checking into ../config/futex.m4.
      	* configure: Rebuilt.
      	* aclocal.m4: Rebuilt.
      	* Makefile.in: Rebuilt.
      
      	* configure.tgt: Rename have_tls to gcc_cv_have_tls to match
      	2007-10-15 ../config/tls.m4 change.
      
      From-SVN: r131399
      Jakub Jelinek committed
    • re PR middle-end/34694 (Wrong line number for uninitialized variable) · c90eee44
      	PR middle-end/34694
      	* omp-low.c (copy_var_decl): Copy also DECL_SOURCE_LOCATION.
      
      	* gcc.dg/gomp/pr34694.c: New test.
      	* g++.dg/gomp/pr34694.C: New test.
      
      From-SVN: r131398
      Jakub Jelinek committed
    • re PR c++/33890 (ICE in tsubst_copy with OpenMP) · b2ebd268
      	PR c++/33890
      	* semantics.c (finish_omp_for): Don't call
      	fold_build_cleanup_point_expr if processing_template_decl.
      
      	* g++.dg/gomp/pr33890.C: New test.
      
      From-SVN: r131397
      Jakub Jelinek committed
    • re PR fortran/34476 (Parameters: Bogus out of bounds error in array constructor) · 0c6ce8b0
      2008-01-08  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/34476
      	* expr.c (find_array_element): Check that the array bounds are
      	constant before using them.  Use lower, as well as upper bound.
      	(check_restricted): Allow implied index variable.
      
      2008-01-08  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/34476
      	* gfortran.dg/parameter_array_init_3.f90: New test.
      
      From-SVN: r131396
      Paul Thomas committed
    • re PR fortran/34681 (SAVEd derived type with allocatable components causes ICE) · 3672065a
      2008-01-08  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/34681
      	* trans_array.c (gfc_trans_deferred_array): Do not null the
      	data pointer on entering scope, nor deallocate it on leaving
      	scope, if the symbol has the 'save' attribute.
      
      	PR fortran/34704
      	* trans_decl.c (gfc_finish_var_decl): Derived types with
      	allocatable components and an initializer must be TREE_STATIC.
      
      2008-01-08  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/34681
      	PR fortran/34704
      	* gfortran.dg/alloc_comp_default_init_1.f90: New test.
      
      From-SVN: r131395
      Paul Thomas committed