public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99785] New: Awful lot of time spent building gl.cc in Firefox
@ 2021-03-26  7:57 mh+gcc at glandium dot org
  2021-03-26  8:26 ` [Bug c++/99785] " pinskia at gcc dot gnu.org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: mh+gcc at glandium dot org @ 2021-03-26  7:57 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99785
           Summary: Awful lot of time spent building gl.cc in Firefox
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mh+gcc at glandium dot org
  Target Milestone: ---

Created attachment 50475
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50475&action=edit
gl.ii.gz

Compiling the attached preprocessed source takes 27 minutes with GCC 10 with
`g++ -o gl.o -c gl.ii -O2 -std=gnu++17 -g -pipe` and a grand total of 21GB of
memory spread between cc1plus (15G) and gas (6GB). It's also slow to process at
-O0.

This goes up to 4 hours (!) with GCC 11 and less than 1 minute with clang.

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2022-05-17 15:09 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26  7:57 [Bug c++/99785] New: Awful lot of time spent building gl.cc in Firefox mh+gcc at glandium dot org
2021-03-26  8:26 ` [Bug c++/99785] " pinskia at gcc dot gnu.org
2021-03-26  8:27 ` pinskia at gcc dot gnu.org
2021-03-26  8:29 ` pinskia at gcc dot gnu.org
2021-03-26  8:33 ` [Bug ipa/99785] " mh+gcc at glandium dot org
2021-03-26  8:41 ` pinskia at gcc dot gnu.org
2021-03-26  8:49 ` mh+gcc at glandium dot org
2021-03-26  9:08 ` mh+gcc at glandium dot org
2021-03-26  9:27 ` pinskia at gcc dot gnu.org
2021-03-26  9:29 ` jakub at gcc dot gnu.org
2021-03-26  9:33 ` rguenth at gcc dot gnu.org
2021-03-26  9:35 ` rguenth at gcc dot gnu.org
2021-03-26 10:11 ` rguenth at gcc dot gnu.org
2021-03-26 11:16 ` rguenth at gcc dot gnu.org
2021-03-26 19:31 ` jmuizelaar at mozilla dot com
2021-03-26 21:38 ` hubicka at gcc dot gnu.org
2021-03-26 22:13 ` hubicka at gcc dot gnu.org
2021-03-31 13:32 ` rguenth at gcc dot gnu.org
2021-03-31 13:37 ` jakub at gcc dot gnu.org
2021-05-21  7:29 ` rguenth at gcc dot gnu.org
2021-05-21  9:35 ` rguenth at gcc dot gnu.org
2022-05-17 11:26 ` asolokha at gmx dot com
2022-05-17 15:09 ` jmuizelaar at mozilla dot com

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).