public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/109794] New: Compile time hog when building chromium on aarch64-unknown-linux-gnu
@ 2023-05-09 20:27 sjames at gcc dot gnu.org
2023-05-09 20:28 ` [Bug c++/109794] Massive memory usage " sjames at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-05-09 20:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109794
Bug ID: 109794
Summary: Compile time hog when building chromium on
aarch64-unknown-linux-gnu
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Keywords: compile-time-hog, memory-hog
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: sjames at gcc dot gnu.org
Target Milestone: ---
Created attachment 55034
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55034&action=edit
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/109794] Massive memory usage when building chromium on aarch64-unknown-linux-gnu
2023-05-09 20:27 [Bug c++/109794] New: Compile time hog when building chromium on aarch64-unknown-linux-gnu sjames at gcc dot gnu.org
@ 2023-05-09 20:28 ` sjames at gcc dot gnu.org
2023-05-09 20:30 ` pinskia at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-05-09 20:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109794
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 55035
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55035&action=edit
evaluate_prg_hwy.ii.xz (13)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/109794] Massive memory usage when building chromium on aarch64-unknown-linux-gnu
2023-05-09 20:27 [Bug c++/109794] New: Compile time hog when building chromium on aarch64-unknown-linux-gnu sjames at gcc dot gnu.org
2023-05-09 20:28 ` [Bug c++/109794] Massive memory usage " sjames at gcc dot gnu.org
@ 2023-05-09 20:30 ` pinskia at gcc dot gnu.org
2023-05-09 20:36 ` [Bug target/109794] " sjames at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-09 20:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109794
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=108681
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Hmm, I thought this one was fixed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/109794] Massive memory usage when building chromium on aarch64-unknown-linux-gnu
2023-05-09 20:27 [Bug c++/109794] New: Compile time hog when building chromium on aarch64-unknown-linux-gnu sjames at gcc dot gnu.org
2023-05-09 20:28 ` [Bug c++/109794] Massive memory usage " sjames at gcc dot gnu.org
2023-05-09 20:30 ` pinskia at gcc dot gnu.org
@ 2023-05-09 20:36 ` sjames at gcc dot gnu.org
2023-05-09 23:31 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-05-09 20:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109794
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #55034|0 |1
is obsolete| |
Attachment #55035|0 |1
is obsolete| |
--- Comment #3 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 55036
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55036&action=edit
evaluate_prg_hwy.ii.xz.13
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/109794] Massive memory usage when building chromium on aarch64-unknown-linux-gnu
2023-05-09 20:27 [Bug c++/109794] New: Compile time hog when building chromium on aarch64-unknown-linux-gnu sjames at gcc dot gnu.org
` (2 preceding siblings ...)
2023-05-09 20:36 ` [Bug target/109794] " sjames at gcc dot gnu.org
@ 2023-05-09 23:31 ` pinskia at gcc dot gnu.org
2023-05-09 23:33 ` pinskia at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-09 23:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109794
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
At -O0, it seems like LRA is taking a long time.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/109794] Massive memory usage when building chromium on aarch64-unknown-linux-gnu
2023-05-09 20:27 [Bug c++/109794] New: Compile time hog when building chromium on aarch64-unknown-linux-gnu sjames at gcc dot gnu.org
` (3 preceding siblings ...)
2023-05-09 23:31 ` pinskia at gcc dot gnu.org
@ 2023-05-09 23:33 ` pinskia at gcc dot gnu.org
2023-05-09 23:40 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-09 23:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109794
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/109794] Massive memory usage when building chromium on aarch64-unknown-linux-gnu
2023-05-09 20:27 [Bug c++/109794] New: Compile time hog when building chromium on aarch64-unknown-linux-gnu sjames at gcc dot gnu.org
` (4 preceding siblings ...)
2023-05-09 23:33 ` pinskia at gcc dot gnu.org
@ 2023-05-09 23:40 ` pinskia at gcc dot gnu.org
2023-05-09 23:45 ` pinskia at gcc dot gnu.org
2023-05-09 23:47 ` pinskia at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-09 23:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109794
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
-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%)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/109794] Massive memory usage when building chromium on aarch64-unknown-linux-gnu
2023-05-09 20:27 [Bug c++/109794] New: Compile time hog when building chromium on aarch64-unknown-linux-gnu sjames at gcc dot gnu.org
` (5 preceding siblings ...)
2023-05-09 23:40 ` pinskia at gcc dot gnu.org
@ 2023-05-09 23:45 ` pinskia at gcc dot gnu.org
2023-05-09 23:47 ` pinskia at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-09 23:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109794
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Oh I know this bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/109794] Massive memory usage when building chromium on aarch64-unknown-linux-gnu
2023-05-09 20:27 [Bug c++/109794] New: Compile time hog when building chromium on aarch64-unknown-linux-gnu sjames at gcc dot gnu.org
` (6 preceding siblings ...)
2023-05-09 23:45 ` pinskia at gcc dot gnu.org
@ 2023-05-09 23:47 ` pinskia at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-09 23:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109794
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|UNCONFIRMED |RESOLVED
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 109505.
*** This bug has been marked as a duplicate of bug 109505 ***
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-05-09 23:47 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-09 20:27 [Bug c++/109794] New: Compile time hog when building chromium on aarch64-unknown-linux-gnu sjames at gcc dot gnu.org
2023-05-09 20:28 ` [Bug c++/109794] Massive memory usage " sjames at gcc dot gnu.org
2023-05-09 20:30 ` pinskia at gcc dot gnu.org
2023-05-09 20:36 ` [Bug target/109794] " sjames at gcc dot gnu.org
2023-05-09 23:31 ` pinskia at gcc dot gnu.org
2023-05-09 23:33 ` pinskia at gcc dot gnu.org
2023-05-09 23:40 ` pinskia at gcc dot gnu.org
2023-05-09 23:45 ` pinskia at gcc dot gnu.org
2023-05-09 23:47 ` pinskia at gcc dot gnu.org
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).