> On Nov 5, 2024, at 14:29, David Malcolm <dmalc...@redhat.com> wrote:
>
> On Tue, 2024-11-05 at 16:31 +0000, Qing Zhao wrote:
>> During array out-of-bound checking or -Wstringop-* warning checking,
>> the
>> "move_history" that was attached to the gimple statement is used to
>> form
>> a sequence of diagnostic events that are added to the corresponding
>> rich
>> location to be used to report the warning message.
>
>
> Thanks for the rewrite to use lazy_diagnostic_path; this looks good to
> me FWIW.
The code is much cleaner after using lazy_diagnostic_path, thanks a lot for all
your help.
Qing
>
> Dave
>