From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1419 invoked by alias); 30 Mar 2009 09:43:21 -0000 Received: (qmail 1411 invoked by uid 22791); 30 Mar 2009 09:43:21 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sd-15251.dedibox.fr (HELO mail.smartmobili.com) (88.191.74.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Mar 2009 09:43:15 +0000 Received: from www.smartmobili.com (unknown [88.191.74.51]) by mail.smartmobili.com (Postfix) with ESMTP id DC8C2A0412F for ; Mon, 30 Mar 2009 11:43:12 +0200 (CEST) MIME-Version: 1.0 Date: Mon, 30 Mar 2009 09:43:00 -0000 From: "Vincent R." To: Subject: gcc-4.4 objc internal compiler error Message-ID: X-Sender: forumer@smartmobili.com User-Agent: RoundCube Webmail/0.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2009-03/txt/msg00383.txt.bz2 Hi, When trying the following example with an arm_wince gcc-4.4 cross-compiler, I get an internal compiler error : #import #import #import int main( int argc, const char *argv[] ) { int result = 0; @try { printf("in @try\n"); if (argc > 1) { @throw @"Throw !"; //[NSException exceptionWithName:@"Trwoing a test exception" reason:@"Testing the @throw directive." userInfo:nil]; } } @catch (id except) { result = 1; printf("in @catch\n"); } @finally { result += 2; } return result; } objc_try_catch.m: In function 'main': objc_try_catch.m:25: internal compiler error: in gen_eh_region, at except.c:425 Please submit a full bug report, with preprocessed source if appropriate. The problem seems to be caused by an assert checking doing-seh static struct eh_region * gen_eh_region (enum eh_region_type type, struct eh_region *outer) { struct eh_region *new_eh; #ifdef ENABLE_CHECKING gcc_assert (doing_eh (0)); #endif DO I need to pass special arguments when building objc cross compiler ?