Rask Ingemann Lambertsen wrote:
> On Sat, Jun 16, 2007 at 11:36:00PM -0400, Kenneth Zadeck wrote:
>   
>>> Try:
>>>
>>> df_note_add_problem ();
>>> df_analyze ();
>>> -- 
>>> #pragma ident "Seongbae Park, compiler, http://seongbae.blogspot.com";
>>>       
>> What Seongbae said is correct. However, what Seongbae failed to say is
>> that you can ditch the code that gets rid of the old notes.  That will
>> be done by the note problem.
>>     
>
>    Yes, look at what I posted yesterday already and smile.
> <URL:http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01147.html>
>
>   
I thought of one more thing over night: after the call to df_analyze,
you need to add a call to "df_remove_problem (df_note);"  Otherwise, the
next call to df_analyze will also rebuild the notes.  The other
possibility is to call "df_finish_pass ()" which will have the same effect.

Sorry for not thinking about this sooner.

kenny

Reply via email to