public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "wsnyder at wsnyder dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/97623] [9/10/11 Regression] Extremely slow O2 compile (>>O(n^2))
Date: Fri, 06 Nov 2020 01:50:56 +0000	[thread overview]
Message-ID: <bug-97623-4-2eCa2u0zn4@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-97623-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #10 from Wilson Snyder <wsnyder at wsnyder dot org> ---
Running -O2 -fno-code-hoisting -ftime-report

and I deleted the 0%/0%/0% lines:

Time variable                                   usr           sys          wall
              GGC
 phase parsing                      :   0.34 (  1%)   0.18 ( 67%)   0.52 (  1%)
  75469 kB ( 46%)
 phase lang. deferred               :   0.02 (  0%)   0.01 (  4%)   0.02 (  0%)
   3473 kB (  2%)
 phase opt and generate             :  38.01 ( 99%)   0.08 ( 30%)  38.12 ( 99%)
  85265 kB ( 51%)
 |name lookup                       :   0.06 (  0%)   0.02 (  7%)   0.10 (  0%)
   3222 kB (  2%)
 |overload resolution               :   0.02 (  0%)   0.01 (  4%)   0.03 (  0%)
   3886 kB (  2%)
 alias stmt walking                 :   0.27 (  1%)   0.00 (  0%)   0.34 (  1%)
      1 kB (  0%)
 preprocessing                      :   0.05 (  0%)   0.06 ( 22%)   0.07 (  0%)
   6448 kB (  4%)
 parser (global)                    :   0.04 (  0%)   0.04 ( 15%)   0.12 (  0%)
  29550 kB ( 18%)
 parser struct body                 :   0.03 (  0%)   0.02 (  7%)   0.10 (  0%)
  10609 kB (  6%)
 parser function body               :   0.08 (  0%)   0.02 (  7%)   0.09 (  0%)
  12779 kB (  8%)
 parser inl. func. body             :   0.02 (  0%)   0.03 ( 11%)   0.06 (  0%)
   3940 kB (  2%)
 parser inl. meth. body             :   0.05 (  0%)   0.01 (  4%)   0.05 (  0%)
   4949 kB (  3%)
 template instantiation             :   0.09 (  0%)   0.01 (  4%)   0.04 (  0%)
  10514 kB (  6%)
 tree SSA incremental               :   0.01 (  0%)   0.01 (  4%)   0.02 (  0%)
   6465 kB (  4%)
 tree operand scan                  :   0.00 (  0%)   0.01 (  4%)   0.01 (  0%)
   1875 kB (  1%)
 tree PRE                           :  36.36 ( 95%)   0.05 ( 19%)  36.34 ( 94%)
  32604 kB ( 20%)
 out of ssa                         :   0.17 (  0%)   0.00 (  0%)   0.17 (  0%)
      0 kB (  0%)
 combiner                           :   0.16 (  0%)   0.00 (  0%)   0.16 (  0%)
  11911 kB (  7%)
 integrated RA                      :   0.11 (  0%)   0.00 (  0%)   0.12 (  0%)
   4562 kB (  3%)
 initialize rtl                     :   0.00 (  0%)   0.01 (  4%)   0.00 (  0%)
     12 kB (  0%)
 TOTAL                              :  38.37          0.27         38.67       
 165692 kB

real    0m38.707s
user    0m38.398s
sys     0m0.292s

  parent reply	other threads:[~2020-11-06  1:50 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-29  2:02 [Bug c++/97623] New: " wsnyder at wsnyder dot org
2020-10-29  2:03 ` [Bug c++/97623] " wsnyder at wsnyder dot org
2020-10-29  7:17 ` [Bug tree-optimization/97623] [9/10/11 Regression] " rguenth at gcc dot gnu.org
2020-10-29  7:18 ` rguenth at gcc dot gnu.org
2020-10-30 12:35 ` rguenth at gcc dot gnu.org
2020-10-30 12:35 ` rguenth at gcc dot gnu.org
2020-10-30 13:25 ` cvs-commit at gcc dot gnu.org
2020-10-30 13:28 ` rguenth at gcc dot gnu.org
2020-10-30 13:55 ` wsnyder at wsnyder dot org
2020-11-03 14:16 ` rguenth at gcc dot gnu.org
2020-11-03 15:23 ` cvs-commit at gcc dot gnu.org
2020-11-06  1:50 ` wsnyder at wsnyder dot org [this message]
2020-11-06  9:52 ` rguenther at suse dot de
2020-11-06 12:37 ` wsnyder at wsnyder dot org
2020-11-06 13:00 ` rguenth at gcc dot gnu.org
2020-11-06 13:19 ` marxin at gcc dot gnu.org
2020-11-06 13:28 ` rguenth at gcc dot gnu.org
2020-11-06 13:45 ` rguenth at gcc dot gnu.org
2020-11-11 11:51 ` cvs-commit at gcc dot gnu.org
2020-11-11 16:11 ` tschwinge at gcc dot gnu.org
2020-11-11 17:17 ` cvs-commit at gcc dot gnu.org
2020-12-07 13:03 ` [Bug tree-optimization/97623] [9/10 " rguenth at gcc dot gnu.org
2021-01-11 13:37 ` cvs-commit at gcc dot gnu.org
2021-01-11 13:37 ` cvs-commit at gcc dot gnu.org
2021-01-11 13:39 ` [Bug tree-optimization/97623] [9 " rguenth at gcc dot gnu.org
2021-06-01  8:18 ` rguenth at gcc dot gnu.org
2022-05-27  8:56 ` rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-97623-4-2eCa2u0zn4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).