1. 13 Dec, 2019 2 commits
  2. 07 Jun, 2019 1 commit
  3. 14 Apr, 2019 1 commit
  4. 12 Apr, 2019 4 commits
  5. 11 Apr, 2019 1 commit
  6. 08 Jan, 2019 2 commits
  7. 06 Jan, 2019 1 commit
  8. 14 Dec, 2018 2 commits
  9. 26 Jul, 2018 2 commits
  10. 25 Jul, 2018 3 commits
  11. 24 Jul, 2018 1 commit
  12. 23 Jul, 2018 1 commit
  13. 22 Jul, 2018 1 commit
  14. 21 Jul, 2018 1 commit
  15. 20 Jul, 2018 1 commit
  16. 19 Jul, 2018 2 commits
  17. 18 Jul, 2018 6 commits
    • carll's avatar
      gcc/testsuite/ChangeLog: · 8a2be2d3
      carll authored
      2018-07-18  Carl Love  <cel@us.ibm.com>
      
      	Backport from mainline
      	2018-07-16  Carl Love  <cel@us.ibm.com>
      
      	PR target/86414
       	* gcc.target/powerpc/divkc3-2.c: Add dg-require-effective-target
      	longdouble128.
      	* gcc.target/powerpc/divkc3-3.c: Ditto.
       	* gcc.target/powerpc/mulkc3-2.c: Ditto.
      	* gcc.target/powerpc/mulkc3-3.c: Ditto.
      	* gcc.target/powerpc/fold-vec-mergehl-double.c: Update counts.
      	* gcc.target/powerpc/pr85456.c: Make check Linux and AIX specific.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@262865 138bc75d-0d04-0410-961f-82ee72b054a4
      8a2be2d3
    • msebor's avatar
      Backport from trunk. · 75d20a02
      msebor authored
      PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
      
      gcc/c-family/ChangeLog:
      
      	PR middle-end/85602
      	* c-warn.c (sizeof_pointer_memaccess_warning): Check for attribute
      	nonstring.
      
      gcc/ChangeLog:
      
      	PR middle-end/85602
      	* calls.c (maybe_warn_nonstring_arg): Handle strncat.
      	* tree-ssa-strlen.c (is_strlen_related_p): Make extern.
      	Handle integer subtraction.
      	(maybe_diag_stxncpy_trunc): Handle nonstring source arguments.
      	* tree-ssa-strlen.h (is_strlen_related_p): Declare.
      	* doc/invoke.texi (-Wstringop-truncation): Update.
      
      gcc/testsuite/ChangeLog:
      
      	PR middle-end/85602
      	* gcc.dg/attr-nonstring-2.c: Adjust text of expected warning.
      	* c-c++-common/attr-nonstring-8.c: New test.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@262859 138bc75d-0d04-0410-961f-82ee72b054a4
      75d20a02
    • jason's avatar
      PR c++/86480 - nested variadic lambda and constexpr if. · 43f638e8
      jason authored
      	* pt.c (find_parameter_packs_r) [IF_STMT]: Don't walk into
      	IF_STMT_EXTRA_ARGS.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@262858 138bc75d-0d04-0410-961f-82ee72b054a4
      43f638e8
    • redi's avatar
      Add xfail-if to some tests that fail with COW strings · 2f2d8153
      redi authored
      These tests fail when run with -D_GLIBCXX_USE_CXX11_ABI=0
      
      Backport from mainline
      2018-07-05  Jonathan Wakely  <jwakely@redhat.com>
      
      	* testsuite/21_strings/basic_string/cons/char/deduction.cc: XFAIL for
      	COW strings.
      	* testsuite/21_strings/basic_string/cons/wchar_t/deduction.cc:
      	Likewise.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@262857 138bc75d-0d04-0410-961f-82ee72b054a4
      2f2d8153
    • redi's avatar
      Add experimental::sample and experimental::shuffle from N4531 · 99e91fff
      redi authored
      The additions to <experimental/random> were added in 2015 but the new
      algorithms in <experimental/algorithm> were not. This adds them.
      
      Also define "random_device" effective target to fix testsuite failures
      on bare metal targets without std::random_device. The effective target
      currently only matches targets where _GLIBCXX_USE_RANDOM_TR1 is defined,
      which means /dev/random and /dev/urandom are usable.
      
      Backport from mainline
      2018-07-04  Jonathan Wakely  <jwakely@redhat.com>
      
      	* testsuite/25_algorithms/make_heap/complexity.cc: Require effective
      	target for std::random_device.
      	* testsuite/26_numerics/random/random_device/cons/default.cc:
      	Likewise.
      	* testsuite/experimental/algorithm/sample-2.cc: Likewise.
      	* testsuite/experimental/algorithm/shuffle.cc: Likewise.
      	* testsuite/experimental/random/randint.cc: Likewise.
      	* testsuite/lib/libstdc++.exp
      	(check_effective_target_random_device): New proc.
      
      Backport from mainline
      2018-06-26  David Edelsohn  <dje.gcc@gmail.com>
      
      	* testsuite/experimental/algorithm/sample-2.cc: Add TLS DejaGNU
      	directives.
      	* testsuite/experimental/algorithm/shuffle.cc: Likewise.
      
      Backport from mainline
      2018-06-25  Jonathan Wakely  <jwakely@redhat.com>
      
      	* include/experimental/algorithm (sample, shuffle): Add new overloads
      	using per-thread random number engine.
      	* testsuite/experimental/algorithm/sample.cc: Simpify and reduce
      	dependencies by using __gnu_test::test_container.
      	* testsuite/experimental/algorithm/sample-2.cc: New.
      	* testsuite/experimental/algorithm/shuffle.cc: New.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@262856 138bc75d-0d04-0410-961f-82ee72b054a4
      99e91fff
    • gccadmin's avatar
      Daily bump. · 29acb44b
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@262845 138bc75d-0d04-0410-961f-82ee72b054a4
      29acb44b
  18. 17 Jul, 2018 3 commits
  19. 16 Jul, 2018 5 commits
    • foreese's avatar
      2018-07-16 Fritz Reese <fritzoreese@gmail.com> · 1d242a31
      foreese authored
        gcc/testsuite/ChangeLog:
      
      	PR fortran/83184
      	* gfortran.dg/dec_structure_23.f90: Oops, "un-fix" error messages.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@262748 138bc75d-0d04-0410-961f-82ee72b054a4
      1d242a31
    • foreese's avatar
      2018-07-16 Fritz Reese <fritzoreese@gmail.com> · 1fed49d5
      foreese authored
          gcc/testsuite/ChangeLog:
      
      	PR fortran/83184
      	Backport from trunk.
      	* gfortran.dg/assumed_rank_14.f90: New testcase.
      	* gfortran.dg/assumed_rank_15.f90: New testcase.
      	* gfortran.dg/dec_structure_8.f90: Update error messages.
      	* gfortran.dg/dec_structure_23.f90: Update error messages.
      
          gcc/fortran/ChangeLog:
      
      	PR fortran/83184
      	Backport from trunk.
      	* decl.c (match_old_style_init): Initialize locus of variable expr when
      	creating a data variable.
      	(match_clist_expr): Verify array is explicit shape/size before
      	attempting to allocate constant array constructor.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@262747 138bc75d-0d04-0410-961f-82ee72b054a4
      1fed49d5
    • foreese's avatar
      2018-07-16 Fritz Reese <fritzoreese@gmail.com> · 65f9a1b8
      foreese authored
          Backport r262442 and r262743.
      
          gcc/fortran/ChangeLog:
      
      	Backport from trunk:
      
      	PR fortran/86417
      	* module.c (mio_component): Set component->loc when loading from module.
      
      	PR fortran/83183
      	PR fortran/86325
      	* expr.c (class_allocatable, class_pointer, comp_allocatable,
      	comp_pointer): New helpers.
      	(component_initializer): Generate EXPR_NULL for allocatable or pointer
      	components. Do not generate initializers for components within BT_CLASS.
      	Do not assign to comp->initializer.
      	(gfc_generate_initializer): Use new helpers; move code to generate
      	EXPR_NULL for class allocatable components into component_initializer().
      
          gcc/testsuite/ChangeLog:
      
      	Backport from trunk:
      
      	PR fortran/83183
      	PR fortran/86325
      	* gfortran.dg/init_flag_18.f90: New testcase.
      	* gfortran.dg/init_flag_19.f03: New testcase.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@262746 138bc75d-0d04-0410-961f-82ee72b054a4
      65f9a1b8
    • claziss's avatar
      [ARC] Reimplement return padding · ed271162
      claziss authored
      2018-06-16  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	Backport from mainline
      	2018-06-12  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* config/arc/arc-protos.h (arc_pad_return): Remove.
      	* config/arc/arc.c (machine_function): Remove force_short_suffix
      	and size_reason.
      	(arc_print_operand): Adjust printing of '&'.
      	(arc_verify_short): Remove conditional printing of short suffix.
      	(arc_final_prescan_insn): Remove reference to size_reason.
      	(pad_return): New function.
      	(arc_reorg): Call pad_return.
      	(arc_pad_return): Remove.
      	(arc_init_machine_status): Remove reference to force_short_suffix.
      	* config/arc/arc.md (vunspec): Add VUNSPEC_ARC_BLOCKAGE.
      	(attr length): When attribute iscompact is true force to 2
      	regardless; in the case of maybe check if we want to force the
      	instruction to have 4 bytes length.
      	(nopv): Change it to generate 4 byte long nop as well.
      	(blockage): New pattern.
      	(simple_return): Remove call to arc_pad_return.
      	(p_return_i): Likewise.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@262738 138bc75d-0d04-0410-961f-82ee72b054a4
      ed271162
    • rguenth's avatar
      2018-07-19 Richard Biener <rguenther@suse.de> · 58a930f8
      rguenth authored
      	Backport from mainline
      	2018-07-13  Richard Biener  <rguenther@suse.de>
      
      	PR debug/86452
      	* dwarf2out.c (gen_type_die_with_usage): Use scope_die_for
      	instead of get_context_die.
      
      	2018-07-12  Richard Biener  <rguenther@suse.de>
      
      	PR c/86453
      	* c-attribs.c (handle_packed_attribute): Do not build a variant
      	type with TYPE_PACKED, instead ignore the attribute if we may
      	not apply to the original type.
      
      	* g++.dg/warn/pr86453.C: New testcase.
      
      	2018-07-11  Richard Biener  <rguenther@suse.de>
      
      	PR debug/86457
      	* dwarf2out.c (init_sections_and_labels): Use
      	output_asm_line_debug_info consistently.
      	(dwarf2out_early_finish): Likewise.
      	(dwarf2out_finish): Remove DW_AT_stmt_list from early generated
      	type units.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@262691 138bc75d-0d04-0410-961f-82ee72b054a4
      58a930f8