From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15639 invoked by alias); 7 Jul 2010 14:25:58 -0000 Received: (qmail 15278 invoked by uid 48); 7 Jul 2010 14:25:10 -0000 Date: Wed, 07 Jul 2010 14:25:00 -0000 Message-ID: <20100707142510.15277.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug debug/44832] [4.6 Regression] -fcompare-debug failure for C++ i386.c In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jakub at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg00745.txt.bz2 ------- Comment #23 from jakub at gcc dot gnu dot org 2010-07-07 14:25 ------- Hash tables hashed by DECL_UID should be traversed only when the traversal order doesn't affect code generation. E.g. Richard fixed a few places to just set bits in a bitmap and then iterate over the bitmap for code generation (which means gaps between uids don't affect code generation, just reordering of decl uids could). You can just compare -fdump-final-insns= dumps from the -fcompare-debug invocation, that's what is actually being compared. Those dumps are with TDF_NOUID. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44832