From 40f683e88d5aeef52425f719a7197da4d1d524a7 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 24 Oct 2016 11:22:42 +0000 Subject: tree-vrp.c (evrp_dom_walker::before_dom_children): Ignore backedges when identifying the single predecessor to take conditional... 2016-10-24 Richard Biener * tree-vrp.c (evrp_dom_walker::before_dom_children): Ignore backedges when identifying the single predecessor to take conditional info from. Use SCEV to get at ranges for loop IVs. * lto-streamer-out.c (lto_write_mode_table): CSE inner mode to avoid false warning. * gcc.dg/tree-ssa/cunroll-13.c: Disable EVRP. * gcc.dg/tree-ssa/pr21458.c: Likewise. * gcc.dg/tree-ssa/pr21458-2.c: New testcase for EVRP. From-SVN: r241470 --- gcc/lto-streamer-out.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gcc/lto-streamer-out.c') diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index 22c4140cca8..22d8ac90724 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -2720,8 +2720,9 @@ lto_write_mode_table (void) if (streamer_mode_table[i]) { machine_mode m = (machine_mode) i; - if (GET_MODE_INNER (m) != m) - streamer_mode_table[(int) GET_MODE_INNER (m)] = 1; + machine_mode inner_m = GET_MODE_INNER (m); + if (inner_m != m) + streamer_mode_table[(int) inner_m] = 1; } /* First stream modes that have GET_MODE_INNER (m) == m, so that we can refer to them afterwards. */ -- cgit v1.2.1