This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/25505] [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code



------- Comment #7 from pinskia at gcc dot gnu dot org  2005-12-20 21:50 -------
(In reply to comment #6)
> Re: comment #5:
> 
> That is a similar testcase, but not an identical one.  A better one would be
> something like:

Actually GCC gets the following testcase "correct":
typedef struct a
{
  int f[1000];
} a;


a f(void);

int g(void)
{
 { a t = f();}
 { a t = f();}
}


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]