From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27534 invoked by alias); 13 Feb 2013 10:56:36 -0000 Received: (qmail 26869 invoked by uid 48); 13 Feb 2013 10:56:16 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/56294] BOOT_CFLAGS='-O2 -g -fno-ipa-sra' leads to bootstrap comparison failure Date: Wed, 13 Feb 2013 10:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2013-02/txt/msg01309.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56294 --- Comment #5 from Martin Jambor 2013-02-13 10:56:15 UTC --- With the debug counters I have identified the first function where the difference in behavior of intra-SRA behavior with -g vs -g0 caused the comparison failure but could not spot any differences in non-debug statements. Adding -fno-inline makes the comparison failure go away (-fno-early-inlining does not help) so at this point I suppose it's tree-inline that generates different stuff when there are references to SSA names from debug statements.