(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
aapcs64/
va_arg_dfp-10.c
       1  /* Test AAPCS64 layout and __builtin_va_arg.
       2  
       3     Miscellaneous test: Anonymous arguments passed on the stack.  */
       4  
       5  /* { dg-do run { target aarch64*-*-* } } */
       6  
       7  #ifndef IN_FRAMEWORK
       8  #define AAPCS64_TEST_STDARG
       9  #define TESTFILE "va_arg_dfp-10.c"
      10  
      11  struct z
      12  {
      13    _Decimal64 x[4];
      14  };
      15  
      16  _Decimal64 d1 = 25.0dd;
      17  _Decimal64 d2 = 103.0dd;
      18  struct z a = { 5.0dd, 6.0dd, 7.0dd, 8.0dd };
      19  struct z b = { 9.0dd, 10.0dd, 11.0dd, 12.0dd };
      20  
      21  #include "abitest.h"
      22  #else
      23    ARG(struct z, a, D0, 0)
      24    ARG(struct z, b, D4, LAST_NAMED_ARG_ID)
      25    DOTS
      26    ANON(_Decimal64, d1, STACK, 2)
      27    LAST_ANON(_Decimal64, d2, STACK+8, 3)
      28  
      29  #endif