From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28876 invoked by alias); 30 Sep 2009 20:54:53 -0000 Received: (qmail 28783 invoked by uid 48); 30 Sep 2009 20:54:40 -0000 Date: Wed, 30 Sep 2009 20:54:00 -0000 Message-ID: <20090930205440.28782.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/41313] g++.dg/tree-prof/partition1.C compilation and execution test failures on *-apple-darwin* In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mrs at apple dot com" 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: 2009-09/txt/msg02804.txt.bz2 ------- Comment #10 from mrs at apple dot com 2009-09-30 20:54 ------- When targeting darwin10, the .eh symbols don't have to be generated anymore. They are from darwin.c, darwin_emit_unwind_label. if (darwin_macosx_version_min && strverscmp (darwin_macosx_version_min, "10.6") >= 0) can be used, and the entirety of the routine can be avoided. That said, this is a bug somewhere, it can be found by binary searching the testcase on the compiler sources until the change that dupped these is found. I don't believe it has always been broken. Or, you can just put a breakpoint on this routine, and when the second one is hit, find a variable that is different that the first time it is hit, and pass that as a parameter and the bail out, just like ! for_eh. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41313