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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Confusing error message     |Confusing error message
                   |with user generated         |with user generated
                   |static_assert "expression   |static_assert or asm
                   |cannot be used as a         |"expression cannot be used
                   |function"                   |as a function"

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
asm on the trunk has the same issue:
```
  struct A {
    const char* data;
    unsigned long size;
  };

void f()
{
        asm((A{}));
}
```

Reply via email to