public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98354] New: OOM: cc1plus: out of memory with operator auto
@ 2020-12-17 16:48 gscfq@t-online.de
2020-12-18 8:46 ` [Bug c++/98354] " marxin at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: gscfq@t-online.de @ 2020-12-17 16:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98354
Bug ID: 98354
Summary: OOM: cc1plus: out of memory with operator auto
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Seems to be very old :
$ cat z1.cc
struct S
{
operator auto () { return [] };
};
$ g++-11-20201213 -c z1.cc -std=c++17
z1.cc: In lambda function:
z1.cc:3:32: error: expected '{' before '}' token
3 | operator auto () { return [] };
| ^
cc1plus: out of memory allocating 96299408 bytes after a total of 737280 bytes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-18 8:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17 16:48 [Bug c++/98354] New: OOM: cc1plus: out of memory with operator auto gscfq@t-online.de
2020-12-18 8:46 ` [Bug c++/98354] " marxin 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).