public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/24020] [4.0 regression] Excessive (x20) recusive inlining for 4.0 with -O3 and poor stack usage even without inlining
       [not found] <bug-24020-7904@http.gcc.gnu.org/bugzilla/>
@ 2006-03-11  3:22 ` mmitchel at gcc dot gnu dot org
  2007-02-03 15:45 ` gdr at gcc dot gnu dot org
  1 sibling, 0 replies; 5+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-03-11  3:22 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.3                       |4.0.4


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


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

* [Bug middle-end/24020] [4.0 regression] Excessive (x20) recusive inlining for 4.0 with -O3 and poor stack usage even without inlining
       [not found] <bug-24020-7904@http.gcc.gnu.org/bugzilla/>
  2006-03-11  3:22 ` [Bug middle-end/24020] [4.0 regression] Excessive (x20) recusive inlining for 4.0 with -O3 and poor stack usage even without inlining mmitchel at gcc dot gnu dot org
@ 2007-02-03 15:45 ` gdr at gcc dot gnu dot org
  1 sibling, 0 replies; 5+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 15:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from gdr at gcc dot gnu dot org  2007-02-03 15:44 -------
Fixed in GCC-4.1.1 and higher.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.0.4                       |4.1.1


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


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

* [Bug middle-end/24020] [4.0 regression] Excessive (x20) recusive inlining for 4.0 with -O3 and poor stack usage even without inlining
  2005-09-22 20:15 [Bug c/24020] New: Excessive (x20) stack usage for 4.0 with -O3 guillaume dot melquiond at ens-lyon dot fr
  2005-09-23 12:37 ` [Bug middle-end/24020] [4.0 regression] Excessive (x20) recusive inlining for 4.0 with -O3 and poor stack usage even without inlining hubicka at gcc dot gnu dot org
  2005-09-23 12:49 ` hubicka at gcc dot gnu dot org
@ 2005-09-27 15:57 ` mmitchel at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 15:57 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.2                       |4.0.3


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


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

* [Bug middle-end/24020] [4.0 regression] Excessive (x20) recusive inlining for 4.0 with -O3 and poor stack usage even without inlining
  2005-09-22 20:15 [Bug c/24020] New: Excessive (x20) stack usage for 4.0 with -O3 guillaume dot melquiond at ens-lyon dot fr
  2005-09-23 12:37 ` [Bug middle-end/24020] [4.0 regression] Excessive (x20) recusive inlining for 4.0 with -O3 and poor stack usage even without inlining hubicka at gcc dot gnu dot org
@ 2005-09-23 12:49 ` hubicka at gcc dot gnu dot org
  2005-09-27 15:57 ` mmitchel at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2005-09-23 12:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hubicka at gcc dot gnu dot org  2005-09-23 12:49 -------
The difference in stack usage is caused by ivopts.  -fno-ivopts reduces 4.1
stack usage to 12 bytes and 200 bytes with --param inline-unit-growth=1000000
Especially in the second case ivops should probably trottle down after some loop
nest as it makes no sense to increase number of induction variables for each of
loop of nest8.
I will look into saner recursive inlining limits too.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|hubicka at gcc dot gnu dot  |rakdver at atrey dot karlin
                   |org                         |dot mff dot cuni dot cz


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


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

* [Bug middle-end/24020] [4.0 regression] Excessive (x20) recusive inlining for 4.0 with -O3 and poor stack usage even without inlining
  2005-09-22 20:15 [Bug c/24020] New: Excessive (x20) stack usage for 4.0 with -O3 guillaume dot melquiond at ens-lyon dot fr
@ 2005-09-23 12:37 ` hubicka at gcc dot gnu dot org
  2005-09-23 12:49 ` hubicka at gcc dot gnu dot org
  2005-09-27 15:57 ` mmitchel at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2005-09-23 12:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hubicka at gcc dot gnu dot org  2005-09-23 12:37 -------
There is no recursive inlining happening at least on 4.1 because of overall unit
growth limit is met, so we do remarkably worse compared to 3.4 anyway.
Enabling recursive inlining makes it very active.  This is side effect of last
growth model changes and I need to trottle this somehow.

Honza

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hubicka at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
            Summary|[4.0 regression] Excessive  |[4.0 regression] Excessive
                   |(x20) recusive inlining for |(x20) recusive inlining for
                   |4.0 with -O3                |4.0 with -O3 and poor stack
                   |                            |usage even without inlining


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


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

end of thread, other threads:[~2007-02-03 15:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24020-7904@http.gcc.gnu.org/bugzilla/>
2006-03-11  3:22 ` [Bug middle-end/24020] [4.0 regression] Excessive (x20) recusive inlining for 4.0 with -O3 and poor stack usage even without inlining mmitchel at gcc dot gnu dot org
2007-02-03 15:45 ` gdr at gcc dot gnu dot org
2005-09-22 20:15 [Bug c/24020] New: Excessive (x20) stack usage for 4.0 with -O3 guillaume dot melquiond at ens-lyon dot fr
2005-09-23 12:37 ` [Bug middle-end/24020] [4.0 regression] Excessive (x20) recusive inlining for 4.0 with -O3 and poor stack usage even without inlining hubicka at gcc dot gnu dot org
2005-09-23 12:49 ` hubicka at gcc dot gnu dot org
2005-09-27 15:57 ` mmitchel 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).