Repository navigation
[GNATS 21700] Out of memory on three boost tests #114
jhsedg
started this conversation in
Issue Triage - General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Customer bug ID
(boost) multiprc_concept_check_[1-3] (gnats) 21700
Description
The full expanded test case is in 21700.C in gnats.
[ellen@lin1 debug]$ $CPFE --c++17 --gnu_version 80100 -tused -w mu*.C
"../boost/type_traits/decay.hpp", line 25: catastrophic error: out of memory
template <class T, bool Array, bool Function> struct decay_imp { typedef typename remove_cv::type type; };
^
1 catastrophic error detected in the compilation of "multiprc_concept_check.C".
Compilation terminated.
ellen@lin1 debug]$ $CPFE --c++17 --gnu_version 80100 -tused -w -d-space_used multiprc_concept_check.C
Symbol table use:
Table Number Each Total
symbol 1582969 128 202620032
symbol header 94378 72 6795216
scope stack 900 784 705600 (gen. storage)
conversion header 91 24 2184
literal operator header 5 32 160
Name strings 446338 1 446338
symbol header lookup ents 615936 16 9854976
extern symbol descr 3472 24 83328
extern type fixup 0 32 0
field symbol supplement 4776 32 152832
static data member supplement 26602 24 638448
enum symbol supplement 253 56 14168
class symbol supplement 179082 400 71632800
namespace symbol suppl. 115 208 23920
template symbol suppl. 55326 440 24343440
template param 77521 160 12403360
param ids 103626 120 12435120
103626 lost
dependent type fixups 936 40 37440
851 lost
vla fixup 0 40 0
template instance 131814 112 14763168
master instance 82132 32 2628224
symbol list entry 508545 16 8136720
type list entry 3886 16 62176
subst. type list entry 43037 24 1032888
template cache segment 275 56 15400
47 lost
template decl info 51481 104 5354024
out of class partial spec 0 80 0
nondependent call info 162 40 6480
token sequence xref 7 16 112
constexpr if cache info 7 24 168
templ friend def arg 34 24 816
namespace list entry 9821 16 157136
projection symbol descr 133256 16 2132096
access error descr 2 56 112
active using directives 490 40 19600
exception spec err descr 0 24 0
generated entity blocks 30 24 720 (gen. storage)
hash table 193604 24 4646496
hash table entries 865032 24 20760768
hash table size 60714160
saved macro state 0 40 0
hide-by-sig list entries 0 32 0
property set sym. suppl. 0 24 0
C++/CLI accessor lookup 0 24 0
ms attribute descrs 0 56 0
ms attribute parameters 0 32 0
ms attribute alternate name entries 0 24 0
PCH events 0 56 0
string literal tables 9 256 2304
string literal entries 2617 24 62808
func. shareable constants 8 256 2048
loc. static var. locators 0 32 0
wait for mod. id entries 0 16 0
pack exp. stack entries 19 56 1064
pack references 1644 104 170976
1643 lost
pack expansion descrs 14644 56 820064
14642 lost
pack instantiation descrs 1 24 24
partial spec candidates 2 24 48
template decl states 0 960 0
variadic param infos 64 32 2048
deferred constr. checks 0 32 0
template lookup entries 0 24 0
exported template files 0 72 0
routine fixups 197 168 33096
initializer fixups 4 24 96
pending exc chk entries 19 40 760
covariant overrides 0 40 0
class fixups 3886 24 93264
override registry entries 7 48 336
quasi-override descr. 0 40 0
def arg expr fixups 455 80 36400
451 lost
based type fixups 0 16 0
copy remap entries 0 24 0
data map table width 3 5 32 160
data map table width 4 1 64 64
data map table width 5 1 128 128
live set table width 3 5 32 160
live set table width 4 1 64 64
live set table width 5 1 128 128
trans. unit corresps 796544 24 19117056
translation units 1 440 440 (gen. storage)
trans. unit stack entry 1 16 16 (gen. storage)
variable registration 320 40 12800 (gen. storage)
Total 482976978
Percent of buckets used 58
Avg non-empty bucket len 1.80
Number of searches 795499
Avg compares/search 1.08
Number of fast id lookups 8841
Number of slow id lookups 1585308
Macro table use:
Table Number Each Total
macro param 15 24 360
macro def 321 24 7704
macro arg 0 88 0 (gen. storage)
Macro arg text 0 1 0 (gen. storage)
Param name strings 20 1 20
Macro definition text 3010 1 3010
macro_buffer 4000 (gen. storage)
Total 15094
Error table use:
Table Number Each Total
diagnostic 5 184 920
diag fill-in 5 40 200
Total 1120
Lexical table use:
Table Number Each Total
orig line modif 0 32 0
source line modif 0 112 0
concatenation record 0 24 0
cached token 197 120 23640
133 lost
reusable cached token 2125135 120 255016200
token cache 788 48 37824
cached constant 49422 200 9884400
49420 lost
cache stack entry 118 88 10384
pending pragma entry 55277 112 6191024
50788 lost
stop token stack entry 237 360 85320
lexical state stack entry 119 80 9520
reusable cache pragmas 18 112 2016
pragma kind descriptions 37 24 888
file suffixes 9 16 144
include file histories 0 40 0
preinclude files 0 16 0 (gen. storage)
include search results 0 32 0 (gen. storage)
cached pp token strings 284
curr_source_line 48000 (gen. storage)
Total 271309644
Declaration parsing:
Table Number Each Total
decl-parse states 0 448 0
decl-parse callbacks 461 24 11064
461 lost
auto param descriptions 0 48 0
mem init args caches 11 88 968
Expression table use:
Table Number Each Total
arg operands 6510 352 2291520
199 lost
init components 6516 64 417024
24 lost
arg match summary 308 104 32032
candidate function 28 144 4032
ref entry 122 56 6832
23 lost
seq point variable entry 0 32 0
seq point info entry 0 24 0
dynamic init dtor fixup 5 24 120
2 lost
expr rescan info entry 154157 376 57963032
Total 60714592
IL table use:
Table Number Each Total
source file 4823 72 347256
seq number lookup entries 4823 32 154336
constant 606361 200 121272200
subobject paths 668 24 16032
String literal text 342502 1 342502
IL entity list entries 25733 24 617592
param type 1087992 96 104447232
routine type supplement 673610 64 43111040
based type list member 806900 24 19365600
class type supplement 179473 328 58867144
class list entry 483 16 7728
routine list entry 8687 16 138992
variable list entry 0 16 0
constant list entry 1 16 16
overriding virtual func 546 40 21840
derivation steps 123770 16 1980320
base class derivations 85164 24 2043936
base class 85231 152 12955112
template args 857413 56 48015128
templ param supplement 89963 56 5037928
typeref type supplement 310340 80 24827200
integer type supplement 274 64 17536
type 1899529 168 319120872
dynamic init 120201 128 15385728
local static var inits 8002 40 320080
vla dimensions 0 56 0
variable 188775 280 52857000
variable template info 26926 24 646224
field 5732 192 1100544
routine 447849 304 136146096
exception specification 398259 32 12744288
exception spec type 0 32 0
asm entry 0 152 0
label 260 128 33280
expr node 2990235 80 239218800
(fs expr node) 1212002 80 96960160
(avail. fs expr node) 0 80 0
(fs rescan expr node) 593890 80 47511200
new/delete supplement 5906 56 330736
gcnew supplement 0 32 0
throw supplement 49 24 1176
condition supplement 7 32 224
switch case entry 279 72 20088
switch stmt descr 51 24 1224
handler 73 40 2920
try supplement 112 40 4480
Microsoft try supplement 0 32 0
Microsoft attributes 0 88 0
Microsoft attribute args 0 32 0
custom Microsoft attribute args 0 24 0
property index types 0 24 0
property/event descrs 0 104 0
generic constraint 0 40 0
generic constraint clause 0 48 0
block 76657 32 2453024
for_loop 555 32 17760
coroutine_descr 0 120 0
statement 280167 80 22413360
constexpr if 1413 32 45216
constructor init 5727 64 366528
pragma 15945125 64 1020488000
object lifetime 74037 64 4738368
namespace 115 128 14720
using-decl 104039 64 6658496
scope 255700 264 67504800
local-scope-refs 14821 32 474272
template_parameters 76912 128 9844736
template_decls 50974 40 2038960
templates 57236 192 10989312
name references 25844 40 1033760
name qualifiers 13190 40 527600
element-positions 1099 24 26376
decl-position supplement 1103364 56 61788384
per inst needed flags 0 24 0
orphaned list headers 1085 48 52080
fs orphan pointers 26975679 8 215805432
trans. unit copy addr. 0 8 0
IL entry prefix 29883498 16 478135968
asm function bodies 0
attribute 16551 80 1324080
attribute arg 793 48 38064
attribute group 7427 16 118832
Total 3128418558
get_based_type_calls 2591840
num_shareable_constants 3288
Percent of buckets used 76
Avg non-empty bucket len 2.10
num func shareable consts 2517
Number of searches 572691
Avg compares/search 0.32
temp text buffer 2000 (gen. storage)
Statements table use:
Table Number Each Total
struct stmt stack 240 176 42240 (gen. storage)
control flow descrs 172 96 16512
Total 58752
Preprocessing table use:
Table Number Each Total
UPC pragma stack entries 0 16 0
forScope pragma stk ents 0 24 0
include alias entries 0 24 0
GCC pragma stack entries 0 16 0
Total 0
GNU attributes use:
Table Number Each Total
GNU visibility stack 2 16 32
alias fixups 28 40 1120
pragma extname strings 0 1 0
IL lowering table use:
Table Number Each Total
Name strings 181619696 1 181619696
init pos modifier 4 48 192
destr. entity descrs 17 160 2720
return memos 25 16 400
temp list entries 178 24 4272
scopeless comp stmts 2 24 48
construction vtbls 106 48 5088
variable remappings 18 64 1152
Total 181633568
Memory management table use:
Table Number Each Total
text buffers 10 40 400
Total 400
Allocated space in all categories:
Total of above 4125143490
Skipped for alignment 2716031
File mapped memory 0
Mapped from PCH 0 (included in previous line)
Mapped IL file size 0
Not listed 48646650
Total used 4176506171
Avail in used mem blocks 1336648
Avail in freed mem blocks 38436744
Max mem alloc 4215671155
All reactions