1. 12 Jun, 2017 8 commits
  2. 11 Jun, 2017 5 commits
  3. 10 Jun, 2017 12 commits
    • ipa-inline-transform.c: Include function.h, cfg.h and basic-block.h · 09fcc0c0
      
      	* ipa-inline-transform.c: Include function.h, cfg.h and basic-block.h
      	(mark_all_inlined_calls_cdtor): Fix formating.
      	(inline_transform): Rescale profile before inlining.
      
      From-SVN: r249098
      Jan Hubicka committed
    • cgraph.h (cgraph_edge::clone): Update prototype. · 1511c8c0
      
      	* cgraph.h (cgraph_edge::clone): Update prototype.
      	* cgraphclones.c (cgraph_edge::clone): Update profile scaling.
      	(cgraph_node::create_clone): Update.
      	(cgraph_node::create_version_clone): Update.
      	* tree-inline.c (copy_bb): Update.
      	(expand_call_inline): Update.
      
      From-SVN: r249097
      Jan Hubicka committed
    • rs6000: Factor out emit_vrsave_prologue · 9a58d6cd
      This is a second patch to make the prologue code more manageable.
      
      
      	* config/rs6000/rs6000.c (emit_vrsave_prologue): New function,
      	factored out from ...
      	(rs6000_emit_prologue): ... here.
      
      From-SVN: r249096
      Segher Boessenkool committed
    • rs6000: Factor out emit_split_stack_prologue · 85e71e35
      This is a first patch to make the prologue code more manageable.
      
      
      	* config/rs6000/rs6000.c (emit_split_stack_prologue): New function,
      	factored out from ...
      	(rs6000_emit_prologue): ... here.
      
      From-SVN: r249095
      Segher Boessenkool committed
    • predict.c (drop_profile): Also drop individual bb/edge and cgraph edge counts. · e525ddf4
      
      	* predict.c (drop_profile): Also drop individual bb/edge and cgraph
      	edge counts.
      	(handle_missing_profiles): Fix computation of tp_first_run.
      	(counts_to_freqs): Do not touch freqs when count is 0.
      
      From-SVN: r249094
      Jan Hubicka committed
    • cgraphbuild.c (cgraph_edge::rebuild_references): Do not touch profile. · 9a73a3c3
      	* cgraphbuild.c (cgraph_edge::rebuild_references): Do not touch
      	profile.
      
      From-SVN: r249093
      Jan Hubicka committed
    • re PR fortran/80988 (171_swim fails) · ac39f0e8
      2017-06-10  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/80988
      	* frontend-passes.c (traverse_io_block):  Also
      	check for variables occurring as indices multiple
      	time in a single implied DO loop.
      
      2017-06-10  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/80988
      	* gfortran.dg/implied_do_io_3.f90:  New test.
      
      From-SVN: r249092
      Thomas Koenig committed
    • Add effective target signal · 18787c38
      2017-06-10  Tom de Vries  <tom@codesourcery.com>
      
      	* lib/target-supports.exp (check_effective_target_signal): New proc.
      	* lib/gcc.exp (gcc_target_compile): Remove appending of
      	-DSIGNAL_SUPPRESS to additional_flags.
      	* gcc.c-torture/execute/ieee/ieee.exp: Add -DSIGNAL_SUPPRESS to
      	additional_flags if effective target signal is not supported by the
      	target.
      	* gcc.c-torture/execute/20101011-1.c: Same.
      	* gcc.dg/c99-stdint-1.c: Same.
      	* gcc.dg/c99-stdint-2.c: Same.
      	* gcc.dg/c99-stdint-5.c: Same.
      	* gcc.dg/c99-stdint-6.c: Same.
      	* gcc.dg/stdint-width-1.c: Same.
      
      	* doc/sourcebuild.texi (Effective-Target Keywords, Environment
      	attributes): Document signal effective target.
      
      From-SVN: r249091
      Tom de Vries committed
    • Add effective target stack_size · 0069a009
      2017-06-10  Tom de Vries  <tom@codesourcery.com>
      
      	* lib/target-supports.exp (check_effective_target_stack_size)
      	(dg-effective-target-value): New proc.
      	* lib/gcc.exp (gcc_target_compile): Remove adding of DSTACK_SIZE to
      	additional_flags.
      	* lib/objc.exp (objc_target_compile): Same.
      	* lib/profopt.exp (profopt-get-options): Allow dg-additional-options.
      	* g++.old-deja/g++.eh/badalloc1.C: Add -DSTACK_SIZE=<value> using
      	dg-additional-options.
      	* gcc.c-torture/compile/20080806-1.c: Same.
      	* gcc.c-torture/compile/920723-1.c: Same.
      	* gcc.c-torture/compile/930621-1.c: Same.
      	* gcc.c-torture/compile/991214-2.c: Same.
      	* gcc.c-torture/compile/bcopy.c: Same.
      	* gcc.c-torture/compile/memtst.c: Same.
      	* gcc.c-torture/compile/msp.c: Same.
      	* gcc.c-torture/compile/stuct.c: Same.
      	* gcc.c-torture/execute/20011008-3.c: Same.
      	* gcc.c-torture/execute/20030209-1.c: Same.
      	* gcc.c-torture/execute/20031012-1.c: Same.
      	* gcc.c-torture/execute/20040805-1.c: Same.
      	* gcc.c-torture/execute/920410-1.c: Same.
      	* gcc.c-torture/execute/920501-7.c: Same.
      	* gcc.c-torture/execute/921113-1.c: Same.
      	* gcc.c-torture/execute/921202-1.c: Same.
      	* gcc.c-torture/execute/921208-2.c: Same.
      	* gcc.c-torture/execute/930106-1.c: Same.
      	* gcc.c-torture/execute/930406-1.c: Same.
      	* gcc.c-torture/execute/950221-1.c: Same.
      	* gcc.c-torture/execute/960521-1.c: Same.
      	* gcc.c-torture/execute/980605-1.c: Same.
      	* gcc.c-torture/execute/comp-goto-1.c: Same.
      	* gcc.c-torture/execute/comp-goto-2.c: Same.
      	* gcc.c-torture/execute/memcpy-1.c: Same.
      	* gcc.c-torture/execute/multi-ix.c: Same.
      	* gcc.c-torture/execute/nestfunc-4.c: Same.
      	* gcc.c-torture/execute/pr20621-1.c: Same.
      	* gcc.c-torture/execute/pr23135.c: Same.
      	* gcc.c-torture/execute/pr28982b.c: Same.
      	* gcc.dg/loop-3.c: Same.
      	* gcc.dg/struct-ret-3.c: Same.
      	* gcc.dg/torture/stackalign/comp-goto-1.c: Same.
      	* gcc.dg/torture/stackalign/non-local-goto-4.c: Same.
      	* gcc.dg/tree-prof/comp-goto-1.c: Same.
      	* gcc.dg/tree-prof/pr44777.c: Same.
      
      	* doc/sourcebuild.texi (Effective-Target Keywords, Other attributes):
      	Document effective target stack_size.
      
      From-SVN: r249090
      Tom de Vries committed
    • Missing bits from N4268, constant evaluation for all non-type args. · e6d7d618
      	* call.c (build_converted_constant_expr): Rename from
      	build_integral_nontype_arg_conv, handle all types.
      	* pt.c (convert_nontype_argument): In C++17 call it for all types.
      	Move NOP stripping inside pointer case, don't strip ADDR_EXPR.
      	* cvt.c (strip_fnptr_conv): Also strip conversions to the same type.
      
      From-SVN: r249089
      Jason Merrill committed
    • Overhaul pointer-to-member conversion and template argument handling. · 8b8b203a
      	* call.c (standard_conversion): Avoid creating ck_pmem when the
      	class type is the same.
      	* cvt.c (can_convert_qual): Split from
      	perform_qualification_conversions.
      	* constexpr.c (cxx_eval_constant_expression): Check it.
      	* typeck.c (convert_ptrmem): Only cplus_expand_constant if
      	adjustment is necessary.
      	* pt.c (check_valid_ptrmem_cst_expr): Compare class types.
      	(convert_nontype_argument): Avoid redundant error.
      
      From-SVN: r249088
      Jason Merrill committed
    • Daily bump. · 52486891
      From-SVN: r249087
      GCC Administrator committed
  4. 09 Jun, 2017 15 commits