aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20040622-1.c
blob: 4562fe6eaa122c32804779aa743ad0c2f2dfe35b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-options "-Os -mlong-double-128" } */
/* { dg-do compile { target rs6000-*-* powerpc-*-* } } */
/* Make sure compiler doesn't generate [reg+reg] address mode
   for long doubles. */
union arg {
  int intarg;
  long double longdoublearg;
};
long double d;
int va(int n, union arg **argtable)
{
  (*argtable)[n].longdoublearg = d;
}