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

OpenPOWER on IntegriCloud