1. 21 Jan, 2010 3 commits
    • var-tracking.c (check_value_val): Add a compile time assertion. · a85caf9e
      	* var-tracking.c (check_value_val): Add a compile time assertion.
      	(dv_is_decl_p): Simplify.
      	(dv_as_decl, dv_as_value, dv_from_decl, dv_from_value): Only use
      	gcc_assert if ENABLE_CHECKING.
      
      From-SVN: r156101
      Jakub Jelinek committed
    • Daily bump. · a22d08aa
      From-SVN: r156100
      GCC Administrator committed
    • re PR libstdc++/42201 ([C++0x] std::vector<std::unique_future<T>>::push_back fails) · b3eed6fe
      2010-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
              PR libstdc++/42201
      	* include/std/future: Update to latest WP.
      	* src/functexcept.cc (__throw_future_error): Use make_error_code.
      	* testsuite/30_threads/async/any.cc: New.
      	* testsuite/30_threads/async/async.cc: New.
      	* testsuite/30_threads/async/sync.cc: New.
      	* testsuite/30_threads/packaged_task/cons/alloc.cc: New.
      	* testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
      	* testsuite/30_threads/packaged_task/cons/copy_neg.cc: Adjust.
      	* testsuite/30_threads/packaged_task/members/get_future.cc: Adjust.
      	* testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise.
      	* testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
      	* testsuite/30_threads/packaged_task/members/invoke2.cc: Adjust.
      	* testsuite/30_threads/packaged_task/members/invoke3.cc: Adjust.
      	* testsuite/30_threads/packaged_task/members/invoke4.cc: Adjust.
      	* testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
      	* testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
      	* testsuite/30_threads/shared_future/cons/assign_neg.cc: Remove.
      	* testsuite/30_threads/shared_future/cons/default_neg.cc: Remove.
      	* testsuite/30_threads/shared_future/cons/default.cc: New.
      	* testsuite/30_threads/shared_future/cons/assign.cc: New.
      	* testsuite/30_threads/shared_future/cons/copy.cc: Adjust.
      	* testsuite/30_threads/shared_future/cons/move.cc: Adjust.
      	* testsuite/30_threads/shared_future/cons/move_assign.cc: New.
      	* testsuite/30_threads/shared_future/members/is_ready.cc: Remove.
      	* testsuite/30_threads/shared_future/members/has_value.cc: Remove.
      	* testsuite/30_threads/shared_future/members/has_exception.cc: Remove.
      	* testsuite/30_threads/shared_future/members/valid.cc: New.
      	* testsuite/30_threads/unique_future/cons/default_neg.cc: Remove.
      	* testsuite/30_threads/unique_future/cons/default.cc: New.
      	* testsuite/30_threads/unique_future/cons/move_assign.cc: New.
      	* testsuite/30_threads/unique_future/cons/assign_neg.cc: Adjust.
      	* testsuite/30_threads/unique_future/cons/copy_neg.cc: Adjust.
      	* testsuite/30_threads/unique_future/cons/move.cc: Adjust.
      	* testsuite/30_threads/unique_future/requirements/
              explicit_instantiation.cc: Adjust.
      	* testsuite/30_threads/unique_future/members/is_ready.cc: Remove.
      	* testsuite/30_threads/unique_future/members/has_value.cc: Remove.
      	* testsuite/30_threads/unique_future/members/has_exception.cc: Remove.
      	* testsuite/30_threads/unique_future/members/valid.cc: New.
      	* testsuite/30_threads/unique_future/members/get.cc: Adjust.
      	* testsuite/30_threads/unique_future/members/get2.cc: Adjust.
      	* testsuite/30_threads/unique_future/members/wait.cc: Adjust.
      	* testsuite/30_threads/unique_future/members/wait_for.cc: Adjust.
      	* testsuite/30_threads/unique_future/members/wait_until.cc: Adjust.
      	* testsuite/30_threads/headers/future/types_std_c++0x.cc: Adjust.
      	* testsuite/30_threads/promise/cons/alloc.cc: New.
      	* testsuite/30_threads/promise/cons/assign_neg.cc: Adjust.
      	* testsuite/30_threads/promise/cons/copy_neg.cc: Adjust.
      	* testsuite/30_threads/promise/cons/move.cc: Adjust.
      	* testsuite/30_threads/promise/cons/move_assign.cc: Adjust.
      	* testsuite/30_threads/promise/members/get_future.cc: Adjust.
      	* testsuite/30_threads/promise/members/set_value.cc: Adjust.
      	* testsuite/30_threads/promise/members/set_exception.cc: Adjust.
      	* testsuite/30_threads/promise/members/set_exception2.cc: Adjust.
      	* testsuite/30_threads/promise/members/set_value2.cc: Adjust.
      	* testsuite/30_threads/promise/members/set_value3.cc: Adjust.
      	* testsuite/30_threads/promise/members/swap.cc: Adjust.
      
      From-SVN: r156097
      Jonathan Wakely committed
  2. 20 Jan, 2010 24 commits
  3. 19 Jan, 2010 13 commits
    • re PR fortran/42804 (ICE with -fcheck=bounds and type bound procedure call on array element) · 63894de2
      gcc/fortran/
      2010-01-19  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/42804
      	* resolve.c (extract_compcall_passed_object): Set locus for
      	passed-object argument.
      	(extract_ppc_passed_object): Set locus and correctly remove PPC
      	reference.
      
      gcc/testsuite/
      2010-01-19  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/42804
      	* gfortran.dg/proc_ptr_comp_pass_6.f90: New test.
      	* gfortran.dg/typebound_call_12.f03: New test.
      
      From-SVN: r156049
      Janus Weil committed
    • re PR fortran/42783 (Bogus Array bounds violation with optional array argument) · 702a738b
      2010-01-19  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/42783
      	* trans-decl.c (add_argument_checking): Do not use the backend
      	decl directly to test for the presence of an optional dummy
      	argument.  Use gfc_conv_expr_present, remembering to set the
      	symbol referenced.
      
      	PR fortran/42772
      	* trans-decl.c (gfc_generate_function_code): Small white space
      	changes. If 'recurcheckvar' is NULL do not try to reset it.
      
      2010-01-19  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/42783
      	* gfortran.dg/bounds_check_15.f90 : New test.
      
      From-SVN: r156046
      Paul Thomas committed
    • 2010-01-19 Matthias Klose <doko@ubuntu.com> · a4f3bbc6
              * Regenerate .class files.
              * classpath/lib/java/security/VMSecureRandom*.class: Remove.
      
      From-SVN: r156044
      Matthias Klose committed
    • re PR tree-optimization/41783 (r151561 (PRE fix) regresses zeusmp) · b61b1f17
      	PR tree-optimization/41783
      	* tree-data-ref.c (toplevel): Include flags.h.
      	(dump_data_dependence_relation):  Also dump the inputs if the
      	result will be unknown.
      	(split_constant_offset_1): Look through some conversions.
      	* tree-predcom.c (determine_roots_comp): Restart a new chain if
      	the offset from last element is too large.
      	(ref_at_iteration): Deal also with MISALIGNED_INDIRECT_REF.
      	(reassociate_to_the_same_stmt): Handle vector registers.
      	* tree-vect-data-refs.c (vect_equal_offsets): Handle unary operations
      	(e.g. conversions).
      	* tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop): Add 
      	wide_prolog_niters argument, emit widening instructions.
      	(vect_do_peeling_for_alignment): Adjust caller, use widened
      	variant of the iteration cound.
      	* Makefile.in (tree-data-ref.o): Add $(FLAGS_H).
      
      testsuite/
      	* gfortran.dg/vect/fast-math-mgrid-resid.f: New.
      
      From-SVN: r156043
      Michael Matz committed
    • Fix target/38697 · b3d7e191
      2010-01-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
             PR target/38697
             * config/arm/neon-testgen.m (emit_automatics): New parameter
      	features. Adjust for Fixed_return_reg feature.
      	(test_intrinsic): Call emit_automatics with new feature.
             * config/arm/neon.ml: Update copyright years.
      	(features): New Fixed_return_reg feature.
      	(ops): Update feature for Vget_low.
      
      2010-01-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
      	PR target/38697.
      	* gcc.target/arm/neon/vget_lowf32.c: Regenerate.
      	* gcc.target/arm/neon/vget_lowp16.c: Likewise.
      	* gcc.target/arm/neon/vget_lowp8.c:  Likewise.
      	* gcc.target/arm/neon/vget_lows16.c: Likewise.
      	* gcc.target/arm/neon/vget_lows32.c: Likewise.
      	* gcc.target/arm/neon/vget_lows64.c: Likewise.
      	* gcc.target/arm/neon/vget_lows8.c: Likewise.
      	* gcc.target/arm/neon/vget_lowu16.c: Likewise.
      	* gcc.target/arm/neon/vget_lowu32.c: Likewise.
      	* gcc.target/arm/neon/vget_lowu64.c: Likewise.
      	* gcc.target/arm/neon/vget_lowu8.c: Likewise.
      
      From-SVN: r156042
      Ramana Radhakrishnan committed
    • re PR fortran/42545 (type extension: parent component has wrong accessibility) · f89cc1a3
      gcc/fortran/
      2010-01-19  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/42545
      	* resolve.c (resolve_fl_derived): Set the accessibility of the parent
      	component for extended types.
      	* symbol.c (gfc_find_component): Remove a wrongly-worded error message
      	and take care of parent component accessibility.
      
      gcc/testsuite/
      2010-01-19  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/42545
      	* gfortran.dg/extends_6.f03: Modified an error message.
      	* gfortran.dg/extends_10.f03: New test.
      	* gfortran.dg/private_type_6.f03: Modified an error message.
      	* gfortran.dg/structure_constructor_8.f03: Ditto.
      
      From-SVN: r156040
      Janus Weil committed
    • re PR tree-optimization/42719 ("-fcompare-debug failure" with "-O2 -ftracer") · d6600130
      	PR tree-optimization/42719
      	* tree-outof-ssa.c (trivially_conflicts_p): Don't consider debug
      	stmt uses.
      
      	* gcc.dg/pr42719.c: New test.
      
      From-SVN: r156038
      Jakub Jelinek committed
    • re PR debug/42728 ("-fcompare-debug failure (length)" at -O1) · 2178b0f9
      	PR debug/42728
      	* fwprop.c (all_uses_available_at): Return false if def_set dest
      	is a REG that is used in def_insn.
      
      	* gcc.dg/pr42728.c: New test.
      
      From-SVN: r156037
      Jakub Jelinek committed
    • re PR libstdc++/42712 (search_n/iterator.cc times out in parallel-mode) · 70202e48
      2010-01-19  Johannes Singler  <singler@kit.edu>
      
              PR libstdc++/42712
              * include/parallel/settings.h (_Settings): Add search_minimal_n.
              * include/parallel/algo.h (__search_switch):
              Add serial fallback for too small inputs.
              (__search_n_switch): Likewise.  Call serial fallback on higher level
              to gain special treatment for __count 0 or 1.
              * testsuite/25_algorithms/search_n/iterator.cc:
              Reenable full test depth for parallel mode.
      
      From-SVN: r156036
      Johannes Singler committed
    • target.h (struct gcc_target): Change type of last argument to secondary_reload_info *. · f7154d49
      	* target.h (struct gcc_target) <secondary_reload>: Change type
      	of last argument to secondary_reload_info *.
      
      From-SVN: r156035
      Joern Rennecke committed
    • tm.texi (TARGET_FIXED_CONDITION_CODE_REGS): Add argument names. · ab7e224a
      	* doc/tm.texi (TARGET_FIXED_CONDITION_CODE_REGS): Add argument names.
      
      	(TARGET_CC_MODES_COMPATIBLE): Put return value in braces.
      	Add argument names.
      
      	(TARGET_SCHED_INIT_SCHED_CONTEXT): Clarify language.
      
      From-SVN: r156034
      Joern Rennecke committed
    • Expect 20040204-1 to pass on moxie. · 547cc7ee
      From-SVN: r156033
      Anthony Green committed
    • Fix asm-3.c test for moxie. · 5923a165
      From-SVN: r156032
      Anthony Green committed