aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20020118-1.c
blob: f00db689cc2f94d44e764da905ab658833a5b6c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do run { target powerpc*-*-* } }*/

/* Test local alignment.  Test new target macro STARTING_FRAME_PHASE.  */
/* Origin: Aldy Hernandez <aldyh@redhat.com>.  */

int main ()
{       
  int darisa[4] __attribute__((aligned(16))) ;
  int *stephanie = (int *) darisa;

  if ((unsigned long) stephanie % 16 != 0)
    abort ();

  return 0;
}