OSDN Git Service

* gcc.dg/altivec-21.c: Use dg-error only for ilp32.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20020118-1.c
1 /* { dg-do run { target powerpc*-*-* } }*/
2
3 /* Test local alignment.  Test new target macro STARTING_FRAME_PHASE.  */
4 /* Origin: Aldy Hernandez <aldyh@redhat.com>.  */
5
6 extern void abort(void);
7
8 int main ()
9 {       
10   int darisa[4] __attribute__((aligned(16))) ;
11   int *stephanie = (int *) darisa;
12
13   if ((unsigned long) stephanie % 16 != 0)
14     abort ();
15
16   return 0;
17 }