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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The warning is correct, you shouldn't be using assume attribute in C89 this
way, you need to wrap it say as { __attribute__((assume(expr))); } (or do {
__attribute__((assume(expr))); } while (0);).

Reply via email to