https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67866
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |msebor at gcc dot gnu.org
Resolution|--- |DUPLICATE
Severity|enhancement |normal
--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
This was a regression introduced by r208183 and apparently fixed by r241858:
2016-11-04 Paolo Carlini <[email protected]>
PR c++/67980
* pt.c (tsubst_expr, case IF_STMT): Use fold_non_dependent_expr
to suppress unwanted warnings.
So resolving as a dupe of that PR.
*** This bug has been marked as a duplicate of bug 67980 ***