From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22551 invoked by alias); 30 Sep 2009 22:36:51 -0000 Received: (qmail 22490 invoked by uid 48); 30 Sep 2009 22:36:41 -0000 Date: Wed, 30 Sep 2009 22:36:00 -0000 Message-ID: <20090930223641.22489.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: "howarth at nitro dot med dot uc dot edu" 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/msg02811.txt.bz2 ------- Comment #11 from howarth at nitro dot med dot uc dot edu 2009-09-30 22:36 ------- Mike, I am a fuzzy on the best way to avoid darwin_emit_unwind_label since it is assigned to a define in darwin.h. The only thing that makes sense to me is... Index: gcc/config/darwin.c =================================================================== --- gcc/config/darwin.c (revision 152347) +++ gcc/config/darwin.c (working copy) @@ -1454,7 +1454,7 @@ { char *lab; - if (! for_eh) + if ((! for_eh) || (darwin_macosx_version_min && strverscmp (darwin_macosx_version_min, "10.6") >= 0)) return; lab = concat (IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)), ".eh", NULL); Does that seem reasonable? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41313