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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-bisection             |
                 CC|                            |ppalka at gcc dot gnu.org

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It started to ICE with r13-377-g3e948d645bc9086eee28407fcc67d05b3450bb78

  c++: tighten TMPL_ARGS_LEVEL macro

  This patch makes TMPL_ARGS_LEVEL verify the level argument is valid when
  the one-dimensional vector case.  Doing so uncovered a couple of latent
  issues: in try_class_unification, we weren't correctly copying targs
  when it's two-dimensional, and in unify_pack_expansion it seems an
  inequality test needs to be reversed.  This patch fixes both issues, and
  in passing makes the former function free the temporary copy of targs.

Reply via email to