https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847
Patrick Palka changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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: Mo
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 cu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847
Patrick Palka changed:
What|Removed |Added
CC||ppalka at gcc dot gnu.org
See
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&root=gcc&view=rev
Log:
Disable htable sanitization in pt.c (PR c++/87847).
2019-06-11 Martin L
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
--- Comme
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847
Martin Liška changed:
What|Removed |Added
Status|RESOLVED|ASSIGNED
Resolution|INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847
Martin Liška changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
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&action=edit
patch to ignore type_canonical for TTP
Does this work better?
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 TEMPLATE_TEMPLATE_PARM:
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;
}
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
h
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
template_temp
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.
15 matches
Mail list logo