public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/24247] New: recursive default arguments cause compiler out-of-memory
@ 2005-10-06 22:04 jens dot maurer at gmx dot net
2005-10-06 22:07 ` [Bug c++/24247] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: jens dot maurer at gmx dot net @ 2005-10-06 22:04 UTC (permalink / raw)
To: gcc-bugs
I killed gcc after it used >100 MB of RAM for this example:
template<typename T>
int foo (T t, int = foo(T()));
int main()
{
foo(0);
}
--
Summary: recursive default arguments cause compiler out-of-memory
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jens dot maurer at gmx dot net
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24247
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/24247] recursive default arguments cause compiler out-of-memory
2005-10-06 22:04 [Bug c++/24247] New: recursive default arguments cause compiler out-of-memory jens dot maurer at gmx dot net
@ 2005-10-06 22:07 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-06 22:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-06 22:07 -------
*** This bug has been marked as a duplicate of 5247 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24247
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-06 22:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-06 22:04 [Bug c++/24247] New: recursive default arguments cause compiler out-of-memory jens dot maurer at gmx dot net
2005-10-06 22:07 ` [Bug c++/24247] " pinskia at gcc dot gnu dot 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).