1. 17 Mar, 2013 9 commits
  2. 16 Mar, 2013 10 commits
  3. 15 Mar, 2013 8 commits
  4. 14 Mar, 2013 12 commits
    • re PR libstdc++/56613 (map::operator[](key_type&&) fails with custom allocator) · 1f069142
      	PR libstdc++/56613
      	* include/bits/stl_tree.h (_Rb_tree::_M_create_node): Use
      	allocator_traits instead of calling construct directly.
      	* testsuite/23_containers/map/56613.cc: New.
      
      From-SVN: r196666
      Jonathan Wakely committed
    • Add support for TLS in MicroBlaze · 8cc9a5a5
       * configure.ac: Add MicroBlaze TLS support detection.
       * configure: Regenerate.
       * config/microblaze/microblaze-protos.h: (microblaze_cannot_force_const_mem,
         microblaze_tls_referenced_p, symbol_mentioned_p,
         label_mentioned_p): Add prototypes.
       * config/microblaze/microblaze.c (microblaze_address_type): Add ADDRESS_TLS
         and tls_reloc address types.
         (microblaze_address_info): Add tls_reloc.
         (TARGET_HAVE_TLS): Define.
         (get_tls_get_addr, microblaze_tls_symbol_p, microblaze_tls_operand_p_1,
          microblaze_tls_referenced_p, microblaze_cannot_force_const_mem,
          symbol_mentioned_p, label_mentioned_p, tls_mentioned_p, load_tls_operand,
          microblaze_call_tls_get_addr, microblaze_legitimize_tls_address): New functions.
         (microblaze_classify_unspec): Handle UNSPEC_TLS.
         (get_base_reg): Use microblaze_tls_symbol_p.
         (microblaze_classify_address): Handle TLS.
         (microblaze_legitimate_pic_operand): Use symbol_mentioned_p, label_mentioned_p
          and microblaze_tls_referenced_p.
         (microblaze_legitimize_address): Handle TLS.
         (microblaze_address_insns): Handle ADDRESS_TLS.
         (pic_address_needs_scratch): Handle TLS.
         (print_operand_address): Handle TLS.
         (microblaze_expand_prologue): Check TLS_NEEDS_GOT.
         (microblaze_expand_move): Handle TLS.
         (microblaze_legitimate_constant_p): Check microblaze_cannot_force_const_mem
          and microblaze_tls_symbol_p.
         (TARGET_CANNOT_FORCE_CONST_MEM): Define.
       * config/microblaze/microblaze.h (TLS_NEEDS_GOT): Define
         (PIC_OFFSET_TABLE_REGNUM): Set.
       * config/microblaze/linux.h (TLS_NEEDS_GOT): Define.
       * config/microblaze/microblaze.md (UNSPEC_TLS): Define.
         (addsi3, movsi_internal2, movdf_internal): Update constraints
       * config/microblaze/predicates.md (arith_plus_operand): Define
         (move_operand): Redefine as move_src_operand, check microblaze_tls_referenced_p.
      
      
      
      Co-Authored-By: David Holsgrove <david.holsgrove@xilinx.com>
      
      From-SVN: r196659
      Edgar E. Iglesias committed
    • re PR c++/56614 (error: default argument… · a7137ee1
      re PR c++/56614 (error: default argument 'std::vector<E>(std::initializer_list<E>{((const E*)(& ._0)), 1u}, (*(const std::allocator<E>*)(& std::allocator<E>())))' uses local variable '._0')
      
      	PR c++/56614
      	* decl.c (local_variable_p_walkfn): Check DECL_ARTIFICIAL again.
      
      From-SVN: r196658
      Jason Merrill committed
    • re PR c++/56346 (FAIL: g++.dg/tls/thread_local3.C -std=gnu++11 (test for excess errors)) · e9d5a271
      	PR c++/56346
      	* decl.c (register_dtor_fn): Pass null to __cxa_thread_atexit
      	dso_handle parm on targets without __cxa_atexit.
      
      From-SVN: r196657
      Jason Merrill committed
    • AArch64 should return CC_NZ for AND operation (part 2) · d803a491
      From-SVN: r196656
      Ian Bolton committed
    • re PR tree-optimization/53265 (Warn when undefined behavior implies smaller iteration count) · 430b9e22
      	PR tree-optimization/53265
      	* gcc.dg/graphite/scop-3.c (toto): Increase array size to avoid
      	undefined behavior.
      	* gcc.dg/graphite/id-6.c (test): Likewise.
      	* gcc.dg/graphite/pr35356-2.c: Adjust regexp patterns to only look for
      	MIN_EXPR and MAX_EXPR in GIMPLE stmts.
      
      From-SVN: r196655
      Jakub Jelinek committed
    • AArch64 should return CC_NZ for AND operation. · a8504f22
      From-SVN: r196654
      Ian Bolton committed
    • re PR tree-optimization/53265 (Warn when undefined behavior implies smaller iteration count) · fbd28bc3
      	PR tree-optimization/53265
      	* common.opt (Waggressive-loop-optimizations): New option.
      	* tree-ssa-loop-niter.c: Include tree-pass.h.
      	(do_warn_aggressive_loop_optimizations): New function.
      	(record_estimate): Call it.  Don't add !is_exit bounds to loop->bounds
      	if number_of_latch_executions returned constant.
      	(estimate_numbers_of_iterations_loop): Call number_of_latch_executions
      	early.  If number_of_latch_executions returned constant, set
      	nb_iterations_upper_bound back to it.
      	* cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations
      	field.
      	* Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H).
      	* doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document.
      
      	* gcc.dg/pr53265.c: New test.
      	* gcc.dg/torture/pr49518.c: Add -Wno-aggressive-loop-optimizations
      	to dg-options.
      	* g++.dg/opt/longbranch2.C (EBCOTLut): Double sizes of a2 and a3
      	arrays.
      	* gcc.dg/tree-ssa/cunroll-10.c (main): Rename to foo.  Add argument
      	n, use it as high bound instead of 4.
      
      	* unwind-dw2.c (execute_cfa_program): Avoid
      	-Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
      	on targets with DWARF_FRAME_REGISTERS < 32.
      
      	* testsuite/libmudflap.c/fail37-frag.c: Add optimization barrier.
      
      From-SVN: r196650
      Jakub Jelinek committed
    • t-aarch64-linux (MULTARCH_DIRNAME): Remove. · df2dfaea
      	* config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove.
      	(MULTILIB_OSDIRNAMES): Set.
      	* genmultilib: If defaultosdirname doesn't start with :: , set
      	defaultosdirname2 instead, clear it and emit two . multilib_raw
      	entries instead of just one.
      
      From-SVN: r196649
      Jakub Jelinek committed
    • *: Regenerate. · 10ace8a0
      2013-03-13  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* doc/html/*: Regenerate.
      
      From-SVN: r196647
      Benjamin Kosnik committed
    • linux.h (TARGET_DEFAULT): Remove MASK_USERMODE. · ee0d2b68
      	* config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE.
      	(SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default.
      	* config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE.
      	(SUBTARGET_OVERRIDE_OPTIONS): New.
      
      From-SVN: r196646
      Kaz Kojima committed
    • Daily bump. · 2d9aba16
      From-SVN: r196645
      GCC Administrator committed
  5. 13 Mar, 2013 1 commit