https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90471
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |7.3.0
Known to fail| |8.3.0
--- Comment #22 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Daniel Fruzynski from comment #20)
> gcc 8.2.0 does not crash on this code.
Then I would recommend to update GCC to the version or newer. Note that GCC 7.x
is coming to the end of its life cycle.
>
> I tried to use sgcheck, but without luck - it exited on some assertion
> failure.