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

#include <spe.h>

__ev64_fs__ x;

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