1. 25 Jul, 2016 12 commits
    • Fix missing qualification in <ext/rope> · a837417c
      2016-07-25  Georeth Chow  <georeth2010@gmail.com>
      
      	* include/ext/ropeimpl.h (rope<>::_S_dump(_RopeRep*, int)): Qualify
      	_S_concat enumerator.
      	* testsuite/ext/rope/6.cc: New test.
      
      From-SVN: r238711
      Georeth Chow committed
    • revert: nvptx: do not implicitly enable -ftoplevel-reorder · 3d339d5e
      Revert
      2016-07-20  Alexander Monakov  <amonakov@ispras.ru>
      
      * config/nvptx/nvptx.c (nvptx_option_override): Do not set
      flag_toplevel_reorder.
      
      From-SVN: r238710
      Alexander Monakov committed
    • cgraph.c (cgraph_node::verify_node): Compare against builtin by using… · ea6e17d5
      cgraph.c (cgraph_node::verify_node): Compare against builtin by using DECL_BUILT_IN_CLASS and DECL_FUNCTION_CODE.
      
      2016-07-25  Richard Biener  <rguenther@suse.de>
      
      	* cgraph.c (cgraph_node::verify_node): Compare against builtin
      	by using DECL_BUILT_IN_CLASS and DECL_FUNCTION_CODE.
      	* tree-chkp.c (chkp_gimple_call_builtin_p): Likewise.
      	* tree-streamer.h (streamer_handle_as_builtin_p): Remove.
      	(streamer_get_builtin_tree): Likewise.
      	(streamer_write_builtin): Likewise.
      	* lto-streamer.h (LTO_builtin_decl): Remove.
      	* lto-streamer-in.c (lto_read_tree_1): Remove assert.
      	(lto_input_scc): Remove LTO_builtin_decl handling.
      	(lto_input_tree_1): Liekwise.
      	* lto-streamer-out.c (lto_output_tree_1): Remove special
      	handling of builtins.
      	(DFS::DFS): Likewise.
      	* tree-streamer-in.c (streamer_get_builtin_tree): Remove.
      	* tree-streamer-out.c (pack_ts_function_decl_value_fields): Remove
      	assert.
      	(streamer_write_builtin): Remove.
      
      	lto/
      	* lto.c (compare_tree_sccs_1): Remove streamer_handle_as_builtin_p uses.
      	(unify_scc): Likewise.
      	(lto_read_decls): Likewise.
      
      From-SVN: r238709
      Richard Biener committed
    • Fix tests for targets with sizeof(int) != 32. · bf01e070
      gcc/testsuite/
      
      	* gcc.dg/torture/pr69352.c (foo): Cast to intptr_t instead of long.
      	* gcc.dg/torture/pr69771.c: Require int32plus.
      	* gcc.dg/torture/pr71866.c (inb): Add cast to intptr_t.
      
      From-SVN: r238708
      Senthil Kumar Selvaraj committed
    • Don't call get_working_sets w/ LTO and -fauto-profile (PR · 10c9ea62
      	* lto-cgraph.c (input_symtab): Don't call get_working_sets
      	if flag_auto_profile is set to true.
      
      From-SVN: r238707
      Martin Liska committed
    • Handle loops with loop->latch == NULL (PR gcov-profile/71868) · c1e1a688
      	PR gcov-profile/71868
      	* cfgloopanal.c (expected_loop_iterations_unbounded): When we
      	have a function with multiple latches, count them all.
      
      From-SVN: r238706
      Martin Liska committed
    • Fix memory leak introduced in r238336 · ccae0c85
      	* tree-ssa-loop-niter.c (loop_only_exit_p): Release body array.
      
      From-SVN: r238705
      Martin Liska committed
    • Call get_ops just for SSA_NAMEs (PR tree-optimization/71987) · 16b05965
      	PR tree-optimization/71987
      	* tree-ssa-reassoc.c (maybe_optimize_range_tests): Call get_ops
      	just for SSA_NAMEs. Fix GNU coding style.
      	* gcc.dg/torture/pr71987.c: New test.
      
      From-SVN: r238704
      Martin Liska committed
    • Use std::mt19937, std::thread and std::atomic to simplify tests · 19bb30c0
      	* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Use
      	std::mt19937, std::thread and std::atomic to simplify test.
      	* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
      
      From-SVN: r238703
      Jonathan Wakely committed
    • Adapt the numbering scheme (PR gcov-profile/64874) · e9e4348d
      	PR gcov-profile/64874
      	* gcov-io.h: Update command about file format.
      	* gcov-iov.c (main): Adapt the numbering scheme.
      
      From-SVN: r238702
      Martin Liska committed
    • Revert 2015-11-09 sanitizer/obstack configury · aa00995c
      The 2015-11-23 sanitizer merge from upstream lost the changes from
      f6528435 to sanitizer_common/sanitizer_common_interceptors.inc, which
      made use of _OBSTACK_SIZE_T.  So the configury changes to define
      _OBSTACK_SIZE_T don't do anything.  This wasn't such a bad thing
      anyway..  The configure test wrongly adds -I${srcdir}/../include,
      effectively resulting in a test of libiberty/obstack rather than libc
      obstack support, and it's the latter that asan and tsan need to work
      with.
      
      So, remove the useless configure test.  Upstream santizer project has
      been made aware of the problem if glibc obstack support is ever
      updated.  Bootsrapped etc. x86_64-linux and committed as obvious.
      
      	Revert 2015-11-09  Alan Modra  <amodra@gmail.com>
      	* configure.ac: Don't substitute OBSTACK_DEFS.
      	* asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
      	* tsan/Makefile.am: Likewise.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      	* asan/Makefile.in: Regenerate.
      	* interception/Makefile.in: Regenerate.
      	* libbacktrace/Makefile.in: Regenerate.
      	* lsan/Makefile.in: Regenerate.
      	* sanitizer_common/Makefile.in: Regenerate.
      	* tsan/Makefile.in: Regenerate.
      	* ubsan/Makefile.in: Regenerate.
      
      From-SVN: r238701
      Alan Modra committed
    • Daily bump. · 7bfd96b7
      From-SVN: r238700
      GCC Administrator committed
  2. 24 Jul, 2016 11 commits
  3. 23 Jul, 2016 2 commits
  4. 22 Jul, 2016 15 commits