Reset branch to trunk.
[official-gcc.git] / trunk / gcc / testsuite / gcc.target / i386 / lea.c
blobf8f967e00f15330e3ad5128a5c98d120b8570933
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" } } */
6 typedef struct {
7 char **visbuf;
8 char **allbuf;
9 } TScreen;
11 void
12 VTallocbuf(TScreen *screen, unsigned long savelines)
14 screen->visbuf = &screen->allbuf[savelines];