On Fri, Mar 01, 2019 at 10:20:05AM +0100, Richard Biener wrote: > 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.
This broke the devirt.C testcase on i686-linux or x86_64-linux with --target_board=unix/-m32. Fixed thusly, committed as obvious: 2019-03-01 Jakub Jelinek <ja...@redhat.com> PR middle-end/89497 * g++.dg/tree-prof/devirt.C: Adjust also the ilp32 scan-tree-dump-times from dom3 to tracer pass. --- gcc/testsuite/g++.dg/tree-prof/devirt.C.jj 2019-03-01 10:26:01.252871860 +0100 +++ gcc/testsuite/g++.dg/tree-prof/devirt.C 2019-03-01 20:03:12.464332566 +0100 @@ -122,5 +122,5 @@ main () } /* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual function call to virtual unsigned int mozPersonalDictionary::_ZThn16" 1 "tracer" { target { lp64 || llp64 } } } } */ -/* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual function call to virtual unsigned int mozPersonalDictionary::_ZThn8" 1 "dom3" { target ilp32 } } } */ +/* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual function call to virtual unsigned int mozPersonalDictionary::_ZThn8" 1 "tracer" { target ilp32 } } } */ /* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual function call to virtual unsigned int mozPersonalDictionary::AddRef" 1 "tracer" } } */ Jakub