1. 16 Jun, 2013 5 commits
    • re PR libstdc++/57263 (std::set with user-defined allocator - compile error) · f038f582
      	PR libstdc++/57263
      	* include/bits/forward_list.h (_Fwd_list_base): Convert to/from
      	allocator's pointer type.
      	* include/bits/hashtable.h (_Hashtable): Likewise.
      	* testsuite/util/testsuite_allocator.h (CustomPointerAlloc): Add.
      	* testsuite/23_containers/forward_list/allocator/ext_ptr.cc: New.
      	* testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: New.
      	* testsuite/23_containers/vector/allocator/ext_ptr.cc: New.
      
      From-SVN: r200136
      Jonathan Wakely committed
    • shared_mutex: Implement N3659. · 8d2cddc1
      	* include/std/shared_mutex: Implement N3659.
      	* include/bits/c++14_warning.h: New.
      	* include/Makefile.am: Add new headers.
      	* include/Makefile.in: Regenerate.
      	* testsuite/30_threads/shared_lock/cons/1.cc: New.
      	* testsuite/30_threads/shared_lock/locking/2.cc: New.
      	* testsuite/30_threads/shared_lock/cons/2.cc: New.
      	* testsuite/30_threads/shared_lock/locking/3.cc: New.
      	* testsuite/30_threads/shared_lock/cons/3.cc: New.
      	* testsuite/30_threads/shared_lock/locking/4.cc: New.
      	* testsuite/30_threads/shared_lock/cons/4.cc: New.
      	* testsuite/30_threads/shared_lock/modifiers/1.cc: New.
      	* testsuite/30_threads/shared_lock/cons/5.cc: New.
      	* testsuite/30_threads/shared_lock/modifiers/2.cc: New.
      	* testsuite/30_threads/shared_lock/cons/6.cc: New.
      	* testsuite/30_threads/shared_lock/requirements/
      	explicit_instantiation.cc: New.
      	* testsuite/30_threads/shared_lock/locking/1.cc: New.
      	* testsuite/30_threads/shared_lock/requirements/typedefs.cc: New.
      	* testsuite/30_threads/shared_mutex/cons/1.cc: New.
      	* testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
      	* testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
      	* testsuite/30_threads/shared_mutex/requirements/
      	standard_layout.cc: New.
      	* testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
      	* testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
      
      From-SVN: r200134
      Jonathan Wakely committed
    • re PR rtl-optimization/57425 (RTL alias analysis unprepared to handle stack slot sharing) · 393f9fed
      gcc:
      	PR rtl-optimization/57425
      	PR rtl-optimization/57569
      	* alias.c (write_dependence_p): Add new parameters mem_size,
      	canon_mem_addr and mem_canonicalized.  Change type of writep to bool.
      	Changed all callers.
      	(canon_anti_dependence): New function.
      	* cse.c (check_dependence): Use canon_anti_dependence.
      	* cselib.c (cselib_invalidate_mem): Likewise.
      	* rtl.h (canon_anti_dependence): Declare.
      gcc/testsuite:
      	PR rtl-optimization/57425
      	PR rtl-optimization/57569
      	* gcc.dg/torture/pr57425-1.c, gcc.dg/torture/pr57425-2.c: New files.
      	* gcc.dg/torture/pr57425-3.c, gcc.dg/torture/pr57569.c: Likewise.
      Index: alias.c
      ===================================================================
      --- alias.c	(revision 200126)
      
      From-SVN: r200133
      Joern Rennecke committed
    • mips.h (ISA_HAS_LL_SC): Exclude TARGET_MIPS5900. · b259d352
      gcc/
      2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
      
      	* config/mips/mips.h (ISA_HAS_LL_SC): Exclude TARGET_MIPS5900.
      	* config/mips/mips.c (mips_start_ll_sc_sync_block): Output
      	".set mips3" for 64-bit targets.
      
      From-SVN: r200132
      Jürgen Urban committed
    • Daily bump. · 6f9c3445
      From-SVN: r200131
      GCC Administrator committed
  2. 15 Jun, 2013 4 commits
    • re PR fortran/49074 ([OOP] Defined assignment w/ CLASS arrays: Incomplete error message) · e3f62a5a
      fortran/
      	PR fortran/49074
      	PR fortran/56136
      	* dependency.c (gfc_check_argument_var_dependency): Return 0 in the
      	array constructor case.
      
      testsuite/
      	PR fortran/49074
      	PR fortran/56136
      	* gfortran.dg/typebound_assignment_5.f03: Check the absence of any
      	packing.
      	* gfortran.dg/typebound_assignment_6.f03: New.
      
      From-SVN: r200128
      Mikael Morin committed
    • tree-flow.h (gimple_check_call_matching_types): Add new argument. · 4de09b85
      2013-06-15  Dehao Chen  <dehao@google.com>
      
      	* tree-flow.h (gimple_check_call_matching_types): Add new argument.
      	* gimple-low.c (gimple_check_call_matching_types): Likewise.
      	(gimple_check_call_args): Likewise.
      	* value-prof.c (check_ic_target): Likewise.
      	* ipa-inline.c (early_inliner): Likewise.
      	* ipa-prop.c (update_indirect_edges_after_inlining): Likewise.
      	* cgraph.c (cgraph_create_edge_1): Likewise.
      	(cgraph_make_edge_direct): Likewise.
      
      From-SVN: r200125
      Dehao Chen committed
    • h8300.exp: New. · 58aee036
      	* gcc.target/h8300/h8300.exp: New.
      	* gcc.dg/pragma-isr.c: Move to ...
      	* gcc.target/sh/torture/pragma-isr.c: ... here ...
      	* gcc.target/h8300/pragma-isr.c: ... and here.
      	* gcc.dg/pragma-isr2.c: Move to ...
      	* gcc.target/sh/torture/pragma-isr2.c: ... here ...
      	* gcc.target/h8300/pragma-isr2.c: ... and here.
      	* gcc.dg/pragma-isr-trapa.c: Move to ...
      	* gcc.target/sh/pragma-isr-trapa.c: ... here.
      	* gcc.dg/pragma-isr-trapa2.c: Move to ...
      	* gcc.target/sh/pragma-isr-trapa2.c: ... here.
      	* gcc.dg/pragma-isr-trap_exit.c: Move to ...
      	* gcc.target/sh/pragma-isr-trap-exit.c: ... here.
      	* gcc.dg/pragma-isr-nosave_low_regs.c: Move to ...
      	* gcc.target/sh/pragma-isr-nosave_low_regs.c: ... here.
      	* gcc.dg/attr-isr-nosave_low_regs.c: Move to ...
      	* gcc.target/sh/attr-isr-nosave_low_regs.c: ... here.
      	* gcc.dg/attr-isr-trap_exit.c: Move to ...
      	* gcc.target/sh/attr-isr-trap_exit.c: ... here.
      	* gcc.dg/attr-isr-trapa.c: Move to ...
      	* gcc.target/sh/attr-isr-trapa.c: ... here.
      
      From-SVN: r200117
      Oleg Endo committed
    • Daily bump. · 5042e37c
      From-SVN: r200116
      GCC Administrator committed
  3. 14 Jun, 2013 14 commits
  4. 13 Jun, 2013 15 commits
  5. 12 Jun, 2013 2 commits
    • rs6000.c (emit_load_locked): Add support for power8 byte, half-word, and… · 4b02c962
      rs6000.c (emit_load_locked): Add support for power8 byte, half-word, and quad-word atomic instructions.
      
      [gcc]
      2013-06-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
      	    Pat Haugen <pthaugen@us.ibm.com>
      	    Peter Bergner <bergner@vnet.ibm.com>
      
      	* config/rs6000/rs6000.c (emit_load_locked): Add support for
      	power8 byte, half-word, and quad-word atomic instructions.
      	(emit_store_conditional): Likewise.
      	(rs6000_expand_atomic_compare_and_swap): Likewise.
      	(rs6000_expand_atomic_op): Likewise.
      
      	* config/rs6000/sync.md (larx): Add new modes for power8.
      	(stcx): Likewise.
      	(AINT): New mode iterator to include TImode as well as normal
      	integer modes on power8.
      	(fetchop_pred): Use int_reg_operand instead of gpc_reg_operand so
      	that VSX registers are not considered.  Use AINT mode iterator
      	instead of INT1 to allow inclusion of quad word atomic operations
      	on power8.
      	(load_locked<mode>): Likewise.
      	(store_conditional<mode>): Likewise.
      	(atomic_compare_and_swap<mode>): Likewise.
      	(atomic_exchange<mode>): Likewise.
      	(atomic_nand<mode>): Likewise.
      	(atomic_fetch_<fetchop_name><mode>): Likewise.
      	(atomic_nand_fetch<mode>): Likewise.
      	(mem_thread_fence): Use gen_loadsync_<mode> instead of enumerating
      	each type.
      	(ATOMIC): On power8, add QImode, HImode modes.
      	(load_locked<QHI:mode>_si): Varients of load_locked for QI/HI
      	modes that promote to SImode.
      	(load_lockedti): Convert TImode arguments to PTImode, so that we
      	get a guaranteed even/odd register pair.
      	(load_lockedpti): Likewise.
      	(store_conditionalti): Likewise.
      	(store_conditionalpti): Likewise.
      
      	* config/rs6000/rs6000.md (QHI): New mode iterator for power8
      	atomic load/store instructions.
      	(HSI): Likewise.
      
      [gcc/testsuite]
      2013-06-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
      	    Pat Haugen <pthaugen@us.ibm.com>
      	    Peter Bergner <bergner@vnet.ibm.com>
      
      	* gcc.target/powerpc/atomic-p7.c: New file, add tests for atomic
      	load/store instructions on power7, power8.
      	* gcc.target/powerpc/atomic-p8.c: Likewise.
      
      
      Co-Authored-By: Pat Haugen <pthaugen@us.ibm.com>
      Co-Authored-By: Peter Bergner <bergner@vnet.ibm.com>
      
      From-SVN: r200044
      Michael Meissner committed