Created attachment 55034 [details] evaluate_prg_hwy.ii.xz Originally reported downstream in Gentoo at https://bugs.gentoo.org/905818. With GCC 12 (12.2.1 20230505), this has reached over 30GB memory usage before I killed it. I've asked the reporter for preprocessed source for 13 as well. Reproduces for me with 12 using: ``` g++-12 -c evaluate_prg_hwy.ii -std=c++20 -O2 ``` but even -O0 is enough.
Created attachment 55035 [details] evaluate_prg_hwy.ii.xz (13)
Hmm, I thought this one was fixed.
Created attachment 55036 [details] evaluate_prg_hwy.ii.xz.13
At -O0, it seems like LRA is taking a long time.
(In reply to Andrew Pinski from comment #4) > At -O0, it seems like LRA is taking a long time. But -O0 completes for me on the trunk.
-O0: LRA non-specific : 33.12 ( 20%) 0.06 ( 1%) 33.15 ( 19%) 279M ( 25%) LRA virtuals elimination : 2.08 ( 1%) 0.00 ( 0%) 2.08 ( 1%) 18M ( 2%) LRA reload inheritance : 4.18 ( 2%) 0.00 ( 0%) 4.15 ( 2%) 36k ( 0%) LRA create live ranges : 11.41 ( 7%) 0.00 ( 0%) 11.45 ( 6%) 28M ( 2%) LRA hard reg assignment : 37.83 ( 22%) 0.04 ( 0%) 37.86 ( 21%) 0 ( 0%)
Oh I know this bug.
Dup of bug 109505. *** This bug has been marked as a duplicate of bug 109505 ***