PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / lea.c
blobb0821a0c6b5ddc5928352276376520fcaecda2ae
1 /* { dg-do compile } */
2 /* { dg-require-effective-target ia32 } */
3 /* { dg-skip-if "" { *-*-* } { "-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];