diff options
author | Nathan Sidwell <nathan@acm.org> | 2021-01-14 05:15:33 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2021-01-14 05:31:07 -0800 |
commit | d61d2a5f3ce9238bad7cbd7733d90c6ec7ae5fbc (patch) | |
tree | 46002f9934d03b658a4c3ab577d774ad73a6c0f3 /gcc/tree-data-ref.c | |
parent | 08a4adcf2b6ded2fea97195c715757df61a23395 (diff) | |
download | gcc-d61d2a5f3ce9238bad7cbd7733d90c6ec7ae5fbc.zip gcc-d61d2a5f3ce9238bad7cbd7733d90c6ec7ae5fbc.tar.gz gcc-d61d2a5f3ce9238bad7cbd7733d90c6ec7ae5fbc.tar.bz2 |
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.
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions