Re: [PATCH] warn-access: Fix up matching_alloc_calls_p [PR118024]

2024-12-14 Thread Richard Biener
> Am 14.12.2024 um 09:20 schrieb Jakub Jelinek : > > Hi! > > The following testcase ICEs because of a bug in matching_alloc_calls_p. > The loop was apparently meant to be walking the two attribute chains > in lock-step, but doesn't really do that. If the first lookup_attribute > returns non-

[PATCH] warn-access: Fix up matching_alloc_calls_p [PR118024]

2024-12-14 Thread Jakub Jelinek
Hi! The following testcase ICEs because of a bug in matching_alloc_calls_p. The loop was apparently meant to be walking the two attribute chains in lock-step, but doesn't really do that. If the first lookup_attribute returns non-NULL, the second one is not done, so rmats in that case can be some