aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-08-08 17:39:46 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-08-08 17:39:46 +0000
commit07c5a154bb3d23948235bd9481fecca779b1f62d (patch)
treeb760397677133adc286f0671661422a803af861f /gcc/gimplify.c
parenta471762f68f0315df2d3c772596c45f38f45fb7c (diff)
downloadgcc-07c5a154bb3d23948235bd9481fecca779b1f62d.zip
gcc-07c5a154bb3d23948235bd9481fecca779b1f62d.tar.gz
gcc-07c5a154bb3d23948235bd9481fecca779b1f62d.tar.bz2
re PR middle-end/54146 (Very slow compile with attribute((flatten)))
PR middle-end/54146 * gimpify.c (gimplify_body): Only verify_gimple_in_seq with checking enabled. * tree-ssa-loop-manip.c (add_exit_phis_var): Assert that var is a gimple_reg if checking is enabled. (find_uses_to_rename_stmt): Only look at non-virtual USE operands. * tree-into-ssa (compute_global_livein): Change the worklist type from an array to a VEC. From-SVN: r190235
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r--gcc/gimplify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index c704010..03f7c9e 100644
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -8200,8 +8200,10 @@ gimplify_body (tree fndecl, bool do_parms)
pop_gimplify_context (outer_bind);
gcc_assert (gimplify_ctxp == NULL);
+#ifdef ENABLE_CHECKING
if (!seen_error ())
verify_gimple_in_seq (gimple_bind_body (outer_bind));
+#endif
timevar_pop (TV_TREE_GIMPLIFY);
input_location = saved_location;