re PR middle-end/89497 (ICE caused by Segmentation Fault when compiling cups 2.2...
authorRichard Biener <rguenther@suse.de>
Fri, 1 Mar 2019 09:21:30 +0000 (09:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 1 Mar 2019 09:21:30 +0000 (09:21 +0000)
commitd7a700e0a701e5164b8c547f76a2d91f657eee97
tree74c7336389d9d5c35c5e1c4f92b44b1e312310a2
parent743f0ba244af82c835f3377dfbf0f7061e26c41a
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
gcc/ChangeLog
gcc/passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-prof/devirt.C
gcc/testsuite/gcc.dg/tree-ssa/reassoc-43.c
gcc/tree-cfgcleanup.c
gcc/tree-cfgcleanup.h