[Bug c++/35596] Runs out of virtual memory, with for_each

2008-03-29 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2008-03-29 17:32 --- It's a duplicate of PR24602. *** This bug has been marked as a duplicate of 24602 *** -- reichelt at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/35596] Runs out of virtual memory, with for_each

2008-03-15 Thread truedfx at gentoo dot org
--- Comment #6 from truedfx at gentoo dot org 2008-03-15 18:24 --- Or more relevantly, #4205. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35596

[Bug c++/35596] Runs out of virtual memory, with for_each

2008-03-15 Thread truedfx at gentoo dot org
--- Comment #5 from truedfx at gentoo dot org 2008-03-15 18:17 --- This is probably related to #28262. That bug's about typedef void fn(int = 0); typedef fn *fp; void call(fp f) { f(); } which used to be accepted (up to 4.2), but is now correctly rejected in 4.3. This bug is really the

[Bug c++/35596] Runs out of virtual memory, with for_each

2008-03-15 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-03-15 10:58 --- Created an attachment (id=15328) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15328&action=view) unincluded testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35596

[Bug c++/35596] Runs out of virtual memory, with for_each

2008-03-15 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-03-15 10:57 --- This is an endless recursion during parsing (which blows the stack). Note that gcc 4.3 complains about a missing argument to for_each: /usr/include/c++/4.3/bits/stl_algo.h: In function ‘_Funct std::for_each(_IIter,

[Bug c++/35596] Runs out of virtual memory, with for_each

2008-03-14 Thread kevin at kelphead dot org
--- Comment #2 from kevin at kelphead dot org 2008-03-15 02:49 --- Created an attachment (id=15327) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15327&action=view) Output of compiler when virtual memory is exhausted -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35596

[Bug c++/35596] Runs out of virtual memory, with for_each

2008-03-14 Thread kevin at kelphead dot org
--- Comment #1 from kevin at kelphead dot org 2008-03-15 02:48 --- Created an attachment (id=15326) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15326&action=view) .ii produced during compilation This is the code produced during the failed run of the compiler. Similar code crash