16 lines
417 B
C
16 lines
417 B
C
/* { dg-do compile } */
|
|
/* { dg-require-effective-target ilp32 } */
|
|
/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=pentiumpro" } } */
|
|
/* { dg-options "-O2 -march=pentiumpro" } */
|
|
/* { dg-final { scan-assembler "leal" } } */
|
|
typedef struct {
|
|
char **visbuf;
|
|
char **allbuf;
|
|
} TScreen;
|
|
|
|
void
|
|
VTallocbuf(TScreen *screen, unsigned long savelines)
|
|
{
|
|
screen->visbuf = &screen->allbuf[savelines];
|
|
}
|