public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29330]  New:  -O -ftree-loop-linear   -->  virtual memory exhausted
@ 2006-10-03 11:53 wouter dot vermaelen at pi dot be
  2006-10-03 16:17 ` [Bug tree-optimization/29330] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: wouter dot vermaelen at pi dot be @ 2006-10-03 11:53 UTC (permalink / raw)
  To: gcc-bugs

> g++ -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../configure -v --enable-languages=c,c++
--prefix=/home/wouter/gcc/local --enable-shared --with-system-zlib --enable-nls
--enable-threads=posix --without-included-gettext --disable-werror
--enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu
--enable-libstdcxx-debug i486-linux-gnu --enable-libmudflap
--enable-checking=release
Thread model: posix
gcc version 4.2.0 20061003 (experimental)


> g++ -O -ftree-loop-linear foo.cpp
virtual memory exhausted: Cannot allocate memory


> cat foo.cpp
int buf[2][2][2][2];

void f()
{
    for (int a = 0; a < 2; ++a) {
        for (int b = 0; b < 2; ++b) {
            for (int c = 0; c < 2; ++c) {
                for (int d = 0; d < 2; ++d) {
                    buf[a][b][c][d] = 0;
                }
            }
        }
    }
}


-- 
           Summary:  -O -ftree-loop-linear   -->  virtual memory exhausted
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wouter dot vermaelen at pi dot be


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29330


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-10-06 17:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-03 11:53 [Bug c++/29330] New: -O -ftree-loop-linear --> virtual memory exhausted wouter dot vermaelen at pi dot be
2006-10-03 16:17 ` [Bug tree-optimization/29330] " pinskia at gcc dot gnu dot org
2006-10-03 16:21 ` pinskia at gcc dot gnu dot org
2006-10-03 18:19 ` pluto at agmk dot net
2006-10-05  4:48 ` [Bug tree-optimization/29330] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-10-06  4:37 ` robert dot wilhelm at gmx dot net
2006-10-06 12:49 ` jakub at gcc dot gnu dot org
2006-10-06 16:57 ` jakub at gcc dot gnu dot org
2006-10-06 17:17 ` jakub 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).