[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2020-05-26 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 --- Comment #13 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:573e5f0500968dcf4025b8fc0ae5fb367f9c70d9 commit r11-477-g573e5f0500968dcf4025b8fc0ae5fb367f9c70d9 Author: Patrick Palka Date:

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2020-05-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 --- Comment #12 from Martin Liška --- (In reply to Patrick Palka from comment #11) > I posted a patch to enable sanitization for the spec_hasher tables for GCC > 11 here: https://gcc.gnu.org/pipermail/gcc-patches/2020-May/545525.html > > With

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2020-05-12 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org See

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2019-06-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 --- Comment #10 from Martin Liška --- Author: marxin Date: Tue Jun 11 07:55:19 2019 New Revision: 272144 URL: https://gcc.gnu.org/viewcvs?rev=272144=gcc=rev Log: Disable htable sanitization in pt.c (PR c++/87847). 2019-06-11 Martin Liska

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2019-06-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 Martin Liška changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |jason at gcc dot gnu.org ---

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2019-06-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 Martin Liška changed: What|Removed |Added Status|RESOLVED|ASSIGNED Resolution|INVALID

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2019-06-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2019-06-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2019-05-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 --- Comment #6 from Jason Merrill --- Created attachment 46387 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46387=edit patch to ignore type_canonical for TTP Does this work better?

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2019-05-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 --- Comment #5 from Martin Liška --- (In reply to Marek Polacek from comment #4) > Or maybe just > > @@ -1879,6 +1888,9 @@ iterative_hash_template_arg (tree arg, hashval_t val) > return val; >} > > +case

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2019-05-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 --- Comment #4 from Marek Polacek --- Or maybe just @@ -1879,6 +1888,9 @@ iterative_hash_template_arg (tree arg, hashval_t val) return val; } +case TEMPLATE_TEMPLATE_PARM: + return val; + default: break; }

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2019-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 --- Comment #3 from Marek Polacek --- An idea would be to hash TEMPLATE_TEMPLATE_PARMs differently in iterative_hash_template_arg: hash its TEMPLATE_TYPE_PARM_INDEX and TEMPLATE_TEMPLATE_PARM_TEMPLATE_DECL, so that when they compare equal, they

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2019-05-07 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 --- Comment #2 from Marek Polacek --- In the ttp23.C testcase we're comparing B and B. In one case the template argument is >> and the other is >> same_type_p says they're same, so comp_template_args returns true. One of the

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2019-05-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 --- Comment #1 from Martin Liška --- May I please ping this? I would like to finish the hast table sanitization patch in this stage1.