https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497
--- Comment #21 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Fri Mar 1 09:21:30 2019 New Revision: 269302 URL: https://gcc.gnu.org/viewcvs?rev=269302&root=gcc&view=rev Log: 2019-03-01 Richard Biener <rguent...@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. Modified: trunk/gcc/ChangeLog trunk/gcc/passes.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/tree-prof/devirt.C trunk/gcc/testsuite/gcc.dg/tree-ssa/reassoc-43.c trunk/gcc/tree-cfgcleanup.c trunk/gcc/tree-cfgcleanup.h