1. 17 May, 2013 6 commits
  2. 16 May, 2013 24 commits
  3. 15 May, 2013 10 commits
    • i386.c (ix86_decompose_address): Use DEFAULT_TLS_SEG_REG to access TLS segment register. · b8b3f0ca
      	* config/i386/i386.c (ix86_decompose_address): Use
      	DEFAULT_TLS_SEG_REG to access TLS segment register.
      	* config/i386/i386.h (DEFAULT_TLS_SEG_REG): New define.
      	* config/i386/rdos.h (DEFAULT_TLS_SEG_REG): Ditto.
      	(TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Ditto.
      
      From-SVN: r198948
      Leif Ekblad committed
    • printers.py (Tr1HashtableIterator): Fix rendering of std::tr1 unordered containers iterator. · 4722d005
      2013-05-15  François Dumont  <fdumont@gcc.gnu.org>
      
      	* python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Fix
      	rendering of std::tr1 unordered containers iterator.
      	(StdHashtableIterator): New, render std unordered containers iterator.
      	* testsuite/libstdc++-prettyprinters/tr1.cc: New.
      
      From-SVN: r198947
      François Dumont committed
    • re PR target/57260 (Generated R_MIPS_GOT_MIPS relocation for direct function… · e299a383
      re PR target/57260 (Generated R_MIPS_GOT_MIPS relocation for direct function call while compiling with -O2 on MIPS N64)
      
      gcc/
      	PR target/57260
      	* config/mips/mips.c (mips_function_ok_for_sibcall): Don't allow
      	sibling calls to functions that would normally be lazily bound,
      	unless $gp is call-clobbered.
      
      gcc/testsuite/
      	PR target/57260
      	* gcc.target/mips/call-1.c: Restrict to o32.
      	* gcc.target/mips/call-5.c, gcc.target/mips/call-6.c: New test.
      
      From-SVN: r198945
      Richard Sandiford committed
    • name-lookup.c (pushdecl_maybe_friend_1): Replace pairs of warning_at and… · 1e6cf26e
      name-lookup.c (pushdecl_maybe_friend_1): Replace pairs of warning_at and permerror with warning_at/inform and permerror/...
      
      /cp
      2013-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* name-lookup.c (pushdecl_maybe_friend_1): Replace pairs of
      	warning_at and permerror with warning_at/inform and permerror/
      	inform, respectively.
      
      /testsuite
      2013-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* g++.dg/cpp0x/lambda/lambda-shadow1.C: Replace dg-warnings with
      	dg-messages.
      	* g++.dg/warn/Wshadow-1.C: Likewise.
      	* g++.dg/warn/Wshadow-6.C: Likewise.
      	* g++.dg/warn/Wshadow-7.C: Likewise.
      
      From-SVN: r198943
      Paolo Carlini committed
    • i386.c (iy86_option_override_internal): Update processor_alias_table for missing… · e7208ea3
      i386.c (iy86_option_override_internal): Update processor_alias_table for missing PTA_PRFCHW and PTA_FXSR flags.
      
      	* config/i386/i386.c (iy86_option_override_internal): Update
      	processor_alias_table for missing PTA_PRFCHW and PTA_FXSR flags.  Add
      	PTA_POPCNT to corei7 entry and remove PTA_SSE from athlon-4 entry.
      	Do not enable SSE prefetch on non-SSE 3dNow! targets.  Enable
      	TARGET_PRFCHW for TARGET_3DNOW targets.
      	* config/i386/i386.md (prefetch): Enable for TARGET_PRFCHW instead
      	of TARGET_3DNOW.
      	(*prefetch_3dnow): Enable for TARGET_PRFCHW only.
      
      From-SVN: r198942
      Uros Bizjak committed
    • m68k.md (*rotlhi3_lowpart, [...]): Name for rotlhi3+1 and rotlqi3+1, resp. · e7413f3d
      * config/m68k/m68k.md (*rotlhi3_lowpart, *rotlqi3_lowpart): Name
      for rotlhi3+1 and rotlqi3+1, resp.  Fix reference to non-existing
      third operand.
      
      From-SVN: r198940
      Andreas Schwab committed
    • re PR c++/31952 (parameters may be redeclared in a function try-block) · 8ff25a22
      /cp
      2013-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/31952
      	* name-lookup.c (pushdecl_maybe_friend_1): Diagnose illegal
      	redeclarations.
      
      /testsuite
      2013-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/31952
      	* g++.dg/parse/pr31952-1.C: New.
      	* g++.dg/parse/pr31952-2.C: Likewise.
      	* g++.dg/parse/pr31952-3.C: Likewise.
      
      	* g++.dg/parse/pr18770.C: Adjust dg-errors to dg-messages.
      	* g++.old-deja/g++.jason/cond.C: Likewise.
      	* g++.dg/cpp0x/range-for5.C: Likewise.
      
      From-SVN: r198939
      Paolo Carlini committed
    • loop-unroll.c (report_unroll_peel): Check decision before emitting unroll/peel message. · ad4db775
      2013-05-15  Teresa Johnson  <tejohnson@google.com>
      
      	* loop-unroll.c (report_unroll_peel): Check decision before
              emitting unroll/peel message.
      
      From-SVN: r198936
      Teresa Johnson committed
    • function.h (has_bb_partition): New rtl_data flag. · af205f67
      2013-05-15  Teresa Johnson  <tejohnson@google.com>
      
      	* function.h (has_bb_partition): New rtl_data flag.
              (bb_reorder_complete): Ditto.
      	* cfgcleanup.c (try_crossjump_to_edge): Check for has_bb_partition
              instead of flag_reorder_blocks_and_partition.
              * cfgrtl.c (verify_hot_cold_block_grouping): Moved from bb-reorder.c,
              with some enhancements.
              (rtl_verify_flow_info_1): Call verify_hot_cold_block_grouping.
      	* bb-reorder.c (connect_traces): Check for has_bb_partition
              instead of flag_reorder_blocks_and_partition.
      	(verify_hot_cold_block_grouping): Moved to cfgrtl.c.
      	(reorder_basic_blocks): Set bb_reorder_complete flag, remove call to
              verify_hot_cold_block_grouping.
      	(partition_hot_cold_basic_blocks): Set has_bb_partition.
      
      From-SVN: r198934
      Teresa Johnson committed
    • Fix PR target/19599 - tailcall function pointers. · 9adcfa3c
      2013-05-15  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
      	PR target/19599
      	* config/arm/predicates.md (call_insn_operand): New predicate.
      	* config/arm/constraints.md ("Cs", "Ss"):  New constraints.
      	* config/arm/arm.md (*call_insn, *call_value_insn): Match only
      	if insn is not a tail call.
      	(*sibcall_insn, *sibcall_value_insn): Adjust for tailcalling through
      	registers.
      	* config/arm/arm.h (enum reg_class): New caller save register class.
      	(REG_CLASS_NAMES): Likewise.
      	(REG_CLASS_CONTENTS): Likewise.
      	* config/arm/arm.c (arm_function_ok_for_sibcall): Allow tailcalling
      	without decls.
      
      2013-05-15  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
      	PR target/19599
      	* gcc.target/arm/pr40887.c: Adjust testcase.
      	* gcc.target/arm/pr19599.c: New test.
      
      From-SVN: r198928
      Ramana Radhakrishnan committed