The introduction of tree addresses in debugging dumps has caused most lines of debugging dumps to differ. What we had before was that ordinary dumps produced with the same input & options by compilers produced in different stages of a bootstrap were reasonably diffable; Slightly different compilations where generally reasonably diffable with -fdump-unnumbered
Created attachment 11818 [details] Tentative patch I'm currently testing this patch. Hopefully this will allow to pinpoint the insns that stage3 of current mainline fails to eliminate with peephole2.
Created attachment 11819 [details] Tentative patch This one compiles...
Created attachment 11833 [details] dump diff for mainline r115174 bootstrap failure The diff with -fdump-noaddr is indeed much more useful to track down make compare failures that either the diff with full information and the one from -fdump-unnumbered.
Created attachment 11860 [details] patch with test case & unroller fix I've added a testcase, and it showed failures due to unstable loop unrolling. It looks like this should be trivial to fix by hashing on insn uids rather than insn pointers. I'm currently testing this patch.
Subject: Bug number PR other/28251 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00517.html
Subject: Bug 28251 Author: amylaar Date: Mon Jul 17 14:44:48 2006 New Revision: 115519 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115519 Log: gcc: PR other/28251 * tree.h (dump_addr): Declare. * print-tree.c (dump_addr): New function. (print_node_brief, print_node): Use it. * print-rtl.c (print_rtx): Likewise. * common.opt (-fdump-noaddr): New option. * doc/invoke.texi (-fdump-noaddr): Document. * loop-unroll.c (si_info_hash): Make hash independent of addresses. (ve_info_hash): Likewise. gcc/testsuite: PR other/28251 gcc.c-torture/unsorted/dump-noaddr.c: New test. gcc.c-torture/unsorted/dump-noaddr.x: New driver. Added: trunk/gcc/testsuite/gcc.c-torture/unsorted/dump-noaddr.c trunk/gcc/testsuite/gcc.c-torture/unsorted/dump-noaddr.x Modified: trunk/gcc/ChangeLog trunk/gcc/common.opt trunk/gcc/doc/invoke.texi trunk/gcc/loop-unroll.c trunk/gcc/print-rtl.c trunk/gcc/print-tree.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree.h
Fixed in mainline.