From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26152 invoked by alias); 25 Aug 2005 17:49:10 -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 26092 invoked by uid 48); 25 Aug 2005 17:48:56 -0000 Date: Thu, 25 Aug 2005 17:58:00 -0000 Message-ID: <20050825174856.26091.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050825172028.23563.lennox@cs.columbia.edu> References: <20050825172028.23563.lennox@cs.columbia.edu> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/23563] [4.0 Regression] False warning for uninitialized variable: regression from 3.4.2 X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg02938.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-25 17:48 ------- Well I right in saying this is due to exceptions but is wrong in saying I can reproduce this on the mainline. It more has to do with not copying of the finally block (for the call of the deconstructor of stack_obj). In 3.4.0 we copied the finally block in 4.0.2 we don't but in 4.1.0 we do again. At -O2 we copy the finally block too. -- What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor Status|UNCONFIRMED |NEW Ever Confirmed| |1 GCC build triplet|i386-portbld-freebsd5.4 | GCC host triplet|i386-portbld-freebsd5.4 | GCC target triplet|i386-portbld-freebsd5.4 | Keywords| |diagnostic, missed- | |optimization Last reconfirmed|0000-00-00 00:00:00 |2005-08-25 17:48:53 date| | Summary|False warning for |[4.0 Regression] False |uninitialized variable: |warning for uninitialized |regression from 3.4.2 |variable: regression from | |3.4.2 Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23563