[Bug c++/68763] [6 Regression] ICE: in verify_unstripped_args, at cp/pt.c:1132
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 18 14:24:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68763
--- Comment #11 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #9)
> 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?
I've opened PR68978 for this issue.
More information about the Gcc-bugs
mailing list