Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.target / powerpc / spe-small-data-2.c
1 /* Verify that we don't ICE trying to put float data in .sdata2.  */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target powerpc_eabi_ok } */
4 /* { dg-options "-msdata=eabi -mcall-eabi -G 8" } */
5
6 double x;
7
8 int main(void)
9 {
10   x = x * 2;
11   return(0);
12 }
13