1. 18 Mar, 2015 15 commits
    • Make parallelize_loops static · 09489eb8
      2015-03-18  Tom de Vries  <tom@codesourcery.com>
      
      	* tree-parloops.c (parallelize_loops): Make static.
      	* tree-parloops.h (parallelize_loops): Remove extern declaration.
      
      From-SVN: r221498
      Tom de Vries committed
    • re PR c++/65046 (-Wabi-tag doesn't warn about variables or function return types) · 168ad5f5
      	PR c++/65046
      	* config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
      	get_catalogs): Add abi-tag.
      	* include/ext/codecvt_specializations.h (encoding_state,
      	encoding_char_traits): Likewise.
      	* src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
      	* src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
      	numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
      	money_get_shim, money_put_shim, messages_shim): Likewise.
      	* src/c++11/future.cc (future_error_category::message): Likewise.
      	* src/c++11/system_error.cc (generic_error_category::message,
      	system_error_category::message): Likewise.
      	(__sso_string): Disable -Wabi-tag warnings.
      
      From-SVN: r221497
      Jonathan Wakely committed
    • re PR libstdc++/13631 (Problems in messages) · 2a9611d0
      	PR libstdc++/13631
      	* config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
      	implementation for old glibc. Fix whitespace.
      
      From-SVN: r221494
      Jonathan Wakely committed
    • re PR middle-end/64491 (incorrect warning: loop exit may only be reached after undefined behavior) · b4f3051a
      Fix PR64491
      
      2015-03-18  Andrew Stubbs  <ams@codesourcery.com>
      
      	PR middle-end/64491
      	Revert:
      	2014-11-20  Andrew Stubbs  <ams@codesourcery.com>
      
      	* tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Warn if a loop
      	condition would be removed due to undefined behaviour.
      
      2015-03-18  Andrew Stubbs  <ams@codesourcery.com>
      
      	PR middle-end/64491
      	Revert:
      	2014-11-20  Andrew Stubbs  <ams@codesourcery.com>
      
      	* gcc.dg/undefined-loop-1.c: New file.
      	* gcc.dg/undefined-loop-2.c: New file.
      
      	2014-12-24  Andrew Stubbs  <ams@codesourcery.com>
      
      	PR testsuite/64032
      	* gcc.dg/undefined-loop-2.c: Don't allow GCC to optimize away the
      	loop exits too early.
      
      From-SVN: r221492
      Andrew Stubbs committed
    • re PR ipa/65432 (Invalid read of size 1:… · 1aec2ecc
      re PR ipa/65432 (Invalid read of size 1: ipa_icf::sem_item_optimizer::merge_classes(unsigned int) (ipa-icf.c:2958))
      
      Fix PR ipa/65432
      
      	PR ipa/65432
      	* cgraph.c (cgraph_node::get_create): Remove unnecessary
      	xstrdup_for_dump wrapper.
      	* ipa-icf.c (sem_item::dump): Use symtab_node::name instead of
      	sem_item::name.
      	(sem_function::equals): Wrap symtab_node::name and symtab_node::asm_name
      	with xstrdup_for_dump.
      	(sem_variable::equals): Likewise.
      	(sem_item_optimizer::read_section): Use symtab_node::name instead of
      	sem_item::name.
      	(sem_item_optimizer::parse_funcs_and_vars): Likewise.
      	(sem_item_optimizer::merge_classes): Wrap symtab_node::name and
      	symtab_node::asm_name with xstrdup_for_dump.
      	(congruence_class::dump): Use symtab_node::name instead of
      	sem_item::name.
      	* ipa-icf.h (symtab_node::name): Remove.
      	(symtab_node::asm_name): Likewise.
      
      From-SVN: r221491
      Martin Liska committed
    • re PR tree-optimization/65450 (Unaligned access with -O3 -mtune=k8) · faf4220c
      	PR tree-optimization/65450
      	* tree-vect-data-refs.c (vect_duplicate_ssa_name_ptr_info): New
      	function.
      	(vect_create_addr_base_for_vector_ref, vect_create_data_ref_ptr): Use
      	it instead of duplicate_ssa_name_ptr_info.
      
      	* gfortran.dg/pr65450.f90: New test.
      
      From-SVN: r221490
      Jakub Jelinek committed
    • re PR target/65222 (-mtune= or -march=: Not all options not documented: slm,… · 43939937
      re PR target/65222 (-mtune= or -march=: Not all options not documented: slm, knl, shanghai, istanbul)
      
      	PR target/65222
      	* doc/invoke.texi: Add knl as x86 -march=/-mtune= CPU type.
      
      From-SVN: r221489
      Jakub Jelinek committed
    • tree-data-ref.h (struct access_matrix): Remove. · 6f4f1a50
      2015-03-18  Richard Biener  <rguenther@suse.de>
      
      	* tree-data-ref.h (struct access_matrix): Remove.
      	(AM_LOOP_NEST, AM_NB_INDUCTION_VARS, AM_PARAMETERS, AM_MATRIX,
      	AM_NB_PARAMETERS, AM_CONST_COLUMN_INDEX, AM_NB_COLUMNS,
      	AM_GET_SUBSCRIPT_ACCESS_VECTOR, AM_GET_ACCESS_MATRIX_ELEMENT): Likewise.
      	(am_vector_index_for_loop): Likewise.
      	(struct data_reference): Remove access_matrix member.
      	(DR_ACCESS_MATRIX): Remove.
      	(lambda_vector_new): Add comment.
      	(lambda_matrix_new): Use XOBNEWVEC.
      
      From-SVN: r221488
      Richard Biener committed
    • tree-ssa-loop-ch.c (pass_data_ch): Remove TODO_cleanup_cfg. · 9538c95b
      2015-03-18  Richard Biener  <rguenther@suse.de>
      
      	* tree-ssa-loop-ch.c (pass_data_ch): Remove TODO_cleanup_cfg.
      	(pass_ch::execute): Cleanup the CFG only if we did sth.
      	* tree-vect-generic.c (pass_data_lower_vector): Remove TODO_cleanup_cfg.
      
      From-SVN: r221487
      Richard Biener committed
    • [expmed][cleanup] Use std::swap instead of manual swapping · 076701b6
      	* expmed.c (synth_mult): Use std::swap instead of manually
      	swapping algorithms.
      
      From-SVN: r221486
      Kyrylo Tkachov committed
    • re PR rtl-optimization/65078 (4.9 and 5.0 generate more spill-fill in comparison with 4.8.2) · fbf524de
      	PR target/65078
      	* config/i386/sse.md (movsi/movdi -> vec_extract_*_0 splitter): New.
      
      	* gcc.target/i386/pr65078-1.c: New test.
      	* gcc.target/i386/pr65078-2.c: New test.
      	* gcc.target/i386/pr65078-3.c: New test.
      	* gcc.target/i386/pr65078-4.c: New test.
      	* gcc.target/i386/pr65078-5.c: New test.
      	* gcc.target/i386/pr65078-6.c: New test.
      
      From-SVN: r221485
      Jakub Jelinek committed
    • acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t. · 5e0216f1
      2015-03-18  Jonathan Wakely  <jwakely@redhat.com>
      	    Torvald Riegel  <triegel@redhat.com>
      
      	* acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
      	(shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
      	(shared_timed_mutex::lock_shared()): Retry on EAGAIN.
      	(shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
      	EDEADLK.
      
      Co-Authored-By: Torvald Riegel <triegel@redhat.com>
      
      From-SVN: r221484
      Jonathan Wakely committed
    • re PR c++/65340 ([C++14]ICE in mark_used, at decl2.c:5040) · 41cee85a
      2015-03-18  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/65340
      	* call.c (build_over_call): Pass the tsubst_flags_t argument to
      	mark_used.
      	* decl2.c (mark_used): Inline the require_deduced_type call and
      	guard the error call.
      
      2015-03-18  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/65340
      	* g++.dg/cpp1y/pr65340.C: New.
      
      From-SVN: r221483
      Paolo Carlini committed
    • re PR fortran/64432 (SYSTEM_CLOCK(COUNT_RATE=rate) wrong result for integer(4)::rate) · 4d1de543
      2015-03-17 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/64432
      	* gfortran.dg/system_clock_3.f08: Adjust test.
      
      From-SVN: r221482
      Jerry DeLisle committed
    • Daily bump. · 3a6e2907
      From-SVN: r221481
      GCC Administrator committed
  2. 17 Mar, 2015 10 commits
  3. 16 Mar, 2015 15 commits