From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4731 invoked by alias); 7 Nov 2011 09:28:53 -0000 Received: (qmail 4721 invoked by uid 22791); 7 Nov 2011 09:28:53 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,TW_DF X-Spam-Check-By: sourceware.org Received: from gateway.thenothing.net (HELO mail.thenothing.net) (213.125.62.106) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Nov 2011 09:28:37 +0000 Received: from imap.homeuse (unknown [172.16.0.3]) by mail.thenothing.net (Postfix) with ESMTP id 07DAC47 for ; Mon, 7 Nov 2011 10:28:29 +0100 (CET) Received: from www.boonen.name (localhost [IPv6:::1]) by imap.homeuse (Postfix) with ESMTP id F37878044C for ; Mon, 7 Nov 2011 10:28:28 +0100 (CET) Received: from 62.140.134.14 (SquirrelMail authenticated user jboonen) by www.boonen.name with HTTP; Mon, 7 Nov 2011 10:28:28 +0100 Message-ID: <67e2bf6f16b3591a8228d2323753e0c1.squirrel@www.boonen.name> Date: Mon, 07 Nov 2011 09:28:00 -0000 Subject: Help needed: GCC4.6.2 armv7 hardfp exception try catch issue From: "Joop Boonen" To: gcc-help@gcc.gnu.org User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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: 2011-11/txt/msg00049.txt.bz2 Hi all, I need some help, to diagnose a problem. I'm currently looking into an gmp issue. A few gmp tests fail. make check-TESTS make[4]: Entering directory `/usr/src/packages/BUILD/gmp-5.0.2/tests/cxx' terminate called after throwing an instance of 'std::invalid_argument' terminate called recursively /bin/sh: line 5: 333 Aborted ${dir}$tst FAIL: t-assign What I found it that they fail due to a try catch issue. gmp-5.0.2/tests/cxx/t-assign.cc // operator=(const char *) with invalid { try { const char *a = "abc"; mpz_class b; b = a; ASSERT_ALWAYS (0); /* should not be reached */ } catch (invalid_argument) { } } On b = a; the exception is generated. But it's not caught. I don't know if it's related to g++. Might this be a bug. Can someone help, how to diagnose this problem? Regards, Joop.