https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108189

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |MOVED

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
clang does not implement the warning even though it is a correct warning.
Witness:
int f(struct {int t;} b)
{
  return b.t;
}

int f1(void)
{
  return f((struct {int t;}){1});
}
Is rejected.

Reply via email to