[Bug fortran/91512] Fortran compile time regression.

2019-08-21 Thread skpgkp2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91512

--- Comment #2 from Sunil Pandey  ---
Before commit time report:
==

$
/local/skpandey/gccwork/gcc_trunk/tools-build/gcc-debug/release.a4ba5c3ec624008e899a8bcb687359db25140c23/usr/gcc-10.0.0-x86-64/bin/gfortran
 -m64 -c -o module_first_rk_step_part1.fppized.o  
-fno-unsafe-math-optimizations -mfpmath=sse -Ofast -march=native -funroll-loops
 -fconvert=big-endian foo.f90 -ftime-report

Time variable   usr   sys  wall
  GGC
 phase setup:   0.00 (  0%)   0.00 (  0%)   0.01 (  0%)
182 kB (  1%)
 phase parsing  :   1.67 ( 54%)   0.07 ( 88%)   1.74 ( 54%)
  10534 kB ( 72%)
 phase opt and generate :   1.45 ( 46%)   0.01 ( 12%)   1.46 ( 45%)
   3928 kB ( 27%)
 garbage collection :   0.02 (  1%)   0.00 (  0%)   0.02 (  1%)
  0 kB (  0%)
 callgraph construction :   0.01 (  0%)   0.00 (  0%)   0.00 (  0%)
121 kB (  1%)
 callgraph optimization :   0.01 (  0%)   0.00 (  0%)   0.00 (  0%)
  0 kB (  0%)
 ipa function summary   :   0.01 (  0%)   0.00 (  0%)   0.01 (  0%)
 11 kB (  0%)
 cfg cleanup:   0.01 (  0%)   0.00 (  0%)   0.01 (  0%)
 34 kB (  0%)
 CFG verifier   :   0.05 (  2%)   0.00 (  0%)   0.10 (  3%)
  0 kB (  0%)
 trivially dead code:   0.01 (  0%)   0.00 (  0%)   0.00 (  0%)
  0 kB (  0%)
 df scan insns  :   0.01 (  0%)   0.00 (  0%)   0.01 (  0%)
  0 kB (  0%)
 df reaching defs   :   0.01 (  0%)   0.00 (  0%)   0.01 (  0%)
  0 kB (  0%)
 df live regs   :   0.01 (  0%)   0.01 ( 12%)   0.00 (  0%)
  0 kB (  0%)
 df live regs   :   0.03 (  1%)   0.00 (  0%)   0.00 (  0%)
  0 kB (  0%)
 df must-initialized regs   :   0.01 (  0%)   0.00 (  0%)   0.00 (  0%)
  0 kB (  0%)
 df reg dead/unused notes   :   0.02 (  1%)   0.00 (  0%)   0.01 (  0%)
 72 kB (  0%)
 register information   :   0.01 (  0%)   0.00 (  0%)   0.01 (  0%)
  0 kB (  0%)
 alias stmt walking :   0.01 (  0%)   0.00 (  0%)   0.02 (  1%)
 13 kB (  0%)
 parser (global):   1.67 ( 54%)   0.07 ( 88%)   1.74 ( 54%)
  10534 kB ( 72%)
 tree gimplify  :   0.01 (  0%)   0.00 (  0%)   0.01 (  0%)
430 kB (  3%)
 tree CFG cleanup   :   0.01 (  0%)   0.00 (  0%)   0.01 (  0%)
  0 kB (  0%)
 tree VRP   :   0.03 (  1%)   0.00 (  0%)   0.02 (  1%)
 72 kB (  0%)
 tree Early VRP :   0.01 (  0%)   0.00 (  0%)   0.00 (  0%)
 17 kB (  0%)
 tree copy propagation  :   0.01 (  0%)   0.00 (  0%)   0.01 (  0%)
  0 kB (  0%)
 tree PTA   :   0.03 (  1%)   0.00 (  0%)   0.03 (  1%)
113 kB (  1%)
 dominator optimization :   0.04 (  1%)   0.00 (  0%)   0.03 (  1%)
 62 kB (  0%)
 tree CCP   :   0.00 (  0%)   0.00 (  0%)   0.01 (  0%)
 17 kB (  0%)
 tree PRE   :   0.03 (  1%)   0.00 (  0%)   0.04 (  1%)
 79 kB (  1%)
 tree FRE   :   0.03 (  1%)   0.00 (  0%)   0.01 (  0%)
 17 kB (  0%)
 tree forward propagate :   0.00 (  0%)   0.00 (  0%)   0.01 (  0%)
  1 kB (  0%)
 tree phiprop   :   0.01 (  0%)   0.00 (  0%)   0.00 (  0%)
  0 kB (  0%)
 tree aggressive DCE:   0.02 (  1%)   0.00 (  0%)   0.00 (  0%)
 10 kB (  0%)
 tree DSE   :   0.00 (  0%)   0.00 (  0%)   0.01 (  0%)
  1 kB (  0%)
 complete unrolling :   0.00 (  0%)   0.00 (  0%)   0.01 (  0%)
 13 kB (  0%)
 tree slp vectorization :   0.01 (  0%)   0.00 (  0%)   0.01 (  0%)
 53 kB (  0%)
 tree SSA verifier  :   0.22 (  7%)   0.00 (  0%)   0.15 (  5%)
  0 kB (  0%)
 tree STMT verifier :   0.17 (  5%)   0.00 (  0%)   0.23 (  7%)
  0 kB (  0%)
 dominance computation  :   0.00 (  0%)   0.00 (  0%)   0.01 (  0%)
  0 kB (  0%)
 expand :   0.01 (  0%)   0.00 (  0%)   0.01 (  0%)
497 kB (  3%)
 CSE:   0.01 (  0%)   0.00 (  0%)   0.01 (  0%)
 15 kB (  0%)
 dead store elim1   :   0.02 (  1%)   0.00 (  0%)   0.01 (  0%)
 55 kB (  0%)
 dead store elim2   :   0.10 (  3%)   0.00 (  0%)   0.10 (  3%)
 77 kB (  1%)
 loop init  :   0.02 (  1%)   0.00 (  0%)   0.03 (  1%)
 15 kB (  0%)
 loop unrolling :   0.00 (  0%)   0.00 (  0%)   0.01 (  0%)
 94 kB (  1%)
 CPROP  :   0.01 (  0%)   0.00 (  0%)   0.02 (  1%)
 69 kB (  0%)
 PRE:   

[Bug fortran/91512] Fortran compile time regression.

2019-08-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91512

--- Comment #1 from Thomas Koenig  ---
Can you show the output of your compilation when adding -ftime-report
to the options?  This will give us an idea of where the CPU cycles
are burned.