From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10954 invoked by alias); 17 Aug 2004 03:35:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 10937 invoked by uid 48); 17 Aug 2004 03:35:47 -0000 Date: Tue, 17 Aug 2004 03:35:00 -0000 Message-ID: <20040817033547.10934.qmail@sourceware.org> From: "mmitchel at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040816214702.17053.dje@gcc.gnu.org> References: <20040816214702.17053.dje@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/17053] [3.5 Regression] Repo functionality partially broken on AIX X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01610.txt.bz2 List-Id: ------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-08-17 03:35 ------- I understand why the NOTHROW bit is changing, and, in fact, I'm not really sure how my patch made this different. The reason it is changing is that during the initial build the template is not instantiated (in the hopes that some other translation unit will instantiate it). Because it is not instantiated, the compiler does not know whether or not the body of the template could throw an exception. So, it does not set the NOTHROW bit. When reocmpiling (from collect2), the template will be instantiated, and so the compiler then cleverly notices that it cannot throw an exception. I will look into why this is causing a problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17053