OSDN Git Service

Fix PR target/50099
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / powerpc / 20040622-1.c
1 /* { dg-options "-Os -mlong-double-128" } */
2 /* { dg-do compile { target { { rs6000-*-* } || { powerpc*-*-* && lp64 } } } } */
3 /* Make sure compiler doesn't generate [reg+reg] address mode
4    for long doubles. */
5 union arg {
6   int intarg;
7   long double longdoublearg;
8 };
9 long double d;
10 int va(int n, union arg **argtable)
11 {
12   (*argtable)[n].longdoublearg = d;
13 }