From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5339 invoked by alias); 27 Oct 2008 01:58:47 -0000 Received: (qmail 30770 invoked by uid 48); 27 Oct 2008 01:57:26 -0000 Date: Mon, 27 Oct 2008 01:58:00 -0000 Message-ID: <20081027015726.30769.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/37879] [4.3/4.4 Regression] ICE with "wrong" use of noreturn attribute and optimization In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-10/txt/msg01701.txt.bz2 ------- Comment #2 from pinskia at gcc dot gnu dot org 2008-10-27 01:57 ------- Confirmed. 1620 if (e->dest != bb->next_bb 1621 && e->dest != EXIT_BLOCK_PTR 1622 && single_succ_p (e->dest) 1623 && single_succ_edge (e->dest)->dest == EXIT_BLOCK_PTR 1624 && gimple_code (last_stmt (e->dest)) == GIMPLE_RETURN) last_stmt (e->dest) is NULL as there are no statements in the basic block. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Component|c++ |tree-optimization Ever Confirmed|0 |1 GCC build triplet|i486-pc-linux-gnu | GCC host triplet|i486-pc-linux-gnu | GCC target triplet|i486-pc-linux-gnu | Keywords| |ice-on-valid-code Last reconfirmed|0000-00-00 00:00:00 |2008-10-27 01:57:26 date| | Summary|g++: internal compiler |[4.3/4.4 Regression] ICE |error: Segmentation fault |with "wrong" use of noreturn | |attribute and optimization Target Milestone|--- |4.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37879