This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]