aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2019-03-01 09:21:30 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2019-03-01 09:21:30 +0000
commitd7a700e0a701e5164b8c547f76a2d91f657eee97 (patch)
tree74c7336389d9d5c35c5e1c4f92b44b1e312310a2 /gcc/passes.c
parent743f0ba244af82c835f3377dfbf0f7061e26c41a (diff)
downloadgcc-d7a700e0a701e5164b8c547f76a2d91f657eee97.zip
gcc-d7a700e0a701e5164b8c547f76a2d91f657eee97.tar.gz
gcc-d7a700e0a701e5164b8c547f76a2d91f657eee97.tar.bz2
re PR middle-end/89497 (ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled)
2019-03-01 Richard Biener <rguenther@suse.de> PR middle-end/89497 * tree-cfgcleanup.h (cleanup_tree_cfg): Add SSA update flags argument, defaulted to zero. * passes.c (execute_function_todo): Pass down SSA update flags to cleanup_tree_cfg. * tree-cfgcleanup.c: Include tree-into-ssa.h and tree-cfgcleanup.h. (cleanup_tree_cfg_noloop): After cleanup_control_flow_pre update SSA form if requested. (cleanup_tree_cfg): Get and pass down SSA update flags. * gcc.dg/tree-ssa/reassoc-43.c: Avoid false match in regex. * g++.dg/tree-prof/devirt.C: Scan tracer dump for foldings that happen now earlier. From-SVN: r269302
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 7602abd..41aa765 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -1927,7 +1927,7 @@ execute_function_todo (function *fn, void *data)
/* Always cleanup the CFG before trying to update SSA. */
if (flags & TODO_cleanup_cfg)
{
- cleanup_tree_cfg ();
+ cleanup_tree_cfg (flags & TODO_update_ssa_any);
/* When cleanup_tree_cfg merges consecutive blocks, it may
perform some simplistic propagation when removing single