This is the mail archive of the gcc-patches@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]

Re: [Patch]: Fix very large frame bug on i386


On May 22, 2012, at 7:17 PM, Richard Henderson wrote:

> On 05/15/12 02:10, Tristan Gingold wrote:
>> 2012-05-15  Tristan Gingold  <gingold@adacore.com>
>> 
>> 	* config/i386/i386.c (struct ix86_frame): Remove unused frame field.
>> 	(ix86_compute_frame_layout): Fix type of stack_alignment_needed
>> 	and preferred_alignment.
> 
> Ok with a test case.  Even if it's a scan-assember sort of test.

Thanks, now committed with the following testcase:

/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-final { scan-assembler "-429496" } } */
extern void dump (int *buf, int a);

void func (int a)
{
  int bigbuf[1 << 30];
  dump (bigbuf, a);
}


Tristan.


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