summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/pr102024-4.c
blob: ea49e890ee5aac287007b23033a6f3ba5673a02c (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do compile }
// { dg-options "-mabi=64 -mhard-float -ffat-lto-objects" }

struct __attribute__((aligned(16))) test {
  int x[0];
  double b;
  int f[];
};

void check(struct 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" }