1. 11 Feb, 2019 18 commits
    • * fi.po, fr.po: Update. · 62b835cd
      From-SVN: r268778
      Joseph Myers committed
    • [COMMITTED] Fix pthread errors in pr86637-2.c · 7009c55e
      Fix test errors on targets which do not support pthreads.
      
      Committed as obvious.
      
          testsuite/
      	PR tree-optimization/86637
      	* gcc.c-torture/compile/pr86637-2.c: Test pthread and graphite target.
      
      From-SVN: r268777
      Wilco Dijkstra committed
    • PR tree-optimization/88771 - Misleading -Werror=array-bounds error · 287ef129
      gcc/ChangeLog:
      
      	PR tree-optimization/88771
      	* gimple-ssa-warn-restrict.c (pass_wrestrict::gate): Also enable
      	when -Wstringop-overflow is set.
      	(builtin_memref::builtin_memref): Adjust excessive upper bound
      	only when lower bound is not excessive.
      	(maybe_diag_overlap): Detect and diagnose excessive bounds via
      	-Wstringop-ovefflow.
      	(maybe_diag_offset_bounds): Rename...
      	(maybe_diag_access_bounds): ...to this.
      	(check_bounds_or_overlap): Adjust for name change above.
      
      gcc/testsuite/ChangeLog:
      
      	PR tree-optimization/88771
      	* gcc.dg/Wstringop-overflow-8.c: New test.
      	* gcc.dg/Wstringop-overflow-9.c: New test.
      	* gcc.dg/Warray-bounds-40.c: New test.
      	* gcc.dg/builtin-stpncpy.c: Adjust.
      	* gcc.dg/builtin-stringop-chk-4.c: Adjust.
      	* g++.dg/opt/memcpy1.C: Adjust.
      
      From-SVN: r268775
      Martin Sebor committed
    • PR c++/87996 - size of array is negative error when SIZE_MAX/2 < sizeof(array) <= SIZE_MAX · 28a8cef1
      gcc/ChangeLog:
      
      	PR c++/87996
      	* builtins.c (max_object_size): Move from here...
      	* builtins.h (max_object_size): ...and here...
      	* tree.c (max_object_size): ...to here...
      	* tree.h (max_object_size): ...and here.
      
      gcc/c-family/ChangeLog:
      
      	PR c++/87996
      	* c-common.c (invalid_array_size_error): New function.
      	(valid_array_size_p): Call it.  Handle size as well as type.
      	* c-common.h (valid_constant_size_p): New function.
      	(enum cst_size_error): New type.
      
      gcc/cp/ChangeLog:
      
      	PR c++/87996
      	* decl.c (compute_array_index_type_loc): Preserve signed sizes
      	for diagnostics.  Call valid_array_size_p instead of error.
      	* init.c (build_new_1): Compute size for diagnostic.  Call
      	invalid_array_size_error
      	(build_new): Call valid_array_size_p instead of error.
      
      gcc/testsuite/ChangeLog:
      
      	PR c++/87996
      	* c-c++-common/array-5.c: New test.
      	* c-c++-common/pr68107.c: Adjust text of diagnostics.
      	* g++.dg/init/new38.C: Same.
      	* g++.dg/init/new43.C: Same.
      	* g++.dg/init/new44.C: Same.
      	* g++.dg/init/new46.C: Same.
      	* g++.dg/other/large-size-array.C: Same.
      	* g++.dg/other/new-size-type.C: Same.
      	* g++.dg/template/array30.C: Same.
      	* g++.dg/template/array32.C: New test.
      	* g++.dg/template/dependent-name3.C: Adjust.
      	* gcc.dg/large-size-array-3.c: Same.
      	* gcc.dg/large-size-array-5.c: Same.
      	* gcc.dg/large-size-array.c: Same.
      	* g++.old-deja/g++.brendan/array1.C: Same.
      	* g++.old-deja/g++.mike/p6149.C: Same.
      
      From-SVN: r268774
      Martin Sebor committed
    • inliner-1.c: Correct comments. · 3c4860e3
      gcc/testsuite/ChangeLog:
      
      	* gcc.dg/tree-prof/inliner-1.c: Correct comments.
      
      From-SVN: r268773
      Martin Sebor committed
    • Arm: Update tests after register allocation changes. (PR/target 88560) · e43a0139
      
      After the register allocator changes of r268705 we need to update a few tests
      with new output.
      
      In all cases the compiler is now generating the expected code, since the tests
      are all float16 testcases using a hard-floar abi, we expect that actual fp16
      instructions are used rather than using integer loads and stores.  Because of
      we also save on some mov.f16s that were being emitted before to move between
      the two.
      
      The aapcs cases now match the f32 cases in using floating point operations.
      
      gcc/testsuite/Changelog
      
      	PR middle-end/88560
      	* gcc.target/arm/armv8_2-fp16-move-1.c: Update assembler scans.
      	* gcc.target/arm/fp16-aapcs-1.c: Likewise.
      	* gcc.target/arm/fp16-aapcs-3.c: Likewise.
      
      From-SVN: r268772
      Tamar Christina committed
    • rs6000.c (rs6000_gimple_fold_builtin): Shift-right and shift-left vector… · 09e0c98b
      rs6000.c (rs6000_gimple_fold_builtin): Shift-right and shift-left vector built-ins need to include a TRUNC_MOD_EXPR...
      
      [gcc]
      
      2019-02-11  Bill Schmidt  <wschmidt@linux.ibm.com>
      
      	* config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Shift-right
      	and shift-left vector built-ins need to include a TRUNC_MOD_EXPR
      	for correct semantics.
      
      [gcc/testsuite]
      
      2019-02-11  Bill Schmidt  <wschmidt@linux.ibm.com>
      
      	* gcc.target/powerpc/vec-sld-modulo.c: New.
      	* gcc.target/powerpc/vec-srad-modulo.c: New.
      	* gcc.target/powerpc/vec-srd-modulo.c: New.
      
      From-SVN: r268771
      Bill Schmidt committed
    • [RS6000] No inline PLT for V4 bss-plt, implement -mno-pltseq · ff7fa488
      Inline PLT calls need PLT to be an array of addresses.  PowerPC 32-bit
      bss-plt works differently, so this patch disables inline PLT calls
      when -mbss-plt.  The patch also adds support for a new -mno-pltseq
      option, which may be required when linking with -mbss-plt code.
      
      	* doc/invoke.texi (man page RS/6000 and PowerPC Options): Mention
      	-mlongcall and -mpltseq.
      	(RS/6000 and PowerPC Options <-mlongcall>): Mention inline PLT calls.
      	(RS/6000 and PowerPC Options <-mpltseq>): Document.
      	* config/rs6000/rs6000.h (TARGET_PLTSEQ): Define.
      	* config/rs6000/sysv4.opt (mpltseq): New option.
      	* config/rs6000/sysv4.h (TARGET_PLTSEQ): Redefine.
      	(SUBTARGET_OVERRIDE_OPTIONS): Error if given -mpltseq when assembler
      	support is lacking.  Don't allow -mpltseq with -mbss-plt.
      	* config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Warn if
      	-mpltseq given for ELFv1.
      	* config/rs6000/rs6000.c (rs6000_call_aix): Comment on UNSPEC_PLTSEQ.
      	Only use UNSPEC_PLTSEQ for inline PLT calls.
      	(rs6000_call_sysv, rs6000_sibcall_sysv): Expand comments.  Only
      	use UNSPEC_PLTSEQ for inline PLT calls.
      	(rs6000_indirect_call_template_1, rs6000_longcall_ref),
      	(rs6000_call_aix, rs6000_call_sysv, rs6000_sibcall_sysv): Replace
      	uses of HAVE_AS_PLTSEQ with TARGET_PLTSEQ, simplifying.
      	* config/rs6000/rs6000.md (pltseq_tocsave_<mode>),
      	(pltseq_plt16_ha_<mode>, pltseq_plt16_lo_<mode>),
      	(pltseq_mtctr_<mode>): Likewise.
      
      From-SVN: r268770
      Alan Modra committed
    • PR libstdc++/89023 fix test that fails when <omp.h> not available · 271ad97b
      Instead of a single test that only checks whether <regex> can be
      included in Parallel Mode, add tests for each of C++11/C++14/C++17 that
      check whether <bits/extc++.h> is compatible with _GLIBCXX_PARALLEL.
      This increases the coverage to (almost) all headers.
      
      If <omp.h> is not available then the tests will trivially pass, because
      we don't care about compatibility with _GLIBCXX_PARALLEL in that case.
      
      	PR libstdc++/89023
      	* testsuite/17_intro/headers/c++2011/parallel_mode.cc: New test.
      	* testsuite/17_intro/headers/c++2014/parallel_mode.cc: New test.
      	* testsuite/17_intro/headers/c++2017/parallel_mode.cc: New test.
      	* testsuite/28_regex/headers/regex/parallel_mode.cc: Remove.
      
      From-SVN: r268769
      Jonathan Wakely committed
    • Restore .init_array etc. detection on 64-bit Solaris · e66084a4
      	* acinclude.m4 (gcc_AC_INITFINI_ARRAY): Use 8-byte strings with
      	Solaris ld.
      	* configure: Regenerate.
      
      From-SVN: r268768
      Rainer Orth committed
    • Add AMD GCN maintainers · 60f32352
      2019-02-11  Andrew Stubbs  <ams@codesourcery.com>
      
      	* MAINTAINERS (amdgcn port): Add myself and Julian Brown.
      	(Write After Approval): Remove myself and Julian.
      
      From-SVN: r268767
      Andrew Stubbs committed
    • re PR bootstrap/88714 (bootstrap comparison failure on armv7l since r265398) · 85fef82f
      	PR bootstrap/88714
      	* config/arm/ldrdstrd.md (*arm_ldrd, *arm_strd): Use q constraint
      	instead of r.
      
      From-SVN: r268766
      Jakub Jelinek committed
    • function.c (assign_parm_setup_block): Use the stored size... · 9fb117e8
      	* function.c (assign_parm_setup_block): Use the stored
      	size, not the passed size, when allocating stack-space,
      	also for a parameter with alignment larger than
      	MAX_SUPPORTED_STACK_ALIGNMENT.
      
      From-SVN: r268763
      Hans-Peter Nilsson committed
    • Construct ipa_reduced_postorder always for overwritable (PR ipa/89009). · 45272fd2
      2019-02-11  Martin Liska  <mliska@suse.cz>
      
      	PR ipa/89009
      	* ipa-cp.c (build_toporder_info): Remove usage of a param.
      	* ipa-inline.c (inline_small_functions): Likewise.
      	* ipa-pure-const.c (propagate_pure_const): Likewise.
      	(propagate_nothrow): Likewise.
      	* ipa-reference.c (propagate): Likewise.
      	* ipa-utils.c (struct searchc_env): Remove unused field.
      	(searchc): Always search across AVAIL_INTERPOSABLE.
      	(ipa_reduced_postorder): Always allow AVAIL_INTERPOSABLE as
      	the only called IPA pure const can properly not propagate
      	across interposable boundary.
      	* ipa-utils.h (ipa_reduced_postorder): Remove param.
      2019-02-11  Martin Liska  <mliska@suse.cz>
      
      	PR ipa/89009
      	* g++.dg/ipa/pr89009.C: New test.
      
      From-SVN: r268762
      Martin Liska committed
    • [NDS32] Add memory mode in call pattern. · d29cce74
      gcc/
      	* config/nds32/nds32.md (call_internal, call_value_internal,
      	sibcall_internal, sibcall_value_internal): Use SImode for mem rtx.
      
      From-SVN: r268761
      Chung-Ju Wu committed
    • cris.c (cris_preferred_minimum_alignment): Fix name typo. · bfb31c3d
      	* config/cris/cris.c (cris_preferred_minimum_alignment): Fix name
      	typo.
      
      From-SVN: r268760
      Hans-Peter Nilsson committed
    • i386: Fix a typo in comments for for "Yd" · 8d75ab4d
      config/i386/constraints.md has
      
      (define_register_constraint "Yd"
       "TARGET_AVX512DQ ? ALL_SSE_REGS : TARGET_SSE4_1 ? SSE_REGS : NO_REGS"
       "@internal Any EVEX encodable SSE register (@code{%xmm0-%xmm31}) for AVX512DQ target or any SSE register for SSE4_1 target.")
      
      Comments for "Yd" should mention AVX512DQ, not AVX512BW.
      
      	* config/i386/constraints.md (Yd): Replace AVX512BW with AVX512DQ
      	in comments
      
      From-SVN: r268759
      H.J. Lu committed
    • Daily bump. · 05eca511
      From-SVN: r268758
      GCC Administrator committed
  2. 10 Feb, 2019 16 commits
  3. 09 Feb, 2019 6 commits