Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(239)

Issue 5190046: Fix htab lookup bug in reregister_specialization (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by Diego Novillo
Modified:
12 years, 6 months ago
Reviewers:
jakub
CC:
Lawrence Crowl, jason_redhat.com, gcc-patches_gcc.gnu.org
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M gcc/cp/pt.c View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5
Diego Novillo
I found this bug while debugging a failure in pph images with template classes. When ...
12 years, 7 months ago (2011-10-05 19:49:42 UTC) #1
jakub_redhat.com
On Wed, Oct 05, 2011 at 03:49:38PM -0400, Diego Novillo wrote: > Jason, I don't ...
12 years, 7 months ago (2011-10-05 20:05:42 UTC) #2
jason_redhat.com
On 10/05/2011 04:05 PM, Jakub Jelinek wrote: > BTW, register_specialization has the same problems. If ...
12 years, 7 months ago (2011-10-05 21:03:49 UTC) #3
jakub_redhat.com
On Wed, Oct 05, 2011 at 05:03:45PM -0400, Jason Merrill wrote: > On 10/05/2011 04:05 ...
12 years, 7 months ago (2011-10-05 21:15:41 UTC) #4
jason_redhat.com
12 years, 7 months ago (2011-10-06 01:44:39 UTC) #5
On 10/05/2011 05:15 PM, Jakub Jelinek wrote:
> If optimize_specialization_lookup_p (tmpl) doesn't change return value in
> between the two calls, then you are right.  But perhaps in that case
> you could avoid the second call and use slot != NULL instead.

That makes sense too.

Jason

Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b