public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/43472] New: gcc -O3: exhausts memory on whetstone.cbe.
@ 2010-03-21 20:11 edwintorok at gmail dot com
2010-03-21 20:12 ` [Bug tree-optimization/43472] " edwintorok at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: edwintorok at gmail dot com @ 2010-03-21 20:11 UTC (permalink / raw)
To: gcc-bugs
gcc -O2 works on this file:
gcc whetstone.cbe.c -lm -O2 -fno-strict-aliasing -fno-inline -m64
-fomit-frame-pointer
gcc -O3 exhausts memory:
gcc whetstone.cbe.c -lm -O3 -fno-strict-aliasing -fno-inline -m64
-fomit-frame-pointer
virtual memory exhausted: Cannot allocate memory
$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.3-3'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--enable-multiarch --enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--with-arch-32=i486 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.3 (Debian 4.4.3-3)
$ uname -a
Linux debian 2.6.33-00175-g2d1299a0 #10 SMP PREEMPT Mon Mar 15 15:42:54 EET
2010 x86_64 GNU/Linux
The system has plenty of memory (4G of RAM + even more swap)
$ free
total used free shared buffers cached
Mem: 3980032 1392288 2587744 0 20492 569508
-/+ buffers/cache: 802288 3177744
Swap: 5863704 777788 5085916
--
Summary: gcc -O3: exhausts memory on whetstone.cbe.
Product: gcc
Version: 4.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: edwintorok at gmail dot com
GCC build triplet: x86_64-linux-gnu
GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43472
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/43472] gcc -O3: exhausts memory on whetstone.cbe.
2010-03-21 20:11 [Bug tree-optimization/43472] New: gcc -O3: exhausts memory on whetstone.cbe edwintorok at gmail dot com
@ 2010-03-21 20:12 ` edwintorok at gmail dot com
2010-03-21 23:02 ` rguenth at gcc dot gnu dot org
2010-03-22 15:47 ` rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: edwintorok at gmail dot com @ 2010-03-21 20:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from edwintorok at gmail dot com 2010-03-21 20:11 -------
Created an attachment (id=20155)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20155&action=view)
whetstone.cbe.c
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43472
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/43472] gcc -O3: exhausts memory on whetstone.cbe.
2010-03-21 20:11 [Bug tree-optimization/43472] New: gcc -O3: exhausts memory on whetstone.cbe edwintorok at gmail dot com
2010-03-21 20:12 ` [Bug tree-optimization/43472] " edwintorok at gmail dot com
@ 2010-03-21 23:02 ` rguenth at gcc dot gnu dot org
2010-03-22 15:47 ` rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-21 23:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2010-03-21 23:01 -------
Confirmed. Looks like a dup of PR43415.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |43415
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail| |4.4.3
Known to work| |4.5.0
Last reconfirmed|0000-00-00 00:00:00 |2010-03-21 23:01:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43472
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/43472] gcc -O3: exhausts memory on whetstone.cbe.
2010-03-21 20:11 [Bug tree-optimization/43472] New: gcc -O3: exhausts memory on whetstone.cbe edwintorok at gmail dot com
2010-03-21 20:12 ` [Bug tree-optimization/43472] " edwintorok at gmail dot com
2010-03-21 23:02 ` rguenth at gcc dot gnu dot org
@ 2010-03-22 15:47 ` rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-22 15:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-03-22 15:47 -------
It is.
*** This bug has been marked as a duplicate of 43415 ***
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43472
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-03-22 15:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-21 20:11 [Bug tree-optimization/43472] New: gcc -O3: exhausts memory on whetstone.cbe edwintorok at gmail dot com
2010-03-21 20:12 ` [Bug tree-optimization/43472] " edwintorok at gmail dot com
2010-03-21 23:02 ` rguenth at gcc dot gnu dot org
2010-03-22 15:47 ` rguenth 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).