]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/passes.c
2019-03-01 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Mar 2019 09:21:30 +0000 (09:21 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Mar 2019 09:21:30 +0000 (09:21 +0000)
commitd7419e5bee4d2aea709e29e970235572ab318c3d
tree74c7336389d9d5c35c5e1c4f92b44b1e312310a2
parent5abc0a56588328cd498dd689d4327829c03327d9
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@269302 138bc75d-0d04-0410-961f-82ee72b054a4
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