Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / 20060125-2.c
blob55ef839552bd61b861a926288f3d2cf2ef74d186
1 /* PR rtl-optimization/25703 */
2 /* { dg-do run } */
3 /* { dg-require-effective-target ilp32 } */
4 /* { dg-options "-O2 -mtune=pentiumpro" } */
6 extern void abort (void);
8 struct a
10 int a;
11 char b,c,d,e;
14 __attribute__ ((noinline))
15 __attribute__ ((regparm(1))) t(struct a a)
17 if (a.a!=1 || a.b!=1 || a.c!=1)
18 abort();
21 int main()
23 struct a a;
24 a.c=1;
25 a.a=1;
26 a.b=1;
27 t(a);
28 return 0;