https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90930
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
On a -O0 built cross with checking enabled (but with -fno-checking) remaining
time-sinks are
ipa SRA : 274.81 ( 6%) 0.52 ( 4%) 301.10 ( 7%)
42902 kB ( 2%)
alias stmt walking :3289.72 ( 77%) 2.79 ( 24%)3486.32 ( 76%)
5236 kB ( 0%)
tree PRE : 31.04 ( 1%) 0.16 ( 1%) 32.21 ( 1%)
44914 kB ( 2%)
`- alias stmt walking :1644.20 ( 38%) 0.72 ( 6%)1734.65 ( 38%)
993 kB ( 0%)
tree FRE : 14.93 ( 0%) 0.33 ( 3%) 14.55 ( 0%)
35304 kB ( 2%)
`- alias stmt walking :1555.90 ( 36%) 1.45 ( 12%)1653.07 ( 36%)
3422 kB ( 0%)
and memory usage tops out at ~1GB. --param sccvn-max-alias-queries-per-access
only works so much, =1 yields
alias stmt walking :1502.00 ( 70%) 1.16 ( 15%)1501.86 ( 70%)
5226 kB ( 0%)
tree PRE : 15.79 ( 1%) 0.07 ( 1%) 16.27 ( 1%)
44957 kB ( 2%)
`- alias stmt walking : 727.68 ( 34%) 0.22 ( 3%) 727.59 ( 34%)
989 kB ( 0%)
tree FRE : 8.07 ( 0%) 0.16 ( 2%) 8.32 ( 0%)
35299 kB ( 2%)
`- alias stmt walking : 713.44 ( 33%) 0.58 ( 8%) 714.26 ( 33%)
3414 kB ( 0%)
I'm going to check where we miss things.