summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/spe-small-data-2.c
blob: 2a466e344fb0bc8b1947dfc7a9b4ace93a4cbec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Verify that we don't ICE trying to put float data in .sdata2.  */
/* { dg-do run { target { powerpc*-*-linux* && powerpc_spe } } } */
/* { dg-options "-msdata=eabi -mcall-eabi -G 8" } */

double x;

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