1. 18 Oct, 2017 8 commits
    • graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id): Simplify… · 04612f7f
      graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id): Simplify with removal of the parameter rename map.
      
      2017-10-18  Richard Biener  <rguenther@suse.de>
      
      	* graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id):
      	Simplify with removal of the parameter rename map.
      	(set_rename): Likewise.
      	(should_copy_to_new_region): Likewise.
      	(graphite_copy_stmts_from_block): Likewise.
      	(copy_bb_and_scalar_dependences): Remove initialization of
      	unused copied_bb_map.
      	(copy_def): Remove.
      	(copy_internal_parameters): Likewise.
      	(graphite_regenerate_ast_isl): Do not call copy_internal_parameters.
      	* graphite-scop-detection.c (scop_detection::stmt_simple_for_scop_p):
      	Use INTEGRAL_TYPE_P.
      	(parameter_index_in_region_1): Rename to ...
      	(assign_parameter_index_in_region): ... this.  Assert we have
      	a parameter we handle.
      	(scan_tree_for_params): Adjust.
      	* sese.h (parameter_rename_map_t): Remove.
      	(struct sese_info_t): Remove unused parameter_rename_map and
      	copied_bb_map members.
      	* sese.c (new_sese_info): Adjust.
      	(free_sese_info): Likewise.
      
      From-SVN: r253847
      Richard Biener committed
    • S/390: Fix vec-cmp-2 testcase · de57059e
      The functions all call foo and therefore need a stack frame what makes
      them subject to shrink wrapping.  Also all the additional instructions
      in the function body makes it fragile wrt instruction scheduling.  Just
      set a global variable instead to circumvent this.
      
      gcc/testsuite/ChangeLog:
      
      2017-10-18  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
      
      	* gcc.target/s390/zvector/vec-cmp-2.c
      	(all_eq_double, all_ne_double, all_gt_double)
      	(all_lt_double, all_ge_double, all_le_double)
      	(any_eq_double, any_ne_double, any_gt_double)
      	(any_lt_double, any_ge_double, any_le_double)
      	(all_eq_int, all_ne_int, all_gt_int)
      	(all_lt_int, all_ge_int, all_le_int)
      	(any_eq_int, any_ne_int, any_gt_int)
      	(any_lt_int, any_ge_int, any_le_int): Set global variable instead
      	of calling foo().  Fix return type.
      
      From-SVN: r253846
      Andreas Krebbel committed
    • Do not put gimple stmt on an abnormal edge (PR sanitizer/82545). · 236ac442
      2017-10-18  Martin Liska  <mliska@suse.cz>
      
      	PR sanitizer/82545
      	* asan.c (asan_expand_poison_ifn): Do not put gimple stmt
      	on an abnormal edge.
      2017-10-18  Martin Liska  <mliska@suse.cz>
      
      	PR sanitizer/82545
      	* gcc.dg/asan/pr82545.c: New test.
      
      From-SVN: r253845
      Martin Liska committed
    • re PR c++/69057 ([C++14] constexpr static variable template assertion segmentation fault) · 1b2944cb
      2017-10-18  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/69057
      	* g++.dg/cpp1y/auto-fn45.C: New.
      
      From-SVN: r253844
      Paolo Carlini committed
    • re PR c++/68884 (template of value template crashes the compiler) · 257792c5
      2017-10-18  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/68884
      	* g++.dg/cpp0x/variadic-crash4.C: New.
      
      From-SVN: r253843
      Paolo Carlini committed
    • Update -ffunction/data-sections documentation · f381d87a
      gcc/
      	* doc/invoke.texi (ffunction-sections and fdata-sections):
      	Update.
      
      From-SVN: r253842
      Sebastian Huber committed
    • re PR c++/79474 (Multiple definitions of user-defined conversion operator cause… · 173a960a
      re PR c++/79474 (Multiple definitions of user-defined conversion operator cause ICE (internal compiler error))
      
      2017-10-18  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/79474
      	* g++.dg/cpp1y/auto-fn44.C: New.
      
      From-SVN: r253841
      Paolo Carlini committed
    • Daily bump. · 697fb2ae
      From-SVN: r253840
      GCC Administrator committed
  2. 17 Oct, 2017 27 commits
  3. 16 Oct, 2017 5 commits
    • MAINTAINERS (write after approval): Add myself. · fb336a7b
      ChangeLog:
      
      2017-10-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
      
              * MAINTAINERS (write after approval): Add myself.
      
      Index: MAINTAINERS
      ===================================================================
      --- MAINTAINERS (revision 253797)
      +++ MAINTAINERS (working copy)
      @@ -603,6 +603,7 @@
       Philipp Tomsich                                        <philipp.tomsich@theobroma-systems.com>
       Konrad Trifunovic                              <konrad.trifunovic@inria.fr>
       Markus Trippelsdorf                            <markus@trippelsdorf.de>
      +Igor Tsimbalist                                        <igor.v.tsimbalist@intel.com>
       Martin Uecker                                  <uecker@eecs.berkeley.edu>
       David Ung                                      <davidu@mips.com>
       Neil Vachharajani                              <nvachhar@gmail.com>
      
      From-SVN: r253798
      Igor Tsimbalist committed
    • Add gnu::unique_ptr · 46d2b77d
      This is a version of the patch posted by Trevor Saunders on 2017-07-31,
      for which he wrote:
      > For most of the history of this see
      >   https://sourceware.org/ml/gdb-patches/2016-10/msg00223.html
      > The changes are mostly s/gdb/gtl/g
      
      This version was updated by me (dmalcolm) adding these changes:
      - renaming of "gtl" to "gnu" (3 letters, and one of the ones Richi
        proposed, and not a match for "*tl")
      - renaming of DEFINE_GDB_UNIQUE_PTR to DEFINE_GNU_UNIQUE_PTR
      - renaming of xfree_deleter to xmalloc_deleter, and making it
        use "free" rather than "xfree" (which doesn't exist)
      - added a gcc/unique-ptr-tests.cc
      - implement unique_xmalloc_ptr<T[]> (taken from gdb, but changing
        "xfree" to "free", and adding support for pre-C++-11)
      
      gcc/ChangeLog:
      
      	David Malcolm <dmalcolm@redhat.com>
      
      	* Makefile.in (OBJS): Add unique-ptr-tests.o.
      	* selftest-run-tests.c (selftest::run_tests): Call
      	selftest::unique_ptr_tests_cc_tests.
      	* selftest.h (selftest::unique_ptr_tests_cc_tests): New decl.
      	* unique-ptr-tests.cc: New file.
      
      include/ChangeLog:
      
      	Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      	David Malcolm <dmalcolm@redhat.com>
      
      	* unique-ptr.h: New file.
      
      From-SVN: r253797
      David Malcolm committed
    • re PR sanitizer/82353 (runtime ubsan crash) · 2de3d3c6
      2017-10-16  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR sanitizer/82353
      	* lra.c (collect_non_operand_hard_regs): Don't ignore operator
      	locations.
      	* lra-lives.c (bb_killed_pseudos, bb_gen_pseudos): Move up.
      	(make_hard_regno_born, make_hard_regno_dead): Update
      	bb_killed_pseudos and bb_gen_pseudos for fixed regs.
      
      From-SVN: r253796
      Vladimir Makarov committed
    • Fix attrib-5.c test-case. · 55015c10
      2017-10-16  Martin Liska  <mliska@suse.cz>
      
      	* c-c++-common/ubsan/attrib-5.c (float_cast2): Fix warning scan
      	so that it will work for both C and C++ FEs.
      
      From-SVN: r253795
      Martin Liska committed
    • * tree-ssa-dse.c (live_bytes_read): Fix thinko. · a279ae93
      From-SVN: r253792
      Jeff Law committed