1. 09 Oct, 2007 24 commits
  2. 08 Oct, 2007 16 commits
    • re PR tree-optimization/33572 (wrong code with -O) · 90834304
      PR tree-optimization/33572
      * g++.dg/torture/pr33572.C: Replace with complete test.
      
      From-SVN: r129144
      Alexandre Oliva committed
    • tree-sra.c (scalarize_lsdt): Fix thinko in testing whether the original stmt can throw. · 43fd2310
      * tree-sra.c (scalarize_lsdt): Fix thinko in testing whether
      the original stmt can throw.
      
      From-SVN: r129143
      Alexandre Oliva committed
    • base.h: Added plus and multiplies functor for differently typed objects. · 0e6c9eaa
      2007-10-08  Johannes Singler  <singler@ira.uka.de>
      
      	* include/parallel/base.h: Added plus and multiplies functor
             for differently typed objects.
      	* include/parallel/numeric: Use it.
      	* include/parallel/for_each_selectors.h: Allowed different types.
      	* include/parallel/partial_sum.h: Fixed return value.
      	* testsuite/26_numerics/accumulate/1.cc: Tests for accumulate.
      	* testsuite/26_numerics/inner_product/1.cc: Tests for inner_product.
      
      From-SVN: r129140
      Johannes Singler committed
    • re PR fortran/33689 ([Regression 4.3] Array with constant bound rejected as automatic array) · 9de88093
      PR fortran/33689
      fortran/
      * resolve.c (gfc_resolve_expr): Fix indentation.
      (resolve_fl_variable_derived): Rename argument.
      (resolve_fl_variable): Fix case in message.  Clarify logic.
      Correctly simplify array bounds.
      testsuite/
      * gfortran.dg/spec_expr_5.f90: New.
      
      From-SVN: r129139
      Tobias Schlüter committed
    • stl_move.h (_GLIBCXX_MOVE): Add. · d98f312c
      2007-10-08  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/stl_move.h (_GLIBCXX_MOVE): Add.
      	* include/bits/stl_algobase.h: Adjust.
      	* include/bits/stl_pair.h: Likewise.
      
      	* include/bits/stl_algo.h: Minor formatting fixes.
      
      From-SVN: r129138
      Paolo Carlini committed
    • darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Register '#pragma mark' to be… · 0dd6a144
      darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Register '#pragma mark' to be executed at preprocessing time.
      
      	* config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Register
      	'#pragma mark' to be executed at preprocessing time.
      
      From-SVN: r129134
      Geoffrey Keating committed
    • varasm.c (compare_constant): Removed call to lang_hooks.expand_constant. · 6524147c
      	gcc/
      	* varasm.c (compare_constant): Removed call to
      	lang_hooks.expand_constant.
      	(copy_constants): Removed call to lang_hooks.expand_constant.
      	(compute_reloc_for_constant): Removed call to
      	lang_hooks.expand_constant.
      	(output_addressed_constants): Removed call to
      	lang_hooks.expand_constant.
      	(constructor_static_from_elts_p): Removed call to
      	lang_hooks.expand_constant.
      	(output_constant): Removed calls to lang_hooks.expand_constant.
      	* langhooks.h (struct lang_hooks): Removed field expand_constant.
      	* langhooks-def.h (lhd_return_tree): Removed.
      	(LANG_HOOKS_EXPAND_CONSTANT): Removed.
      	(LANG_HOOKS_INITIALIZER): Removed LANG_HOOKS_EXPAND_CONSTANT.
      	* langhooks.c (lhd_return_tree): Removed.
      
      	gcc/cp/
      	* typeck2.c (digest_init): Call cplus_expand_constant after
      	convert_for_initialization.
      	* cp-objcp-common.h (LANG_HOOKS_EXPAND_CONSTANT): Removed.
      	* expr.c (cplus_expand_constant): Updated function description.
      
      	gcc/ada/
      	* misc.c (LANG_HOOKS_PUSHDECL): Replaced lhd_return_tree with
      	gnat_return_tree.
      	(gnat_init_gcc_eh): Replaced gnat_eh_runtime_type with
      	gnat_return_tree.
      	(gnat_eh_runtime_type): Removed.
      	(gnat_return_tree): New function.
      
      From-SVN: r129133
      Ollie Wild committed
    • re PR libstdc++/33489 (parallel v3: not default constructible issues) · a222efd8
      2007-10-08  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/33489	
      	* include/parallel/multiseq_selection.h: Remove default constructed
      	value_type.
      	* include/parallel/partition.h: 
      	* include/parallel/partial_sum.h: Format.
      
      From-SVN: r129132
      Benjamin Kosnik committed
    • combine.c (setup_incoming_promotions): Ensure that arguments that have not… · b4d4a7d4
      combine.c (setup_incoming_promotions): Ensure that arguments that have not undergone mode promotions do not...
      
      	gcc/
      	* combine.c (setup_incoming_promotions): Ensure that
      	arguments that have not undergone mode promotions do not
      	incorrectly get marked as being sign- or zero-extended.
      
      From-SVN: r129131
      Mark Shinwell committed
    • re PR middle-end/33693 (Type checking error with bitwise xor/and) · bd113227
      2007-10-08  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/33693
      	PR middle-end/33695
      	PR middle-end/33697
      	* fold-const.c (fold_binary): Use correct types in folding
      	of a * (1 << b) to (a << b).  Likewise for ~A & ~B to ~(A | B)
      	and building of RROTATE_EXPR.
      
      	* gcc.dg/pr33693.c: New testcase.
      	* gcc.dg/pr33695.c: Likewise.
      	* gcc.dg/pr33697.c: Likewise.
      
      From-SVN: r129130
      Richard Guenther committed
    • parallel_mode.html: Added reference to MCSTL. · 1904bef1
              * docs/html/parallel_mode.html: Added reference to MCSTL.
              More documentation on compile-time settings and tuning.
              * include/parallel/multiway_merge.h: Added reference to paper.
              * include/parallel/multiseq_selection.h: Added reference to paper.
              * include/parallel/workstealing.h: Added reference to paper.
              * include/parallel/balanced_quicksort.h: Added reference to paper.
              * include/parallel/tree.h: Added reference to paper.
      
      From-SVN: r129129
      Johannes Singler committed
    • re PR middle-end/33691 (Type checking error with bitwise and/or) · 8174836f
      2007-10-08  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/33691
      	PR middle-end/33694
      	PR middle-end/33696
      	* fold-const.c (fold_binary): Use the correct types when
      	folding (A | CST1) & CST2 to (A & CST2) | (CST1 & CST2).
      	(fold_binary): Use the correct types when folding
      	(-A) - B to (-B) - A.
      	(fold_unary): Use the correct types when folding ~(X).
      
      	* gcc.dg/pr33691.c: New testcase.
              * gcc.dg/pr33694.c: Likewise.
              * gcc.dg/pr33696.c: Likewise.
      
      From-SVN: r129128
      Richard Guenther committed
    • invoke.texi (Wall): fix formatting issues. · 7b6cb843
      2007-10-08  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
       * doc/invoke.texi (Wall): fix formatting issues.
      
      contrib/
       * texi2pod.pl: Handle @asis.
       (postprocess): Move @gccoptlist{} after all formatting commands.
      
      From-SVN: r129125
      Manuel López-Ibáñez committed
    • [multiple changes] · 1476e59c
      2007-10-08  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/std/utility (identity, move, forward): Move to...
      	* include/bits/stl_move.h: ... here.
      	* include/Makefile.am: Add.
      	* include/bits/stl_algobase.h: Include the latter.
      	* include/Makefile.in: Regenerate.
      	* testsuite/20_util/pair/moveable.cc: Remove dg-require-rvalref.
      
      2007-10-08  Chris Jefferson  <chris@bubblescope.net>
      	    Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/stl_pair.h (pair<>:pair(pair&&),
      	pair<>::operator=(pair&&)): Add.
      
      From-SVN: r129124
      Paolo Carlini committed
    • [multiple changes] · 6c5f0578
      2007-10-08  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/std/utility (identity, move, forward): Move to...
      	* include/bits/stl_move.h: ... here.
      	* include/Makefile.am: Add.
      	* include/bits/stl_algobase.h: Include the latter.
      	* include/Makefile.in: Regenerate.
      	* testsuite/20_util/pair/moveable.cc: Remove dg-require-rvalref.
      
      2007-10-08  Chris Jefferson  <chris@bubblescope.net>
      	    Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/stl_pair.h (pair<>:pair(pair&&),
      	pair<>::operator=(pair&&)): Add.
      
      From-SVN: r129123
      Paolo Carlini committed
    • configure.ac (CFLAGS_FOR_BUILD, [...]): Default them to host flags only for $host = $build. · f019adc1
      * configure.ac (CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD): Default them to host flags only
        for $host = $build.
        Set default CXXFLAGS_FOR_BUILD to CXXFLAGS, not CFLAGS.
        Set default LDFLAGS_FOR_BUILD to LDFLAGS, not CFLAGS.
      * configure: Regenerate.
      
      From-SVN: r129122
      Mike Frysinger committed