This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/86320] very long compilation time for std::array<std::pair<int, int>, 1024 * 1024>
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 26 Jun 2018 11:13:12 +0000
- Subject: [Bug c++/86320] very long compilation time for std::array<std::pair<int, int>, 1024 * 1024>
- Auto-submitted: auto-generated
- References: <bug-86320-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86320
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |compile-time-hog,
| |memory-hog
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-26
CC| |jason at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Jason, is this a dup of PR 80290?
Time variable usr sys wall
GGC
phase setup : 0.01 ( 0%) 0.00 ( 0%) 0.02 ( 0%)
1468 kB ( 0%)
phase parsing : 66.83 ( 99%) 28.56 (100%) 95.67 (
99%)10574003 kB (100%)
phase lang. deferred : 0.35 ( 1%) 0.01 ( 0%) 0.35 ( 0%)
3668 kB ( 0%)
phase opt and generate : 0.19 ( 0%) 0.00 ( 0%) 0.19 ( 0%)
797 kB ( 0%)
|name lookup : 0.47 ( 1%) 0.20 ( 1%) 0.97 ( 1%)
1362 kB ( 0%)
|overload resolution : 29.76 ( 44%) 13.39 ( 47%) 43.55 ( 45%)
4895039 kB ( 46%)
garbage collection : 1.20 ( 2%) 0.01 ( 0%) 1.21 ( 1%)
0 kB ( 0%)
callgraph construction : 0.08 ( 0%) 0.00 ( 0%) 0.08 ( 0%)
738 kB ( 0%)
preprocessing : 0.02 ( 0%) 0.03 ( 0%) 0.04 ( 0%)
1064 kB ( 0%)
parser (global) : 0.05 ( 0%) 0.04 ( 0%) 0.09 ( 0%)
7717 kB ( 0%)
parser struct body : 0.01 ( 0%) 0.01 ( 0%) 0.05 ( 0%)
3910 kB ( 0%)
parser function body : 28.76 ( 43%) 12.76 ( 45%) 42.13 ( 44%)
5804556 kB ( 55%)
parser inl. func. body : 0.04 ( 0%) 0.00 ( 0%) 0.00 ( 0%)
721 kB ( 0%)
parser inl. meth. body : 0.01 ( 0%) 0.00 ( 0%) 0.04 ( 0%)
1605 kB ( 0%)
template instantiation : 28.70 ( 43%) 11.93 ( 42%) 40.94 ( 43%)
3951992 kB ( 37%)
constant expression evaluation : 8.39 ( 12%) 3.79 ( 13%) 11.50 ( 12%)
802859 kB ( 8%)
integrated RA : 0.10 ( 0%) 0.00 ( 0%) 0.10 ( 0%)
24 kB ( 0%)
symout : 0.00 ( 0%) 0.00 ( 0%) 0.02 ( 0%)
3280 kB ( 0%)
initialize rtl : 0.01 ( 0%) 0.00 ( 0%) 0.01 ( 0%)
12 kB ( 0%)
TOTAL : 67.38 28.57 96.23
10579989 kB
Extra diagnostic checks enabled; compiler may run slowly.
Configure with --enable-checking=release to disable checks.