blob: 477f07055a111a4403ef59c26d108f131b529fee [file] [log] [blame]
// PR target/102024
// { dg-do compile }
// { dg-options "-mabi=64 -mhard-float" }
// { dg-final { scan-assembler "\\\$f12" } }
struct foo
{
struct {} empty;
double a;
};
extern void func(struct foo);
void
pass_foo(void)
{
struct foo test;
test.a = 114;
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" }
}