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_rec1.c"
       9  
      10  typedef struct __attribute__((aligned(8)))
      11  {
      12    int 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    /* Overalignment is ignored for the purposes of parameter passing.  */
      23    ARG (overaligned, v, R1)
      24    ARG (int, 11, R3)
      25    ARG (int, 9, STACK)
      26    LAST_ARG (overaligned, w, STACK+4)
      27  #endif