https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98372
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nathan Sidwell <nat...@gcc.gnu.org>: https://gcc.gnu.org/g:d61d2a5f3ce9238bad7cbd7733d90c6ec7ae5fbc commit r11-6666-gd61d2a5f3ce9238bad7cbd7733d90c6ec7ae5fbc Author: Nathan Sidwell <nat...@acm.org> Date: Thu Jan 14 05:15:33 2021 -0800 c++: Fix erroneous parm comparison logic [PR 98372] I flubbed an application of De Morgan's law. Let's just express the logic directly and let the compiler figure it out. This bug made it look like pr52830 was fixed, but it is not. PR c++/98372 gcc/cp/ * tree.c (cp_tree_equal): Correct map_context logic. gcc/testsuite/ * g++.dg/cpp0x/constexpr-52830.C: Restore dg-ice * g++.dg/template/pr98372.C: New.