From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2832 invoked by alias); 21 Aug 2009 02:30:13 -0000 Received: (qmail 2818 invoked by uid 22791); 21 Aug 2009 02:30:11 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Aug 2009 02:30:06 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MeJtD-00086q-FW for gcc@gcc.gnu.org; Fri, 21 Aug 2009 04:30:03 +0200 Received: from user-12lcu9l.cable.mindspring.com ([69.86.121.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Aug 2009 04:30:03 +0200 Received: from stardust496 by user-12lcu9l.cable.mindspring.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Aug 2009 04:30:03 +0200 To: gcc@gcc.gnu.org From: SD Subject: Exception handling information Date: Fri, 21 Aug 2009 06:38:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-08/txt/msg00381.txt.bz2 Hello, After searching this list it appears that with recent gcc (I am using gcc 4.1), C++ exception handling has zero overhead (unless an exception actually happens) Where can I find more information on how exception handling is done and if this zero overhead property is always true. I looked a a couple of manuals on the gcc homepage but could not find anything. Thanks a lot!