public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/101163] New: slow compilation for huge classes (>20k members)
@ 2021-06-22  9:19 rbuergel at web dot de
  2021-06-22  9:27 ` [Bug c++/101163] " rbuergel at web dot de
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rbuergel at web dot de @ 2021-06-22  9:19 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101163
           Summary: slow compilation for huge classes (>20k members)
           Product: gcc
           Version: 6.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rbuergel at web dot de
  Target Milestone: ---

Created attachment 51047
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51047&action=edit
clean example

Hi,

we have a real-world-use-case using a class with ~20k member functions.
Compilation speed decreases awefully when just including that header in another
file: from 2 to 60 seconds.

we're using gcc-6.3 in production, but i tested other versions on
https://godbolt.org/

clang doesn't seem to have that problem, but it seems to be present in newer
gccs, too

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

end of thread, other threads:[~2021-06-24 11:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22  9:19 [Bug c++/101163] New: slow compilation for huge classes (>20k members) rbuergel at web dot de
2021-06-22  9:27 ` [Bug c++/101163] " rbuergel at web dot de
2021-06-22 10:05 ` rguenth at gcc dot gnu.org
2021-06-22 10:11 ` jakub at gcc dot gnu.org
2021-06-22 11:07 ` [Bug c++/101163] slow compilation for huge classes (>20k members functions) rguenth at gcc dot gnu.org
2021-06-24 10:09 ` rbuergel at web dot de
2021-06-24 11:12 ` jakub 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).