OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [20020118-1.c] - Blame information for rev 825

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.