[Bug c++/68763] [6 Regression] ICE: in verify_unstripped_args, at cp/pt.c:1132

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 18 11:46:00 GMT 2015


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

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

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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Isn't this related or dup of PR66745 ?

As for the lvalue error, reduced testcase is:
template <int N>
int
foo (int max, int i, int radix, int c)
{
  if (max < ((i *= radix) += c))
    return i / radix;
  return 0;
}

int
bar (int max, int i, int radix, int c)
{
  return foo <0> (max, i, radix, c);
}
and that one started with r231640 (doesn't error out if foo is not a template).
Do we have a PR for that already, or shall I file a new one?


More information about the Gcc-bugs mailing list