1. 20 Jan, 2014 5 commits
  2. 19 Jan, 2014 13 commits
  3. 18 Jan, 2014 8 commits
  4. 17 Jan, 2014 14 commits
    • re PR go/59866 (gccgo gc work buffer is misaligned) · 6fbfce78
      	PR go/59866
      runtime: Force work variable in mgc0 to be aligned on 8-byte boundary.
      
      From-SVN: r206738
      Ian Lance Taylor committed
    • ree.c (combine_set_extension): Temporarily disable test for changing number of hard registers. · 2043135a
             * ree.c (combine_set_extension): Temporarily disable test for
              changing number of hard registers.
      
      From-SVN: r206735
      Jeff Law committed
    • re PR middle-end/58125 (ICE: in operator[], at vec.h:827 with -fno-inline-small-functions) · f3e11e05
      
      	PR middle-end/58125
      	* ipa-inline-analysis.c (inline_free_summary):
      	Do not free summary of aliases.
      
      From-SVN: r206734
      Jan Hubicka committed
    • set.h (set): Implement C++11 allocator-aware container requirements. · 1217ee06
      2014-01-17  François Dumont  <fdumont@gcc.gnu.org>
      
      	* include/profile/set.h (set): Implement C++11 allocator-aware
      	container requirements.
      	* include/profile/map.h (map): Likewise.
      	* include/profile/multiset.h (multiset): Likewise.
      	* include/profile/multimap.h (multimap): Likewise.
      	* include/profile/set.h
      	(set::operator=(const set&)): Define as default in C++11 mode.
      	(set::operator=(set&&)): Likewise.
      	* include/profile/map.h
      	(map::operator=(const map&)): Likewise.
      	(map::operator=(map&&)): Likewise.
      	* include/profile/multiset.h
      	(multiset::operator=(const multiset&)): Likewise.
      	(multiset::operator=(multiset&&)): Likewise.
      	* include/profile/multimap.h
      	(multimap::operator=(const multimap&)): Likewise.
      	(multimap::operator=(multimap&&)): Likewise.
      	* include/profile/set.h (set::operator=(std::initializer_list<>)):
      	Rely on the same operator from normal mode.
      	* include/profile/map.h (map::operator=(std::initializer_list<>)):
      	Likewise.
      	* include/profile/multiset.h
      	(multiset::operator=(std::initializer_list<>)): Likewise.
      	* include/profile/multimap.h
      	(multimap::operator=(std::initializer_list<>)): Likewise.
      	* include/profile/set.h (set::swap(set&)): Add noexcept
      	specification.
      	* include/profile/map.h (map::swap(map&)): Likewise.
      	* include/profile/multiset.h (multiset::swap(multiset&)): Likewise.
      	* include/profile/multimap.h (multimap::swap(multimap&)): Likewise.
      
      From-SVN: r206733
      François Dumont committed
    • re PR fortran/59706 (ICE with do concurrent and internal subprogram) · 664ceb1e
      	PR middle-end/59706
      	* gimplify.c (gimplify_expr): Use create_tmp_var
      	instead of create_tmp_var_raw.  If cond doesn't have
      	integral type, don't add the IFN_ANNOTATE builtin at all.
      
      	* gfortran.dg/pr59706.f90: New test.
      	* g++.dg/ext/pr59706.C: New test.
      
      From-SVN: r206732
      Jakub Jelinek committed
    • re PR c++/59270 ([c++11] ICE with decltype of a broken class) · a95aef3c
      /cp
      2014-01-17  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/59270
      	PR c++/58811
      	* init.c (build_value_init_noctor): Don't pass error_mark_node to
      	build_value_init.
      
      /testsuite
      2014-01-17  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/59270
      	PR c++/58811
      	* g++.dg/cpp0x/decltype-incomplete1.C: New.
      	* g++.dg/init/pr58811.C: Likewise.
      
      From-SVN: r206731
      Paolo Carlini committed
    • re PR ipa/59736 (ice with -O3 in cgraph_edge_brings_value_p) · aef83682
      2014-01-17  Martin Jambor  <mjambor@suse.cz>
      
      	PR ipa/59736
      	* ipa-cp.c (prev_edge_clone): New variable.
      	(grow_next_edge_clone_vector): Renamed to grow_edge_clone_vectors.
      	Also resize prev_edge_clone vector.
      	(ipcp_edge_duplication_hook): Also update prev_edge_clone.
      	(ipcp_edge_removal_hook): New function.
      	(ipcp_driver): Register ipcp_edge_removal_hook.
      
      From-SVN: r206729
      Martin Jambor committed
    • re PR target/59462 (c-c++-common/cilk-plus/AN/builtin_func_double2.c fails on MIPS) · 3b9c787b
      2014-01-17  Andrew Pinski <apinski@cavium.com>
      	    Steve Ellcey  <sellcey@mips.com>
      
      	PR target/59462
      	* config/mips/mips.c (mips_print_operand): Check operand mode instead
      	of operator mode.
      
      Co-Authored-By: Steve Ellcey <sellcey@mips.com>
      
      From-SVN: r206724
      Andrew Pinski committed
    • re PR middle-end/57904 (Bogus(?) "invokes undefined behavior" warning with… · 4ee5c752
      re PR middle-end/57904 (Bogus(?) "invokes undefined behavior" warning with Fortran's finalization wrapper (gfortran.dg/class_48.f90))
      
      	PR middle-end/57904
      	* passes.def: Reorder pass_copy_prop, pass_unrolli, pass_ccp sequence
      	so that pass_ccp runs first.
      
              PR middle-end/57904
      	* gfortran.dg/pr57904.f90: New test.
      
      From-SVN: r206723
      Jeff Law committed
    • Use TARGET_XXX and !TARGET_XXX in i386.c · 40cfac7c
      	* config/i386/i386.c (ix86_lea_outperforms): Use TARGET_XXX.
      	(ix86_adjust_cost): Use !TARGET_XXX.
      	(do_reorder_for_imul): Likewise.
      	(swap_top_of_ready_list): Likewise.
      	(ix86_sched_reorder): Likewise.
      
      From-SVN: r206720
      H.J. Lu committed
    • Reorder the last ChangeLog entry · 8cdcf750
      From-SVN: r206719
      H.J. Lu committed
    • re PR c++/59269 (ICE with reference in union) · 12185846
      /cp
      2014-01-17  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/59269
      	* init.c (build_value_init_noctor): Assert !TYPE_HAS_COMPLEX_DFLT
      	only when errorcount == 0.
      
      /testsuite
      2014-01-17  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/59269
      	* g++.dg/cpp0x/nsdmi-union4.C: New.
      
      From-SVN: r206718
      Paolo Carlini committed
    • Add X86_TUNE_AVOID_LEA_FOR_ADDR · 9a7f94d7
      ix86_split_lea_for_addr transforms a single LEA instruction into a
      series of MOV and ADD instructions.  For
      
      lea 0x400(%edx, %ecx, 8), %edx
      
      we get
      
      mov %ecx, %edx
      add %ecx, %edx
      add %ecx, %edx
      add %ecx, %edx
      add %ecx, %edx
      add %ecx, %edx
      add %ecx, %edx
      add %ecx, %edx
      add $0x400, %edx
      
      For -mtune=intel, we want to turn on X86_TUNE_OPT_AGU, but avoid
      ix86_split_lea_for_addr to optimize for both Haswell and Silvermont.
      This patch adds X86_TUNE_AVOID_LEA_FOR_ADDR and PROCESSOR_INTEL.
      We keep PROCESSOR_INTEL the same as PROCESSOR_SILVERMONT, except that
      X86_TUNE_AVOID_LEA_FOR_ADDR isn't turned on for PROCESSOR_INTEL.
      
      	* config/i386/i386-c.c (ix86_target_macros_internal): Handle
      	PROCESSOR_INTEL.  Treat like PROCESSOR_GENERIC.
      	* config/i386/i386.c (intel_memcpy): New.  Duplicate slm_memcpy.
      	(intel_memset): New.  Duplicate slm_memset.
      	(intel_cost): New.  Duplicate slm_cost.
      	(m_INTEL): New macro.
      	(processor_target_table): Add "intel".
      	(ix86_option_override_internal): Replace PROCESSOR_SILVERMONT
      	with PROCESSOR_INTEL for "intel".
      	(ix86_lea_outperforms): Support PROCESSOR_INTEL.  Duplicate
      	PROCESSOR_SILVERMONT.
      	(ix86_avoid_lea_for_addr): Check TARGET_AVOID_LEA_FOR_ADDR
      	instead of TARGET_OPT_AGU.
      	(ix86_issue_rate): Likewise.
      	(ix86_adjust_cost): Likewise.
      	(ia32_multipass_dfa_lookahead): Likewise.
      	(swap_top_of_ready_list): Likewise.
      	(ix86_sched_reorder): Likewise.
      	* config/i386/i386.h (TARGET_INTEL): New.
      	(TARGET_AVOID_LEA_FOR_ADDR): Likewise.
      	(processor_type): Add PROCESSOR_INTEL.
      	* config/i386/x86-tune.def: Support m_INTEL. Duplicate
      	m_SILVERMONT.  Add X86_TUNE_AVOID_LEA_FOR_ADDR.
      
      From-SVN: r206717
      H.J. Lu committed
    • re PR c++/59838 (ICE with an enum using an incomplete type) · 0ffc4683
      	PR c++/59838
      cp/
      	* cvt.c (ocp_convert): Don't segfault on non-existing
      	ENUM_UNDERLYING_TYPE.
      testsuite/
      	* g++.dg/diagnostic/pr59838.C: New test.
      
      From-SVN: r206716
      Marek Polacek committed