Hi,

When -fcompare_debug is used, what we really want to do is to compare
instructions between the -g version and -gtoggle version. However,
current dump file still contains the source line in its rtl dump. This
patch changes to only dump rtl without dumping its source info.

Bootstrapped and passed gcc regression test on x86_64.

Is it okay for trunk?

Thanks,
Dehao

2012-10-31  Dehao Chen  <de...@google.com>

        * final.c (rest_of_clean_state): Dump the final rtl without location.

Attachment: compare_debug.patch
Description: Binary data

Reply via email to