[Bug tree-optimization/90316] [8/9/10 Regression] large compile time increase in opt / alias stmt walking for Go example

2019-05-03 Thread thanm at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316

--- Comment #7 from Than McIntosh  ---
I patched in your change and reran the original testacse. Verified that this
fixes the problem, compile time now down to ~8 seconds.  Thank you for the very
quick turnaround-- much appreciated.

[Bug tree-optimization/90316] [8/9/10 Regression] large compile time increase in opt / alias stmt walking for Go example

2019-05-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316

Richard Biener  changed:

   What|Removed |Added

URL||https://gcc.gnu.org/ml/gcc-
   ||patches/2019-05/msg00117.ht
   ||ml

--- Comment #6 from Richard Biener  ---
Proposed patch.  -O0 optimized compiler compiles the testcase in 40s for me
now.

Can you test it on the original source?

[Bug tree-optimization/90316] [8/9/10 Regression] large compile time increase in opt / alias stmt walking for Go example

2019-05-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316

--- Comment #5 from Richard Biener  ---
Author: rguenth
Date: Fri May  3 11:22:33 2019
New Revision: 270849

URL: https://gcc.gnu.org/viewcvs?rev=270849=gcc=rev
Log:
2019-05-03  Richard Biener  

PR tree-optimization/90316
* tree-ssa-pre.c (pass_pre::execute): Re-compute DOM fast queries
before running VN.

Modified:
branches/gcc-9-branch/gcc/ChangeLog
branches/gcc-9-branch/gcc/tree-ssa-pre.c

[Bug tree-optimization/90316] [8/9/10 Regression] large compile time increase in opt / alias stmt walking for Go example

2019-05-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316

--- Comment #4 from Richard Biener  ---
Author: rguenth
Date: Fri May  3 11:21:18 2019
New Revision: 270848

URL: https://gcc.gnu.org/viewcvs?rev=270848=gcc=rev
Log:
2019-05-03  Richard Biener  

PR tree-optimization/90316
* tree-ssa-pre.c (pass_pre::execute): Re-compute DOM fast queries
before running VN.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-pre.c

[Bug tree-optimization/90316] [8/9/10 Regression] large compile time increase in opt / alias stmt walking for Go example

2019-05-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2
   Target Milestone|--- |8.4
Summary|large compile time increase |[8/9/10 Regression] large
   |in opt / alias stmt walking |compile time increase in
   |for Go example  |opt / alias stmt walking
   ||for Go example