1. 19 Jan, 2015 16 commits
  2. 18 Jan, 2015 16 commits
    • [multiple changes] · 5b384b3d
      2015-01-18  Andre Vehreschild  <vehre@gmx.de>
      	    Janus Weil <janus@gcc.gnu.org>
      
      	PR fortran/60255
      	* class.c (gfc_get_len_component): New.
      	(gfc_build_class_symbol): Add _len component to unlimited
      	polymorphic entities.
      	(find_intrinsic_vtab): Removed emitting of error message.
      	* gfortran.h: Added prototype for gfc_get_len_component.
      	* simplify.c (gfc_simplify_len): Use _len component where
      	available.
      	* trans-expr.c (gfc_class_len_get): New.
      	(gfc_conv_intrinsic_to_class): Add handling for deferred
      	character arrays.
      	(gfc_conv_structure): Treat _len component correctly.
      	(gfc_conv_expr): Prevent bind_c handling when not required.
      	(gfc_trans_pointer_assignment): Propagate _len component.
      	* trans-stmt.c (class_has_len_component): New.
      	(trans_associate_var): _len component treatment for associate
      	context.
      	(gfc_trans_allocate): Same as for trans_associate_var()
      	* trans.h: Added prototype for gfc_class_len_get.
      
      2015-01-18  Andre Vehreschild  <vehre@gmx.de>
      
      	PR fortran/60255
      	* gfortran.dg/unlimited_polymorphic_2.f03: Removed error.
      	* gfortran.dg/unlimited_polymorphic_20.f03: New test.
      
      2015-01-18  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/64578
      	* gfortran.dg/unlimited_polymorphic_21.f90: New test
      
      From-SVN: r219827
      Paul Thomas committed
    • lto.c (compare_tree_sccs_1): Add comparsion of DECL_FUNCTION_SPECIFIC_TARGET · 69fe4502
      
      	* lto.c (compare_tree_sccs_1): Add comparsion of
      	DECL_FUNCTION_SPECIFIC_TARGET
      
      From-SVN: r219826
      Jan Hubicka committed
    • * cgraph.c (cgraph_node::dump): Dump profile flags. · a89bd7d2
      From-SVN: r219825
      Jan Hubicka committed
    • re PR target/64652 ([SH] ICE when using -mdiv=call-fp) · 15a43a0c
      gcc/
      	PR target/64652
      	* config/sh/sh.md (udivsi3_i4, divsi3_i4): Make use of sfunc address
      	reg appear first in the parallel.
      
      gcc/testsuite/
      	PR target/64652
      	* gcc.target/sh/torture/pr64652.c: New.
      
      From-SVN: r219824
      Oleg Endo committed
    • ipa-icf-32.c: Update template. · b16650ac
      
      	* gcc.dg/ipa/ipa-icf-32.c: Update template.
      	* c-c++-common/asan/instrument-with-calls-3.c: Likewise.
      	* c-c++-common/asan/instrument-with-calls-2.c: Likewise.
      	* c-c++-common/asan/instrument-with-calls-1.c: Likewise.
      	* c-c++-common/asan/kasan-recover-1.c: Likewise.
      	* c-c++-common/asan/kasan-recover-2.c: Likewise.
      
      	* ipa-reference.c (set_reference_optimization_summary,
      	ipa_reference_get_not_written_global): Do nothing if ipa-reference is disabled.
      	(ignore_module_statics): New static var.
      	(propagate_bits): If ipa-reference is disabled, do not look into local properties.
      	(analyze_function): Disable analysis when ipa_reference is disabled.
      	(generate_summary): Do not dump when reference is disabled;
      	collect vars accessed from functions with ipa-reference disabled.
      	(get_read_write_all_from_node): When ipa-reference is disabled, use the
      	node flags.
      	(gate): Enable for LTO.
      	(ignore_edge_p): New function.
      	(propagate): Skip functions w/o ipa-reference analysis.
      	* optc-save-gen.awk: Handle optimize_debug correctly.
      	* opth-gen.awk: Likewise.
      	* common.opt (fauto-inc-dec, fdelete-dead-exceptions, ffunction-cse,
      	fgraphite, fstrict-volatile-bitfields, fira-algorithm, fira-region,
      	fira-share-save-slots, fira-share-spill-slots,
      	fmodulo-sched-allow-regmoves, fpartial-inlining,
      	sched-stalled-insns, fsched-stalled-insns-dep, fstrict-overflow,
      	ftracer, ftree-parallelize-loops, fassociative-math,
      	freciprocal-math, fvect-cost-model, fsimd-cost-model): Mark as
      	Optimization
      	(fauto-profile, fcommon, fdata-sections, fipa-icf-variables,
              ftoplevel-reorder, funit-at-a-time, fwhole-program): Do not mark as
              Optimization.
      	* ipa-icf.c (gate, sem_item_optimizer::filter_removed_items):
      	Fix for IPA.
      
      From-SVN: r219823
      Jan Hubicka committed
    • re PR ipa/64378 (ICE: in inline_call, at ipa-inline-transform.c:347 with -O3 -fno-ipa-cp) · 33c3b6be
      
      	PR ipa/64378
      	* ipa-prop.c (try_make_edge_direct_virtual_call): Clear speculative
      	flag correctly.
      	* ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
      	* g++.dg/torture/pr64378.C: New testcase.
      
      From-SVN: r219822
      Jan Hubicka committed
    • re PR libstdc++/64646 (New overloads of std::is_permutation dereference past-the-end iterator) · 257024e3
      	PR libstdc++/64646
      	* include/bits/stl_algo.h (__is_permutation): Also test for reaching
      	end of the second range.
      	* testsuite/25_algorithms/is_permutation/64646.cc: New.
      
      From-SVN: r219821
      Jonathan Wakely committed
    • correct PR numbers on previous commit · 8fc4dc4a
      From-SVN: r219819
      Paul Thomas committed
    • re PR fortran/64578 ([OOP] Seg-fault and ICE with unlimited polymorphic array pointer function) · a878f8e8
      2015-01-18  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/64578
      	* trans-expr.c (gfc_trans_subcomponent_assign): Use a deep copy
      	for allocatable components, where the source is a variable.
      
      2015-01-18  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/64578
      	* gfortran.dg/block_13.f08: New test
      
      From-SVN: r219818
      Paul Thomas committed
    • status_cxx2011.xml: Remove note about offsetof. · fded3d73
      	* doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
      	* doc/html/manual/status.html: Regenerate.
      
      From-SVN: r219817
      Jonathan Wakely committed
    • atomic_futex.h: Use mutex and condition_variable when atomic int is not lock-free. · 87361f30
      	* include/bits/atomic_futex.h: Use mutex and condition_variable when
      	atomic int is not lock-free. Make member variables private.
      	* src/c++11/futex.cc: Likewise.
      
      From-SVN: r219815
      Jonathan Wakely committed
    • re PR fortran/55901 ([OOP] type is (character(len=*)) misinterpreted as array) · e207c522
      2015-01-18  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/55901
      	* primary.c (gfc_match_varspec): Exclude dangling associate-
      	names with dimension 0 from being counted as arrays.
      	* resolve.c (resolve_assoc_var): Sub-strings are permissible
      	for associate-names, so exclude characters from the test for
      	misuse as arrays.
      	* trans-decl.c (gfc_get_symbol_decl): Associate-names can use
      	the hidden string length variable of their associated target.
      	Signal this by setting 'length' to a constant, if the decl for
      	the string length is a variable.
      
      2015-01-18  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/55901
      	* gfortran.dg/associate_1.f03: Allow test for character with
      	automatic length.
      
      From-SVN: r219814
      Paul Thomas committed
    • invoke.texi ([-funroll-loops], [...]): Remove duplicate option listings. · d28701a2
      2015-01-18  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/invoke.texi ([-funroll-loops], [-funroll-all-loops]):
      	Remove duplicate option listings.
      
      From-SVN: r219813
      Sandra Loosemore committed
    • auto-profile.c (afdo_find_equiv_class): Remove unnecessary test. · 1500c66f
              * auto-profile.c (afdo_find_equiv_class): Remove unnecessary test.
              (autofdo_source_profile::get_callsite_total_count,
              function_instance::get_function_instance_by_decl,
              string_table::get_index, string_table::get_index_by_decl,
              afdo_vpt_for_early_inline, afdo_callsite_hot_enough_for_early_inline):
              Fix comment typos. Reformatting and minor code rearrangement.
      
      From-SVN: r219812
      Felix Yang committed
    • Daily bump. · a07c25b5
      From-SVN: r219811
      GCC Administrator committed
  3. 17 Jan, 2015 8 commits