https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782
--- Comment #19 from pthaugen at gcc dot gnu.org ---
I tried -fno-inline-functions-called-once and the patches on a Power9 system.
Following are the run times and spill counts (grep -c Spilling
exchange2.fppized.f90.298r.ira). Interesting that the spill counts increase
when -fno-inline-functions-called-once is added, but obviously that additional
spill is on cold paths since execution time improves. Compiler options used are
"-O3 -mcpu=power9 -fpeel-loops -funroll-loops -ffast-math".
time(sec) Spill
base 473 3284
no-inline-functions-called-once 370 5410
patches 1 & 2 397 461
patches 1 & 2
+ no-inline-functions-called-once 299 870