https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72823
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 39062
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39062&action=edit
gcc7-pr72823.patch
Untested fix. IMHO either you want to make sure the documented invariant is
honored, or you should remove the documentation for the invariant and kill the
assert.