/* PR target/39545 *//* { dg-do compile } *//* { dg-require-effective-target lp64 } *//* { dg-options "-O2" } */structflex{inti;intflex[];};structflexfoo(intx){/* { dg-message "note: the ABI of passing struct with a flexible array member has changed in GCC 4.4" } */structflexs;s.i=x;returns;}