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?