https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88743

            Bug ID: 88743
           Summary: [9 regression] test case gfortran.dg/pr79966.f90 fails
                    starting with r267600
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

Executing on host:
/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/pr79966.f90   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never    -O  -O2 -fpeel-loops -finline-functions
-fipa-cp-clone -fdump-ipa-inline-details -S -o pr79966.s    (timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/pr79966.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O -O2 -fpeel-loops -finline-functions -fipa-cp-clone
-fdump-ipa-inline-details -S -o pr79966.s^M
PASS: gfortran.dg/pr79966.f90   -O  (test for excess errors)
FAIL: gfortran.dg/pr79966.f90   -O   scan-ipa-dump inline "Inlined
tp_sum/[0-9]+ into runtptests/[0-9]+"

So prior to this revision:

seurer@makalu-lp1:~/gcc/build/gcc-test$ grep "Inlined" pr79966.f90.076i.inline
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr79966.f90:57:0:
optimized:  Inlined mysum.constprop/33 into tp_sum/5 which now has time
81.000001 and size 89, net change of -25.
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr79966.f90:94:0:
optimized:  Inlined tp_sum/34 into runtptests/3 which now has time 8099.743263
and size 180, net change of +76.
Inlined 4 calls, eliminated 2 functions



and with this revision:


seurer@makalu-lp1:~/gcc/build/gcc-test2$ grep "Inlined" pr79966.f90.076i.inline
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/pr79966.f90:57:0:
optimized:  Inlined mysum.constprop/34 into tp_sum/5 which now has time
1969.128286 and size 89, net change of -25.
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/pr79966.f90:82:0:
optimized:  Inlined generategrid.constprop/33 into runtptests/3 which now has
time 4418.145081 and size 208, net change of -16.
Inlined 4 calls, eliminated 3 functions



r267600 | hubicka | 2019-01-05 11:47:34 -0600 (Sat, 05 Jan 2019) | 2 lines

        * ipa-fnsummary.c (analyze_function_body): Fix accounting of time.

Reply via email to