Re: [2.6 patch] i386: always use 4k stacks

Horst von Brand
2005-12-18T04:21:27Z

[-- Attachment #1: Type: text/plain, Size: 71 bytes --]

Horst von Brand <vonbrand@inf.utfsm.cl> wrote:
[Forgot the attachment]

[-- Attachment #2: Example code with temporary struct on stack --]
[-- Type: text/x-c, Size: 151 bytes --]

struct s {
int a, b, c;
};

void h(struct s *);

int f()
{
struct s s;

s.a = 3;
h(&s);
}

int g()
{
h(&((struct s) {3, 0, 0}));
}

[-- Attachment #3: Type: text/plain, Size: 276 bytes --]

--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513