1. 04 Aug, 2016 3 commits
  2. 03 Aug, 2016 28 commits
  3. 02 Aug, 2016 9 commits
    • escape: Add basic debugging. · 7295570d
          
          Emit basic debug information when compiling with the flag
          -fgo-debug-escape#.
          
          Reviewed-on: https://go-review.googlesource.com/22376
      
      	2016-08-02  Chris Manghane  <cmang@google.com>
      
      	* lang.opt: Add -fgo-debug-escape option.
      	* go-c.h (go_create_gogo): Add debug_escape_level parameter.
      	* go-lang.c (go_langhook_init): Pass go_debug_escape_level to
      	go_create_gogo.
      
      From-SVN: r239002
      Chris Manghane committed
    • re PR rtl-optimization/72778 (internal compiler error: in create_pre_exit, at mode-switching.c:451) · 00803109
      2016-08-02  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR middle-end/72778
      	* lra-spills.c (regno_in_use_p): New.
      	(lra_final_code_change): Use it.
      
      From-SVN: r239000
      Vladimir Makarov committed
    • Fix std::wstring allocator tests · 589a30d1
      	* testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc:
      	Remove reundant check for _GLIBCXX_USE_WCHAR_T and fix char type.
      	* testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
      	Likewise.
      	* testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc:
      	Likewise.
      	* testsuite/21_strings/basic_string/allocator/wchar_t/move.cc:
      	Likewise.
      	* testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc:
      	Likewise.
      	* testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc:
      	Likewise.
      	* testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc:
      	Likewise.
      
      From-SVN: r238996
      Jonathan Wakely committed
    • Improve comments on check_v3_target_filesystem_ts · 8bcd00bb
      	* testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Improve
      	comments.
      
      From-SVN: r238995
      Jonathan Wakely committed
    • Move dg-error directives to relevant lines · a4e1011c
      	* testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Move
      	dg-error to relevant line.
      	* testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
      	Likewise.
      	* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
      
      From-SVN: r238994
      Jonathan Wakely committed
    • Add -fno-show-column to libstdc++ test flags · 64dde682
      	* scripts/testsuite_flags.in: Add -fno-show-column to cxxflags.
      
      From-SVN: r238993
      Jonathan Wakely committed
    • expr.c (push_value): Only call flush_quick_stack for non-constant arguments. · 0e84fd17
      2016-08-02  Roger Sayle  <roger@nextmovesoftware.com>
      
      	* expr.c (push_value): Only call flush_quick_stack for non-constant
      	arguments.
      	(build_java_throw_out_of_bounds_exception): No longer wrap calls
      	to _Jv_ThowBadArrayIndex in a COMPOUND_EXPR as no longer needed.
      	(java_check_reference): Annotate COND_EXPR with __builtin_expect
      	to indicate that calling _Jv_ThrowNullPointerException is unlikely.
      	(build_java_arrayaccess): Construct an unlikely COND_EXPR instead
      	of a TRUTH_ANDIF_EXPR in a COMPOUND_EXPR.  Only generate array
      	index MULT_EXPR when size_exp is not unity.
      	(build_array_length_annotation): When optimizing, generate a write
      	to the allocated array's length field to expose constant lengths
      	to GCC's optimizers.
      	(build_newarray): Call new build_array_length_annotation.
      	(build_anewarray): Likewise.
      
      	(expand_java_multianewarray): Fix whitespace.
      	(expand_java_return): Likewise.
      	(expand_invoke): Likewise.
      	(load_type_state): Likewise.
      
      From-SVN: r238992
      Roger Sayle committed
    • re PR rtl-optimization/69847 (Spec 2006 403.gcc slows down with -mlra vs. reload on PowerPC) · 8a8330b7
      2016-08-02  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/69847
      	* lra-int.h (struct lra-reg): Use restore_rtx instead of
      	restore_regno.
      	(lra_rtx_hash): New.
      	* lra.c (initialize_lra_reg_info_element): Use restore_rtx instead
      	of restore_regno.
      	(lra_rtx_hash): Rename and move lra-remat.c::rtx_hash.
      	* lra-remat.c (rtx_hash): Rename and Move to lra.c.
      	* lra-spills.c (lra_final_code_change): Don't delete insn when the
      	next insn is USE with the same reg as the current insn source.
      	* lra-constraints.c (curr_insn_transform): Use restore_rtx instead
      	of restore_regno.
      	(lra_constraints_init): Call initiate_invariants.
      	(lra_constraints_finish): Call finish_invariants.
      	(struct invariant, invariant_t, invariant_ptr_t): New.
      	(const_invariant_ptr_t, invariants, invariants_pool): New.
      	(invariant_table, invariant_hash, invariant_eq_p): New.
      	(insert_invariant, initiate_invariants, finish_invariants): New.
      	(clear_invariants, invalid_invariant_regs): New.
      	(inherit_reload_reg, split_reg, fix_bb_live_info): Use restore_rtx
      	instead of restore_regno.
      	(invariant_p, process_invariant_for_inheritance): New.
      	(inherit_in_ebb): Implement invariant inheritance.
      	(lra_inheritance): Initialize and finalize invalid_invariant_regs.
      	(remove_inheritance_pseudos): Implement undoing invariant
      	inheritance.
      	(undo_optional_reloads, lra_undo_inheritance): Use restore_rtx
      	instead of restore_regno.
      	* lra-assigns.c (regno_live_length): New.
      	(reload_pseudo_compare_func): Use regno_live_length.
      	(assign_by_spills): Use restore_rtx instead of restore_regno.
      	(lra_assign): Ditto.  Initiate regno_live_length.
      
      From-SVN: r238991
      Vladimir Makarov committed
    • * fixinc.in: Use --parents option to make LIB directory. · 354c5470
      From-SVN: r238990
      Muhammad Bilal committed