aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/powerpc/spe-small-data-2.c
blob: 5354e49f470cb7544f37f40fca256aadf6b683b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Verify that we don't ICE trying to put float data in .sdata2.  */
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_eabi_ok } */
/* { dg-options "-msdata=eabi -mcall-eabi -G 8" } */

double x;

int main(void)
{
  x = x * 2;
  return(0);
}