public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug middle-end/26034] New: [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code @ 2006-01-30 14:44 pinskia at gcc dot gnu dot org 2006-02-03 19:25 ` [Bug middle-end/26034] " pinskia at gcc dot gnu dot org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-01-30 14:44 UTC (permalink / raw) To: gcc-bugs Take the following code: typedef struct a { int f[1000]; void g(); a operator=(const a&); } a; a f(void); int g(void) { a t; t = f(); } in 4.0, we use 20008 bytes for the stack. In 4.2 and 4.1, we use 16024 bytes for the stack. In 3.4 and 3.3, we use 12024 bytes for the stack. This is semi reduced from PR 25505 (there is another case in there already). -- Summary: [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org OtherBugsDependingO 25505 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26034 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/26034] [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code 2006-01-30 14:44 [Bug middle-end/26034] New: [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code pinskia at gcc dot gnu dot org @ 2006-02-03 19:25 ` pinskia at gcc dot gnu dot org 2006-02-14 8:58 ` mmitchel at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-02-03 19:25 UTC (permalink / raw) To: gcc-bugs -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26034 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/26034] [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code 2006-01-30 14:44 [Bug middle-end/26034] New: [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code pinskia at gcc dot gnu dot org 2006-02-03 19:25 ` [Bug middle-end/26034] " pinskia at gcc dot gnu dot org @ 2006-02-14 8:58 ` mmitchel at gcc dot gnu dot org 2006-02-14 15:12 ` [Bug middle-end/26034] [4.0 " rguenth at gcc dot gnu dot org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2006-02-14 8:58 UTC (permalink / raw) To: gcc-bugs -- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26034 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/26034] [4.0 Regression] gcc uses way too much stack space for this code 2006-01-30 14:44 [Bug middle-end/26034] New: [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code pinskia at gcc dot gnu dot org 2006-02-03 19:25 ` [Bug middle-end/26034] " pinskia at gcc dot gnu dot org 2006-02-14 8:58 ` mmitchel at gcc dot gnu dot org @ 2006-02-14 15:12 ` rguenth at gcc dot gnu dot org 2006-03-11 3:19 ` mmitchel at gcc dot gnu dot org 2007-02-03 16:15 ` gdr at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu dot org @ 2006-02-14 15:12 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from rguenth at gcc dot gnu dot org 2006-02-14 15:12 ------- With 4.1 and 4.2 we (now) use 12024 bytes for the stack and even produce slightly better code than 3.4 with -O2. 4.0.x is horrible as we have two extra stack temps we memcpy in/out to/of. I guess Jasons fix for 25979 fixed this? -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-02-14 15:12:13 date| | Summary|[4.0/4.1/4.2 Regression] gcc|[4.0 Regression] gcc uses |uses way too much stack |way too much stack space for |space for this code |this code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26034 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/26034] [4.0 Regression] gcc uses way too much stack space for this code 2006-01-30 14:44 [Bug middle-end/26034] New: [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code pinskia at gcc dot gnu dot org ` (2 preceding siblings ...) 2006-02-14 15:12 ` [Bug middle-end/26034] [4.0 " rguenth at gcc dot gnu dot org @ 2006-03-11 3:19 ` mmitchel at gcc dot gnu dot org 2007-02-03 16:15 ` gdr at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2006-03-11 3:19 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=26034 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/26034] [4.0 Regression] gcc uses way too much stack space for this code 2006-01-30 14:44 [Bug middle-end/26034] New: [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code pinskia at gcc dot gnu dot org ` (3 preceding siblings ...) 2006-03-11 3:19 ` mmitchel at gcc dot gnu dot org @ 2007-02-03 16:15 ` gdr at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: gdr at gcc dot gnu dot org @ 2007-02-03 16:15 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from gdr at gcc dot gnu dot org 2007-02-03 16:15 ------- Won't fix in GCC-4.0.x. Closing. -- gdr at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26034 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-02-03 16:15 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-01-30 14:44 [Bug middle-end/26034] New: [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code pinskia at gcc dot gnu dot org 2006-02-03 19:25 ` [Bug middle-end/26034] " pinskia at gcc dot gnu dot org 2006-02-14 8:58 ` mmitchel at gcc dot gnu dot org 2006-02-14 15:12 ` [Bug middle-end/26034] [4.0 " rguenth at gcc dot gnu dot org 2006-03-11 3:19 ` mmitchel at gcc dot gnu dot org 2007-02-03 16:15 ` gdr 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).