From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28657 invoked by alias); 10 Sep 2009 16:06:07 -0000 Received: (qmail 28587 invoked by uid 22791); 10 Sep 2009 16:06:05 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 10 Sep 2009 16:06:01 +0000 Received: from relay2.suse.de (mail2.suse.de [195.135.221.8]) by mx2.suse.de (Postfix) with ESMTP id BCEA08640B; Thu, 10 Sep 2009 18:05:59 +0200 (CEST) Date: Thu, 10 Sep 2009 16:06:00 -0000 From: Richard Guenther To: Richard Henderson Cc: gcc-patches@gcc.gnu.org, Diego Novillo Subject: Re: [PATCH] Merge from LTO: eh_personality changes In-Reply-To: Message-ID: References: <4AA293E4.8090301@redhat.com> <4AA2A9D7.3030406@redhat.com> <4AA67D0C.8000704@redhat.com> <4AA92044.3050800@redhat.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2009-09/txt/msg00707.txt.bz2 On Thu, 10 Sep 2009, Richard Guenther wrote: > On Thu, 10 Sep 2009, Richard Henderson wrote: > > > > *** gcc/fortran/f95-lang.c.orig 2009-09-10 13:40:45.000000000 +0200 > > > --- gcc/fortran/f95-lang.c 2009-09-10 14:18:42.000000000 +0200 > > > *************** gfc_maybe_initialize_eh (void) > > > *** 1155,1164 **** > > > return; > > > > > > gfc_eh_initialized_p = true; > > > ! eh_personality_libfunc > > > ! = init_one_libfunc (USING_SJLJ_EXCEPTIONS > > > ! ? "__gcc_personality_sj0" > > > ! : "__gcc_personality_v0"); > > > default_init_unwind_resume_libfunc (); > > > using_eh_for_cleanups (); > > > } > > > --- 1155,1164 ---- > > > return; > > > > > > gfc_eh_initialized_p = true; > > > ! eh_personality_decl > > > ! = build_personality_function (USING_SJLJ_EXCEPTIONS > > > ! ? "__gcc_personality_sj0" > > > ! : "__gcc_personality_v0"); > > > > Surely Fortran can simply avoid setting this up at all? > > Good question - I'll check. No. It needs it for OMP and the MUST_NOT_THROW regions that generates. Richard.