public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/15139] New: cc1 uses excessive amounts of memory compiling small routine
@ 2004-04-25 23:00 p dot van-hoof at qub dot ac dot uk
  2004-04-25 23:27 ` [Bug optimization/15139] " p dot van-hoof at qub dot ac dot uk
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: p dot van-hoof at qub dot ac dot uk @ 2004-04-25 23:00 UTC (permalink / raw)
  To: gcc-bugs

When compiling the attached routine with

gcc -c -O2 -funroll-loops a.c

cc1 will use excessive amounts of memory. I killed the process when it reached
2700 MB, but it was still steadily growing in size. Given the fact that the
routine is only 20 lines long, this seems to point to a genuine problem in the
compiler, not just a badly optimized component. The problem only arrizes with
gcc 3.4.0, not 3.3.3 or the mainline.

-- 
           Summary: cc1 uses excessive amounts of memory compiling small
                    routine
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: p dot van-hoof at qub dot ac dot uk
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

end of thread, other threads:[~2005-01-19 11:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-25 23:00 [Bug optimization/15139] New: cc1 uses excessive amounts of memory compiling small routine p dot van-hoof at qub dot ac dot uk
2004-04-25 23:27 ` [Bug optimization/15139] " p dot van-hoof at qub dot ac dot uk
2004-04-25 23:47 ` [Bug optimization/15139] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-06-22 17:04 ` [Bug rtl-optimization/15139] " mmitchel at gcc dot gnu dot org
2004-06-22 17:38 ` mmitchel at gcc dot gnu dot org
2004-06-25 22:20 ` hubicka at ucw dot cz
2004-08-29 18:53 ` mmitchel at gcc dot gnu dot org
2004-11-01  0:47 ` mmitchel at gcc dot gnu dot org
2005-01-12 10:47 ` jakub at gcc dot gnu dot org
2005-01-19  9:31 ` cvs-commit at gcc dot gnu dot org
2005-01-19 11:19 ` cvs-commit at gcc dot gnu dot org
2005-01-19 11:21 ` 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).