1/* { dg-do compile } */
2/* { dg-require-effective-target ilp32 } */
3/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=pentiumpro" } } */
4/* { dg-options "-O2 -march=pentiumpro" } */
5/* { dg-final { scan-assembler "leal" } } */
6typedef struct {
7  char **visbuf;
8  char **allbuf;
9} TScreen;
10
11void
12VTallocbuf(TScreen *screen, unsigned long savelines)
13{
14  screen->visbuf = &screen->allbuf[savelines];
15}
16