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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 62832
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62832&action=edit
gcc16-pr122184.patch

Untested fix for the ICE.
This doesn't deal with the rest.  Admittedly my changes make things worse,
previously there would be just crashes say with switch if some vacuous large
var decl is in one case but then used in another one after it, but now it will
also crash (in -std=c++26 or -ftrivial-auto-var-init={zero,pattern} modes) even
when it is used just in a single case.

Reply via email to