public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/13737] New: gcc.c-torture/compile/20001226-1.c requires far too much memory
@ 2004-01-19 12:36 silume at earthlink dot net
  2004-01-19 12:41 ` [Bug c/13737] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: silume at earthlink dot net @ 2004-01-19 12:36 UTC (permalink / raw)
  To: gcc-bugs

Can this test be made simpler?  There are only 32M RAM and 128M swap available
on this computer; the test cannot be compiled.  It also occasionally triggers
the OOM killer.

-- 
           Summary: gcc.c-torture/compile/20001226-1.c requires far too much
                    memory
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: silume at earthlink dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i586-pc-linux
  GCC host triplet: i586-pc-linux
GCC target triplet: i586-pc-linux


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


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

* [Bug c/13737] gcc.c-torture/compile/20001226-1.c requires far too much memory
  2004-01-19 12:36 [Bug c/13737] New: gcc.c-torture/compile/20001226-1.c requires far too much memory silume at earthlink dot net
@ 2004-01-19 12:41 ` pinskia at gcc dot gnu dot org
  2004-01-19 14:12 ` [Bug c/13737] [3.3/3.4/3.5 Regression] " giovannibajo at libero dot it
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-19 12:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-19 12:41 -------
no it most likley cannot be made smaller, the whole idea about this test is that it compiles fast and 
does not use that much memory. Thanks for pointing out that it uses a large memory, we will be 
looking into how to get the memory down.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |memory-hog
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-19 12:41:10
               date|                            |
   Target Milestone|---                         |3.5.0


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


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

* [Bug c/13737] [3.3/3.4/3.5 Regression] gcc.c-torture/compile/20001226-1.c requires far too much memory
  2004-01-19 12:36 [Bug c/13737] New: gcc.c-torture/compile/20001226-1.c requires far too much memory silume at earthlink dot net
  2004-01-19 12:41 ` [Bug c/13737] " pinskia at gcc dot gnu dot org
@ 2004-01-19 14:12 ` giovannibajo at libero dot it
  2004-01-19 14:13 ` giovannibajo at libero dot it
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: giovannibajo at libero dot it @ 2004-01-19 14:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-01-19 14:12 -------
Compared to 2.95, memory occupation is doubled: 61mb vs 31mb, even at -O0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|gcc.c-                      |[3.3/3.4/3.5 Regression]
                   |torture/compile/20001226-1.c|gcc.c-
                   |requires far too much memory|torture/compile/20001226-1.c
                   |                            |requires far too much memory
   Target Milestone|3.5.0                       |3.3.3


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


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

* [Bug c/13737] [3.3/3.4/3.5 Regression] gcc.c-torture/compile/20001226-1.c requires far too much memory
  2004-01-19 12:36 [Bug c/13737] New: gcc.c-torture/compile/20001226-1.c requires far too much memory silume at earthlink dot net
  2004-01-19 12:41 ` [Bug c/13737] " pinskia at gcc dot gnu dot org
  2004-01-19 14:12 ` [Bug c/13737] [3.3/3.4/3.5 Regression] " giovannibajo at libero dot it
@ 2004-01-19 14:13 ` giovannibajo at libero dot it
  2004-02-15 12:40 ` gdr at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: giovannibajo at libero dot it @ 2004-01-19 14:13 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |critical


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


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

* [Bug c/13737] [3.3/3.4/3.5 Regression] gcc.c-torture/compile/20001226-1.c requires far too much memory
  2004-01-19 12:36 [Bug c/13737] New: gcc.c-torture/compile/20001226-1.c requires far too much memory silume at earthlink dot net
                   ` (2 preceding siblings ...)
  2004-01-19 14:13 ` giovannibajo at libero dot it
@ 2004-02-15 12:40 ` gdr at gcc dot gnu dot org
  2004-03-21 18:10 ` mmitchel at gcc dot gnu dot org
  2004-03-21 18:26 ` ebotcazou at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-02-15 12:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2004-02-15 12:40 -------
Adjust milestone

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.3.3                       |3.3.4


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


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

* [Bug c/13737] [3.3/3.4/3.5 Regression] gcc.c-torture/compile/20001226-1.c requires far too much memory
  2004-01-19 12:36 [Bug c/13737] New: gcc.c-torture/compile/20001226-1.c requires far too much memory silume at earthlink dot net
                   ` (3 preceding siblings ...)
  2004-02-15 12:40 ` gdr at gcc dot gnu dot org
@ 2004-03-21 18:10 ` mmitchel at gcc dot gnu dot org
  2004-03-21 18:26 ` ebotcazou at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-03-21 18:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-03-21 18:10 -------
It's not surprising this takes more memory than GCC 2.95.3.

There's a very big function in this file, and GCC is now function-at-a-time,
meaning that we build a representation for the entire function in memory, rather
than compiling it one line at a time.  That's not to say some improvements could
not be made, but this is a conscious design change.  An increase in memory is
inevitable in light of function-at-a-time.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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


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

* [Bug c/13737] [3.3/3.4/3.5 Regression] gcc.c-torture/compile/20001226-1.c requires far too much memory
  2004-01-19 12:36 [Bug c/13737] New: gcc.c-torture/compile/20001226-1.c requires far too much memory silume at earthlink dot net
                   ` (4 preceding siblings ...)
  2004-03-21 18:10 ` mmitchel at gcc dot gnu dot org
@ 2004-03-21 18:26 ` ebotcazou at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-03-21 18:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-03-21 18:26 -------
And I can add that there has been progress on this particular testcase: it used
to time-out on some of my low-end machines in 3.3.x, it doesn't on any in 3.4.0pre.


-- 


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


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

end of thread, other threads:[~2004-03-21 18:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-19 12:36 [Bug c/13737] New: gcc.c-torture/compile/20001226-1.c requires far too much memory silume at earthlink dot net
2004-01-19 12:41 ` [Bug c/13737] " pinskia at gcc dot gnu dot org
2004-01-19 14:12 ` [Bug c/13737] [3.3/3.4/3.5 Regression] " giovannibajo at libero dot it
2004-01-19 14:13 ` giovannibajo at libero dot it
2004-02-15 12:40 ` gdr at gcc dot gnu dot org
2004-03-21 18:10 ` mmitchel at gcc dot gnu dot org
2004-03-21 18:26 ` ebotcazou 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).