1. Jun 28, 2018
    • law's avatar
      * config/v850/v850.md (addsi3_set_flags): New pattern. · 24010b8d
      law authored
      	(subsi3_set_flags, negsi2_set_flags, andsi3_set_flags): Likewise.
      	(iorsi3_set_flags, xorsi3_set_flags, one_cmplsi2_set_flags): Likewise.
      	(zero_extendhisi2_v850_set_flags): Likewise.
      	(zero_extendqisi2_v850_set_flags): Likewise.
      	(ashlsi3_set_flags, ashlsi3_v850e2_set_flags): Likewise.
      	(lshrsi3_set_flags, lshrsi3_v850e2_set_flags): Likewise.
      	(ashrsi3_set_flags, ashrsi3_v850e2_set_flags): Likewise.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262192 138bc75d-0d04-0410-961f-82ee72b054a4
      24010b8d
    • law's avatar
      * config/v850/v850-protos.h (notice_update_cc): Remove. · fe8bc499
      law authored
      	* config/v850/v850.c (v850_compare_op0, v850_compare_op1): Remove.
      	(v850_print_operand): Handle 'D' and "d".
      	(v850_select_cc_mode): Remove ATTRIBUTE_UNUSED for last argument.
      	Add handling of arithmetic/logical operations compared against zero.
      	(v850_gen_float_compare): Remove ATTRIBUTE_UNUSED for last argument.
      	Do not look at v850_compare_op, instead get mode from last argument.
      	(v850_gen_compare): Remove
      	(increment_stack): Use addsi3_clobber_flags to avoid splitting failure
      	after reload for prologue insns.
      	(expand_prologue): Account for CLOBBER of CC_REGNUM in various
      	patterns.
      	(construct_save_jarl): Likewise.
      	(TARGET_FLAGS_REGNUM): Define.
      	* config/v850/v850.h (v850_compare_op0, v850_compare_op1): Remove.
      	(NOTICE_UPDATE_CC): Remove.
      	* config/v850/v850.md (v850_tst1): Use (reg:CCZ CC_REGNUM) rather
      	than cc0.  Conditionalize on reload_completed.
      	(cmpsi_insn, setfcc_insn): Likewise.
      	(tst1 splitter): Turn into define_and_split which sets the flags
      	after reload.
      	(cstoresi4, cbranchsf4, cbranchdf4, cbranchsi4_insn): Likewise.
      	(cbranchsi4, branch_normal, branch_invert): Do not expose cc0 here.
      	(cstoresf4, cstoredf4): Clobber the flags.
      	(cmpsi, cmpsf, cmpdf): Remove expanders.
      	(setf_insn): Remove pattern.
      	(addsi3): Turn into define_and_split which clobbers the flags after
      	reload and a suitable pattern (addsi3_clobber_flags) for use after
      	reload.
      	(subsi3, negsi2, andsi3, iorsi3, xorsi3, one_cmplsi2) Likewise.
      	(ashlsi3, ashlsi3_v850e2, lshrsi3, lsh4si3_v850e2): Likewise.
      	(ashrsi3, ashrsi3_v850e2): Likewise.
      	(bins): Clobber the flags.
      	(movsicc_normal_cc, movsicc_normal, movsicc_tst1): Likewise.
      	(movsicc_tst1_revesed, sasf, swap and rotate patterns): Likewise.
      	(fix_loop_counter, call_internal_short, call_internal_long): Likewise.
      	(call_value_internal_short, call_value_internal_long): Likewise.
      	(callt_save_interrupt, callt_return_interrupt): Likewise.
      	(save_interrupt, return_interrupt): Likewise.
      	(callt_save_all_interrupt, save_all_interrupt): Likewise.
      	(_save_all_interrupt, callt_restore_all_interrupt): Likewise.
      	(restore_all_interrupt, _restore_all_interrupt): Likewise.
      	(All FP comparisons): Only allow after reload has completed.
      	(trfsr): Likewise.
      	(divh, divhu): Tweak output template.
      	(branch_z_normal, branch_z_invert): Remove
      	(branch_nz_normal, branch_nz_invert): Likewise.
      	(extendhisi_insn, extendqisi_insn): Do not clobber flags.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262190 138bc75d-0d04-0410-961f-82ee72b054a4
      fe8bc499
    • law's avatar
      * config/v850/v850-modes.def (CCZ, CCNZ): Add new modes. · d6c5e987
      law authored
      	* config/v850/v850.c (notice_update_cc): Remove.
      	* config/v850/v850.h  (CC_OVERFLOW_UNUSABLE): Remove
      	(CC_NO_CARRY): Likewise.
      	(NOTICE_UPDATE_CC): Define to nothing.
      	* config/v850/v850.md: Remove block comment on cc0 handling
      	Remove "cc" attribute from all patterns.  Remove cc_status handling
      	from all patterns.  Minor formatting fixes.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262189 138bc75d-0d04-0410-961f-82ee72b054a4
      d6c5e987
    • jason's avatar
      Avoid crash on friend in nested class template. · 29409750
      jason authored
      	* name-lookup.c (do_pushtag): If we skip a class level, also skip
      	its template level.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262188 138bc75d-0d04-0410-961f-82ee72b054a4
      29409750
  2. Jun 27, 2018
    • ktkachov's avatar
      [AArch64] Add support for Arm Cortex-A76 · f9e6514a
      ktkachov authored
      The Cortex-A76 is an Armv8.2-A processor with dotproduct and FP16 support.
      It can be paired with the Cortex-A55 and hence the option
      -mcpu/-mtune=cortex-a76.cortex-a55 is also introduced.
      
      Bootstrapped and tested on aarch64-none-linux-gnu. 
      
      	* config/aarch64/aarch64-cores.def (cortex-a76): New entry.
      	(cortex-a76.cortex-a55): Likewise.
      	* config/aarch64/aarch64-tune.md: Regenerate.
      	* doc/invoke.texi (AArch64 Options): Document cortex-a76 and
      	cortex-a76.cortex-a55.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262186 138bc75d-0d04-0410-961f-82ee72b054a4
      f9e6514a
    • law's avatar
      * config/v850/t-v850 (MULTILIB_OPTIONS): Remove 8byte-align. · 0ae463d5
      law authored
      	(MULTILIB_DIRNAMES): Similarly.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262185 138bc75d-0d04-0410-961f-82ee72b054a4
      0ae463d5
    • redi's avatar
      Add std::__is_byte<std::byte> specialization · cdb0b9c4
      redi authored
      	* include/bits/cpp_type_traits.h [__cplusplus >= 201703]
      	(__is_byte<byte>): Define specialization for std::byte.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262182 138bc75d-0d04-0410-961f-82ee72b054a4
      cdb0b9c4
    • ebotcazou's avatar
      * gimple.h (gimple_return_retbnd): Delete. · cf696dea
      ebotcazou authored
      	(gimple_return_set_retbnd): Likewise.
      	* cgraphunit.c (cgraph_node::expand_thunk): Remove call to
      	gimple_return_set_retbnd.
      	* gimple-pretty-print.c (dump_gimple_return): Remove call to
      	gimple_return_retbnd and adjust.
      	* tree-inline.h (struct copy_body_data): Remove retbnd field.
      	* tree-inline.c (remap_gimple_stmt): Remove handling of retbnd.
      	Explicitly return NULL in a couple more cases.  Move assertion
      	on debug statements and remove unreachable code.
      	(reset_debug_binding): Do not test id->retbnd.
      	(expand_call_inline): Do not set it.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262181 138bc75d-0d04-0410-961f-82ee72b054a4
      cf696dea
    • villemoes's avatar
      add support for --disable-gcov · bab25aa4
      villemoes authored
      For some targets (in my case VxWorks 5.5), libgcov does not compile due
      to missing functions and macros such as getpid() and F_OK.
      
      Incidentally, gcc/Makefile.in already contains comments such as
      
      # Install gcov if it was compiled.
      
      but there is no logic in place to actually allow gcov to not be
      compiled.
      
      So add an option for disabling build and install of libgcov and the
      related host tools.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262180 138bc75d-0d04-0410-961f-82ee72b054a4
      bab25aa4
    • ktkachov's avatar
      [arm] Add support for Arm Cortex-A76 · c628c343
      ktkachov authored
      The Cortex-A76 is an Armv8.2-A processor with dotproduct and FP16 support.
      It can be paired with the Cortex-A55 and hence the option
      -mcpu/-mtune=cortex-a76.cortex-a55 is also introduced.
      
      Bootstrapped and tested on arm-none-linux-gnueabihf.
      
      	* config/arm/arm-cpus.in (cortex-a76): New entry.
      	(cortex-a76.cortex-a55): Likewise.
      	* config/arm/arm-tables.opt: Regenerate.
      	* config/arm/arm-tune.md: Likewise.
      	* config/arm/driver-arm.c (arm_cpu_table): Add Cortex-A76 entry.
      	* doc/invoke.texi (ARM Options): Document cortex-a76 and
      	cortex-a76.cortex-a55.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262179 138bc75d-0d04-0410-961f-82ee72b054a4
      c628c343
    • tnfchris's avatar
      Add SIMD to REG pattern for movhf without armv8.2-a support for AArch64 · 8dbef94d
      tnfchris authored
      This fixes a regression where we don't have an instruction for pre Armv8.2-a
      to do a move of an fp16 value from a GP reg to a SIMD reg.
      
      This patch adds that pattern to movhf_aarch64 using a dup and only selectes it
      using a very low priority.
      
      This fixes an ICE at -O0.
      
      gcc/
      2018-06-20  Tamar Christina  <tamar.christina@arm.com>
      
      	PR target/85769
      	* config/aarch64/aarch64.md (*movhf_aarch64): Add dup v0.4h pattern.
      
      gcc/testsuite/
      2018-06-20  Tamar Christina  <tamar.christina@arm.com>
      
      	PR target/85769
      	* gcc.target/aarch64/f16_mov_immediate_3.c: New.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262178 138bc75d-0d04-0410-961f-82ee72b054a4
      8dbef94d
    • villemoes's avatar
      fixincludes: Add missing hunk to tests/base/ioLib.h · c0a71d72
      villemoes authored
      When adding the vxworks_iolib_include_unistd hack I failed to add the
      appropriate hunk to the tests/base/ioLib.h file, causing "make
      check-fixincludes" to fail.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262177 138bc75d-0d04-0410-961f-82ee72b054a4
      c0a71d72
    • siddhesh's avatar
      [aarch64] Fix obsolete comment about X30 · a1557b7d
      siddhesh authored
      r217431 changed X30 as caller-saved in CALL_USE_REGISTERS because of
      which this comment about X30 not being marked as call-clobbered is no
      longer accurate.  Fixed to describe the current state more accurately.
      
      	* config/aarch64/aarch64.h (CALL_USE_REGISTERS): Fix obsolete
      	comment.
      	(EPILOGUE_USES): Likewise.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262176 138bc75d-0d04-0410-961f-82ee72b054a4
      a1557b7d
    • jason's avatar
      PR c++/86320 - memory-hog with std::array of pair · cf755750
      jason authored
      	* typeck2.c (process_init_constructor_array): Only compute a
      	constant initializer once.
      
      In this PR, we have a large std::array of pairs.  Since the C array is
      wrapped in a class we don't go to build_vec_init, so we end up with
      digest_init wanting to build up the element initializer for each element of
      the array.
      
      In the more general case, like 80272, we have a data structure problem: we
      don't currently have a good way of expressing the same dynamic
      initialization of many elements within a CONSTRUCTOR.  RANGE_EXPR probably
      ought to work, but will need more work at genericize or gimplify time.
      
      But in this case, the initialization for each element reduces to constant
      0, so we don't even need to add anything to the CONSTRUCTOR.  We just need
      to realize that if the initializer for one element is 0, the others will be
      as well, and we don't need to iterate over the whole array.
      
      For the trunk, I also use a RANGE_EXPR to handle constant initialization by
      a value other than 0.
      
      void foo ()
      {
        std::array<std::pair<int, int>, 1024 * 1024> arr {};
      }
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262173 138bc75d-0d04-0410-961f-82ee72b054a4
      cf755750
    • jason's avatar
      PR c++/80290 - memory-hog with std::pair. · 070c395b
      jason authored
      	* pt.c (fn_type_unification): Add convs parameter.
      	(check_non_deducible_conversion): Remember conversion.
      	(check_non_deducible_conversions): New.  Do checks here.
      	(type_unification_real): Not here.  Remove flags parm.
      	* call.c (add_function_candidate): Make convs a parameter.
      	Don't recalculate the conversion if it's already set.
      	(add_template_candidate_real): Allocate convs here.
      	(good_conversion, conv_flags): New.
      
      When the std::pair constructors got more complex to handle, it aggravated a
      preexisting algorithmic problem in template overload resolution:
      
      As part of template argument deduction in a call, once we've deduced all
      the template arguments we can but before we substitute them to form an
      actual declaration, for any function parameters that don't involve template
      parameters we need to check that it's possible to convert the argument to
      the parameter type (wg21.link/cwg1391).
      
      As a result, we end up calculating the conversion twice: once here, and
      then again in add_function_candidate as part of normal overload resolution.
      Normally this isn't a big deal, but when the argument is a multiply-nested
      initializer list, doubling the conversion processing at each level leads to
      combinatorial explosion.
      
      The patch for trunk avoids the duplication by remembering the conversion we
      calculate at deduction time and then reusing it in overload resolution
      rather than calculating it again.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262172 138bc75d-0d04-0410-961f-82ee72b054a4
      070c395b
    • gccadmin's avatar
      Daily bump. · a2fa8768
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262171 138bc75d-0d04-0410-961f-82ee72b054a4
      a2fa8768
    • redi's avatar
      Declare some explicit instantiations for strings in Debug Mode · 393138d7
      redi authored
      The empty reps and the I/O functions do not need to be implicitly
      instantiated to enable assertions, so declare the explicit
      instantiations when _GLIBCXX_EXTERN_TEMPLATE == -1 (i.e. when
      _GLIBCXX_ASSERTIONS is defined).
      
      	PR libstdc++/86138
      	* include/bits/basic_string.tcc: [_GLIBCXX_EXTERN_TEMPLATE < 0]
      	Declare explicit instantiations of COW empty reps and I/O functions.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262167 138bc75d-0d04-0410-961f-82ee72b054a4
      393138d7
    • law's avatar
      * common/config/v850/v850-common.c (TARGET_DEFAULT_TARGET_FLAGS): Turn · 60025d59
      law authored
      	on -mbig-switch by default.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262166 138bc75d-0d04-0410-961f-82ee72b054a4
      60025d59
    • ebotcazou's avatar
      * tree-inline.c (remap_location): New function extracted from... · 32d6a0d6
      ebotcazou authored
      	(copy_edges_for_bb): Add ID parameter.  Remap goto_locus.
      	(copy_phis_for_bb): ...here.  Call remap_location.
      	(copy_cfg_body): Adjust call to copy_edges_for_bb.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262165 138bc75d-0d04-0410-961f-82ee72b054a4
      32d6a0d6
    • dje's avatar
      * testsuite/experimental/algorithm/sample-2.cc: Add TLS DejaGNU · b0872d0e
      dje authored
              directives.
              * testsuite/experimental/algorithm/shuffle.cc: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262163 138bc75d-0d04-0410-961f-82ee72b054a4
      b0872d0e
    • kelvin's avatar
      gcc/testsuite/ChangeLog: · 7d804d50
      kelvin authored
      2018-06-26  Kelvin Nilsen  <kelvin@gcc.gnu.org>
      
      	* gcc.target/powerpc/builtins-1.c: Correct a comment.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262162 138bc75d-0d04-0410-961f-82ee72b054a4
      7d804d50
    • acsawdey's avatar
      2018-06-26 Aaron Sawdey <acsawdey@linux.ibm.com> · 41548eee
      acsawdey authored
      	* config/rs6000/rs6000-string.c (expand_block_clear): Don't use
      	unaligned vsx for 16B memset.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262158 138bc75d-0d04-0410-961f-82ee72b054a4
      41548eee
    • segher's avatar
      I typoed the PR numnber, correct is: · 5ddcb543
      segher authored
      	PR target/86285
      	* config/rs6000/rs6000.c (rs6000_init_builtins): Do not set
      	ieee128_float_type_node to long_double_type_node unless
      	TARGET_LONG_DOUBLE_128 is set.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262156 138bc75d-0d04-0410-961f-82ee72b054a4
      5ddcb543
  3. Jun 26, 2018
    • willschm's avatar
      · 71f6975c
      willschm authored
      [testsuite]
      
      2018-06-12  Will Schmidt  <will_schmidt@vnet.ibm.com>
      
      	* gcc.target/powerpc/fold-vec-neg-int.p8.c: Specify powerpc_p8vector_ok
      	requirement for this test.
      	* gcc.target/powerpc/fold-vec-neg-int.c: Specify powerpc_p8vector_ok
      	requirement, and -mpower8-vector compile option.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262153 138bc75d-0d04-0410-961f-82ee72b054a4
      71f6975c
    • segher's avatar
      rs6000: Set up ieee128_float_type_node correctly (PR82625) · a8b44230
      segher authored
      We shouldn't init __ieee128 to be the same as long double if the
      latter is not even a 128-bit type.
      
      This also reorders the nearby __ibm128 code so both types use similar
      logic.
      
      
      	PR target/82625
      	* config/rs6000/rs6000.c (rs6000_init_builtins): Do not set
      	ieee128_float_type_node to long_double_type_node unless
      	TARGET_LONG_DOUBLE_128 is set.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262152 138bc75d-0d04-0410-961f-82ee72b054a4
      a8b44230
    • dmalcolm's avatar
      Introduce dump_location_t · c309657f
      dmalcolm authored
      gcc/ChangeLog:
      	* cfgloop.c (get_loop_location): Convert return type from
      	location_t to dump_user_location_t, replacing INSN_LOCATION lookups
      	by implicit construction from rtx_insn *, and using
      	dump_user_location_t::from_function_decl for the fallback case.
      	* cfgloop.h (get_loop_location): Convert return type from
      	location_t to dump_user_location_t.
      	* cgraphunit.c (walk_polymorphic_call_targets): Update call to
      	dump_printf_loc to pass in a dump_location_t rather than a
      	location_t, via the gimple stmt.
      	* coverage.c (get_coverage_counts): Update calls to
      	dump_printf_loc to pass in dump_location_t rather than a
      	location_t.
      	* doc/optinfo.texi (Dump types): Convert example of
      	dump_printf_loc from taking "locus" to taking "insn".  Update
      	description of the "_loc" calls to cover dump_location_t.
      	* dumpfile.c: Include "backend.h", "gimple.h", "rtl.h", and
      	"selftest.h".
      	(dump_user_location_t::dump_user_location_t): New constructors,
      	from gimple *stmt and rtx_insn *.
      	(dump_user_location_t::from_function_decl): New function.
      	(dump_loc): Make static.
      	(dump_gimple_stmt_loc): Convert param "loc" from location_t to
      	const dump_location_t &.
      	(dump_generic_expr_loc): Delete.
      	(dump_printf_loc): Convert param "loc" from location_t to
      	const dump_location_t &.
      	(selftest::test_impl_location): New function.
      	(selftest::dumpfile_c_tests): New function.
      	* dumpfile.h: Include "profile-count.h".
      	(class dump_user_location_t): New class.
      	(struct dump_impl_location_t): New struct.
      	(class dump_location_t): New class.
      	(dump_printf_loc): Convert 2nd param from source_location to
      	const dump_location_t &.
      	(dump_generic_expr_loc): Delete.
      	(dump_gimple_stmt_loc): Convert 2nd param from source_location to
      	const dump_location_t &.
      	* gimple-fold.c (fold_gimple_assign): Update call to
      	dump_printf_loc to pass in a dump_location_t rather than a
      	location_t, via the gimple stmt.
      	(gimple_fold_call): Likewise.
      	* gimple-loop-interchange.cc
      	(loop_cand::analyze_iloop_reduction_var): Update for change to
      	check_reduction_path.
      	(tree_loop_interchange::interchange): Update for change to
      	find_loop_location.
      	* graphite-isl-ast-to-gimple.c (scop_to_isl_ast): Update for
      	change in return-type of find_loop_location.
      	(graphite_regenerate_ast_isl): Likewise.
      	* graphite-optimize-isl.c (optimize_isl): Likewise.
      	* graphite.c (graphite_transform_loops): Likewise.
      	* ipa-devirt.c (ipa_devirt): Update call to dump_printf_loc to
      	pass in a dump_location_t rather than a location_t, via the
      	gimple stmt.
      	* ipa-prop.c (ipa_make_edge_direct_to_target): Likewise.
      	* ipa.c (walk_polymorphic_call_targets): Likewise.
      	* loop-unroll.c (report_unroll): Convert "locus" param from
      	location_t to dump_location_t.
      	(decide_unrolling): Update for change to get_loop_location's
      	return type.
      	* omp-grid.c (struct grid_prop): Convert field "target_loc" from
      	location_t to dump_user_location_t.
      	(grid_find_single_omp_among_assignments_1): Updates calls to
      	dump_printf_loc to pass in a dump_location_t rather than a
      	location_t, via the gimple stmt.
      	(grid_parallel_clauses_gridifiable): Convert "tloc" from
      	location_t to dump_location_t.  Updates calls to dump_printf_loc
      	to pass in a dump_location_t rather than a location_t, via the
      	gimple stmt.
      	(grid_inner_loop_gridifiable_p): Likewise.
      	(grid_dist_follows_simple_pattern): Likewise.
      	(grid_gfor_follows_tiling_pattern): Likewise.
      	(grid_target_follows_gridifiable_pattern): Likewise.
      	(grid_attempt_target_gridification): Convert initialization
      	of local "grid" from memset to zero-initialization; FIXME: does
      	this require C++11?  Update call to dump_printf_loc to pass in a
      	optinfo_location rather than a location_t, via the gimple stmt.
      	* profile.c (read_profile_edge_counts): Updates call to
      	dump_printf_loc to pass in a dump_location_t rather than a
      	location_t
      	(compute_branch_probabilities): Likewise.
      	* selftest-run-tests.c (selftest::run_tests): Call
      	dumpfile_c_tests.
      	* selftest.h (dumpfile_c_tests): New decl.
      	* tree-loop-distribution.c (pass_loop_distribution::execute):
      	Update for change in return type of find_loop_location.
      	* tree-parloops.c (parallelize_loops): Likewise.
      	* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Convert
      	"locus" from location_t to dump_user_location_t.
      	(canonicalize_loop_induction_variables): Likewise.
      	* tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize_loop): Update
      	for change in return type of find_loop_location.
      	* tree-ssa-loop-niter.c (number_of_iterations_exit): Update call
      	to dump_printf_loc to pass in a dump_location_t rather than a
      	location_t, via the stmt.
      	* tree-ssa-sccvn.c (eliminate_dom_walker::before_dom_children):
      	Likewise.
      	* tree-vect-loop-manip.c (find_loop_location): Convert return
      	type from source_location to dump_user_location_t.
      	(vect_do_peeling): Update for above change.
      	(vect_loop_versioning): Update for change in type of
      	vect_location.
      	* tree-vect-loop.c (check_reduction_path): Convert "loc" param
      	from location_t to dump_user_location_t.
      	(vect_estimate_min_profitable_iters): Update for change in type
      	of vect_location.
      	* tree-vect-slp.c (vect_print_slp_tree): Convert param "loc" from
      	location_t to dump_location_t.
      	(vect_slp_bb): Update for change in type of vect_location.
      	* tree-vectorizer.c (vect_location): Convert from source_location
      	to dump_user_location_t.
      	(try_vectorize_loop_1): Update for change in vect_location's type.
      	(vectorize_loops): Likewise.
      	(increase_alignment): Likewise.
      	* tree-vectorizer.h (vect_location): Convert from source_location
      	to dump_user_location_t.
      	(find_loop_location): Convert return type from source_location to
      	dump_user_location_t.
      	(check_reduction_path): Convert 1st param from location_t to
      	dump_user_location_t.
      	* value-prof.c (check_counter): Update call to dump_printf_loc to
      	pass in a dump_user_location_t rather than a location_t; update
      	call to error_at for change in type of "locus".
      	(check_ic_target): Update call to dump_printf_loc to
      	pass in a dump_user_location_t rather than a location_t, via the
      	call_stmt.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262149 138bc75d-0d04-0410-961f-82ee72b054a4
      c309657f
    • redi's avatar
      Add missing noexcept on definition to match declaration · 72d25ae5
      redi authored
      	* include/bits/regex.tcc (regex_iterator::operator==): Add missing
      	noexcept.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262146 138bc75d-0d04-0410-961f-82ee72b054a4
      72d25ae5
    • rdapp's avatar
      S/390: Fix mtune default. · 5648c3fa
      rdapp authored
      When building with --with-tune=zEC12 and calling the resulting gcc
      with --march=z13 (no extra -mtune), the binary would unexpectedly be compiled
      with -march=z13 -mtune=zEC12.  This patch avoids using the default tune
      parameter if -march is specified as argument but the user can still
      explicitly state -march=z13 -mtune=zEC12.
      
      gcc/ChangeLog:
      
      2018-06-26  Robin Dapp  <rdapp@linux.vnet.ibm.com>
      
      	* config/s390/s390.h (enum processor_flags): Do not use
      	default tune parameter when -march was specified.
      
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262143 138bc75d-0d04-0410-961f-82ee72b054a4
      5648c3fa
    • jakub's avatar
      PR target/86314 · dcf72598
      jakub authored
      	* config/i386/i386.md (setcc + movzbl to xor + setcc peephole2s):
      	Check reg_overlap_mentioned_p in addition to reg_set_p with the same
      	operands.
      
      	* gcc.dg/pr86314.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262141 138bc75d-0d04-0410-961f-82ee72b054a4
      dcf72598
    • jakub's avatar
      PR c++/86291 · f626db6c
      jakub authored
      	* parser.c (cp_parser_omp_for_loop_init): Change for_block argument
      	type from vec<tree, va_gc> * to vec<tree, va_gc> *&.
      
      	* testsuite/libgomp.c++/pr86291.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262137 138bc75d-0d04-0410-961f-82ee72b054a4
      f626db6c
    • jakub's avatar
      PR debug/86257 · 6f87151c
      jakub authored
      	* gcc.target/i386/pr86257.c: Add -mtls-dialect=gnu to dg-options.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262136 138bc75d-0d04-0410-961f-82ee72b054a4
      6f87151c
    • ro's avatar
      Require 64-bit in gcc.target/i386/pr86257.c · e8ff39df
      ro authored
      	* gcc.target/i386/pr86257.c: Require 64-bit.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262135 138bc75d-0d04-0410-961f-82ee72b054a4
      e8ff39df
    • ro's avatar
      Require IBM1047 support in g++.dg/pr86082.C · 12614c72
      ro authored
      	* g++.dg/pr86082.C: Require IBM1047 support.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262134 138bc75d-0d04-0410-961f-82ee72b054a4
      12614c72
    • villemoes's avatar
      Add myself to MAINTAINERS file · ed380f72
      villemoes authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262133 138bc75d-0d04-0410-961f-82ee72b054a4
      ed380f72
    • rguenth's avatar
      2018-06-26 Richard Biener <rguenther@suse.de> · 5602144c
      rguenth authored
      	PR tree-optimization/86287
      	PR bootstrap/86316
      	* tree-vect-loop.c (vect_transform_loop_stmt): Fix read-after-free.
      	(vect_analyze_loop): Initialize n_stmts.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262132 138bc75d-0d04-0410-961f-82ee72b054a4
      5602144c
    • rguenth's avatar
      2018-06-26 Richard Biener <rguenther@suse.de> · 80608177
      rguenth authored
      	PR middle-end/86271
      	* fold-const.c (fold_convertible_p): Pointer extension
      	isn't valid.
      
      	* gcc.dg/pr86271.c: New testcase.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262131 138bc75d-0d04-0410-961f-82ee72b054a4
      80608177
    • aoliva's avatar
      [PR86064] split single cross-partition range with nonzero locviews · 239a43d4
      aoliva authored
      We didn't split cross-partition ranges in loclists to output a
      whole-function location expression, but with nonzero locviews, we
      force loclists, and then we have to split to avoid cross-partition
      list entries.
      
      for  gcc/ChangeLog
      
      	PR debug/86064
      	* dwarf2out.c (loc_list_has_views): Adjust comments.
      	(dw_loc_list): Split single cross-partition range with
      	nonzero locview.
      
      for  gcc/testsuite/ChangeLog
      
      	PR debug/86064
      	* gcc.dg/pr86064.c: New.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262130 138bc75d-0d04-0410-961f-82ee72b054a4
      239a43d4
    • law's avatar
      * lib/target-supports.exp · 2224de3e
      law authored
      	(check_effective_target_logical_op_short_circuit): Add v850.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262129 138bc75d-0d04-0410-961f-82ee72b054a4
      2224de3e
    • gccadmin's avatar
      Daily bump. · 88806a07
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262127 138bc75d-0d04-0410-961f-82ee72b054a4
      88806a07
    • law's avatar
      * config/v850/predicates.md (const_float_1_operand): Fix match_code · f7e2b032
      law authored
      	test.
      	(const_float_0_operand): Remove unused predicate.
      	* config/v850/v850.md (define_constants): Remove UNSPEC_LOOP.
      	(define_c_enum unspec): Add LOOP, RCP and RSQRT constants.
      	(recipsf2): New expander.  Original pattern now called
      	(recipsf2_insn).
      	(recipdf2, recipdf2_insn): Similarly.
      	(rsqrtsf2, rsqrtsf2_insn): Similarly
      	(rsqrtdf2, rsqrtdf2_insn): Similarly
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262123 138bc75d-0d04-0410-961f-82ee72b054a4
      f7e2b032