summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/rs6000-fpint-2.c
blob: 66bb61d2536d0a699517416ba7adf7d2d08a90aa (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile { target powerpc*-*-darwin* powerpc*-*-linux* } } */
/* { dg-options "-mno-powerpc-gfxopt -mpowerpc64" } */
extern void bar (void *);
extern double x;
void
foo (void)
{
  char buf2 [32][1024];
  bar (buf2 [(int) x]);
}