1 /* { dg-do run { target powerpc*-*-* } }*/
2 /* VxWorks only guarantees 64 bits of alignment (STACK_BOUNDARY == 64). */
3 /* { dg-skip-if "" { "powerpc*-*-vxworks*" } } */
4 /* Force 128-bit stack alignment for eabi targets. */
5 /* { dg-options "-mno-eabi" { target powerpc*-*-eabi* } } */
6
7 /* Test local alignment. Test new target macro STARTING_FRAME_PHASE. */
8 /* Origin: Aldy Hernandez <aldyh@redhat.com>. */
9
10 extern void abort(void);
11
12 int main ()
13 {
14 int darisa[4] __attribute__((aligned(16))) ;
15 int *stephanie = (int *) darisa;
16
17 if ((unsigned long) stephanie % 16 != 0)
18 abort ();
19
20 return 0;
21 }