1. 03 Nov, 2009 5 commits
    • re PR target/41900 (call *%esp shouldn't be generated because of CPU errata) · 55a19d49
      	PR target/41900
      	* config/i386/i386.h (ix86_arch_indices) <X86_ARCH_CALL_ESP>: New.
      	(TARGET_CALL_ESP): New define.
      	* config/i386/i386.c (initial_ix86_tune_features): Initialize
      	X86_ARCH_CALL_ESP.
      	* config/i386/i386.md 
      	(*call_pop_1_esp, *call_1_esp, *call_value_pop_1_esp,
      	*call_value_1_esp): Rename from *call_pop_1, *call_1,
      	*call_value_pop_1 and *call_value_1.  Depend on TARGET_CALL_ESP.
      	(*call_pop_1, *call_1, *call_value_pop_1, *call_value_1):
      	New patterns, use "lsm" as operand 1 constraint.
      	* config/i386/predicates.md (call_insn_operand): Depend on 
      	index_register_operand for !TARGET_CALL_ESP to avoid %esp register.
      
      testsuite/ChangeLog:
      
      	PR target/41900
      	* gcc.target/i386/pr41900.c: New test.
      
      From-SVN: r153838
      Uros Bizjak committed
    • future: Use base class with nested types. · c36abf03
      2009-11-02  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/std/future: Use base class with nested types.
      	(__future_base): New.
      	(__future_base::_Result_base): From _Future_result_base.
      	(__future_base::_Result): From _Future_result.
      	(__future_base::_Move_result): From _Move_future_result.
      	(__future_base::_Ptr): From _Future_ptr.
      	(__future_base::_State): From _Future_state.
      	(__basic_future): From _Future_impl.
      	* testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust line
      	numbers.
      	* testsuite/30_threads/packaged_task/cons/copy_neg.cc: Same.
      	* testsuite/30_threads/shared_future/cons/assign_neg.cc: Same.
      	* testsuite/30_threads/unique_future/cons/assign_neg.cc: Same.
      	* testsuite/30_threads/unique_future/cons/copy_neg.cc: Same.
      	* testsuite/30_threads/promise/cons/assign_neg.cc: Same.
      	* testsuite/30_threads/promise/cons/copy_neg.cc: Same.
      
      From-SVN: r153834
      Benjamin Kosnik committed
    • MAINTAINERS: Add Jonathan Wakely under Various Maintainers... · c393f559
      2009-11-02  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* MAINTAINERS: Add Jonathan Wakely under Various Maintainers, move
      	Phil Edwards to Write-After Approval.
      
      From-SVN: r153833
      Benjamin Kosnik committed
    • Daily bump. · 34c31d44
      From-SVN: r153832
      GCC Administrator committed
  2. 02 Nov, 2009 16 commits
  3. 01 Nov, 2009 8 commits
    • tree.def (TARGET_MEM_REF): Update comment. · ebcc3d93
      	* tree.def (TARGET_MEM_REF): Update comment.
      	* alias.c (get_alias_set): Retrieve the original memory reference for
      	a TARGET_MEM_REF before proceeding.
      
      From-SVN: r153796
      Eric Botcazou committed
    • [multiple changes] · 958dd42b
      2009-11-01  Tobias Burnus  <burnus@net-b.de>                                            
      
              PR fortran/41872
              * trans-decl.c (gfc_trans_deferred_vars): Do not nullify
              autodeallocated allocatable scalars at the end of scope.
              (gfc_generate_function_code): Fix indention.
              * trans-expr.c (gfc_conv_procedure_call): For allocatable
              scalars, fix calling by reference and autodeallocating
              of intent out variables.
      
      2009-11-01  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41872
              * gfortran.dg/allocatable_scalar_4.f90: New test.
      
      From-SVN: r153795
      Tobias Burnus committed
    • re PR fortran/41850 (Wrong-code with optional allocatable arrays) · 745ff31f
      2009-11-01  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41850
              * trans-expr.c (gfc_conv_procedure_call): Deallocate intent-out
              variables only when present. Remove unneccessary present check.
      
      2009-11-01  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41850
              * gfortran.dg/intent_out_6.f90: New testcase.
      
      From-SVN: r153793
      Tobias Burnus committed
    • tree.c (cv_unqualified): New fn. · 164247b0
      	* tree.c (cv_unqualified): New fn.
      	* cp-tree.h: Declare it.
      	* typeck.c (decay_conversion): Use it instead of TYPE_MAIN_VARIANT.
      
      From-SVN: r153790
      Jason Merrill committed
    • * rtti.c (tinfo_name): Fix lengths for private case. · c86f25e8
      From-SVN: r153789
      Jason Merrill committed
    • re PR c++/41754 (initializer list internal compiler segfault) · 691a1b27
      	PR c++/41754
      	* call.c (compare_ics): Avoid bad union use when
      	comparing two ck_lists.
      
      From-SVN: r153788
      Jason Merrill committed
    • chrono (struct __common_rep_type): New. · cc1e2504
      2009-10-31  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/std/chrono (struct __common_rep_type): New.
      	(duration_cast(const duration<>&),
      	duration<>::duration(const _Rep2&),
      	duration<>::duration(const duration<>&),
      	operator*(const duration<>&, const _Rep2&),
      	operator*(const _Rep1&, const duration<>&),
      	operator/(const duration<>&, const _Rep2&),
      	time_point_cast(const time_point<>&)): Implement resolution of
      	DR 1177 ([Ready] in Santa Cruz), change to not participate to
      	overload resolution if the constraints are not met. 
      	* testsuite/20_util/duration/cons/1_neg.cc: Adjust dg-errors.
      	* testsuite/20_util/duration/cons/dr974.cc: Likewise.
      	* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust
      	dg-error line numbers.
      	* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
      	* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
      
      From-SVN: r153787
      Paolo Carlini committed
    • Daily bump. · 5645baec
      From-SVN: r153786
      GCC Administrator committed
  4. 31 Oct, 2009 8 commits
  5. 30 Oct, 2009 3 commits
    • PR libfortran/41219 Fix build warnings · 23db9913
      From-SVN: r153769
      Janne Blomqvist committed
    • mangle.c (mangle_type_string_for_rtti): Reapply 153734. · 52669d59
      /gcc/cp
      2009-10-30  Jerry Quinn  <jlquinn@optonline.net>
      
      	* mangle.c (mangle_type_string_for_rtti): Reapply 153734.
      	(needs_fake_anon): Likewise.
      	(write_name): Likewise.
      	(write_nested_name): Likewise.
      	* cp-tree.h (mangle_type_string_for_rtti): Likewise.
      	(get_anonymous_namespace): Likewise.
      	* name-lookup.c (get_anonymous_namespace_name): Likewise.
      	* rtti.c (tinfo_name): Likewise, with +1 in the second 
      	build_string call fixed.
      	(tinfo_base_init): Likewise.
      
      libstdc++/
      2009-10-30  Jerry Quinn  <jlquinn@optonline.net>
      
      	* libsupc++/tinfo.cc (operator=(const type_info&)): Reapply 153734.
      	* libsupc++/typeinfo (type_info::name()): Likewise.
      	* libsupc++/tinfo2.cc (before):  Likewise.
      
      From-SVN: r153768
      Jerry Quinn committed
    • random.h: Fix typo in static_assert text. · a20c8540
      2009-10-30  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/random.h: Fix typo in static_assert text.
      
      From-SVN: r153767
      Paolo Carlini committed