1. 21 Apr, 2017 8 commits
    • libiberty: Don't update and remove did_subs field from demangler structs. · 1240212c
      The d_info field did_subs was used for estimating the string output
      size. It was no longer used when the malloc-less callback interface
      was introduced in 2007 (svn r121305). But the field was still updated.
      When backtracking was introduced in 2013 (svn r205292) did_subs was
      also added to the d_info_checkpoint struct. But except for updating
      the field it was still not used.
      
      Since it is never used just stop updating the field and remove it
      from the two structs.
      
      libiberty/ChangeLog:
      
      	* cp-demangle.h (struct d_info): Remove did_subs field.
      	* cp-demangle.c (struct d_info_checkpoint): Likewise.
      	(d_template_param): Don't update did_subs.
      	(d_substitution): Likewise.
      	(d_checkpoint): Don't assign did_subs.
      	(d_backtrack): Likewise.
      	(cplus_demangle_init_info): Don't initialize did_subs.
      
      From-SVN: r247054
      Mark Wielaard committed
    • tree.h (build_qualified_type): Annotate with CXX_MEM_STAT_INFO. · ad32f067
      2017-04-21  Richard Biener  <rguenther@suse.de>
      
      	* tree.h (build_qualified_type): Annotate with CXX_MEM_STAT_INFO.
      	(build_distinct_type_copy): Likewise.
      	(build_variant_type_copy): Likewise.
      	* tree.c (build_qualified_type): Pass down mem-stat info.
      	(build_distinct_type_copy): Likewise.
      	(build_variant_type_copy): Likewise.
      
      	cp/
      	* cp-tree.h (copy_decl): Annotate with CXX_MEM_STAT_INFO.
      	(copy_type): Likewise.
      	* lex.c (copy_decl): Pass down mem-stat info.
      	(copy_type): Likewise.
      
      From-SVN: r247053
      Richard Biener committed
    • re PR c/80468 (ICE on invalid AVX512 code with -m32) · 666f7903
      	PR c/80468
      	* c-decl.c (finish_declspecs) <case cts_int_n>: If int_n_idx is not
      	enabled, set specs->type to integer_type_node.
      
      	* gcc.dg/pr80468.c: New test.
      
      From-SVN: r247052
      Jakub Jelinek committed
    • Add test-case (PR tree-optimization/66278). · 25c28f47
      2017-04-21  Martin Liska  <mliska@suse.cz>
      
      	PR tree-optimization/66278
      	* gcc.dg/vect/pr66278.c: New test.
      
      From-SVN: r247051
      Martin Liska committed
    • re PR tree-optimization/80237 (float to double conversion is not optimized away) · 6d553e9b
      2017-04-21  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/80237
      	* tree-ssa-pre.c (find_leader_in_sets): Add third set argument,
      	defaulted to NULL.
      	(phi_translate_1): Also allow a leader in AVAIL_OUT of pred
      	for a simplified result.
      
      	* gcc.dg/tree-ssa/tailcall-9.c: New testcase.
      	* gcc.dg/tree-ssa/ldist-pr45948.c: Remove undefined behavior,
      	adjust expected optimizations.
      
      From-SVN: r247049
      Richard Biener committed
    • tree-ssa-loop-ivcanon.c (constant_after_peeling): Do not require sth as strict… · 7fd1a747
      tree-ssa-loop-ivcanon.c (constant_after_peeling): Do not require sth as strict as a simple_iv but a chrec without symbols and an...
      
      2016-04-21  Richard Biener  <rguenther@suse.de>
      
      	* tree-ssa-loop-ivcanon.c (constant_after_peeling): Do not require
      	sth as strict as a simple_iv but a chrec without symbols and an
      	operand defined in the loop we are peeling (and not some subloop).
      	(propagate_constants_for_unrolling): Propagate all constants.
      
      	* gcc.dg/vect/no-scevccp-outer-13.c: Adjust to prevent unrolling
      	of inner loops.
      	* gcc.dg/vect/no-scevccp-outer-7.c: Likewise.
      	* gcc.dg/vect/vect-104.c: Likewise.
      
      From-SVN: r247048
      Richard Biener committed
    • re PR tree-optimization/80426 (wrong manipulation of range based on INT_MIN) · 2f23a412
      	PR tree-optimization/80426
      	* gcc.c-torture/execute/20170429-1.c: Rename into...
      	* gcc.c-torture/execute/20170419-1.c: ...this.
      
      From-SVN: r247046
      Eric Botcazou committed
    • Daily bump. · f471aaf0
      From-SVN: r247045
      GCC Administrator committed
  2. 20 Apr, 2017 19 commits
  3. 19 Apr, 2017 13 commits