1  /* Test AAPCS layout (alignment).  */
       2  
       3  /* { dg-do run { target arm_eabi } } */
       4  /* { dg-require-effective-target arm32 } */
       5  /* { dg-options "-O" } */
       6  
       7  #ifndef IN_FRAMEWORK
       8  #define TESTFILE "overalign_rec3.c"
       9  
      10  typedef struct
      11  {
      12    int  __attribute__((aligned(16))) a;
      13    int b;
      14  } overaligned;
      15  
      16  overaligned v = {1, 3};
      17  overaligned w = {33, 99};
      18  
      19  #include "abitest.h"
      20  #else
      21    ARG (int, 7, R0)
      22    /* Objects with alignment > 8 are passed with alignment 8.  */
      23    ARG (overaligned, v, R2)
      24    ARG (int, 9, STACK+8)
      25    ARG (int, 10, STACK+12)
      26    ARG (int, 11, STACK+16)
      27    LAST_ARG (overaligned, w, STACK+24)
      28  #endif