more robust debug_bb?

Diego Novillo dnovillo@google.com
Tue Nov 23 00:32:00 GMT 2010


On Mon, Nov 22, 2010 at 12:31, Ian Lance Taylor <iant@google.com> wrote:
> Basile Starynkevitch <basile@starynkevitch.net> writes:
>
>> or at least replacing the last
>>      check_bb_profile (bb, buffer->buffer->stream);
>> in function dump_bb_header of gimple-pretty-print.c with
>>      if (cfun)
>>              check_bb_profile (bb, buffer->buffer->stream);
>
> I think something like this is the way to go.  The debugging code should
> be as robust as possible.

Agreed.


Diego.



More information about the Gcc mailing list