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

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

extern void abort(void);

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

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

  return 0;
}