1. 19 Jul, 2017 7 commits
    • re PR tree-optimization/81346 (Missed constant propagation into comparison) · 8d1628eb
      	PR tree-optimization/81346
      	* fold-const.h (fold_div_compare, range_check_type): Declare.
      	* fold-const.c (range_check_type): New function.
      	(build_range_check): Use range_check_type.
      	(fold_div_compare): No longer static, rewritten into
      	a match.pd helper function.
      	(fold_comparison): Don't call fold_div_compare here.
      	* match.pd (X / C1 op C2): New optimization using fold_div_compare
      	as helper function.
      
      	* gcc.dg/tree-ssa/pr81346-1.c: New test.
      	* gcc.dg/tree-ssa/pr81346-2.c: New test.
      	* gcc.dg/tree-ssa/pr81346-3.c: New test.
      	* gcc.dg/tree-ssa/pr81346-4.c: New test.
      	* gcc.target/i386/umod-3.c: Hide comparison against 1 from the
      	compiler to avoid X / C1 op C2 optimization to trigger.
      
      From-SVN: r250338
      Jakub Jelinek committed
    • tree.h (TYPE_MINVAL, [...]): Rename to ... · 20deef65
      	gcc/
      	* tree.h (TYPE_MINVAL, TYPE_MAXVAL): Rename to ...
      	(TYPE_MIN_VALUE_RAW, TYPE_MAX_VALUE_RAW): ... these.
      	* tree.c (find_decls_types_r, verify_type): Use
      	TYPE_{MIN,MAX}_VALUE_RAW.
      	* lto-streamer-out.c (DFS::DFS_write_tree_body): Likewise.
      	(hash_tree): Likewise.
      	* tree-streamer-in.c (lto_input_ts_type_non_common_tree_pointers):
      	Likewise.
      	* tree-streamer-out.c (write_ts_type_non_common_tree_pointers):
      	Likewise.
      
      	gcc/cp/
      	* cp-tree.h (PACK_EXPANSION_PARAMETER_PACKS,
      	PACK_EXPANSION_EXTRA_ARGS): Use TYPE_{MIN,MAX}_VALUE_RAW.
      
      	gcc/lto/
      	* lto.c (mentions_vars_p_type): Use TYPE_{MIN,MAX}_VALUE_RAW.
      	(compare_tree_sccs_1, lto_fixup_prevailing_decls): Likewise.
      
      	gcc/objc/
      	* objc-act.h (CLASS_NST_METHODS, CLASS_CLS_METHODS): Use
      	TYPE_{MIN,MAX}_VALUE_RAW.
      
      From-SVN: r250337
      Nathan Sidwell committed
    • Fix an UBSAN test-case (PR sanitizer/63361). · 4d6ababc
      2017-07-19  Martin Liska  <mliska@suse.cz>
      
      	PR sanitizer/63361
      	* c-c++-common/ubsan/float-cast-overflow-1.c: Add either
      	-ffloat-store or -mieee for targets that need it.
      
      From-SVN: r250336
      Martin Liska committed
    • Handle equal-argument loop exit phi in expand_omp_for_static_chunk · d83cc5cc
      2017-07-18  Tom de Vries  <tom@codesourcery.com>
      
      	PR middle-end/81464
      	* omp-expand.c (expand_omp_for_static_chunk): Handle equal-argument loop
      	exit phi.
      
      	* gfortran.dg/pr81464.f90: New test.
      
      From-SVN: r250335
      Tom de Vries committed
    • Add myself to MAINTAINERS. · 8994b66f
      From-SVN: r250334
      Yury Gribov committed
    • Use dg-require-fileio in new test · 1f78c47b
      	* testsuite/27_io/basic_filebuf/sgetn/char/81395.cc: Add dg-require.
      
      From-SVN: r250333
      Jonathan Wakely committed
    • Daily bump. · af15ea9d
      From-SVN: r250332
      GCC Administrator committed
  2. 18 Jul, 2017 23 commits
  3. 17 Jul, 2017 10 commits