(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
mips/
pr102024-1.c
       1  // PR target/102024
       2  // { dg-do compile }
       3  // { dg-options "-mabi=64 -mhard-float" }
       4  // { dg-final { scan-assembler "\\\$f12" } }
       5  
       6  struct foo
       7  {
       8    int : 0;
       9    double a;
      10  };
      11  
      12  extern void func(struct foo);
      13  
      14  void
      15  pass_foo(void)
      16  {
      17    struct foo test;
      18    test.a = 114;
      19    func(test); // { dg-message "the ABI for passing a value containing zero-width fields before an adjacent 64-bit floating-point field was changed in GCC 12.1" }
      20  }