1. 10 Aug, 2016 8 commits
    • Add new *_atomic counter update function · a266236e
      	PR gcov-profile/58306
      	* Makefile.in: New functions (modules) are added.
      	* libgcov-profiler.c (__gcov_interval_profiler_atomic): New
      	function.
      	(__gcov_pow2_profiler_atomic): New function.
      	(__gcov_one_value_profiler_body): New argument is instroduced.
      	(__gcov_one_value_profiler): Call with the new argument.
      	(__gcov_one_value_profiler_atomic): Likewise.
      	(__gcov_indirect_call_profiler_v2): Likewise.
      	(__gcov_time_profiler_atomic): New function.
      	(__gcov_average_profiler_atomic): Likewise.
      	(__gcov_ior_profiler_atomic): Likewise.
      	* libgcov.h: Declare the aforementioned functions.
      	PR gcov-profile/58306
      	* gcc.dg/tree-prof/val-profiler-threads-1.c: New test.
      	PR gcov-profile/58306
      	* tree-profile.c (gimple_init_edge_profiler): Create conditionally
      	atomic variants of profile update functions.
      
      From-SVN: r239324
      Martin Liska committed
    • Cherry-pick fprofile-generate-atomic from google/gcc-4_9 · 22063dbc
      	Cherry picked (and modified) from google-4_7 branch
      	2012-12-26  Rong Xu  <xur@google.com>
      	* common.opt (fprofile-update): Add new flag.
      	* coretypes.h: Define enum profile_update.
      	* doc/invoke.texi: Document -fprofile-update.
      	* gcov-io.h: Declare GCOV_TYPE_ATOMIC_FETCH_ADD and
      	GCOV_TYPE_ATOMIC_FETCH_ADD_FN.
      	* tree-profile.c (gimple_init_edge_profiler): Generate
      	also atomic profiler update.
      	(gimple_gen_edge_profiler): Likewise.
      	* g++.dg/gcov/gcov-threads-1.C: New test.
      
      From-SVN: r239323
      Martin Liska committed
    • toplev.c: set FILE * globals to NULL after fclose · 5a39e998
      gcc/ChangeLog:
      	* toplev.c (finalize): Set aux_info_file, asm_out_file, and
      	stack_usage_file to NULL after fclose calls.
      
      From-SVN: r239322
      David Malcolm committed
    • Fix PR 71873 - ICE in push_reload · 5250a5bb
      Extend computation of subreg_in_class to constants and plus expressions 
      inside SUBREGs, before recursively calling push_reload. SYMBOL_REFs are
      also CONSTANT_P, so remove explicit handling of SYMBOL_REFs.
      
      gcc/ChangeLog
      
      	PR target/71873
      	* reload.c (push_reload): Compute subreg_in_class for
      	subregs of constants and plus expressions. Remove special
      	handling of SYMBOL_REFs.
      
      gcc/testsuite/ChangeLog
      
      	PR target/71873
      	* gcc.target/avr/pr71873.c: New test.
      
      From-SVN: r239321
      Senthil Kumar Selvaraj committed
    • [RS6000] e500 part of pr71680 · c4e9cff6
      The fallback part of HARD_REGNO_CALLER_SAVE_MODE, choose_hard_reg_mode,
      returns DFmode for SImode when TARGET_E500_DOUBLE.  This confuses
      lra when attempting to save ctr around a call.
      
      	PR target/71680
      	* config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Return
      	SImode for TARGET_E500_DOUBLE when given SImode.
      
      From-SVN: r239317
      Alan Modra committed
    • gccgo.texi (Invoking gccgo): Document -fgo-optimize-allocs and -fgo-debug-escae. · 6bbd9810
      	* gccgo.texi (Invoking gccgo): Document -fgo-optimize-allocs and
      	-fgo-debug-escae.
      	(Compiler Directives): New chapter.
      	(Function Names): Describe using //go:linkname.  Suggest using
      	-fgo-pkgpath rather than -fgo-prefix.
      
      From-SVN: r239316
      Ian Lance Taylor committed
    • Daily bump. · 143d49f3
      From-SVN: r239314
      GCC Administrator committed
  2. 09 Aug, 2016 32 commits