This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51551] New: tree-loop-optimize chews all memory
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 Dec 2011 15:19:41 +0000
- Subject: [Bug tree-optimization/51551] New: tree-loop-optimize chews all memory
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51551
Bug #: 51551
Summary: tree-loop-optimize chews all memory
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Keywords: memory-hog
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: gjl@gcc.gnu.org
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Created attachment 26082
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26082
bug-loop.c
The test program attached don't finish compilation and gcc is entering infinite
loop that chews up all of memory.
Compile with:
$ gcc bug-loop.c -S -Os
Following works:
$ gcc bug-loop.c -S -O2
$ gcc bug-loop.c -S -Os -fno-tree-loop-optimize