This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/68763] [6 Regression] ICE: in verify_unstripped_args, at cp/pt.c:1132
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Dec 2015 14:24:50 +0000
- Subject: [Bug c++/68763] [6 Regression] ICE: in verify_unstripped_args, at cp/pt.c:1132
- Auto-submitted: auto-generated
- References: <bug-68763-4 at http dot gcc dot gnu dot org/bugzilla/>
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.